D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] CD writing - must I disable ATAPI support?



On Thu, Feb 06, 2003 at 11:12:47PM +0000, Theo Zourzouvillys wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 06 February 2003 11:08 pm, Simon Waters wrote:
> > I'd like to enable the CD writer - one of the "HOW-TO"s
> > suggested this could be done without disabling ATAPI in the
> > kernel but I can't find the explanation referred to.
> >
> > Is this true, and if so how?
> 
> my CD-RW is on /dev/hdd, DVD/CD-ROM on /dev/hdc:
> 
> In lilo.conf:
>   append="hdc=ide-cd,hdd=ide-scsi"
> 
> then in /etc/modutils/actions:
>  pre-install ide-scsi modprobe ide-cd
>  options ide-cd ignore=hdd
> 
> in /etc/modules:
>  sr_mod
>  sd_mod
>  sg
>  ide-scsi
>  ide-cd
> 
> don't forget to run update-modutils and lilo ;)

An alternative, from one of newsgroups, is to
create /etc/modules/cdrw containing

	# First, get the ide-cd drive to not latch onto /dev/hdd
	options ide-cd ignore=hdd
	#
	#
	# Set up an alias for /dev/scd0 to load sr_mod
	alias scd0 sr_mod
	#
	#
	# Now get ide-cd followed by ide-scsi loaded before the SCSI drivers
	pre-install sg        modprobe ide-scsi
	pre-install sr_mod    modprobe ide-scsi
	pre-install ide-scsi  modprobe ide-cd

Which also means you don't need to rerun lilo.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly