resume after hibernate: /dev/sdb drops and returns as /dev/sde
A message that is not in the archive (sent off-list or not yet received): [email protected]/
http://bugzilla.kernel.org/show_bug.cgi?id=14442
--- Comment #25 from Duncan <[email protected]> 2010-02-15 10:15:10 --- Created an attachment (id=25043)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25043)
partial log from 2.6.33-rc7-25-g08c4f1b
Quoted 4 lines
The following bug entry is on the current list of known regressions introduced between 2.6.31 and 2.6.32. Please verify if it still should be listed and let the tracking team know (either way).
Unfortunately, it's still here, as of 2.6.33-rc7-25-g08c4f1b.
It should be noted that I had **NOT** started X when this one triggered (I had just fresh-booted, hadn't run much besides system services a bash login, sudo, and a couple file edits), but I'm running KMS now, so it could still be related to whatever graphics drivers were only activated with X before, but are now activated at boot with KMS. With KMS and all drivers built-in (no module loading active, now), DRM activates at the KMS framebuffer console, right? The log seems to indicate that. (Re)Confirming the graphics card as a Radeon hd4650, AGP, dual 1920x1200 LCDs attached via DVI. Still running the git xf86-video-ati driver, altho I hadn't started X so /it/ shouldn't have activated. Again, it's a dual Opteron 290 (so 2x dual-core), still six gigs of DDR 1 registered RAM.
Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
http://bugzilla.kernel.org/show_bug.cgi?id=14442
--- Comment #26 from Tejun Heo <[email protected]> 2010-02-16 07:45:07 --- Any chance you can try a video card from the other vendor?
Summary of the bug for new comers.
* After resuming from STR, disks attached via sata_sil temporarily return bogus identification data causing libata to detach the disks and re-attach them. During retrials, the disks succeed to return valid identification data and successfully get reprobed.
* The ATA identification data is read directly by the CPU via mmio region. ie. No DMA is involved. The weird thing is that CPU can talk to the controller well enough to successfully execute reset protocol and a few commands but block data transfer is failing miserably for brief period. The data transfer corruption is partial, in one case, 'ST3300831AS' showed up as 'ST831AS
<80>^P'.
So, something between the CPU and the controller isn't working correctly *temporarily* (few tens of seconds period). Too aggressive async wakeup might cause behaviors like this, I suppose.
Thanks.
Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --
http://bugzilla.kernel.org/show_bug.cgi?id=14442
Oleksandr Yermolenko <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #27 from Oleksandr Yermolenko <[email protected]> 2010-02-23 14:15:02 --- I have similar problem with reappearing of HDD with different /dev/sdX name after hibernate.
Interesting details:
1) NVIDIA graphics card running with proprietary drivers (190.53) instead of Radeon.
2) only one of 3 HDDs reappears with different name
3) system logs have "n_sectors mismatch" message.
4) experienced this problem on kernels 2.6.31.12 and 2.6.32.7 on Debian squeeze amd64. Kernels are from kernel.org, not from repositories.
5) This drive is Seagate ST3500320AS with SD1A firmware, sometimes it changes name from /dev/sdb to /dev/sdd after resume The frequency of the event is relatively low (about one event for 5-10 hibernate/resume cycles). Other HDDs (SAMSUNG HD321KJ (/dev/sda) and WDC WD15EARS-00Z5B1 (/dev/sdc)) never change their /dev/sdX names after resume.
Quoted 1 line
From
/var/log/messages:
...
sd 2:0:0:0: [sda] Starting disk
sd 3:0:0:0: [sdb] Starting disk
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata4.00: n_sectors mismatch 976773168 != 976771055
ata4.00: disabled
sd 3:0:0:0: [sdb] START_STOP FAILED
sd 3:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK sd 5:0:0:0: [sdc] Starting disk
usb 4-1: reset low speed USB device using uhci_hcd and address 2
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.00: HPA detected: current 976771055, native 976773168 ata4.00: ATA-8: ST3500320AS, SD1A, max UDMA/133
ata4.00: 976771055 sectors, multi 16: LBA48 NCQ (depth 0/32) ata4.00: configured for UDMA/133
ata4.00: detaching (SCSI 3:0:0:0)
usb 4-2: reset low speed USB device using uhci_hcd and address 3 usb 5-1: reset low speed USB device using uhci_hcd and address 2 Restarting tasks ... done.
sd 3:0:0:0: [sdb] Synchronizing SCSI cache
sd 3:0:0:0: [sdb] Stopping disk
scsi 3:0:0:0: Direct-Access ATA ST3500320AS SD1A PQ: 0 ANSI: 5
sd 3:0:0:0: Attached scsi generic sg1 type 0
sd 3:0:0:0: [sdd] 976771055 512-byte logical blocks: (500 GB/465 GiB) sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdd: sdd1 sdd2 < sdd5 sdd6 >
sd 3:0:0:0: [sdd] Attached SCSI disk
...
Note that numbers in "n_sectors mismatch" message:
ata4.00: n_sectors mismatch 976773168 != 976771055
are the same as in message "HPA detected" message:
ata4.00: HPA detected: current 976771055, native 976773168
What does it mean? Is this something interesting?
Thanks.
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
http://bugzilla.kernel.org/show_bug.cgi?id=14442
--- Comment #28 from Tejun Heo <[email protected]> 2010-02-24 01:50:12 --- Oleksandr, can you please open a separate bug report, attach full dmesg and assign it to me. You're seeing a different problem which is supposed to be fixed in recent kernels. Your BIOS is forgetting to re-lock HPA on resume and libata is supposed to work around that but failed to.
Thanks.
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
http://bugzilla.kernel.org/show_bug.cgi?id=14442
--- Comment #29 from Oleksandr Yermolenko <[email protected]> 2010-02-25 15:27:16 --- (In reply to comment #28)
Quoted 6 lines
Oleksandr, can you please open a separate bug report, attach full dmesg and assign it to me. You're seeing a different problem which is supposed to be fixed in recent kernels. Your BIOS is forgetting to re-lock HPA on resume and libata is supposed to work around that but failed to.
Thanks.
Tejun, I have opened separate bug report (# 15396), but assigned it to [email protected] by mistake. How can I fix this?
Thanks.
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --