Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 02:52:25 +0300
From:      "Sergey A. Osokin" <osa@FreeBSD.org.ru>
To:        freebsd-current@FreeBSD.org
Subject:   cbb problem (long post)
Message-ID:  <20040130235225.GK35515@freebsd.org.ru>

next in thread | raw e-mail | index | archive | help
Hello,
looks like 5.2-CURRENT Sat Jan 31 01:43:49 MSK 2004 cbb
still have a problem with detect cards.

/boot/loader.conf.local
--------------------------
hw.cbb.start_memory="0x20000000"
hw.cardbus.debug="1"
hw.cardbus.cis_debug="1"
hw.pccard.debug="1"
hw.pccard.cis_debug="1"
#hw.pci.allow_unsupported_io_range="1"
--------------------------
dmesg after boot -s
--------------------------
cbb0: <TI1420 PCI-CardBus Bridge> at device 5.0 on pci2
pcib2: device cbb0 requested decoded memory range 0x20000000-0xffffffff
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
...
cbb1: <TI1420 PCI-CardBus Bridge> at device 5.1 on pci2
pcib2: device cbb1 requested decoded memory range 0x20000000-0xffffffff
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
...
pccard0: chip_socket_enable
pccard0: read_cis
pcib2: device pccard0 requested decoded memory range
0x20000000-0xffffffff
cis mem map 0xde402000 (resource: 0x20002000)
pccard0: CIS tuple chain:
CISTPL_NONE
 00
...
TOO MANY CIS_NONE
CIS is too long -- truncating
CISTPL_END
 ff
cis mem map de402000
CISTPL_LINKTARGET expected, code 00 observed
pccard0: check_cis_quirks
pccard0: Card has no functions!
cbb0: PC Card card activation failed
-------------------------------------------
# sysctl hw.cbb.start_memory="0x21000000"
then remove card, then insert again:
-------------------------------------------
pccard0: read_cis
pcib2: device pccard0 requested decoded memory range
0x21000000-0xffffffff
cis mem map 0xdf130000 (resource: 0x21000000)
pccard0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 03 00 00 ff
CISTPL_VERS_1
 15 22 05 00 33 43 6f 6d 20 4d 65 67 61 68 65 72
 74 7a 00 33 43 58 4d 37 35 36 2f 33 43 43 4d 37
 35 36 00 ff
CISTPL_MANFID
 20 04 01 01 3f 00
CISTPL_FUNCID
 21 02 02 01
CISTPL_CONFIG
 1a 05 01 23 00 03 17
CISTPL_CFTABLE_ENTRY
 1b 10 e0 41 99 49 55 3e 3d aa 60 f8 03 07 30 ff
 ff 28
CISTPL_CFTABLE_ENTRY
 1b 07 21 08 aa 60 f8 02 07
CISTPL_CFTABLE_ENTRY
 1b 07 22 08 aa 60 e8 03 07
CISTPL_CFTABLE_ENTRY
 1b 07 23 08 aa 60 e8 02 07
CISTPL_FUNCE
 22 04 00 02 0f 7c
CISTPL_FUNCE
 22 09 01 1f 0f 00 06 00 00 06 00
CISTPL_FUNCE
 22 0c 02 06 00 3f 1c 03 03 0f 07 00 02 b5
CISTPL_FUNCE
 22 08 13 06 00 0f 00 02 00 b5
CISTPL_FUNCE
 22 08 23 06 00 0f 00 02 00 b5
unhandled CISTPL 80
 80 0a 02 01 3f 00 ad 02 01 00 00 ff
unhandled CISTPL 83
 83 0e 31 30 46 37 31 39 31 39 34 37 46 36 00 ff
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
pccard0: check_cis_quirks
pccard0: CIS version PC Card Standard 5.0
pccard0: CIS info: 3Com Megahertz, 3CXM756/3CCM756
pccard0: Manufacturer code 0x101, product 0x3f
pccard0: function 0: serial port, ccr addr 300 mask 17
pccard0: function 0, config table entry 32: I/O card; irq mask ffff;
iomask a, i
ospace 3f8-3ff; rdybsy_active io8 irqlevel powerdown audio
pccard0: function 0, config table entry 33: I/O card; irq mask ffff;
iomask a, i
ospace 2f8-2ff; rdybsy_active io8 irqlevel powerdown audio
pccard0: function 0, config table entry 34: I/O card; irq mask ffff;
iomask a, i
ospace 3e8-3ef; rdybsy_active io8 irqlevel powerdown audio
pccard0: function 0, config table entry 35: I/O card; irq mask ffff;
iomask a, i
ospace 2e8-2ef; rdybsy_active io8 irqlevel powerdown audio
pccard0: functions scanning
pccard0: Card has 1 functions. pccard_mfc is 0
pccard0: I/O rid 0 start 3f8 end 3ff
pcib2: device pccard0 requested decoded I/O range 0x3f8-0x3ff
pccard0: Allocation failed for cfe 32
pccard0: I/O rid 0 start 2f8 end 2ff
pcib2: device pccard0 requested decoded I/O range 0x2f8-0x2ff
pcib2: device pccard0 requested decoded memory range 0x21000000-0xffffffff
pccard0: ccr_res == 21000000-210003ff, base=300
pccard0: function 0 CCR at 0 offset 300: 61 28 2 0, 0 0 0 0, 0
sio4: <3Com Megahertz 3CXM756/3CCM756> at port 0x2f8-0x2ff irq 10 function 0 con
fig 33 on pccard0
pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff
pcib2: device pccard0 requested decoded I/O range 0x2f8-0x2ff
pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff
sio4: type 16550A
sio4: unable to activate interrupt in fast mode - using normal mode
pccard0: function 0 CCR at 0 offset 300 mask 17: 61 28 2 0, 0 0 0 0, 0
-------------------------
OK, set hw.cbb.start_memory="0x21000000" into /boot/loader.conf.local,
reboot box, then from dmesg:
-------------------------
pccard0: check_cis_quirks
pccard0: Card has no functions!
cbb0: PC Card card activation failed
-------------------------

Any idea?
Other information available upon request.
Thanks.
-- 

Regards,                 /"\  ascii ribbon campaign
Sergey "ozz" Osokin,     \ /    against html mail
http://ozz.pp.ru/         X         and news
                         / \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130235225.GK35515>