Bug 810794 - Usb disk changed from '/dev/sdb' to '/dev/sdc' when wake up from hibernate.
Summary: Usb disk changed from '/dev/sdb' to '/dev/sdc' when wake up from hibernate.
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: first=3.3.0 suspend hibernate USB
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-09 08:02 UTC by Chao Yang
Modified: 2013-07-03 12:23 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-07 16:38:27 UTC
Type: Bug


Attachments (Terms of Use)

Description Chao Yang 2012-04-09 08:02:16 UTC
Description of problem:
Usb disk changed from '/dev/sdb' to '/dev/sdc' when wake up from hibernate.

Version-Release number of selected component (if applicable):
# uname -r
3.3.0-1.fc17.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Fedora Test Day case:
https://fedoraproject.org/wiki/QA:Testcase_USB_Power_Management_Hibernate
  
Actual results:
The usb disk device has been changed.

Expected results:
All USB devices should remain working fine. 

Additional info:
[ 2186.525215] sd 8:0:0:0: [sdb] Unhandled error code
[ 2186.525223] sd 8:0:0:0: [sdb]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 2186.525233] sd 8:0:0:0: [sdb] CDB: Write(10): 2a 00 00 00 01 00 00 00 01 00
[ 2186.525251] end_request: I/O error, dev sdb, sector 2048
[ 2186.525366] Buffer I/O error on device sdb1, logical block 0
[ 2186.525475] lost page write due to I/O error on sdb1
[ 2186.525517] Restarting tasks ... 
[ 2186.525807] usb 11-1: USB disconnect, device number 4
[ 2186.527940] done.
[ 2186.528035] PM: Basic memory bitmaps freed
[ 2186.673682] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88020e444e80
[ 2186.673694] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88020e444ec0
[ 2186.776390] usb 11-1: new SuperSpeed USB device number 5 using xhci_hcd
[ 2186.788591] usb 11-1: New USB device found, idVendor=0bc2, idProduct=50a1
[ 2186.788602] usb 11-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2186.788613] usb 11-1: Product: FA GoFlex Desk
[ 2186.788619] usb 11-1: Manufacturer: Seagate
[ 2186.788624] usb 11-1: SerialNumber: NA0JRATK
[ 2186.790691] scsi9 : usb-storage 11-1:1.0
[ 2187.628113] r8169 0000:05:00.0: p32p1: link up
[ 2187.793928] scsi 9:0:0:0: Direct-Access     Seagate  FA GoFlex Desk   0D0B PQ: 0 ANSI: 0
[ 2187.796273] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 2187.796393] sd 9:0:0:0: [sdc] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[ 2187.796822] sd 9:0:0:0: [sdc] Write Protect is off
[ 2187.796833] sd 9:0:0:0: [sdc] Mode Sense: 0f 00 00 00
[ 2187.797202] sd 9:0:0:0: [sdc] No Caching mode page present
[ 2187.797209] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 2187.798072] sd 9:0:0:0: [sdc] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[ 2187.798862] sd 9:0:0:0: [sdc] No Caching mode page present
[ 2187.798871] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 2190.980255]  sdc: sdc1
[ 2190.981600] sd 9:0:0:0: [sdc] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
[ 2190.982355] sd 9:0:0:0: [sdc] No Caching mode page present
[ 2190.982365] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 2190.982373] sd 9:0:0:0: [sdc] Attached SCSI disk

Comment 1 Matthias Clasen 2012-04-09 12:44:27 UTC
udisks is not involved in deciding device names

Comment 2 Josh Boyer 2012-04-09 14:29:19 UTC
Does the USB device stop working entirely after it reprobes?  It seems the suspend/resume caused it to get an error, which is not entirely unexpected, but then it reprobed fine and shows up again.


Note You need to log in before you can comment on or make changes to this bug.