* 2.4.19-pre8-ac5 swsusp panic
@ 2002-05-24 1:13 Matthias Andree
2002-05-24 15:08 ` Kasper Dupont
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Matthias Andree @ 2002-05-24 1:13 UTC (permalink / raw)
To: Linux-Kernel mailing list
I tried SysRq-D and finally got a kernel "panic: Request while ide driver
is blocked?"
Before that, I saw "waiting for tasks to stop... suspending kreiserfsd",
nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some
"Probem while suspending", then some "Resume" and finally the panic.
It may be worth noting that one swap partition is on a SCSI drive, and
that my IDE drives were in standby (not idle) mode, i. e. their spindle
motors were stopped.
--
Matthias Andree
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-24 1:13 2.4.19-pre8-ac5 swsusp panic Matthias Andree @ 2002-05-24 15:08 ` Kasper Dupont 2002-05-25 8:00 ` fchabaud 2002-05-27 13:59 ` Pavel Machek 2 siblings, 0 replies; 10+ messages in thread From: Kasper Dupont @ 2002-05-24 15:08 UTC (permalink / raw) Cc: Linux-Kernel mailing list On my system I'm actually able to suspend and start the system again using kernel 2.4.19-pre8-ac5. But there are some problems. If there is not enough free physical memory it complaints about not enough free memory and system continues without suspending. However runing this program before suspending helps: #define BUFSIZE (1024*1024*256) int main() { char *buf = malloc(BUFSIZE); int i; for (i=0;i<BUFSIZE;i+=4096) buf[i]++; return 0; } There is plenty of swap space on my system, so that is not a problem. When the system has been started again after a suspend my PS/2 mouse and my serial logins are all dead. Restarting gpm and sending a SIGHUP to the serial logins get the connections to live up. But if I start X all input devices die, but the screen output is correct and keep getting updated. Finally ntpd does complain about loosing sync. -- Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:razor-report@daimi.au.dk ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-24 1:13 2.4.19-pre8-ac5 swsusp panic Matthias Andree 2002-05-24 15:08 ` Kasper Dupont @ 2002-05-25 8:00 ` fchabaud 2002-05-25 23:20 ` Matthias Andree 2002-05-27 14:01 ` Pavel Machek 2002-05-27 13:59 ` Pavel Machek 2 siblings, 2 replies; 10+ messages in thread From: fchabaud @ 2002-05-25 8:00 UTC (permalink / raw) To: matthias.andree; +Cc: linux-kernel Le 24 Mai, Matthias Andree a écrit : > I tried SysRq-D and finally got a kernel "panic: Request while ide driver > is blocked?" > > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some > "Probem while suspending", then some "Resume" and finally the panic. > > It may be worth noting that one swap partition is on a SCSI drive, and > that my IDE drives were in standby (not idle) mode, i. e. their spindle > motors were stopped. > AFAIK swap partition under SCSI is not supported for the moment. -- Florent Chabaud ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-25 8:00 ` fchabaud @ 2002-05-25 23:20 ` Matthias Andree 2002-05-26 6:54 ` fchabaud 2002-05-27 14:01 ` Pavel Machek 1 sibling, 1 reply; 10+ messages in thread From: Matthias Andree @ 2002-05-25 23:20 UTC (permalink / raw) To: linux-kernel On Sat, 25 May 2002, fchabaud@free.fr wrote: > Le 24 Mai, Matthias Andree a écrit : > > I tried SysRq-D and finally got a kernel "panic: Request while ide driver > > is blocked?" > > > > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", > > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some > > "Probem while suspending", then some "Resume" and finally the panic. > > > > It may be worth noting that one swap partition is on a SCSI drive, and > > that my IDE drives were in standby (not idle) mode, i. e. their spindle > > motors were stopped. > > AFAIK swap partition under SCSI is not supported for the moment. Gee. Swsusp should know when it must panic later and not start in the first place. If that's true: swsusp people, consider this a feature request ;-) -- Matthias Andree ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-25 23:20 ` Matthias Andree @ 2002-05-26 6:54 ` fchabaud 2002-05-26 12:03 ` fchabaud 0 siblings, 1 reply; 10+ messages in thread From: fchabaud @ 2002-05-26 6:54 UTC (permalink / raw) To: matthias.andree; +Cc: linux-kernel Le 26 Mai, Matthias Andree a écrit : > On Sat, 25 May 2002, fchabaud@free.fr wrote: > >> Le 24 Mai, Matthias Andree a écrit : >> > I tried SysRq-D and finally got a kernel "panic: Request while ide driver >> > is blocked?" >> > >> > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", >> > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some >> > "Probem while suspending", then some "Resume" and finally the panic. >> > >> > It may be worth noting that one swap partition is on a SCSI drive, and >> > that my IDE drives were in standby (not idle) mode, i. e. their spindle >> > motors were stopped. >> >> AFAIK swap partition under SCSI is not supported for the moment. > > Gee. Swsusp should know when it must panic later and not start in the > first place. If that's true: swsusp people, consider this a feature > request ;-) > I'll do it. Besides I don't imagine it's too difficult to support SCSI, but I had no time before for doing this. -- Florent Chabaud http://www.ssi.gouv.fr | http://fchabaud.free.fr ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-26 6:54 ` fchabaud @ 2002-05-26 12:03 ` fchabaud 0 siblings, 0 replies; 10+ messages in thread From: fchabaud @ 2002-05-26 12:03 UTC (permalink / raw) To: matthias.andree; +Cc: linux-kernel Le 26 Mai, Pour: matthias.andree@stud.uni-dortmund.de a écrit : > Le 26 Mai, Matthias Andree a écrit : >> On Sat, 25 May 2002, fchabaud@free.fr wrote: >> >>> Le 24 Mai, Matthias Andree a écrit : >>> > I tried SysRq-D and finally got a kernel "panic: Request while ide driver >>> > is blocked?" >>> > >>> > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", >>> > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some >>> > "Probem while suspending", then some "Resume" and finally the panic. >>> > >>> > It may be worth noting that one swap partition is on a SCSI drive, and >>> > that my IDE drives were in standby (not idle) mode, i. e. their spindle >>> > motors were stopped. >>> >>> AFAIK swap partition under SCSI is not supported for the moment. >> >> Gee. Swsusp should know when it must panic later and not start in the >> first place. If that's true: swsusp people, consider this a feature >> request ;-) >> > > I'll do it. Besides I don't imagine it's too difficult to support SCSI, > but I had no time before for doing this. To prevent problems with SCSI, maybe something like that ? Index: suspend.c =================================================================== RCS file: /home/cvs/linux-src/kernel/Attic/suspend.c,v retrieving revision 1.3 diff -u -r1.3 suspend.c --- suspend.c 2002/05/26 11:49:24 1.3 +++ suspend.c 2002/05/26 11:56:25 @@ -745,6 +745,9 @@ #ifdef CONFIG_BLK_DEV_IDE ide_disk_unsuspend(); #endif +#ifdef CONFIG_BLK_DEV_SD +# error Do not use SCSI swap partition while using software suspend +#endif } /* Called from process context */ @@ -753,7 +756,7 @@ #ifdef CONFIG_BLK_DEV_IDE ide_disk_suspend(); #else -#error Are you sure your disk driver supports suspend? +# error Are you sure your disk driver supports suspend? #endif if(!pm_suspend_state) { if(pm_send_all(PM_SUSPEND,(void *)3)) { -- Florent Chabaud ___________________________________ SGDN/DCSSI/SDS/LTI | florent.chabaud@polytechnique.org http://www.ssi.gouv.fr | http://fchabaud.free.fr ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-25 8:00 ` fchabaud 2002-05-25 23:20 ` Matthias Andree @ 2002-05-27 14:01 ` Pavel Machek 2002-05-28 21:13 ` fchabaud 1 sibling, 1 reply; 10+ messages in thread From: Pavel Machek @ 2002-05-27 14:01 UTC (permalink / raw) To: fchabaud; +Cc: matthias.andree, linux-kernel Hi! > > I tried SysRq-D and finally got a kernel "panic: Request while ide driver > > is blocked?" > > > > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", > > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some > > "Probem while suspending", then some "Resume" and finally the panic. > > > > It may be worth noting that one swap partition is on a SCSI drive, and > > that my IDE drives were in standby (not idle) mode, i. e. their spindle > > motors were stopped. > > > > AFAIK swap partition under SCSI is not supported for the moment. can you elaborate? swsusp ddoes not careif it is scsi on ide and I had it running on usb-storage device at one point. Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-27 14:01 ` Pavel Machek @ 2002-05-28 21:13 ` fchabaud 2002-05-28 21:19 ` Pavel Machek 0 siblings, 1 reply; 10+ messages in thread From: fchabaud @ 2002-05-28 21:13 UTC (permalink / raw) To: pavel; +Cc: matthias.andree, linux-kernel Le 27 Mai, Pavel Machek a écrit : > Hi! > >> > I tried SysRq-D and finally got a kernel "panic: Request while ide driver >> > is blocked?" >> > >> > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", >> > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some >> > "Probem while suspending", then some "Resume" and finally the panic. >> > >> > It may be worth noting that one swap partition is on a SCSI drive, and >> > that my IDE drives were in standby (not idle) mode, i. e. their spindle >> > motors were stopped. >> > >> >> AFAIK swap partition under SCSI is not supported for the moment. > > can you elaborate? swsusp ddoes not careif it is scsi on ide and I had it > running on usb-storage device at one point. > Pavel > Well we haven't the equivalent to ide_disk_(un)suspend. I agree that this should be sufficient to make it work, but SCSI may be a little more difficult to patch. -- Florent Chabaud ___________________________________ SGDN/DCSSI/SDS/LTI | florent.chabaud@polytechnique.org http://www.ssi.gouv.fr | http://fchabaud.free.fr ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-28 21:13 ` fchabaud @ 2002-05-28 21:19 ` Pavel Machek 0 siblings, 0 replies; 10+ messages in thread From: Pavel Machek @ 2002-05-28 21:19 UTC (permalink / raw) To: fchabaud; +Cc: matthias.andree, linux-kernel Hi! > >> > I tried SysRq-D and finally got a kernel "panic: Request while ide driver > >> > is blocked?" > >> > > >> > Before that, I saw "waiting for tasks to stop... suspending kreiserfsd", > >> > nfsd exiting, "Freeing memory", "Syncing disks beofre copy", then some > >> > "Probem while suspending", then some "Resume" and finally the panic. > >> > > >> > It may be worth noting that one swap partition is on a SCSI drive, and > >> > that my IDE drives were in standby (not idle) mode, i. e. their spindle > >> > motors were stopped. > >> > > >> > >> AFAIK swap partition under SCSI is not supported for the moment. > > > > can you elaborate? swsusp ddoes not careif it is scsi on ide and I had it > > running on usb-storage device at one point. > > Pavel > > > > Well we haven't the equivalent to ide_disk_(un)suspend. I agree that > this should be sufficient to make it work, but SCSI may be a little more > difficult to patch. Yup, right. Right way to do that is using pci power interface. It hopefully is strong enough to do that in 2.4, and it will magically work in 2.5 too. But for that usb-storage, usb already contains pm-related code, so it should just work. Pavel -- Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 2.4.19-pre8-ac5 swsusp panic 2002-05-24 1:13 2.4.19-pre8-ac5 swsusp panic Matthias Andree 2002-05-24 15:08 ` Kasper Dupont 2002-05-25 8:00 ` fchabaud @ 2002-05-27 13:59 ` Pavel Machek 2 siblings, 0 replies; 10+ messages in thread From: Pavel Machek @ 2002-05-27 13:59 UTC (permalink / raw) To: Linux-Kernel mailing list Hi! > I tried SysRq-D and finally got a kernel "panic: Request while ide driver > is blocked?" sysrq-D showed to be buggy in 2.5. You might want to do echo 4 > /proc/acpi/sleep instead. -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-05-28 21:19 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-05-24 1:13 2.4.19-pre8-ac5 swsusp panic Matthias Andree 2002-05-24 15:08 ` Kasper Dupont 2002-05-25 8:00 ` fchabaud 2002-05-25 23:20 ` Matthias Andree 2002-05-26 6:54 ` fchabaud 2002-05-26 12:03 ` fchabaud 2002-05-27 14:01 ` Pavel Machek 2002-05-28 21:13 ` fchabaud 2002-05-28 21:19 ` Pavel Machek 2002-05-27 13:59 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox