Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] hdparm says Operation not Permitted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
0x001A4
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 263
Location: Mississauga, Ontario

PostPosted: Wed Feb 01, 2006 8:38 pm    Post subject: [SOLVED] hdparm says Operation not Permitted Reply with quote

I tried installing hdparm but when I try # hdparm /dev/hda (for my cdrom) I get the following:

Code:

/dev/hda:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument


and then when I try to turn on the dma, I get the following:

Code:

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


I have made sure that all the chipset specific settings in the kernel are on and they are.
Anyone have any suggestions?


Last edited by 0x001A4 on Fri Feb 03, 2006 3:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Wed Feb 01, 2006 8:41 pm    Post subject: Reply with quote

Sorry, I have to ask: You are doing this as root, right? :)

Otherwise are you sure you cdrom has DMA? My last CDROM (don't have one now) didn't have DMA altough it was a 40x one.
Back to top
View user's profile Send private message
0x001A4
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 263
Location: Mississauga, Ontario

PostPosted: Thu Feb 02, 2006 4:27 pm    Post subject: Reply with quote

I am doing this as root. As to whether or not my drive has DMA, thats a good question. I went to Sony's site and they dont even have information on my drive.

I bought it a year ago and its a DL-DVD burner.. so I would think it would have DMA?
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Thu Feb 02, 2006 4:52 pm    Post subject: Reply with quote

What does:

Code:
dmesg | grep hda

give you?

And in what mode does the BIOS information screen show it as when you boot?
Back to top
View user's profile Send private message
pandisv
n00b
n00b


Joined: 27 Nov 2005
Posts: 24

PostPosted: Thu Feb 02, 2006 5:51 pm    Post subject: Reply with quote

Are you sure you have enabled your chipset in the kernel? If not, recompile the kernel with DMA settings and support for your chipset (which you will find with lspci).
Back to top
View user's profile Send private message
0x001A4
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 263
Location: Mississauga, Ontario

PostPosted: Thu Feb 02, 2006 11:54 pm    Post subject: Reply with quote

When I type "dmesg | grep hda" it says

Code:

hda: SONY DVD RW DW-Q28A, ATAPI CD/DVD-ROM drive
hda: ATAPI 12X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache


I know that my motherboard uses the VIA K8T890 chipset (which isnt listed under the kernel configuration) but it says I have support for AMD and nVidia IDE and my cpu is amd.. is this wrong?
Back to top
View user's profile Send private message
ianegg
Apprentice
Apprentice


Joined: 26 Oct 2005
Posts: 279
Location: Breakfast.

PostPosted: Fri Feb 03, 2006 3:04 am    Post subject: Reply with quote

You need the VIA82CXXX support, methinks? My chipset is K8T800, and that's what I use. Your chipset seems similar from a quick search; VT8237 southbridge here, I think your's is the same, maybe VT8237R - but that shouldn't make any difference here...
Back to top
View user's profile Send private message
0x001A4
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 263
Location: Mississauga, Ontario

PostPosted: Fri Feb 03, 2006 3:00 pm    Post subject: Reply with quote

That was the chipset I needed to select.

Thanks for your help everyone :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum