LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-14-2006, 09:46 AM   #1
Van Der Berg
LQ Newbie
 
Registered: May 2006
Posts: 11

Rep: Reputation: 0
DMA problem on laptop


i don't know if this question was answered on kernel 2.6 compile guide, but...
i have a problem enabling dma on my hard disk (i guess this is the reason why my slack 10.2 is running so sloooooooooooow). i have 2.4.31 and 2.6.16.9 kernel, and when both kernel starts, at some point it says "warning! dma on your disk is disabled...blah blah". i've compiled the newest kernel and checked "enable dma by default", but when kernel starts, it is still disabled, and i can't ("don't now how", to be precise) enable it. when i try with hdparm -d1 /dev/hda, it say's that i don't have the right to do that...

i have a HP ZV6000 laptop with toshiba HD, and slack was the first distribution where i managed to fix everything to work, inculding enabling kde to start in 1280x800 (native resolution on my monitor) and installing ati drivers correct (it didn't work on feodra, ubuntu, mepis...), and it would be a shame if this little problem would stop me in becoming a hardcore slackware fan...
btw, i also have some problems with alsa, it can't find some modules which worked on 2.4 kernel...

i would be very grateful for any help...
 
Old 05-15-2006, 01:19 AM   #2
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
Hi Van,

the hdparm is located in the /sbin folder.

you can only do "hdparm" changes as root while you are in console.

yes the "d1" switch would turn on the dma, however, you may? and I'm not sure have to go into your bios and see if you mobo has a feature to enable dma on the hard drive or not. Some laptops let you turn this on or off believe it or not.

when your in "X" go into console, su to root, and run

Quote:
/sbin/hdparm -i /dev/hda
the "-i" is for information on /dev/hda and that code assume's that dev/hda is the hard drive that X is installed on.

that will tell you what the hard drive is running at. post it back here so we can see.

if you upgraded to 2.6 custom kernel that you made, you are suppose to compile your kerenel with your sound as modules.

assuming you did that when you are into X in your custom kernel open console up, su to root, and run alsaconfig again and you should be fine.
 
Old 05-15-2006, 02:00 AM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Also, be sure to compile the right chipset support in your kernel or you won't be able to activate it.
 
Old 05-15-2006, 11:38 AM   #4
Van Der Berg
LQ Newbie
 
Registered: May 2006
Posts: 11

Original Poster
Rep: Reputation: 0
YIPI, I made it! Thank you guys, I found out that I was just too lazy to find the right module for my chipset and to load correct sound module. Now both DMA and Alsa are working, so now I have everything set up on Slackware...Until I'll try to set up wireless card, but that would be a question on another topic

Anyway, thanks a lot
 
Old 05-15-2006, 10:05 PM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
glad to hear it
 
Old 05-24-2006, 05:27 AM   #6
ErEn
Member
 
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39

Rep: Reputation: 15
Hi,
Van Der Berg i have the same computer with you. And i am encountering the same problems. At boot it says that dma is turned off so the computer is sometimes so slow. when i try to issue(as root):
hdparm -d1 /dev/hda
it says that the operation is not permitted.
I have compiled the "enable dma by default" in the kernel. i have also compiled in all the chipsets as modules because i don't know which is mine.
And Old_Fogie, i have followed your instructions for ati. I have installed the 2.6.10 kernel and did all the other settings. and it didn't work. But my ati card is a pcie, i think it causes the problem.
Van Der Berg, could you send me how you did it all please?
Or anyone else has any suggestions?
 
Old 05-24-2006, 05:37 AM   #7
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
check your lsmod output to know which module your chipset uses and try to find and include that module when you build your kernel.
 
Old 05-25-2006, 07:46 AM   #8
Van Der Berg
LQ Newbie
 
Registered: May 2006
Posts: 11

Original Poster
Rep: Reputation: 0
hi ErEn...
i just enabled ATI IXP chipset (i think), and suddenly dma was enabled on boot. maybe i also checked "enable dma only for disk", i don't really remember. i've never managed to turn on dma with hdparm. maybe i can send you my version of config for kernel by mail, if you can't manage it (if we really have the same computer, of course...HP ZV6000)...
 
Old 05-29-2006, 05:34 AM   #9
ErEn
Member
 
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39

Rep: Reputation: 15
Hi Van Der Berg,
I have a zv6248ea but it is written zv6000 on it. i guess, it is from pavilion zv6000 series. I would be really pleased if you could send me your config file by mail ( alperenkose@gmail.com )
I also wonder how you have done your ati configuration, for weeks i am trying but no result. I will be really happy if you could tell me how you have done your x configuration too. Which kernel and what ati driver you have used? i guess you have the DRI working, right?
 
  


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
DMA problem lp449 Linux - Hardware 18 10-17-2005 01:16 AM
dma problem matrixon Linux - Hardware 0 09-19-2005 10:26 AM
can not enable dma on laptop cd/dvd megaspaz Linux - Laptop and Netbook 2 09-08-2003 09:01 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
sound card problem sounded like dma problem whansard Linux - Hardware 0 05-22-2003 07:58 PM

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

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