FS#7779 - Mounted USB drives are unmounted after resuming from a suspend in kernel 2.6.22

Attached to Project: Arch Linux
Opened by Raymano Garibaldi (raymano) - Saturday, 11 August 2007, 15:48 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 26 November 2007, 06:37 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Mounted USB drives are unmounted after resuming from a suspend in kernel 2.6.22.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
Do steps as root:

1) mount any usb drive:

mount /dev/sdb1 /mnt/usbdrive

2) suspend:

echo mem > /sys/power/state

3) resume using power switch.

4) check the mounted drives:
mount

mount shows /dev/sdb1 mounted on /mnt/usbdrive however it really is not and no files are shown. /dev/sdb1 cannot be umounted and shows device busy.

I have attached dmesg.


This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 26 November 2007, 06:37 GMT
Reason for closing:  Fixed
Comment by Raymano Garibaldi (raymano) - Saturday, 11 August 2007, 15:50 GMT
Here's dmesg
   dmesg.txt (30.5 KiB)
Comment by Raymano Garibaldi (raymano) - Saturday, 11 August 2007, 19:30 GMT
I can confirm that this bug is definitely caused by the latest 2.6.22 kernel. Downgrading to 2.6.21 fixes it.
Comment by Tobias Powalowski (tpowa) - Monday, 20 August 2007, 19:56 GMT
should be fixed in .23 series by usb_persist option
Comment by Raymano Garibaldi (raymano) - Monday, 27 August 2007, 19:21 GMT
Is there a workaround or kernel patch that fixes this bug in the .22 series?
Comment by Raymano Garibaldi (raymano) - Sunday, 18 November 2007, 04:22 GMT
This feature does not work in 2.6.23 if the device is detached and reattached during suspend.
Comment by Tobias Powalowski (tpowa) - Monday, 26 November 2007, 06:37 GMT
according to the the kernel/docs it's expereimental and i think also it's the behaviour that is stated there.

Loading...