From owner-freebsd-current Wed Dec 1 12: 6:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 7A1A51504F; Wed, 1 Dec 1999 12:05:57 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA69015; Wed, 1 Dec 1999 20:10:17 GMT (envelope-from dfr@nlsystems.com) Date: Wed, 1 Dec 1999 20:10:17 +0000 (GMT) From: Doug Rabson To: Warner Losh Cc: Christopher Masto , Nick Hibma , Mike Smith , FreeBSD CURRENT Mailing List Subject: Re: PCCARD eject freeze (was Re: your mail) In-Reply-To: <199911302304.QAA05780@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 30 Nov 1999, Warner Losh wrote: > In message <19991130173920.A22943@netmonger.net> Christopher Masto writes: > : Hey, we're getting somewhere. It works, in that it stops the panic. > : I get the "ed0: unloaded" message, and the machine doesn't panic, but > : there are still some problems. It seems that device_delete_child > : is failing (I forgot to print the return code, but it is not zero), > : and reinserting the card results in "ed0 already exists, using > : next available unit number", and then the dreaded "driver allocation > : failed" (presumably the resources have not been freed). > : > : Putting in a different kind of card ends up with two children, so > : it seems that the only part of the delete actually happens. > > Hmmm... That's something... How do you know that the delete_child is > failing? An if printing that it failed or conjecture based on the > insertion results? It might fail if the implied device_detach() fails. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message