2.4.19-pre8-ac5 swsusp panic
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.
Signature · 1 line
Matthias Andree
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.
Signature · 2 lines
Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:[email protected]
Quoted 11 lines · Matthias Andree
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
Quoted 8 lines · On Sat, 25 May 2002, [email protected] wrote:
Quoted 7 lines · Matthias Andree
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.
Quoted 5 lines
Quoted 3 lines
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 ;-)
Signature · 1 line
Matthias Andree
Quoted 14 lines · Matthias Andree
Quoted 12 lines · On Sat, 25 May 2002, [email protected] wrote:
Quoted 10 lines · Matthias Andree
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.
Quoted 6 lines
Quoted 1 line
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
Quoted 17 lines · Le 26 Mai, Pour: [email protected] a écrit :
Quoted 16 lines · Matthias Andree
Quoted 13 lines · On Sat, 25 May 2002, [email protected] wrote:
Quoted 10 lines · Matthias Andree
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.
Quoted 7 lines
Quoted 4 lines
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
05/26 11:56:25 renamed from 05/26 11:49:24 1.3 +4 -1
@@ -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 | [email protected]
http://www.ssi.gouv.fr | http://fchabaud.free.fr
Hi!
Quoted 2 lines
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.
Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
Hi!
Quoted 7 lines
Quoted 7 lines
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.
Quoted 6 lines
Quoted 4 lines
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
Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
Quoted 14 lines · Pavel Machek
Hi!
Quoted 12 lines
Quoted 11 lines
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.
Quoted 6 lines
Quoted 1 line
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 | [email protected]
http://www.ssi.gouv.fr | http://fchabaud.free.fr
Hi!
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 11 lines
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.
Quoted 8 lines
Quoted 4 lines
can you elaborate? swsusp ddoes not careif it is scsi on ide and I had it
running on usb-storage device at one point.
PavelWell 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
Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic.