Skip to contentSkip to conversation

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

DISCUSSION Roger Luethi 4 participants 5 messages Feb 11, 2003 – Feb 12, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines

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.

Quoted 4 lines

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

Roger

Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
#2 lore raw
Quoted 12 lines · Pavel Machek
Quoted 6 lines

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

Quoted 8 lines

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

Signature · 3 lines
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page
#4 lore raw
In reply to Pavel Machek
Quoted 6 lines · Pavel Machek
Quoted 4 lines

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

#3 lore raw
In reply to Ducrot Bruno

Hi!

Quoted 12 lines
Quoted 12 lines
Quoted 4 lines

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);

Quoted 8 lines
Quoted 6 lines

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

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