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 01-16-2006, 10:15 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Inspiron 6000 DVD DMA Issue


Hey all,

I have had an Inspiron 6000 since this summer and I've managed to get everything working on it, except my DVD drive. I cannot enable DMA, so DVD play back is incredibly choppy.

I believe I read that this was due to a lack of SATA pass through support. Then I heard that this was added in the 2.6.15 kernel. I downloaded and compiled the new kernel, but I haven't seen any change in performance and I'm still not able to enable DMA on my DVD drive.

I'm not sure if I missed something in my .config file for the kernel. Or perhaps I still need to be passing a kernel parameter in LILO to enable what I need to be able to enable DMA on my DVD drive. Has anyone managed to fix this? I think the problem is common across many of the Inspiron laptops, not just the 6000.

Any suggestions are welcome.

Thanks,
Chris
 
Old 01-17-2006, 08:07 AM   #2
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
I'm using an Inspiron 4100.
Enabled DMA with hdparm -d1 /dev/hdc
hdparm -d1 /dev/hda

I put these two in /etc/rc.d/rc.local

IIRC I once had a problem with choppy playback, think I solved it with install of libdvdread, libdvdnav, libdvdcss, ln -sf /dev/cdrom /dev/dvd and/or permissions. Can't remember which one fixed it.

Did you run xine-check?
 
Old 01-18-2006, 06:00 PM   #3
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Hello!

I'll try to find you a patch, but I remember I used a patch that reverts the 2.6 kernel back to using IDE controller, where DMA can be controlled. Sata never worked right for me on the Dell Inspiron 6000. Now, everything is fine. I can even dual boot with 2.4 kernels.

Reply if you want me find you the patch,

Murdock
 
Old 01-19-2006, 02:16 AM   #4
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
I would really like to use the 2.6 kernel, perferable the newest 2.6.15 kernel. If the patch works with this kernel, then please post it.

Thanks a lot!
 
Old 01-19-2006, 02:30 PM   #5
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Do a search on google for:

ich6m-pciid-piix.patch

You'll find a lot of info about it.
 
Old 01-19-2006, 06:02 PM   #6
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
check out www.linux-on-laptops.org to see how many have installed SW on Inspirons . Have fun!
 
Old 01-19-2006, 06:20 PM   #7
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
There are no entries for people who have installed Slackware on the Inspiron 6000.

I did find the patch using Google, but how do I go about applying it to my kernel sources? I've never actually applied patches to a kernel, I always just compiled it by itself.

Thanks
 
Old 01-20-2006, 07:22 AM   #8
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
You download a file and use a patch command
with the syntax:

patch -p0 < patch-file-name-here

The patch command finds the file name automatically, but go to
http://www.linuxhq.com/patch-howto.html to find out more. It is really simple.

However, as I recall there were two patches and one worked for me while the other gave me errors. So go ahead with your patch and if that doesn't work I'll email you the one I used.

Later,
Murdock
 
Old 01-20-2006, 02:38 PM   #9
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
OK, I tried that. This is the output I got:

Code:
(Stripping trailing CRs from patch.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur a/drivers/ide/pci/piix.c linux-2.6.15/drivers/ide/pci/piix.c

|--- a/drivers/ide/pci/piix.c	2005-06-17 21:48:29.000000000 +0200

|+++ b/drivers/ide/pci/piix.c	2005-07-02 12:37:43.000000000 +0200

--------------------------
File to patch:
Also one of the top lines in the patch file was:

diff -ur a/drivers/ide/pci/piix.c linux-2.6.12/drivers/ide/pci/piix.c

and the kernel I am trying to compile this with is the 2.6.15 kernel, so I just replaced the '2.6.12' with '2.6.15'. Will this not work? If I must I will use the 2.6.12 kernel, but I'd prefer to use a newer one. I know the 2.6.15 kernel has a relatively new version of the ipw2200 module with it, which is why I was hoping to keep that one.

Thanks,
Chris

edit: I just tried applying the patch to a 2.6.12 kernel source and it gives me the same output. I used the directions on the LinuxHQ site.

Last edited by Chryzmo; 01-20-2006 at 02:46 PM.
 
Old 01-20-2006, 05:23 PM   #10
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
DMA issue

chrysmo please look at that linux on laptop site for installs on lappy similar to yours. Several of the posts discuss how they handled your issue. It will be work well worthwhile. Cheers.
 
Old 01-21-2006, 02:15 AM   #11
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
lestoil,

I just went through them again and some of them mention the libata passthrough patch. All of them use kernel 2.6.11 or earlier, which is rather old now.

I tried Google'ing for information on a patch for the 2.6.15 kernel, but what I think I'm getting is that the patch is included in the 2.6.15 kernel, yet I'm still not able to enable DMA on my drive.
 
Old 01-21-2006, 01:11 PM   #12
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Back to the patch:

Hmm, I have 6.2.14 and it patched fine, so don't despair, you'll get it working.

Try going to the directory with the file when patching.

Keep us updated,
Murdock

Last edited by Murdock1979; 01-22-2006 at 05:23 AM.
 
Old 01-24-2006, 07:35 PM   #13
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
OK, it seemed to patch just fine. However, when I tried compiled the kernel the piix.c file gave me a number of errors and then failed. Murdoc, would you mind sending me the patch you used? My e-mail address is chryzmo at gmail dot com.

I will compile the 2.6.14 kernel, since that's what worked for you.

Thanks,
Chris

Last edited by Chryzmo; 01-26-2006 at 12:42 PM.
 
Old 01-26-2006, 10:41 AM   #14
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
I'll do it...however switch the @ to an at so you won't get spammed.

Later Dude,
Murdock
 
Old 01-29-2006, 08:12 AM   #15
jyavenard
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
Will this patch work for 2.6.15?

I noticed in 2.6.15 that:
PCI_DEVICE_ID_INTEL_ICH6_5

Isn't defined in include/linux/pci_ids.h
Actually quite a few ID_INTEL_ICH6 are missing compare to 2.6.14..
So I'm not sure if re-defining ICH6_5 isn't going to be dangerous.

So anybody to share experience with this patch with 2.6.15 or should I stay with the 2.6.14 that comes with FC4 ?

I haven't been able to get my DVD drive to work properly on my machine, disabling the IDE device so the DVD appears on the SCSI/SATA channel is rather unstable , often Xine/VLC will not see the DVD at all.

Thanks
JY
 
  


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
Dell Inspiron 6000 Aeiri Linux - Hardware 30 04-22-2006 10:42 AM
Inspiron 6000 - Enabling DMA Chryzmo Linux - Laptop and Netbook 4 01-14-2006 01:01 PM
Inspiron 6000 namboothiri Linux - Laptop and Netbook 2 10-20-2005 01:46 PM
Inspiron 6000 DVD Issue Chryzmo Slackware 11 10-16-2005 01:41 AM
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

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

All times are GMT -5. The time now is 06:20 AM.

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