From owner-freebsd-mobile Mon Oct 30 21:21:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 36B9B37B479 for ; Mon, 30 Oct 2000 21:21:27 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA96208; Mon, 30 Oct 2000 21:21:25 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id e9V5LPh47498; Mon, 30 Oct 2000 21:21:25 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200010310521.e9V5LPh47498@curve.dellroad.org> Subject: Re: PCMCIA card temporarily freezes system In-Reply-To: <200010301227.e9UCRIb08030@lavender.sanpei.org> "from MIHIRA Yoshiro at Oct 30, 2000 09:27:18 pm" To: MIHIRA Yoshiro Date: Mon, 30 Oct 2000 21:21:24 -0800 (PST) Cc: freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org MIHIRA Yoshiro writes: > >> I have this PCMCIA card: PMX PE-200, which uses the "ed" driver. > >> It has worked for me before on another system, but in trying > >> on a ThinkPad A20m laptop with FreeBSD 4.1.1-REL, it seems > >> to temporarily "freeze" the system when plugged in. > >> > >> That is, if pccardd is not running, everything looks normal. > >> When pccardd is started, it detects the card and the kernel > >> spits out the probe message with the IRQ and memory address, > >> and then the system completely freezes: > >> > >> pccard: card inserted, slot 0 > >> ed0 at port 0x300-0x31f iomem 0xd4000-0xd43ff irq 10 slot 0 on pccard0 > >> > >> Pressing keys on the keyboard does nothing. But then if I pop out > >> the card, the system continues normally (responding to any keys > >> pressed while frozen), printing out the card's Ethernet address, > >> etc. Of course then pccard immediately detects the card has been > >> popped out and detaches the interface: > >> > >> ed0: address 00:20:e0:0f:a6:9f, type NE2000 (16 bit) > >> ed0: detached > >> pccard: card removed, slot 0 > >> stray irq 10 > >> > >> This can be repeeated any number of times. > >> > >> Any ideas? I've tried different interrupts, etc., to no avail. > >> This card works fine under Win98 on the same laptop. Dmesg > >> excerpts below.. > > Try below quick hack patch. > Some PC-Card which uses "ed" driver have hung-up with ed_get_linksys. > But we don't solve this problem.... > > +#if 0 > if (ed_get_Linksys(sc) == 0) { > +#endif Thank you!! That worked! -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message