Bug 450465 - Suspend to RAM resumes but fails in disk accesses: Input/output error
Summary: Suspend to RAM resumes but fails in disk accesses: Input/output error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 8
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-08 21:17 UTC by Bertil Askelid
Modified: 2009-01-09 06:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-09 06:34:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bertil Askelid 2008-06-08 21:17:18 UTC
Description of problem:

   Suspend to RAM suspends alright, but after resume, disk is no longer
   accessible, leading to Input/output error.

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

   kernel-2.6.25.4-10.fc8 running in FC8 on Dell Inspiron 9300

How reproducible:

   Always.

Steps to Reproduce:
1. pm-suspend
2. wait for system to go to sleep
3. after a while, awake the sleeping system with a short power button push
  
Actual results:

   X11 comes up fine, mouse movable, can type in Emacs buffers, can start shells
    But as soon as I try to access the files, I get:

   ~> hdparm
   /sbin/hdparm: Input/output error

   Only way out is a power cycle.
      

Expected results:

   A fully functioning system in the state I left it when suspending.

Additional info:

   Suspend to RAM gives this output in /var/log/messages:

      Jun  8 13:10:20 z kernel: ACPI: PCI interrupt for device 0000:03:00.0 disabled
      Jun  8 13:10:20 z ntpd[2232]: ntpd exiting on signal 15
      Jun  8 13:10:21 z kernel: PM: Syncing filesystems ... done.
      Jun  8 13:10:42 z kernel: Freezing user space processes ... (elapsed 0.00
seconds) done.

   Nothing is printed after resume.

   I have the following harddrive:

      ~> hdparm -iv /dev/sda

      /dev/sda:
       IO_support    =  0 (default 16-bit)
       readonly      =  0 (off)
       readahead     = 256 (on)
       geometry      = 12161/255/63, sectors = 195371568, start = 0

       Model=FUJITSU MHV2100AH , FwRev=00000096, SerialNo= NT23T5525PR2
       Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
       RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
       BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?8?
       CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
       IORDY=yes, tPIO={min:240,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
       AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
       Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:  ATA/ATAPI-2,3,4,5,6

       * signifies the current active mode

   Suspend to RAM works just fine when running Windows on the same hardware.

   Suspend to DISK works just fine in the used linux kernel:

      ~> pm-hibernate

   /var/log/messages:

      Jun  8 13:02:08 z kernel: ACPI: PCI interrupt for device 0000:03:00.0 disabled
      Jun  8 13:02:08 z ntpd[2223]: ntpd exiting on signal 15
      Jun  8 13:03:25 z kernel: PM: Syncing filesystems ... done.
      Jun  8 13:03:25 z kernel: Freezing user space processes ... (elapsed 0.00
seconds) done.
      Jun  8 13:03:25 z kernel: Freezing remaining freezable tasks ... (elapsed
0.00 seconds) done.
      Jun  8 13:03:25 z kernel: PM: Shrinking memory...  #010-#010done (0 pages
freed)
      Jun  8 13:03:25 z kernel: PM: Freed 0 kbytes in 0.07 seconds (0.00 MB/s)
      Jun  8 13:03:25 z kernel: Suspending console(s)
      Jun  8 13:03:25 z kernel: drm_sysfs_suspend
      Jun  8 13:03:25 z kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:03:01.2 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1f.2 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1e.3 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1e.2 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1d.7 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1d.3 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1d.2 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1d.1 disabled
      Jun  8 13:03:25 z kernel: ACPI: PCI interrupt for device 0000:00:1d.0 disabled
      Jun  8 13:03:25 z kernel: ACPI: Preparing to enter system sleep state S4
      Jun  8 13:03:25 z kernel: Disabling non-boot CPUs ...
      Jun  8 13:03:25 z kernel: PM: Creating hibernation image:
      Jun  8 13:03:25 z kernel: PM: Need to copy 57046 pages
      Jun  8 13:03:25 z kernel: Intel machine check architecture supported.
      Jun  8 13:03:25 z kernel: Intel machine check reporting enabled on CPU#0.
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16
(level, low) -> IRQ 16
      Jun  8 13:03:25 z kernel: usb usb2: root hub lost power or was reset
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 17
(level, low) -> IRQ 17
      Jun  8 13:03:25 z kernel: usb usb3: root hub lost power or was reset
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18
(level, low) -> IRQ 18
      Jun  8 13:03:25 z kernel: usb usb4: root hub lost power or was reset
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 19
(level, low) -> IRQ 19
      Jun  8 13:03:25 z kernel: usb usb5: root hub lost power or was reset
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 16
(level, low) -> IRQ 16
      Jun  8 13:03:25 z kernel: usb usb1: root hub lost power or was reset
      Jun  8 13:03:25 z kernel: ehci_hcd 0000:00:1d.7: debug port 1
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 16
(level, low) -> IRQ 16
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1e.3[B] -> GSI 17
(level, low) -> IRQ 17
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 17
(level, low) -> IRQ 17
      Jun  8 13:03:25 z kernel: ata2.00: _GTF evaluation failed (AE 0x1001)
      Jun  8 13:03:25 z kernel: ata2.01: _GTF evaluation failed (AE 0x1001)
      Jun  8 13:03:25 z kernel: ata1.00: _GTF evaluation failed (AE 0x1001)
      Jun  8 13:03:25 z kernel: ata1.01: _GTF evaluation failed (AE 0x1001)
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16
(level, low) -> IRQ 16
      Jun  8 13:03:25 z kernel: ata1.00: configured for UDMA/100
      Jun  8 13:03:25 z kernel: sd 0:0:0:0: [sda] 195371568 512-byte hardware
sectors (100030 MB)
      Jun  8 13:03:25 z kernel: sd 0:0:0:0: [sda] Write Protect is off
      Jun  8 13:03:25 z kernel: sd 0:0:0:0: [sda] Write cache: enabled, read
cache: enabled, doesn't support DPO or FUA
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:03:01.2[C] -> GSI 17
(level, low) -> IRQ 17
      Jun  8 13:03:25 z kernel: ata2.00: configured for UDMA/33
      Jun  8 13:03:25 z kernel: sd 0:0:0:0: [sda] Starting disk
      Jun  8 13:03:25 z kernel: Restarting tasks ... done.
      Jun  8 13:03:25 z kernel: ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18
(level, low) -> IRQ 18
      Jun  8 13:03:25 z kernel: ssb: Sonics Silicon Backplane found on PCI
device 0000:03:00.0
      Jun  8 13:03:25 z kernel: b44.c:v2.0
      Jun  8 13:03:25 z kernel: eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet
00:14:22:e3:86:c9

Comment 1 Bertil Askelid 2008-06-21 18:14:11 UTC
Same result as above on latest kernel-2.6.25.6-27.fc8.

Comment 2 Bug Zapper 2008-11-26 10:50:26 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  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 '8'.

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 8'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 8 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

Comment 3 Bug Zapper 2009-01-09 06:34:52 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 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.


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