LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-28-2005, 08:16 PM   #1
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Rep: Reputation: 15
HDIO_SET_DMA failed: Operation not permitted (???)


Hi there!

I'm using slack 10.2 with 2.6.14.

I enabled DMA acc. in Device Drivers->ATA/ATAPI/MFM/RLL: [*]Generic PCI bus-master DMA Support[*]Use PCI DMA by default when available

However, by using "hdparm -d1 /dev/hda" an:
-----------------------------------------------------------
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
-----------------------------------------------------------
err message is returned...

Unfortunately, I didn't find any satisfying answer to my question out there. I got a seagate disk...

Any idea?


Thanks in advance!
 
Old 12-29-2005, 05:05 AM   #2
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Original Poster
Rep: Reputation: 15
Ok!

Phew, it's ok now.

I had activated support for a different chipset *urg*

Last edited by Ellops; 12-29-2005 at 05:08 AM.
 
Old 01-17-2006, 01:10 AM   #3
pitt0071
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
hey all

i've got an inspiron 9300 with hitachi 7200rpm 60gb and slackware 10.2 does not want to enable the dma on this hdd

it says

# hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

thanks for help
 
Old 01-17-2006, 08:15 AM   #4
StevenO
Member
 
Registered: Jan 2006
Distribution: Slackware 10.2
Posts: 45

Rep: Reputation: 15
Quote:
Originally Posted by pitt0071
hey all

i've got an inspiron 9300 with hitachi 7200rpm 60gb and slackware 10.2 does not want to enable the dma on this hdd

it says

# hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

thanks for help
you have to recompile the kernel and compile your specific IDE chipset driver into the kernel.
 
Old 08-11-2006, 12:04 PM   #5
john riemann soong
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: 0
Toshiba Mk6021gas

I realise it must be a chipset thing now, but I have no idea what kernel options to configure it. I have the generic use PCI DMA by default option on, but I'm sure what else.

Would compiling every chipset driver into the kernel be an option?

cat /proc/ide/hda/driver returns "ide-disk version 1.18". cat /proc/ide/ide0/model returns "cat /proc/ide/ide0/model
". Should I be having another driver? Why doesn't the generic driver suffice? I *can't* seem to find one specifically for my chipset, because I'm clueless.

I have a TOSHIBA MK6021GAS.
 
Old 08-11-2006, 12:14 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Try
Code:
lspci
to see what chipset the ide uses
 
Old 08-11-2006, 05:31 PM   #7
john riemann soong
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: 0
I spotted this line

"00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)"
 
Old 08-11-2006, 06:13 PM   #8
john riemann soong
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: 0
Okay I got it now. I realised that the chipset driver wasn't specific to the disk but the controller (ICH-4), then I amended the appropriate kernel option. Thanks!
 
Old 08-11-2006, 07:00 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Yep. Has to be chipset for the controller.

Learned new stuff today, eh?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HDIO_SET_DMA failed: Operation not permitted new.thing Slackware 21 09-15-2007 06:46 PM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 04:49 AM
HDIO_SET_DMA failed: Operation not permitted kernel 2.6.4 Gaghiel Slackware 4 03-31-2004 07:18 PM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 11:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 05:56 AM

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

All times are GMT -5. The time now is 09:30 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