LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-08-2012, 03:59 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Rep: Reputation: 28
swap read error on hibernate.


When attempt to hibernate my my system I start getting a bunch of swap read errors after it syncs my drive. I am running on a combination Ramdisk and flash file system. I am only using the drive as a swap to try and test out hibernation (suspend to disk). I am running on a system with an LSI SATA controller and LSI driver is built into the kernel.

Code:
~ # swapon /dev/sda1
~ # swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda1                               partition       4016064 0       -1
~ # echo disk > /sys/power/state
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
sd 0:0:0:0: [sda] Synchronizing SCSI cache
end_request: I/O error, dev sda, sector 319
Read-error on swap-device (8:0:447)
end_request: I/O error, dev sda, sector 447
Read-error on swap-device (8:0:575)
end_request: I/O error, dev sda, sector 575
Read-error on swap-device (8:0:703)
end_request: I/O error, dev sda, sector 703
Read-error on swap-device (8:0:831)
end_request: I/O error, dev sda, sector 831
Read-error on swap-device (8:0:959)
end_request: I/O error, dev sda, sector 959
Read-error on swap-device (8:0:1087)
end_request: I/O error, dev sda, sector 1087
Read-error on swap-device (8:0:1215)
...
 
Old 05-08-2012, 06:45 PM   #2
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
Is is possible that the kernel is stopping the LSI driver prior to, or during, writing the hibernate image to disk?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
F7: Hibernate using new swap partition Mleahy Linux - Software 2 07-26-2008 02:16 PM
luks encryption, swap and hibernate BCarey Slackware 6 04-15-2008 05:48 PM
Read-error on swap-device(9:0:8) andyknvs Linux - Newbie 2 02-27-2008 02:29 AM
Expanded Swap for Hibernate, now what? sixsidepentagon Linux - Newbie 12 10-06-2007 12:58 PM
Some questions about swap and hibernate Ryzol Linux - Desktop 1 08-29-2007 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration