Re: APM hibernate - IDE problems 2.1.127

Andre M. Hedrick (hedrick@astro.dyer.vanderbilt.edu)
Tue, 10 Nov 1998 17:28:37 -0600 (CST)


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.

> Maybe the fault-tolerance of the IDE driver code is too low ?
> Perhaps one could add some additional code into the IDE driver ?

My suggestion without your hardware is to call a rescan hwif command.
This in principle would act like a reboot......the problems are unknown
that would result. If you are DMA enabled, I would consider a hd transfer
retuned to PIO0 and/or at least disable DMA prior to sleep. This should
remove information in the SGT/PRD.

The idea would be to wake the system up slowly and re-enable the settings
prior to sleep. This control code would belong in the APM stuff and call
the IDE driver code as needed. IMHO is where those controls would be
useful; however, something named ide-apm.c would be considered also....

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

Cheers,
Andre Hedrick
The IDE-FNG for Linux
The APC UPS Specialist for Linux

http://www.dyer.vanderbilt.edu/server/udma/
http://www.dyer.vanderbilt.edu/server/apcupsd/apcupsd-3.5.0.bin.tar.gz

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