From owner-freebsd-mobile Sat Feb 20 11:36:39 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 6D9BC11912 for ; Sat, 20 Feb 1999 11:35:23 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA24268; Sat, 20 Feb 1999 12:35:14 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA24986; Sat, 20 Feb 1999 12:35:10 -0700 Date: Sat, 20 Feb 1999 12:35:10 -0700 Message-Id: <199902201935.MAA24986@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nathan Dorfman Cc: mobile@FreeBSD.ORG Subject: Re: pccard problems In-Reply-To: <19990220135357.A783@rtfm.net> References: <19990220135357.A783@rtfm.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Moved to -mobile ] > a) it doesn't recognize card inserts/removes. the only way to get it to > see a card as present is if the card is inserted at the time pcic is loaded See the mobile archives for how to fix this. The bottom line is that either FreeBSD does not correctly setup the PCIC to generate interrupts at insertion/removal, or the PCIC is busted. (Or both). (The fix is trivial, but I don't remember where it is off the top of my head.) > b) allocate_driver() (userland calls the PIOCSDRV ioctl, which in turn > calls this) locks up the machine in a very interesting way. The LED for > the slot in question goes on, and the machine stops responding. Weird. > At this > point, I can't do *anything*, not even Ctrl+PrintScreen to drop to DDB. > Now, if I eject the card in question, the system returns to normal. > The ioctl(PIOCSDRV) returns errno 6 (ENXIO - No such device or address). > This seems to indicate that find_driver("ed0") returns 0. I also get > a few console messages: > > ed0: Unload > Return IRQ=11 It appears that the probe is someone 'stuck' or something. More kernel debugging may be necessary, such as setting breakpoints and such using remote-GDB. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message