Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 16:26:56 -0700 (PDT)
From:      Gordon Tetlow <gordont@bluemtn.net>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        <mobile@FreeBSD.ORG>
Subject:   Xircom RealPort (was RE: how do I eject cards with newcard?)
Message-ID:  <Pine.BSF.4.33.0105141618160.76720-100000@sdmail0.sd.bmarts.com>
In-Reply-To: <XFMail.010510095201.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105141618160.76720-100000>