I had the lockup problems too but after I'd read this little note from
my local kernel.org mirror in the directory of the ide patches I was
able to fix it:

( content hpt366.warning )
<QUOTE>
Sat Sep 18 01:29:04 CDT 1999

Do not change the drive settings on this chipset
with any tools.

If you did not set autodma in the kernel or pass idex-dma,
You will be stuck in PIO mode only.

Calling "hdpram -d1 /dev/hdx" will cause DMA timeout errors.
Calling "hdpram -c1 /dev/hdx" can cause other errors not known.

Sun Oct  3 23:34:17 CDT 1999

HPT366 chipset code now handles the second onboard channel 
of the ABit mainboards.

Andre Hedrick
The Linux IDE guy

</QUOTE>
I thought I just didn't use this hdparm settings.. ( I think he meant
hdparm in the notes it says hdpram.. ) but when I looked in the
/etc/rc.d/init.d dir of my distro there was this
in the mandrake_everytime file...
<QUOTE>
## Optimisation of Hard drive.
if grep -qi opti /proc/cmdline; then
if [ -x /sbin/hdparm ];then
echo hdparm
LIST_HD=$(grep '^hd.:' /var/log/dmesg|\
        grep -ivE '(CD.*ROM|FLOPPY|TAPE|STATUS)'|cut -d: -f1|sort|uniq)

        if grep -i nohdparm /proc/cmdline >/dev/null ; then
                action "Hard Drive optimisations disabled" \
                echo ""
        else
        for i in $LIST_HD;do
        action "Starting Hard Drive optimisations for $i" \
                hdparm -q -c1 -q -A1 -q -m16 -q -d1 /dev/$i
        done
        fi
fi
fi
</QUOTE>
In which my distro clearly uses both of the options which I shouldn't
use as said in the warning by Andre Hedrick.. I also saw that in THIS
code it looks for the kernel parameter nohdparm. So I added that kernel
parameter in my lilo.conf and now my system has been working fine all
day ( extracting and after that removing the linux kernel ( I could make
it crash every hour or so doing this.. )). 

Have a look at your own distro if it's doing some hdparm stuff...
( my distro is linux-Mandrake 6.1 )

This worked for me hopes it works for u too...

Good luck...

Ernst Oudhof
<[EMAIL PROTECTED]>
--
=-          To unsubscribe, email [EMAIL PROTECTED] with the       -=
=-                body of "unsubscribe linux-abit".                 -=

Reply via email to