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

From: Pavel Machek (pavel@suse.cz)
Date: Wed Feb 12 2003 - 09:35:35 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:42 EST