[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord problems



Mike wrote:

> Benjamin Pharr wrote:
> > I'm still having difficulties getting my cd writer to work.  Here is
> > what I've done so far:
> > 
> > Recompiled my (2.4.0) kernel with scsi-emulation and scsi 
> > support.  IDE-CDROM support is compiled in statically.
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> There's your problem.  For the SCSI emulation to work you have to remove
> the IDE CDROM support.  IIRC I had to *completely* remove the IDE support,
> though it might work if you compile it as a module.  I figured that with
> the SCSI emulation I wouldn't need the IDE syupport, so I left it
> completely out.

While it's true it's _easier_ to setup if you remove IDE CDROM
support from the kernel, it's not strickly necessary.

For my PD-CD on /dev/hdd to be detected as ide-scsi using a stock
Debian kernel, I have used this in lilo.conf:

 append="hdd=ide-scsi"

and created a file /etc/modutils/pdcd containing:

 # Leave hdd for ide-scsi module
 options ide-cd ignore=/dev/hdd
 # Run update-modules after editing this file.

Then I run /sbin/update-modules and the above shows up in
/etc/modules.conf and the kernel's IDE driver doesn't grab hdd on
bootup.

The only simplifying step I'm missing is how to pass the
"hdd=ide-scsi" info to the kernel using modules.conf instead of
lilo.conf (That way, it wouldn't matter if I used lilo or not).
Anyone? 

> > 1. apt-get install cdrecord
> > 2. Added append="hdd=ide-scsi" to my /etc/lilo.conf
> > 3. Ran lilo
> > 4. Added alias scsi_hostadapter ide-scsi to /etc/modutils/aliases
> > 5. Ran update-modules
> 
> Once you remove the IDE support, these steps should produce working
> results.
> -- 
> Mike Werner  KA8YSD   | He that is slow to believe anything and

-- 
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 



Reply to: