Maybe you have overseen this _little_ flag before compilation. good luck edwin Jose Luis Alarcon wrote:
Hi, kernel programmers. I get this error when i try 'hdparm -d 1 /dev/hdc': HDIO_SET_DMA: Operation not permitted When i try set the dma state of my DVD to 'on', i do it like root. I have two kernels in my sistem: 2.4.16 (this error don't exist) and 2.5.46 (this is the kernel which i get this error). The 2.5.46 was compiled with gcc 3.2.1, and the compilation went very well. I know i must probe 2.5.47 or 2.5.48, because this problem maybe alredy resolute, but i don't want resolve the problem. I wanna try program the code by myself to get HDIO_SET_DMA works well and be a permitted operation. I am a very, very, very newbie about the kernel programming and i want to please you for an advice about the steps i must follow: Where can i find HDIO_SET_DMA function?, what is the method, in general, for find a function into the ocean of the kernel code?. Thanks you, very much, in advance. You are very kind. Regards. Jose. Debian GNU/Linux 'Sid' Kernel 2.4.19 Ext3. ESware Linux 365 Kernel 2.5.46 ReiserFS. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner. _____________________________________________________________ Get your own free tiggerfan.com email address!! DisneySites!! - http://www.disneysites.com/webmail/tiggerfan _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/