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

Pavel Machek
2003-02-12T14:25:50Z

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.