Subject: cardbus not working
To: None <current-users@NetBSD.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 08/20/2004 11:16:32
Cardbus does not work anymore for me in the latest -current. A cardbus
card (3Com 3c575) does not work. However, a PCMCIA card (3Com 3C589D)
does work. The difference seems to be that there is a
cbb0: disabling socket
now. I always had "bad Vcc request" warnings, but the cardbus did work
fine anyway. This is a part of /var/log/messages:

(cardbus not working)
Aug 20 12:54:26 bones /netbsd: NetBSD 2.0G (BONES) #1: Fri Aug 20 10:09:14 CEST 
2004
[...]
Aug 20 12:54:27 bones /netbsd: cbb0 at pci0 dev 3 function 0: Texas Instruments 
PCI1131 PCI-CardBus Bridge (rev. 0x01)
Aug 20 12:54:27 bones /netbsd: cbb1 at pci0 dev 3 function 1: Texas Instruments 
PCI1131 PCI-CardBus Bridge (rev. 0x01)
[...]
Aug 20 12:54:28 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x0, sock_status
 0x30000b20
Aug 20 12:54:28 bones /netbsd: cbb0: disabling socket
Aug 20 12:54:28 bones /netbsd: new status 0x30000b20
Aug 20 12:54:28 bones /netbsd: cbb0: interrupting at irq 11
Aug 20 12:54:28 bones /netbsd: cbb0: cacheline 0x8 lattimer 0x20
Aug 20 12:54:28 bones /netbsd: cbb0: bhlc 0x822008 lscp 0x20010100
Aug 20 12:54:28 bones /netbsd: cardslot0 at cbb0 slot 0 flags 0
Aug 20 12:54:28 bones /netbsd: cardbus0 at cardslot0: bus 1 device 0 cacheline 0
x8, lattimer 0x20
Aug 20 12:54:28 bones /netbsd: pcmcia0 at cardslot0
Aug 20 12:54:28 bones /netbsd: cbb1: bad Vcc request. sock_ctrl 0x0, sock_status
 0x30000306
Aug 20 12:54:28 bones /netbsd: cbb1: disabling socket
Aug 20 12:54:28 bones /netbsd: new status 0x30000306
Aug 20 12:54:28 bones /netbsd: cbb1: interrupting at irq 11
Aug 20 12:54:28 bones /netbsd: cbb1: cacheline 0x8 lattimer 0x20
Aug 20 12:54:28 bones /netbsd: cbb1: bhlc 0x822008 lscp 0x20020200
Aug 20 12:54:28 bones /netbsd: cardslot1 at cbb1 slot 1 flags 0
Aug 20 12:54:28 bones /netbsd: cardbus1 at cardslot1: bus 2 device 0 cacheline 0
x8, lattimer 0x20
Aug 20 12:54:28 bones /netbsd: pcmcia1 at cardslot1
[...]
Aug 20 12:54:28 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x30, sock_statu
s 0x30000b20
Aug 20 12:54:29 bones /netbsd: cbb0: disabling socket
Aug 20 12:54:29 bones /netbsd: new status 0x30000b20

Previously, it was:

(cardbus OK)
Aug 20 12:57:40 bones /netbsd: NetBSD 2.0G (BONES) #2: Tue Aug  3 18:13:55 CEST 
2004
[...]
Aug 20 12:57:41 bones /netbsd: cbb0 at pci0 dev 3 function 0: Texas Instruments 
PCI1131 PCI-CardBus Bridge (rev. 0x01)
Aug 20 12:57:41 bones /netbsd: cbb1 at pci0 dev 3 function 1: Texas Instruments 
PCI1131 PCI-CardBus Bridge (rev. 0x01)
[...]
Aug 20 12:57:41 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x0, sock_status
 0x30000b20
Aug 20 12:57:41 bones /netbsd: cbb0: interrupting at irq 11
Aug 20 12:57:41 bones /netbsd: cbb0: cacheline 0x8 lattimer 0x20
Aug 20 12:57:41 bones /netbsd: cbb0: bhlc 0x822008 lscp 0x20010100
Aug 20 12:57:41 bones /netbsd: cardslot0 at cbb0 slot 0 flags 0
Aug 20 12:57:41 bones /netbsd: cardbus0 at cardslot0: bus 1 device 0 cacheline 0
x8, lattimer 0x20
Aug 20 12:57:41 bones /netbsd: pcmcia0 at cardslot0
Aug 20 12:57:41 bones /netbsd: cbb1: bad Vcc request. sock_ctrl 0x0, sock_status
 0x30000306
Aug 20 12:57:41 bones /netbsd: cbb1: interrupting at irq 11
Aug 20 12:57:41 bones /netbsd: cbb1: cacheline 0x8 lattimer 0x20
Aug 20 12:57:41 bones /netbsd: cbb1: bhlc 0x822008 lscp 0x20020200
Aug 20 12:57:41 bones /netbsd: cardslot1 at cbb1 slot 1 flags 0
Aug 20 12:57:41 bones /netbsd: cardbus1 at cardslot1: bus 2 device 0 cacheline 0
x8, lattimer 0x20
Aug 20 12:57:41 bones /netbsd: pcmcia1 at cardslot1
[...]
Aug 20 12:57:42 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x30, sock_statu
s 0x30000b20
Aug 20 12:57:42 bones /netbsd: ex0 at cardbus0 dev 0 function 0: 3Com 3c575-TX E
thernet
Aug 20 12:57:42 bones /netbsd: ex0: MAC address 00:60:08:d1:a4:03
Aug 20 12:57:42 bones /netbsd: ukphy0 at ex0 phy 0: Generic IEEE 802.3u media in
terface
Aug 20 12:57:42 bones /netbsd: ukphy0: 78Q2120 10/100 media interface (OUI 0x000
39c, model 0x0014), rev. 3
Aug 20 12:57:42 bones /netbsd: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseT
X-FDX, auto
Aug 20 12:57:42 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x0, sock_status
 0x30000b69
[...]
Aug 20 12:57:42 bones /netbsd: cbb0: bad Vcc request. sock_ctrl 0x30, sock_statu
s 0x30000b20
Aug 20 12:57:42 bones /netbsd: ex0: interrupting at 11

	rvdp