LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-09-2005, 04:09 PM   #1
mattz40
LQ Newbie
 
Registered: Mar 2005
Location: Chalottte NC
Distribution: Debian Squeeze 386
Posts: 18

Rep: Reputation: 0
Q1: Setting DMA Mode with hdparm


I was running Debian Woody compact flavor and was having great results turning DMA on using 'hdparm -d1 /dev/hda' Buffered disk reads would go up by a factor of 10 when it was turned on. I've since switched to the bf24 flavor in an attempt to fix a slow network problem and add usb support. It didn't fix the network problem, does see the usb port, but now i can't turn on DMA.
When I issue the same command I get the following error:
HDIO_SET_DMA failed: Operation not permitted
I am of course entering the command as root. Anyone have any suggestions? Thanks in advance.
Matt
 
Old 03-10-2005, 06:28 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

did you compile this kernel by yourself? i would say that the problem is in the kernel: IDE/DMA options.
how are they defined? are you sure that the module of the chipset of your disk is loaded or compiled as builtin?

regards

slackie1000
 
Old 03-10-2005, 11:11 AM   #3
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
Unless you have some special reasons for running Debian 3.0 ('woody', current stable release) as that is three years old, I recommend installing Debian testing ('sarge', what will become the next release 3.1), that is much better to use currently for desktop/workstation purposes.

What hardware do you have? Your DMA issues could be because your hardware could be considerably newer than the kernel in Debian 3.0 ('woody') as that is three years old and thus cannot possibly have proper support for all the very latest hardware.
 
Old 03-15-2005, 04:52 PM   #4
mattz40
LQ Newbie
 
Registered: Mar 2005
Location: Chalottte NC
Distribution: Debian Squeeze 386
Posts: 18

Original Poster
Rep: Reputation: 0
No, I didn't compile this, that is beyond me. I'm using the stable release off the Debian site. I was hoping I overlooked something since I could turn on DMA under the 'compact' flavor of Woody but can't under the 'bf24' flavor. I'll Try Sarge since I can't get the network speed up to a reasonable level and I can't live with that.
Thanks for the advice.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE Hardisk Problem when setting drive to standby mode with hdparm cwolf Linux - General 1 07-13-2004 12:17 AM
Enabling DMA with no hdparm SML Red Hat 1 02-22-2004 03:46 PM
Cant set dma mode with hdparm and SiS 5513 IDE mush Linux - Hardware 1 12-15-2003 07:35 PM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
hdparm/dma MightyKC Linux - Newbie 7 08-19-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration