Xircom pcmcia CEM56 eth/modem combo works on thinkpad 390 but not 600

Joseph Mack NA3T jmack at wm7d.net
Wed Oct 12 08:25:44 EDT 2005


On Tue, 11 Oct 2005, Both Daniel Ritz and David Hinds wrote

>> Is the winmodem likely to be causing problems in linux-2.6.13? If so, what do I do?

> How about:
>  exclude port 0x2f8-0x2ff
> in /etc/pcmcia/config.opts?

> (I think this port range is used by the winmodem; you can 
> check that the non-working Xircom card is also trying to 
> use this IO port range)

I added Daniel's patch below and added the exclude port 
instruction above. The ethernet part of the card still 
didn't work (didn't test modem part).

Here's cat /proc/ioports with the card in

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
* 02e8-02ef : pcmcia_socket1
*  02e8-02ef : serial
* 0300-030f : pcmcia_socket1
0376-0376 : ide1
03c0-03df : vga+
03e0-03e1 : 
03f6-03f6 : ide0
* 03f8-03ff : serial
04d0-04d1 : pnp 00:0a
0cf8-0cff : PCI conf1
1000-10ff : PCI CardBus #02
1400-14ff : PCI CardBus #02
15e0-15ef : pnp 00:0a
1800-18ff : PCI CardBus #06
1c00-1cff : PCI CardBus #06
8400-841f : 0000:00:07.2
   8400-841f : uhci_hcd
d000-dfff : PCI Bus #01
ef00-ef3f : 0000:00:07.3
efa0-efbf : 0000:00:07.3
fcf0-fcff : 0000:00:07.1
   fcf0-fcf7 : ide0
   fcf8-fcff : ide1

the new entries on inserting the card are the two 
pcmcia_socket and the two serial entries (denoted by '*'). 
The ports used do not change with the added exclude range in 
config.opts. To check that the exclude instruction is doing 
something, I added the ports used by pcmcia_socket and by 
serial above to extra "exclude port" lines in config.opts, 
but the ports used did not change on ejecting and 
reinserting the card. I conclude that what I've done isn't 
excluding any ports. Am I supposed to reHUP something to get 
the exclude port instruction used?

> could you please also post the following data from both laptops:

the laptop that works is at home (sorry). I'll pull it out 
tonight.

> - full dmesg

attached for machine that doesn't work

> - cat /proc/interrupts with card inserted

            CPU0
   0:      95977          XT-PIC  timer
   1:       1433          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   3:          8          XT-PIC  1.0
   8:          1          XT-PIC  rtc
  11:        520          XT-PIC  yenta, yenta, uhci_hcd:usb1
  12:        116          XT-PIC  i8042
  14:       2954          XT-PIC  ide0
  15:         12          XT-PIC  ide1
NMI:          0 
ERR:          0

Interrupt 3 is the one that appears on inserting the card. 
config.opts excluded 4 and 10.

> since this is multifunciton card i would guess that the attached patch
> could fix the problem. it's already merged in 2.6.14-rc. i guess that one
> would be a -stable candidate anyway..

did all above tests with this patch.

Thanks Joe
-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml 
Homepage http://www.austintek.com/ It's GNU/Linux!
-------------- next part --------------
Linux version 2.6.13 (root at igloo) (gcc version 3.4.4) #2 Tue Sep 20 01:57:03 GMT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000bfd0000 (usable)
 BIOS-e820: 000000000bfd0000 - 000000000bfdf000 (ACPI data)
 BIOS-e820: 000000000bfdf000 - 000000000bfe0000 (ACPI NVS)
 BIOS-e820: 000000000bfe0000 - 000000000c000000 (reserved)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
 user: 0000000000000000 - 000000000009fc00 (usable)
 user: 000000000009fc00 - 00000000000a0000 (reserved)
 user: 00000000000f0000 - 0000000000100000 (reserved)
 user: 0000000000100000 - 000000000bfd0000 (usable)
