Messages in this thread | | | Date | Tue, 10 Nov 1998 19:44:24 -0500 (EST) | From | Vladimir Dergachev <> | Subject | Re: APM hibernate - IDE problems 2.1.127 |
| |
On Tue, 10 Nov 1998, Andreas Mohr wrote:
> 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.
I don't think this is supposed to work with Linux. You see what this mode is supposed to do is save the state of memory , disk and video controllers. I bet that the bios in your notebook doesn't save the disk state properly so when Linux comes up you get disk errors.
In particular try to do this :
run hdparm to find out the state of your disk before pressing the button. run hdparm afterwards to see what you get.. This is potentially dangerous to your computer - may be it's better not to play with this.
Vladimir Dergachev
> 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/ >
- 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/
| |