public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter <heisspf@skyinet.net>
To: Jim Nelson <james4765@verizon.net>
Cc: linux <linux-newbie@vger.kernel.org>
Subject: Re: dma turned off
Date: Thu, 11 Nov 2004 15:33:17 -0500	[thread overview]
Message-ID: <20041111153317.41d12e62@Knoppix> (raw)
In-Reply-To: <4192EAD8.3070400@verizon.net>

Thanks Jim!

On Wed, 10 Nov 2004 23:30:16 -0500
Jim Nelson <james4765@verizon.net> wrote:

> Peter H. wrote:
> > Hi,
> > 
> > Slackware 10
> > 
> > When I switch to kernel 2.6.7 I get the following error message on boot:
> > 
> >  * Warning: The dma on your hard drive is turned off. *
> >  * This may really slow down the fsck process. *
> > 
> > Apparently with the command "hdparm -d /dev/hda" dma is turned on.
> > 
> > Where in /etc/rc.d if that is the place do I put this command?
> > 
> > However, giving the command from the console as root after booting I get:
> > 
> > setting using_dma to 1 (on)
> >  HDIO_SET_DMA failed: Operation not permitted
> >  using_dma    =  0 (off)
> > 
> > How to resolve?
> > 
> > Thanks & regards
> 
> What kind of hard drive and IDE chipset does it have?  I know some drives were 
> recently added to a no-DMA blacklist for behaving badly.  Normally, dma is 
> supposed to be enabled by default, and only disabled when a known-bad hard drive 
> or IDE controller is found.
> 
hdparm -i /dev/hda

 Model=Maxtor 2F040L0, FwRev=VAM51JJ0, SerialNo=F1J91XNE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=80293248
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: (null): 

I think it is kernel related since with kernel 2.4.26 in slackware I do not get those error messages neither in Fedora Core2 with kernel 2.6.5.... on the same HD.

Regards

-- 
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2004-11-11 20:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11  3:13 dma turned off Peter H.
2004-11-11  4:30 ` Jim Nelson
2004-11-11 20:33   ` Peter [this message]
2004-11-11 15:58 ` Richard Adams
2004-11-12  8:19   ` Peter
2004-11-15 21:29   ` Richard Adams
     [not found] <20041116040117.445874A6C6@heisspf>
2004-11-16  6:30 ` Richard Adams
2004-11-20 19:18 ` lindax newbie

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=20041111153317.41d12e62@Knoppix \
    --to=heisspf@skyinet.net \
    --cc=james4765@verizon.net \
    --cc=linux-newbie@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox