You are not logged in.
I have this Samsung drive that has a hate-hate-relationship with libata (ata_piix) and vice versa. It's really rather annoying and since I don't use this drive in Arch much, I would like to disable it in Arch. I don't want to disable it in the bios or pull it out the computer, since I use it in windows for watching DVD's/games etc.
Adding disablemodules=sr_mod,sd_mod to grub's kernel line causes kernel panic of course since libata uses these modules.
How can I disable my crappy dvd-drive in linux only?
Offline
I never tried to do this but hal is the dude that keeps a list off all your hardware. Perhaps telling hal to remove/dissable the dvd drive from it's list will totally dissable it.
Here's a good post about someone else who needed to do something similar. His solution is at the end of the thread using hal.
http://ubuntuforums.org/archive/index.php/t-623829.html
-- archlinux 是一个极好的 linux。
Offline
This should better be done from HAL (as Leigh pointed out). But here are my suggestions anyway:
Add ide_core.noprobe=x.y to your kernel-cmd_line (And please report back if this works !!), where
0.0 stands for hda
0.1 stands for hdb
1.0 stands for hdc
1.1 stands for hdd
PS. But you have to use ide-stuff for the above to work.
Last edited by Onwards (2008-10-20 04:29:38)
Offline
Thanks for your suggestions.
I don't think the Hal solution will work since ata_piix stalls/timesout when probing the DVD drive during initramfs.
Onwards, actually when using ide drivers the problem does not occur, but since I have a sata hd I want to use ata_piix.
I think I'll recompile the kernel without cdrom support and see if that solves the problem.
Last edited by Ashren (2008-10-20 15:42:25)
Offline
Onwards>> Your ide_core.noprobe=1.0 solution did not work btw.
Offline
Onwards>> Your ide_core.noprobe=1.0 solution did not work btw.
Thanx for the update !!
I 've to dig deeper into this newer libata stuff though, before I am able to help anybody. But AFAIK, libata supports options for setting up various DMA modes and stuff, but it doesn't have what you want.
Offline