public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557
@ 2003-02-11 13:11 Roger Luethi
  2003-02-11 13:21 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Roger Luethi @ 2003-02-11 13:11 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

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.

I can provide additional information incl. call trace if anyone's
interested.

Roger

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557
  2003-02-11 13:11 [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557 Roger Luethi
@ 2003-02-11 13:21 ` Pavel Machek
  2003-02-11 13:59   ` Ducrot Bruno
  2003-02-11 15:04   ` Roger Luethi
  0 siblings, 2 replies; 5+ messages in thread
From: Pavel Machek @ 2003-02-11 13:21 UTC (permalink / raw)
  To: Pavel Machek, linux-kernel



> 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.

> I can provide additional information incl. call trace if anyone's
> interested.
> 
> Roger

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557
  2003-02-11 13:21 ` Pavel Machek
@ 2003-02-11 13:59   ` Ducrot Bruno
  2003-02-12 14:35     ` Pavel Machek
  2003-02-11 15:04   ` Roger Luethi
  1 sibling, 1 reply; 5+ messages in thread
From: Ducrot Bruno @ 2003-02-11 13:59 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

On Tue, Feb 11, 2003 at 02:21:32PM +0100, Pavel Machek wrote:
> 
> 
> > 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

-- 
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557
  2003-02-11 13:21 ` Pavel Machek
  2003-02-11 13:59   ` Ducrot Bruno
@ 2003-02-11 15:04   ` Roger Luethi
  1 sibling, 0 replies; 5+ messages in thread
From: Roger Luethi @ 2003-02-11 15:04 UTC (permalink / raw)
  To: linux-kernel

On Tue, 11 Feb 2003 14:21:32 +0100, Pavel Machek wrote:
> > 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.

I just saw it happen on 2.5.59 as well. FWIW the machine has 1 GB of RAM,
but HIGHMEM is off for this particular kernel. I won't post jpeg to lkml,
but screen shots are available upon request.

Roger

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557
  2003-02-11 13:59   ` Ducrot Bruno
@ 2003-02-12 14:35     ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2003-02-12 14:35 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-12 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-11 13:11 [2.5.60] swsuspend -> BUG at drivers/ide/ide-disk.c:1557 Roger Luethi
2003-02-11 13:21 ` Pavel Machek
2003-02-11 13:59   ` Ducrot Bruno
2003-02-12 14:35     ` Pavel Machek
2003-02-11 15:04   ` Roger Luethi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox