Bug 485171
Summary: | SATA errors thrown instead of resuming | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | W.C. Epperson <bugzilla> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | kernel-maint, raanan, skr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-18 07:54:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
W.C. Epperson
2009-02-12 02:29:45 UTC
In original report, the paste of pm-suspend.log truncated on snd_seq_oss line. Missing part of log is: 39104 0 snd_seq_midi_event 14848 1 snd_seq_oss snd_seq 61968 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 15380 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 52224 0 snd_mixer_oss 23168 1 snd_pcm_oss ieee80211_crypt_tkip 17280 0 snd_pcm 85512 2 snd_hda_intel,snd_pcm_oss wl 1083200 0 uvcvideo 62344 0 r8169 40964 0 snd_timer 30352 2 snd_seq,snd_pcm pcspkr 11008 0 i2c_i801 17820 0 snd_page_alloc 16656 2 snd_hda_intel,snd_pcm snd_hwdep 16392 1 snd_hda_intel compat_ioctl32 16512 1 uvcvideo i2c_core 29216 2 drm,i2c_i801 videodev 40704 2 uvcvideo,compat_ioctl32 joydev 19328 0 mii 13056 1 r8169 snd 68984 16 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep btusb 20760 4 v4l1_compat 21380 2 uvcvideo,videodev video 28316 0 battery 21000 0 ac 13320 0 wmi 14912 0 usb_storage 109216 0 output 11264 1 video soundcore 14992 1 snd bluetooth 60068 16 hidp,rfcomm,bnep,sco,l2cap,btusb ieee80211_crypt 13316 2 ieee80211_crypt_tkip,wl total used free shared buffers cached Mem: 3992832 875152 3117680 0 6472 216592 -/+ buffers/cache: 652088 3340744 Swap: 6040400 10556 6029844 success. /usr/lib64/pm-utils/sleep.d/00powersave hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/01grub hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/49bluetooth hibernate hibernate: not applicable. /usr/lib64/pm-utils/sleep.d/50ntpd hibernate hibernate: Shutting down ntpd: [ OK ] success. /usr/lib64/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/55battery hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/65alsa hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/75modules hibernate hibernate: not applicable. /usr/lib64/pm-utils/sleep.d/90chvt hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/90clock hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/94cpufreq hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/95led hibernate hibernate: not applicable. /usr/lib64/pm-utils/sleep.d/95packagekit hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: success. /usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook hibernate hibernate: saving level 128 for device sda SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 HDIO_DRIVE_CMD(identify) failed: Input/output error Advanced Power Management not supported by device sdb. success. I have the same thing on a LG R510 laptop. even tried the 2.6.29 rc4 to see if it helps, it does not. uname -r 2.6.29-0.22.rc4.git1.fc10.x86_64 [raanan@raanan-laptop-new ~]$ hdparm -i /dev/sda /dev/sda: Model=Hitachi HTS543225L9A300 , FwRev=FBEOC40C, SerialNo=081105FB2F00LLJEDDAA Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=7114kB, MaxMultSect=16, MultSect=?0? CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7 * signifies the current active mode lspci -v for the sata controller - 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: LG Electronics, Inc. Device 1775 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19 I/O ports at 8108 [size=8] I/O ports at 8114 [size=4] I/O ports at 8100 [size=8] I/O ports at 8110 [size=4] I/O ports at 8020 [size=32] Memory at db305000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/16 Enable- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA <?> Capabilities: [b0] PCIe advanced features <?> Kernel driver in use: ahci If your machine has settings for it in the BIOS, change the controller from AHCI to IDE mode and see if it works better. No option in BIOS to change AHCI to IDE mode on a HP dv6-1030us. (In reply to comment #3) No option like this on the LG R510. This appears to be the same bug as reported against Ubuntu in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/301353 Hi, Sorry but I found the IDE option ion my BIOS, hidden in some screen. When setting Hard disk mode to IDE everything works fine. resume is great. Does setting it to IDE effect performance ? Thanks. Glad you now have resume, Raanan. You're probably not going to see any actual loss of performance, because even in AHCI mode you're probably ending up with ATA100 setup/performance on the drive/controller. The fact that IDE mode works IMO indicates that this is indeed a bug in the kernel's handling of AHCI. It's curious that hibernate/resume works without a hitch. Apparently power-cycling the controller leaves it in a state resume can handle. I _think_ that would be the essential difference between the hibernate/suspend scenarios. Have seen posts indicating that this bug manifests on all of the recent HP Pavilion dv[3-7] laptops, and that recent BIOS updates on some of them make the problem go away. Am watching for an update for the dv6. I've been through the very minimal BIOS a number of times and am certain there's no IDE toggle. New bios F11A for the HP dv6-1030us still does not have an IDE toggle, and does not cure the bug. Hmmm. From /usr/bin/pm-utils-bugreport-info.sh output: /usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook suspend suspend: /dev/sdasda: No such file or directory Advanced Power Management not supported by device sdasda. SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 HDIO_DRIVE_CMD(identify) failed: Input/output error But: # hal-find-by-capability --capability storage /org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L633L /org/freedesktop/Hal/devices/storage_serial_SATA_FUJITSU_MHZ2320K618T8B2V2FV /org/freedesktop/Hal/devices/storage_serial_Generic__Multi_Card_20071114173400000_0_0 # udi="/org/freedesktop/Hal/devices/storage_serial_SATA_FUJITSU_MHZ2320K618T8B2V2FV";export udi # hal-get-property --udi "${udi}" --key storage.drive_type disk # hal-get-property --udi "${udi}" --key block.device /dev/sda # hal-get-property --udi "${udi}" --key block.device | sed 's,^/dev/,,' sda Fixed for HP dv6-1030us with recent F.21 bios update. Also see related kernel.org bug http://bugzilla.kernel.org/show_bug.cgi?id=12276 This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. (In reply to comment #13) > If you can reproduce this bug against a currently maintained version of > Fedora please feel free to reopen this bug against that version. I do experience the bug on an LG R510 with Fedora 12 and opened a bug report for it: #556899 |