| From | Sent On | Attachments |
|---|---|---|
| Gael Queri | Dec 28, 2004 4:50 pm |
| Subject: | i386/75589: O2Micro pccard1 slot not functioning while pccard0 is OK | |
|---|---|---|
| From: | Gael Queri (ga...@voyager.abul.org) | |
| Date: | Dec 28, 2004 4:50:01 pm | |
| List: | org.freebsd.freebsd-i386 | |
Number: 75589 Category: i386 Synopsis: O2Micro pccard1 slot not functioning while pccard0 is OK Confidential: no Severity: non-critical Priority: low Responsible: freebsd-i386 State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Wed Dec 29 00:50:20 GMT 2004 Closed-Date: Last-Modified: Originator: Gael Queri Release: FreeBSD 5.3-STABLE i386 Organization: Environment:
System: FreeBSD blobby.home 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Dec 27
22:13:33 CET 2004 ro...@blobby.home:/usr/src/sys/i386/compile/BLOBBY i386
Kernel upgraded by cvsup on 2004/12/27
Uses the new cardbus yenta drivers :
pci1: <ACPI PCI bus> on pcib1 cbb0: <O2Micro OZ6933 PCI-CardBus Bridge> irq 5 at device 3.0 on pci1 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <O2Micro OZ6933 PCI-CardBus Bridge> irq 5 at device 3.1 on pci1 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1
/boot/loader.conf: hw.pci.allow_unsupported_io_range=1 hw.pccard.cis_debug=1
Description:
Only one of the two pcmcia slots is working on my laptop when using 16-bit PCMCIA cards. I've tested which several 16-bit pcmcia cards : - U.S. Robotics IEEE 802.11b PC-CARD - Xircom CreditCard 10/100
They work fine when plugged on pccard0, but when plugged on pccard1 nothing is detected (pccard1: Card has no functions!)
For information, cardbus cards seem to react the same on _both_ ports... But I can't do meaningful testing since my only Cardbus card panics the OS.
How-To-Repeat:
- plug Xircom card into pccard1 slot
- here is what I get in dmesg :
cis mem map 0xd103e000 (resource: 0x88000000) pccard1: CIS tuple chain: CISTPL_DEVICE type=null speed=null 01 02 00 ff CISTPL_DEVICE type=null speed=null 01 02 00 ff CISTPL_VERS_1 15 2c 05 00 15 2c 05 00 6f 6d 00 43 6f 6d 00 43 74 43 61 72 74 43 61 72 2f 31 30 30 2f 31 30 30 2d 31 30 2f 2d 31 30 2f 31 2e 30 30 31 2e unhandled CISTPL 30 30 30 b1 35 e0 00 b1 35 e0 00 20 05 05 01 20 05 05 01 04 ab 73 21 04 ab 73 21 01 00 08 03 01 00 08 03 bd 7f 55 4d bd 7f 55 4d 06 e0 17 17 06 e0 17 17 unhandled CISTPL f 0f 70 bc 8e 0f 70 bc 8e 02 06 00 22 02 06 00 22 80 c7 b1 35 80 c7 b1 35 02 22 05 02 02 22 05 02 22 05 02 00 22 05 02 00 02 03 01 22 02 03 01 22 02 05 00 ff 02 05 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff CISTPL_END ff cis mem map d103e000 CISTPL_LINKTARGET expected, code 00 observed pccard1: Card has no functions! cbb1: PC Card card activation failed
For comparison, here is what happens when plugging the same card into slot pccard0:
cis mem map 0xd103e000 (resource: 0x88000000)
pccard0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
01 02 00 ff
CISTPL_DEVICE_A type=null speed=null
17 02 00 ff
CISTPL_VERS_1
15 2c 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69
74 43 61 72 64 20 31 30 2f 31 30 30 00 43 45 33
2d 31 30 2f 31 30 30 00 31 2e 30 30 00 ff
unhandled CISTPL 88
88 08 b1 35 e0 00 00 00 00 00
CISTPL_MANFID
20 05 05 01 0a 01 43
unhandled CISTPL 44
44 04 ab 73 21 24
CISTPL_CONFIG
1a 05 01 01 00 08 03
CISTPL_CFTABLE_ENTRY
1b 19 c1 c1 bd 7f 55 4d 5d 3e 46 46 06 e0 17 17
e4 60 00 00 0f 70 bc 8e 10 00 20
CISTPL_FUNCID
21 02 06 00
CISTPL_FUNCE
22 08 04 06 00 80 c7 b1 35 e0
CISTPL_FUNCE
22 02 01 02
CISTPL_FUNCE
22 05 02 80 96 98 00
CISTPL_FUNCE
22 05 02 00 e1 f5 05
CISTPL_FUNCE
22 02 03 01
CISTPL_FUNCE
22 02 03 03
CISTPL_FUNCE
22 02 05 00
CISTPL_END
ff
cis mem map d103e000
CISTPL_LINKTARGET expected, code 00 observed
xe0: <Xircom CreditCard 10/100> at port 0x100-0x10f irq 5 function 0 config 1 on
pccard0
xe0: [GIANT-LOCKED]
xe0: Xircom CreditCard 10/100, version 0x45/0x04, 100Mbps capable
xe0: Ethernet address: 00:80:c7:b1:35:e0
xe0: if_start running deferred for Giant
Fix:
I wish I could help you more :)
Anyway, thank you for such a great OS.
Best regards, Gael.
Release-Note: Audit-Trail: Unformatted:





