Opened 12 years ago
Last modified 9 years ago
#9062 assigned enhancement
Panic triggered by mass storage device unplug
Reported by: | przemub | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | panic kernel fat unplug | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev44697, x86, gcc4h.
When I unplugged my Sony Ericsson X8 phone (FAT32-formatted) without unmount, I quickly fetched up in Kernel Debugging Land.
Interestingly, when I did similar with my digital camera, it did not occur.
I was able to continue with entering co twice.
Attachments (1)
Change History (5)
by , 12 years ago
comment:1 by , 12 years ago
Component: | File Systems/FAT → Drivers/USB |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 12 years ago
Component: | Drivers/USB → System/Kernel |
---|---|
Owner: | changed from | to
Type: | bug → enhancement |
comment:3 by , 12 years ago
Replying to mmlr:
For later production releases the panic should be removed and an appropriate error message should be shown to the user instead.
This is exactly what I'd love to. Not everyone must know there is no need to restart computer in this case.
Although, panic may discourage users from brutal treatment of their drives for life :].
comment:4 by , 9 years ago
That KDL is now gone, but still we can get into problems as there is no warning message at all, and the drive is not unmounted.
Ideally, the user should be requested to re-plug the volume, then the writing should resume.
This is not a bug. The KDL indicates that you just lost data. I maintain that it is a user error to unplug a device with mounted volumes. For later production releases the panic should be removed and an appropriate error message should be shown to the user instead. This is neither USB nor filesystem related though, and it concerns other types of problems as well (i.e. an actual device failure).