From owner-freebsd-current@FreeBSD.ORG Sun Jul 17 09:11:54 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CAC116A41C for ; Sun, 17 Jul 2005 09:11:54 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE17C43D45 for ; Sun, 17 Jul 2005 09:11:53 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by postfix3-1.free.fr (Postfix) with ESMTP id 5CB221734D9 for ; Sun, 17 Jul 2005 11:11:52 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id j6H9BbNd023440; Sun, 17 Jul 2005 11:11:42 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Sun, 17 Jul 2005 11:11:28 +0200 User-Agent: KMail/1.8.1 References: <20050716.105849.112624020.imp@bsdimp.com> <20050716.112411.52164710.imp@bsdimp.com> <20050716.184120.61267598.imp@bsdimp.com> In-Reply-To: <20050716.184120.61267598.imp@bsdimp.com> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200507171111.30149.thierry@herbelot.com> Cc: "M. Warner Losh" Subject: Re: loss of PCMCIA ed(4) interface X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 09:11:54 -0000 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: 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