Bug 865466

Summary: usb flash disk changed device name after resume form suspend
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: gansalmon, itamar, jonathan, jskarvad, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-12 15:56:28 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
dmidecode none

Description Dalibor Pospíšil 2012-10-11 10:05:27 EDT
Created attachment 625547 [details]

Description of problem:
usb flash disk chande device after resume from suspend if booted from live in yellow charging USB port (back side on Lenovo T520) 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. pm-suspend
2. resume
Actual results:
/dec/sdb changes to /dev/sdc

Expected results:
no change

Additional info:
Comment 1 Dalibor Pospíšil 2012-10-11 10:07:22 EDT
Created attachment 625548 [details]
Comment 2 Jaroslav Škarvada 2012-10-15 09:18:22 EDT
I encountered similar problem on Lenovo T420s. I got the flash disk partition renamed from /dev/sdb1 to /dev/sdc1 after several suspend/hibernate/suspend to both/resume cycles that rendered my live system unusable (due to rename). Thus it seems not to be 100% reproducible on my system. I had the flash disk connected to yellow charging USB port, but I am not sure whether it is the real source of the problem (I will retry to reproduce this with regular USB port).
Comment 3 Jaroslav Škarvada 2012-10-15 09:19:58 EDT
Created attachment 627414 [details]
Comment 4 Jaroslav Škarvada 2012-10-15 09:32:35 EDT
Created attachment 627429 [details]
Comment 5 Josh Boyer 2012-11-12 15:56:28 EST
This is USB doing device re-enumeration.  There really isn't anything that can be done here.  We'd suggest you use UUIDs or labels for devices instead of raw device nodes.