Re: [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557

Pavel Machek (pavel@suse.cz)
Wed, 12 Feb 2003 15:35:35 +0100


Hi!

> > > Is software suspend in Vanilla 2.5.60 supposed to work? A modified shutdown
> > > (using the reboot(2) magic) triggers the BUG_ON in idedisk_suspend. A quick
> > > check with older 2.5.x indicates this problem has been around for a
> > > while.
> >
> >
> > It works for me in 2.5.59. I'm now downloading 2.5.60.
> >
> > Replacing
> >
> > BUG_ON (HWGROUP(drive)->handler);
> >
> > with
> >
> > while(HWGROUP(drive)->handler);
> >
> >
> > might do the trick, but also might corrupt the data badly.
>
> IMHO s/might/will/g

It should be okay if he forces fsck after the experiments. But yes, it
is pretty risky.
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/