From owner-freebsd-mobile Sun Nov 2 09:12:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01290 for mobile-outgoing; Sun, 2 Nov 1997 09:12:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01285 for ; Sun, 2 Nov 1997 09:12:49 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA09273; Sun, 2 Nov 1997 10:12:41 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA02976; Sun, 2 Nov 1997 10:12:39 -0700 (MST) Date: Sun, 2 Nov 1997 10:12:39 -0700 (MST) Message-Id: <199711021712.KAA02976@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: card removal problems In-Reply-To: <199711021148.MAA04006@gvr.gvr.org> References: <199711020211.TAA00945@rocky.mt.sri.com> <199711021148.MAA04006@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Just like with the PAO release I experience problems when removing a > > > card from a slot. Sometimes this results in a total lockup of the > > > system, while it keeps beeping. > > > > There is a race where it's possible that the driver in in use when you > > remove it that is un-avoidable. But, this seems to happen pretty > > rarely. > > Actually, it seems that it almost always locks up for me once a driver > has ben allocated. I inserted that modem card I was talking about > after applying my patch (so pcic would use not irq 3). It was not being > used but still the machine locked up. I'm confused. You say it would lockup the machine *only* after a driver was allocated, or it didn't matter. If it doesn't matter, then something is wrong with your PCIC controller, since all we do is apply power (or not) to your controller. > I am now going to implement the power patches to see if that would > solve my problem. I'd like to think there is a better solution that doesn't require user interaction. So, if there's no entry for the card in question in /etc/pccard.conf, after inserting it, waiting for a driver to be NOT found, and then removing the card your box will lockup? If so, then the power patches won't make any difference unless they 'power' down the card differently than I do in removal, which means that I can power the card down the same way and you won't need the 'power' patches. Nate