All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Nelson <james4765@verizon.net>
To: "Peter H." <heisspf@skyinet.net>
Cc: linux <linux-newbie@vger.kernel.org>
Subject: Re: dma turned off
Date: Wed, 10 Nov 2004 23:30:16 -0500	[thread overview]
Message-ID: <4192EAD8.3070400@verizon.net> (raw)
In-Reply-To: <20041111031327.278F03F57C@heisspf>

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.


On my Slack 10.0 server, I put hdparm in rc.local.  My rc.local:

(most of the disk storage is on SCSI drives, /dev/hda is just the boot drive due 
to a POS BIOS that can't boot off of expansion cards)

#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local setup commands in here:
 

# enable 32-bit mode, turn on APM, set spindown for 1 hour,
# unmask IRQ's, nd set the keep-settings flag for /dev/hda
hdparm -c 1 -B 128 -S 242 -u 1 -k -q /dev/hda
 

# get the date from VT's NTP server and start the local time server
ntpdate ntp-1.vt.edu
ntpd &
 

#start the SMART monitoring tools
smartd &

-
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  4:30 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 [this message]
2004-11-11 20:33   ` Peter
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=4192EAD8.3070400@verizon.net \
    --to=james4765@verizon.net \
    --cc=heisspf@skyinet.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 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.