Summary: | [usb] [reboot] instant system reboot when unmounting a powered off/unplugged+replugged USB device | ||
---|---|---|---|
Product: | Base System | Reporter: | Oliver Lehmann <oliver> |
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | oliver |
Priority: | Normal | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
Oliver Lehmann
2005-07-30 11:50:19 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-usb Reassign to appropriate mailing list.
> 1. I mount my digitalcamera (USB) via mount_msdosfs
> 2. My camera goes offline after some time of inactivity
> 3. Trying to unmount the camera when it went off causes an instantly system reboot.
This very much sound like the known issue with removing the device
under a mounted file system which blows up.
Currently the only known answer for that is "Don't do that". It's not
trivial to fix, but of cause it would be very nice for this to not
blow up.
There are at least a few other PR's about unmounting a mounted file
system which can be found by searching GNATS.
Of cause this could be a different issue.
--
Simon L. Nielsen
State Changed From-To: open->suspended This is a well-known error: there are underlying structures in the kernel that haven't been made to understand that drives can go away. This assumption has been false for years. However, the work required is going to be quite detailed; no quick workarounds are available (they've been discussed and rejected). So, mark this one as suspended for now. State Changed From-To: suspended->closed The cause of this issue is believed to have been in 7.2+ |