Re: Disc driver is module, software suspend fails

From: Pavel Machek
Date: Mon Mar 28 2005 - 17:22:23 EST


Hi!

> > There's another feature that enables you to start resume manually with
> > some echo to /sys... Perhaps it needs to be documented better, I'm
> > looking for a patch ;-).
>
> But how can it resume from a swap device for which it has no driver?

You insmod driver for your swap device, then you echo device numbers
to /sys... then initiate resume.

> Even if you copied the needed module(s) onto the swap device, the kernel
> needs the modules to be loaded before it can read anything. The driver
> would be there if resuming happened after the initrd loaded it. But
> I wasn't able to make that actually work.

It should be possible, suse 9.3 does that...
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/