Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 08:48:21 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        koitsu@freebsd.org
Cc:        LoN_Kamikaze@gmx.de, freebsd-stable@freebsd.org, idiotbg@gmail.com, josh@tcbug.org
Subject:   Re: removing external usb hdd without unmounting causes reboot?
Message-ID:  <20070719.084821.-202614780.imp@bsdimp.com>
In-Reply-To: <20070718170559.GA11915@eos.sc1.parodius.com>
References:  <200707181541.l6IFf4ht051775@lurza.secnetix.de> <200707181830.48727.idiotbg@gmail.com> <20070718170559.GA11915@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20070718170559.GA11915@eos.sc1.parodius.com>
            Jeremy Chadwick <koitsu@freebsd.org> writes:
: If someone wants to work on this and needs devices/toys (thumb drives,
: external enclosures + hard disks), let me know, I will be more than
: happy to buy them the hardware needed.

Willing to fund the work on it too?  This is a volunteer project, and
you have to motivate people to work on this.  Tirades in mailing lists
has proven to be ineffective in the past.

I've looked at the issue, and generically, if a device goes away, it
is *HARD* to not panic.  The same thing happens if you eject a CF card
in a PC Card adapter in a PC Card slot.

The best one can do without massive buffer cache work is what firewire
does: it has one attachment to handle all umass devices.  When the
device goes away, it pauses all operations to that device.  If the
device comes back, it resumes the I/O .  If the device never comes
back, then the I/O never finishes.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070719.084821.-202614780.imp>