APM hibernate - IDE problems 2.1.127

Andreas Mohr (amohr@student.e-technik.uni-stuttgart.de)
Tue, 10 Nov 1998 12:01:05 MET


Hello all,

Sorry for the previous crap posting, but I had severe problems with output
corruption under vi and accidentially pressed "send".
I'll finally ditch vi...

I'm experiencing problems with hibernation mode on my notebook.

System:
- Linux 2.1.127
(several 2.1.x didn't work either; 2.0.30 and 2.0.35 crashed when APM enabled)
- Acernote light 350PC, IDT C6/225, 40MB, 2.2GB IBM
(yes, I know that the APM BIOS is really sh*tty !)

Now the problem:
I have set up a hibernation memory disk file on one of my FAT16 partitions
using DOS.
Then I booted Linux, pressed the hibernate button, and everything went fine.
Now I switched my note back on, the memory was restored without problem,
the Linux console reappeared.
But as soon as I tried to load any program that was not in memory cache,
the HDD led went permanently on, there were lots of "hda: lost interrupt"
and program load times were a hundred times higher than normal.
Note: *not* processor "load" !!
Once even a
ide0: unexpected interrupt, status=0x58, count=1
occurred.

So I tried to dig into the files I thought responsible (APM or IDE driver).
But I couldn't find too much.
I suspect that some IDE registers don't get restored properly by the BIOS
hibernation code, but who knows ?
-> Buggy BIOS ?
Unfortunately I can't do an update now as it's not flashable and I don't
have access to a burner right now :(
Maybe the fault-tolerance of the IDE driver code is too low ?
Perhaps one could add some additional code into the IDE driver ?
Could somebody please just put me into the right direction,
as I'm a rather long-standing Wine developer, so I might be able to fix it ;)
Specifically: what could a HDD led cause to be burning permanently ?
(which outb() statement or which register flag etc.)

Thank you !

--
Andreas Mohr

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/