Re: loss of PCMCIA ed(4) interface

From: Thierry Herbelot <thierry_at_herbelot.com>
Date: Sun, 17 Jul 2005 11:11:28 +0200
Le Sunday 17 July 2005 02:41, M. Warner Losh a écrit :
>
> OK.  ed(4) is fine.  Works great for me.  However, there appears to be
> some issues with the Ricoh RF5C47x class of bridge chips.  I have an
> old VAIO that exhibits similar problems to what you describe.  I
> believe it is the difference between how the TI automatically powers
> up the card, and how the Ricoh requires an additional manual step that
> we're not doing right now.  I'll try to find that step as soon as my
> system updates...  Its a Pentium 300, so even an installworld takes a
> while (esp when you forget to enable soft updates...).

Hello,

I have rebooted the machine with :
hw.cbb.debug="1" in /boot/loader.conf (and also in /etc/sysctl.conf ?)

full verbose boot message at : 
http://herbelot.tfh.free.fr/no_ed/dmesg.noed-cbb.verbose

selected diffs from the "working" boot messages :
292a293,295
> cbb0: Found memory at 80000000
> cbb0: Secondary bus is 0
> cbb0: Secondary bus set to 2 subbus 3
316a320,322
> cbb1: Found memory at 80001000
> cbb1: Secondary bus is 0
> cbb1: Secondary bus set to 4 subbus 5
436a443,448
> Status is 0x30000006
> Status is 0x30000410
> cbb1: card inserted: event=0x00000000, state=30000410
> cbb_pcic_socket_enable:
> cbb1: cbb_power: 5V

As the card was not detected at boot-up, I have extracted, then replugged it :
edited /var/log/messages at : http://herbelot.tfh.free.fr/no_ed/messages

cbb1: Power not on?
pccard1: Card has no functions!
cbb1: PC Card card activation failed
Status is 0x30000416
cbb_pcic_socket_disable
Status is 0x30000410
cbb1: card inserted: event=0x00000006, state=30000410
cbb_pcic_socket_enable:
cbb1: cbb_power: 5V
Interrupt storm detected on "irq9: cbb0 cbb1+++"; throttling interrupt source
pccard1: CIS version PCCARD 2.0 or 2.1
pccard1: CIS info: CNet, CN40BC Ethernet, D, NE2000
pccard1: Manufacturer code 0xffffffff, product 0xffffffff
pccard1: function 0: network adapter, ccr addr 3f8 mask 3
pccard1: function 0, config table entry 32: I/O card; irq mask ffff; iomask 5, 
iospace 0-1f; mwait_required io8 io16 irqlevel
cbb_pcic_socket_enable:
ed1: <CNet CN40BC Ethernet> at port 0x100-0x11f irq 9 function 0 config 32 on 
pccard1
ed1: [GIANT-LOCKED]
ed1: CIS MAC 00:00:00:00:00:00
ed1: ROM mac 00:80:ad:8e:82:60
ed1: bpf attached
ed1: Ethernet address: 00:80:ad:8e:82:60
ed1: if_start running deferred for Giant
ed1: type NE2000 (16 bit)

Now, the card is working "normally"
>
> Warner

	TfH
Received on Sun Jul 17 2005 - 07:11:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC