Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-14-2006, 10:46 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 11
Rep:
|
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...
|
|
|
05-15-2006, 02:19 AM
|
#2
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
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
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.
|
|
|
05-15-2006, 03:00 AM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Also, be sure to compile the right chipset support in your kernel or you won't be able to activate it.
|
|
|
05-15-2006, 12:38 PM
|
#4
|
LQ Newbie
Registered: May 2006
Posts: 11
Original Poster
Rep:
|
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
|
|
|
05-15-2006, 11:05 PM
|
#5
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
glad to hear it
|
|
|
05-24-2006, 06:27 AM
|
#6
|
Member
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39
Rep:
|
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?
|
|
|
05-24-2006, 06:37 AM
|
#7
|
Member
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753
Rep:
|
check your lsmod output to know which module your chipset uses and try to find and include that module when you build your kernel.
|
|
|
05-25-2006, 08:46 AM
|
#8
|
LQ Newbie
Registered: May 2006
Posts: 11
Original Poster
Rep:
|
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)...
|
|
|
05-29-2006, 06:34 AM
|
#9
|
Member
Registered: Jan 2006
Location: Ankara - Turkey
Distribution: Arch Linux
Posts: 39
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 12:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|