removing external usb hdd without unmounting causes reboot?

M. Warner Losh imp at bsdimp.com
Thu Jul 19 14:49:51 UTC 2007


In message: <20070718170559.GA11915 at eos.sc1.parodius.com>
            Jeremy Chadwick <koitsu at 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


More information about the freebsd-stable mailing list