0MB HIGHMEM available.
191MB LOWMEM available.
On node 0 totalpages: 49104
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 45008 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
Allocating PCI resources starting at 0c000000 (gap: 0bfd0000:f4030000)
Built 1 zonelists
Kernel command line: ro root=/dev/hda3 mem=196416K
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 364.031 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 191452k/196416k available (1612k kernel code, 4456k reserved, 682k data, 208k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 729.18 BogoMIPS (lpj=1458360)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel Mobile Pentium II stepping 0a
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfd880, last bus=7
PCI: Using configuration type 1
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fe700
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xe724, dseg 0xf0000
PnPBIOS: 23 nodes reported by PnP BIOS; 23 recorded by driver
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI: Ignore bogus resource 6 [0:0] of 0000:01:00.0
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: 70000000-dfffffff
  PREFETCH window: e0000000-f7ffffff
PCI: Bus 2, cardbus bridge: 0000:00:02.0
  IO window: 00001000-000010ff
  IO window: 00001400-000014ff
  PREFETCH window: 0c000000-0dffffff
  MEM window: 0e000000-0fffffff
PCI: Bus 6, cardbus bridge: 0000:00:02.1
  IO window: 00001800-000018ff
  IO window: 00001c00-00001cff
  PREFETCH window: 10000000-11ffffff
  MEM window: 12000000-13ffffff
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:06.0
PCI: Sharing IRQ 11 with 0000:01:00.0
PCI: Found IRQ 11 for device 0000:00:02.1
TC classifier action (bugs to netdev at vger.kernel.org cc hadi at cyberus.ca)
pnp: 00:0a: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0a: ioport range 0x15e0-0x15ef has been reserved
pnp: 00:0a: ioport range 0xef00-0xefaf could not be reserved
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
PNP: PS/2 Controller [PNP0303,PNP0f13] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: SAMSUNG MP0402H, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-C2102, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 78242976 sectors (40060 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 208k freed
input: PS/2 Generic Mouse on isa0060/serio1
Adding 136072k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda3, internal journal
Linux agpgart interface v0.101 (c) Dave Jones
hdc: ATAPI 20X DVD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Intel ISA PCIC probe: not found.
Device 'i82365.0' does not have a release() function, it is broken and must be fixed.
Badness in device_release at drivers/base/core.c:83
 [<c01ba599>] kobject_cleanup+0xa9/0xb0
 [<c01ba5a0>] kobject_release+0x0/0x10
 [<c01bafb5>] kref_put+0x45/0x90
 [<c01ba5cf>] kobject_put+0x1f/0x30
 [<c01ba5cf>] kobject_put+0x1f/0x30
 [<c01ba5a0>] kobject_release+0x0/0x10
 [<cc8013c9>] init_i82365+0x1c9/0x1df [i82365]
 [<c012f762>] sys_init_module+0x132/0x1c0
 [<c0102c89>] syscall_call+0x7/0xb
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:06.0
PCI: Sharing IRQ 11 with 0000:01:00.0
Yenta: CardBus bridge found at 0000:00:02.0 [1014:0000]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.0, mfunc 0xfba97543, devctl 0x62
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000006
PCI: Found IRQ 11 for device 0000:00:02.1
Yenta: CardBus bridge found at 0000:00:02.1 [1014:0000]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.1, mfunc 0xfba97543, devctl 0x62
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000006
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x3f8-0x3ff
cs: IO port probe 0x3e0-0x4ff: excluding 0x3f8-0x3ff
cs: IO port probe 0x100-0x3af: excluding 0x130-0x137 0x200-0x207 0x220-0x22f 0x388-0x38f
cs: IO port probe 0x100-0x3af: excluding 0x130-0x137 0x200-0x207 0x220-0x22f 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0xa00-0xaff: clean.
PCI: Found IRQ 11 for device 0000:00:06.0
PCI: Sharing IRQ 11 with 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:01:00.0
create - never read codec ready from AC'97
it is not probably bug, try to use CS4236 driver
Sound Fusion CS46xx: probe of 0000:00:06.0 failed with error -5
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.3
PCI: Found IRQ 11 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: Intel Corporation 82371AB/EB/MB PIIX4 USB
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00008400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: recovery directory /var/lib/nfs/v4recovery doesn't exist
NFSD: starting 90-second grace period
IBM machine detected. Enabling interrupts during APM calls.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-1: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor: PNY       Model: USB 2.0 FD        Rev: 1.13
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 250880 512-byte hdwr sectors (128 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 250880 512-byte hdwr sectors (128 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
 sda: sda1 sda4
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.


More information about the linux-pcmcia mailing list