You are not logged in.

#1 2008-10-19 14:11:07

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

How do I ensure my DVD does not get detected during boot-up?

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

#2 2008-10-19 19:19:20

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: How do I ensure my DVD does not get detected during boot-up?

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

#3 2008-10-20 03:51:56

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: How do I ensure my DVD does not get detected during boot-up?

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

#4 2008-10-20 15:39:13

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: How do I ensure my DVD does not get detected during boot-up?

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

#5 2008-10-22 05:57:53

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: How do I ensure my DVD does not get detected during boot-up?

Onwards>> Your ide_core.noprobe=1.0 solution did not work btw.

Offline

#6 2008-10-22 10:07:27

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: How do I ensure my DVD does not get detected during boot-up?

Ashren wrote:

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

Board footer

Powered by FluxBB