Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
Some background:
Dell Latitude D610
2.6.19-gentoo-r5
I noticed some hiccups when I was doing downloads or anything disk I/O related. I looked through my processes and saw kjournald was bumping up about every 5 seconds. Doing a little bit more exploring, I noticed DMA was not enabled:
I did some searching around and saw that for my chipset (ich6m) chipset, I needed to add support for piix_ata and use that instead of ide. So I went into my kernel and did the following:
-Device Drivers
__--> ATA/ATAPI/MFM/RLL support
______< > ATA/ATAPI/MFM/RLL support
__--> SCSI device support
______[*] legacy proc/scsi/ support
______<*> SCSI disk support
______<*> SCSI CDROM support
______[*] enable vendor specific extensions (for SCSI CDROM)
______<M> SCSI generic support
_--> Serial ATA (prod) and Parellel ATA (experimental) drivers
______<*> ATA device support
______<*> Intel PIIX/ICH SATA support
______<*> Intel PATA MPIIX support
______<*> Intel PATA old PIIX support (experimental)
#make all
#make && make modules_install
#reboot
It didn't seem like any changes were made... The drive still booted up in IDE mode, mounted as /dev/hda. I added hda=noprobe and libata.atapi_enabled=1 to the grub configuration, but whenever I have the hda=noprobe in there, it fails to find a valid hard drive. (yes, I changed the fstab and grub configurations to sda instead of hda, no difference).
I looked around in BIOS for settings I can change regarding the hard drive, but the only thing I can change is the one regarding quiet/nonquiet.
A portion of dmesg:
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: Hitachi HTS541080G9AT00, ATA DISK drive
Probing IDE interface ide1...
hdc: _NEC DVD+/-RW ND-6650A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/7539KiB Cache, CHS=65535/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 1
EISA: Detected 0 cards.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Freeing unused kernel memory: 204k freed
Time: tsc clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input0
I'm kind of at a standstill... If there are any suggestions, I'd be grateful.
I don't know much about Gentoo, but I just solved the same, or at least similar, problem under Debian:
In my case the reason why ide-generic and not my intel IDE driver was loaded was the initrd. There was some bug with my initrd and I changed some yaird settings (again, gentoo might not be using yaird to build the initrd, I don't know that) that forced the loading of ide-generic. Once I realized that, I just changed the yaird config to force the loading of the intel driver and all was OK.
I'm having the same issue. I built my kernel with all the DMA settings I could find, not as modules but built directly into the kernel. I cant manually enable DMA and tried to pass ide0=dma and ide1=dma to the kernel from Grub boot but that didnt solve the problem either.
timhillu03, if your still monitoring this forum and still looking for the solution. I'll post one here as soon as I find it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.