Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 11:11:28 +0200
From:      Thierry Herbelot <thierry@herbelot.com>
To:        freebsd-current@freebsd.org
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: loss of PCMCIA ed(4) interface
Message-ID:  <200507171111.30149.thierry@herbelot.com>
In-Reply-To: <20050716.184120.61267598.imp@bsdimp.com>
References:  <20050716.105849.112624020.imp@bsdimp.com> <20050716.112411.52164710.imp@bsdimp.com> <20050716.184120.61267598.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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