kernel panic when unmount removed usbdrive

M. Warner Losh imp at bsdimp.com
Thu Feb 28 16:17:16 UTC 2008


In message: <20080228170826.1fa1cadd.torfinn.ingolfsen at broadpark.no>
            Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> writes:
: > anybody knows any work-around ?
: 
: Yes - the work around is this: don't do that!
: Do _not_ remove any mass storage device before unmounting it.

run current and you have better results.

The problem is that error propagation inside of the buffer cache code
and file system code doesn't handle ENXIO very well.  It takes time to
work through it.

One could, in theory, use QEMU to make it easier to test.  Alas, I've
not had time to work through the setup.

Warner




More information about the freebsd-usb mailing list