From owner-freebsd-mobile Mon May 14 16:29: 1 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from sdmail0.sd.bmarts.com (sdmail0.sd.bmarts.com [209.247.77.155]) by hub.freebsd.org (Postfix) with ESMTP id 17F9A37B423; Mon, 14 May 2001 16:28:59 -0700 (PDT) (envelope-from gordont@bluemtn.net) Received: from localhost (gordont@localhost) by sdmail0.sd.bmarts.com (8.11.3/8.11.2/BMA1.1) with ESMTP id f4ENQuO16153; Mon, 14 May 2001 16:26:56 -0700 (PDT) Date: Mon, 14 May 2001 16:26:56 -0700 (PDT) From: Gordon Tetlow X-X-Sender: To: John Baldwin Cc: Subject: Xircom RealPort (was RE: how do I eject cards with newcard?) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 May 2001, John Baldwin wrote: > On 10-May-01 Gordon Tetlow wrote: > > I'm using newcard (cardbus) and I have a little problem that since pccardd > > doesn't start (can't find /dev/card0 (I'm using DEVFS)), I can't really > > hot swap pc cards. On the few occasions that I have ripped a card out, > > it's not been pretty. My system looks solid. So now that we have newcard, > > how do I safely eject pccards? > > > > -gordon > > You need to stop using the card before you eject it. For example, if it is a > network adapater, use ifconfig to down the interface. If it's an ata disk, > unmount it, etc. This is rather interesting, I have a multi-function adapter (RBEM56G-100) that does modem (via the sio driver with a patch) and fast ethernet (via the dc driver). I built my kernel without the patch to the sio driver (forgot to reapply it to the source after cvsup) and was able to eject my card fine as long as I wasn't stupid about ejecting the card while using the dc0 interface. Now, if I patch the sio driver source and rebuild my kernel, I can't eject the card or it locks the machine up hard. I realize that this isn't really supported until devd gets written, but is this a bug in the sio driver? or should I just be quiet and bide my time? -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message