Re: 2.4.19-pre8-ac5 swsusp panic

Pavel Machek (pavel@suse.cz)
Tue, 28 May 2002 23:19:54 +0200


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/