All of lore.kernel.org
 help / color / mirror / Atom feed
From: John T Copeland <johnc@neto.com>
To: linuxkernel <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, Andre H <andre@linux-ide.org>
Subject: 2.4.21 & 2.5.74 -- SATA/UDMA not set at boot
Date: Tue, 08 Jul 2003 19:06:06 -0500	[thread overview]
Message-ID: <3F0B5C6E.2070303@neto.com> (raw)

Both kernels 2.4.21 and 2.5.74 leave the SATA drive in PIO mode after 
boot.  My system is Abit NF7-S with 2 IBM 100MHz parallel drives on 
IDE0, and 1 Western Digital 150 serial on IDE2.

NOTE: My boot drive in this case is the serial drive, and the parallel 
drives are auxiliaries.

The 2 parallel drives come up dma on, udma5 marked(hdparm /dev/hde and 
hdparm -i /dev/hde).  The serial drive of course is dma off, nothing 
marked.  There is no way to turn on DMA in the BIOS.

2.5.74 allows me to execute "hdparm -d1 -Xudma6 /dev/hde" while booting 
from a bootmisc.sh script.  If I try the same thing with 2.4.21 I get 
all kinds of errors, timeouts, other stuff and the EXT3 journal finally 
aborts and shutdown gives I/O errors.  I found out by trial and error 
that if I execute with 2.4.21:
1)hdparm -Xudma6 /dev/hde      This AOK, udma6 is on(marked)
2)hdparm -d1 /dev/hde               Some errors show up, dma is set, but 
udma6 is turned off(no mark)
3)hdparm -Xudma6 /dev/hde       udma6 back on(marked)
A hdparm -t /dev/hde verifies udma6 on and working.

Another point.  When my boot drive is /dev/hda, a parallel drive and the 
serial drive, /dev/hde is the auxiliary 2.4.21 allows me to "hdparm -d1 
-Xudma6 /dev/hde" while booting from a bootmisc.sh script.


                 reply	other threads:[~2003-07-08 23:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F0B5C6E.2070303@neto.com \
    --to=johnc@neto.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.