fast boot cause usb storage can not work after resume

Bug #160350 reported by Jing Wang
6
Affects Status Importance Assigned to Milestone
Moblin Kernel
Fix Released
Medium
alek du

Bug Description

mount a usb disk and then hibernate, after resume the mounted disk can not work.
analysis:
when resume the usb bus will be reporbed and reset the device address and the device node, that will case that the usb device can not work. For example mount a storage disk the device node is /dev/sdb when resume back, at list the usb bus system will find that the sdb has been allocated, so it will assign a new device(/dev/sdc) node to the same sotrage disk. So the old mounted point can not work.

solution:
suggest to umount the disk and then hiberante

Jing Wang (jing-j-wang)
Changed in moblin-kernel:
importance: Undecided → High
rob rhoads (rob-rhoads)
Changed in moblin-kernel:
status: New → Triaged
martin (martin-xu)
Changed in moblin-kernel:
assignee: nobody → ramesh-caushik
Revision history for this message
rob rhoads (rob-rhoads) wrote :

Ramesh / Martin: Please update the status of this bug.

Revision history for this message
martin (martin-xu) wrote :

It is not a bug but a known linux USB system limitation/gap. I open this bug only want to track the gap.

Now, I do not know whether we need or have resource to meet the gap.

I suggestion set the bug as medium.

Revision history for this message
rob rhoads (rob-rhoads) wrote :

Martin is correct, this is a known limitation with Linux. Accordingly, I've set the importance to medium.

What should be fixed for our next release: Fast boot should unmount USB storage before suspending to disk.

Changed in moblin-kernel:
assignee: ramesh-caushik → martin-xu
importance: High → Medium
alek du (alek-du)
Changed in moblin-kernel:
milestone: none → m11
Revision history for this message
alek du (alek-du) wrote :

Fixed it by back porting USB Persist feature to 2.6.22

Changed in moblin-kernel:
assignee: martin-xu → alek-du
status: Triaged → Fix Committed
Zhao Fan (fan-zhao)
Changed in moblin-kernel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.