Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
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.
Hi all,
I'm trying to install Slackware 10.1 on my Acer laptop, but I'm not able to set DMA on the hard disk. I've been recompiling kernel 2.6.12.2 for 2 days enabling/disabling all chipsets support.
lspci output is
...
00:1f.2 IDE interface: Intel Corp.: Unknown device 2653 (rev 04)
...
Finally yesterday I booted with Dyne:bolic which identified my IDE controller as SATA:
00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 04)
ATA/ATAPI/MFM/RLL support (IDE) [Y/n/m/?] y
Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE) [Y/n/m/?] y
Intel PIIXn chipsets support (BLK_DEV_PIIX) [Y/n/m/?] y
Include IDE/ATA-2 DISK support (BLK_DEV_IDEDISK) [Y/n/m/?] y
...
Include IDE/ATAPI CDROM support (BLK_DEV_IDECD) [M/n/y/?] m
SCSI device support (SCSI) [Y/m/?] y
...
SCSI disk support (BLK_DEV_SD) [Y/n/m/?] y
...
SCSI CDROM support (BLK_DEV_SR) [M/n/y/?] m
...
* SCSI low-level drivers
Serial ATA (SATA) support (SCSI_SATA) [Y/n/?] y
...
Intel PIIX/ICH SATA support (SCSI_ATA_PIIX) [Y/n/m/?] y
However I'm still not able to get DMA working..
Any suggestions would be really appreciated.. thanks a lot!!
These threads are very interesting. There is a patch (not clean) that I have applied on the PIIXn module and I could enable DMA !!! I got 28 MB/s on /dev/hdc (hard disk) instead of 2 MB/s and could play a DVD movie !
-> http://marc.theaimsgroup.com/?l=linu...2992832526&w=2 but THIS IS NOT THE FINAL PROPER SOLUTION, it's a hack, it works in my case (and probably your) because I have only PATA disks, no SATA...
Moreover, it seems that it is going (or already?) to be fixed in ata_piix soon, according to http://www.forbiddenweb.org/viewtopic.php?id=39027 the fix must be enabled manually because “SATA ATAPI support is disabled by default because the code is not yet complete.”, Jeff Garzik said.
Ok here is what I did :
* I downloaded the 2.6.10 kernel from ubuntu packages (because I'm running Ubuntu on this machine).
* I ran menuconfig (make menuconfig) and leaved it with default config. Here is it : http://tfc.duke.free.fr/old/tmp/.config (note that you can change the default arch to Pentium-M instead of i386).
* I applied this patch^Wwork-around manually : http://marc.theaimsgroup.com/?l=linu...2992832526&w=2 ; but I could'nt add the line DECLARE_PIIX_DEV("ICH6M") (kernel too old for that I suppose).
* I rebuild it (make, make modules_install, cp arch/i386/boot/bzImage /boot/vmLinuz-2.6.10, cp System.map /boot/System.map-2.6.10, mkinitrd -o /boot/initrd-2.6.10 2.6.10, edited /boot/grub/menu.lst to add my new kernel).
I rebooted and the DMA was working :-)
hdparm test with 2.6.10 :
Code:
/dev/hdc:
Timing cached reads: 2568 MB in 2.00 seconds = 1282.91 MB/sec
Timing buffered disk reads: 8 MB in 3.41 seconds = 2.34 MB/sec
/dev/hdd:
Timing cached reads: 3064 MB in 2.00 seconds = 1531.47 MB/sec
Timing buffered disk reads: 2 MB in 3.37 seconds = 607.81 kB/sec
hdparm test with 2.6.10 + PATCH :
Code:
/dev/hdc:
Timing cached reads: 2144 MB in 2.00 seconds = 1072.16 MB/sec
Timing buffered disk reads: 86 MB in 3.02 seconds = 28.49 MB/sec
/dev/hdd:
Timing cached reads: 3156 MB in 2.00 seconds = 1576.66 MB/sec
Timing buffered disk reads: 8 MB in 3.59 seconds = 2.23 MB/sec
I could play a DVD movie fine :-)
[/dev/hdc is hard disk, /dev/hdd is DVD drive, both PATA]
[Petite remarque: moi aussi je n'avais pas vu que tu parlais français... Mais si cela ne t'ennuie pas, on peut continuer en anglais vu que c'est un forum anglophone, comme cela ca pourra surement servir à d'autres...]
OK thank you for your reply !
But how did you manage to boot or install ubuntu (5.04 ?) ? On my laptop, it doesn't detect the cdrom drive during the boot instance...
I will try to compile a 2.6.12 kernel, and if it fails, I will try a 2.6.10...
I installed Warty 4.10 and then upgraded to Hoary 5.04 (no problem has been encountered). I have also tried a daily CD image of breezy (july 16th 2005) and the IDE drives were still not detected... I bypassed this problem unloading ata_piix and ide-generic modules and reloading them : ide-generic first, and then ata_piix. But ata_piix caused a segfault and then hardware detection failed in the install process... I think we should open a bug. It has been corrected with latest CD images of Mandriva (10.1 and 10.2 failed too), probably because it uses a 2.6.12 kernel for the installer.
I was about to let you a message on linuxfr to advice you to have a look here.
I'm currently compiling a 2.6.12 modified with the hack and crossing the fingers !
Do you think that it is still necessary to add
ide-generic
ata_piix
sd_mod
in the initrd module list in order the DVD to be seen ?
I haven't been able to get it working with the 2.6.12 kernel, and I'm quite bored so I will stay with the 2.6.10 from my Hory with the 4 lines patch for the 82801FBM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.