devfs
[Top] [All Lists]

Re: cdburner lost after kernel and devfsd upgrade

To: devfs@xxxxxxxxxxx
Subject: Re: cdburner lost after kernel and devfsd upgrade
From: raf <raf@xxxxxxx>
Date: Tue, 18 Jun 2002 10:54:49 +1000
In-reply-to: <20020617132026.84714.qmail@xxxxxxxx>; from marton.kadar@xxxxxxxx on Mon, Jun 17, 2002 at 09:20:26PM +0800
References: <20020617132026.84714.qmail@xxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Marton Kadar wrote:

> raf wrote:
> 
> > hi,
> > 
> > i've just upgraded from linux-2.4.9 and devfsd-1.3.10
> > to linux-2.4.18 and devfsd-1.3.25 and now i can't mount
> > cds.
> > 
> > my cdburner is an atapi one so i have the kernel parameter
> > "hdd=ide-scsi" when booting and the following in /etc/modules.conf
> > (as specified in the CD-Writing-HOWTO):
> > 
> >  options ide-cd ignore-hdd
> >  alias scd0 sr_mod
> >  pre-install sg modprobe ide-scsi
> >  pre-install sr_mod modprobe ide-scsi
> >  pre-install ide-scsi modprobe ide-cd
> > 
> > the howto also says to:
> > 
> >  cd /dev && rm cdrom && ln -s scd0 cdrom
> > 
> > but i've been using /dev/cdroms/cdrom0 instead
> > of /dev/cdrom.
> > 
> > the problem is that there is no /dev/scd0 to link to.
> > if i try linking to /dev/scsi/host1/bus0/target0/lun0/generic
> > and then try to mount a cd, it tells me that it's not a block
> > device.
> > 
> > does anyone know what i need to do to get it working?
> > 
> > /etc/modules.devfsd makes no mention of ide-scsi.
> > could this have something to do with it?
> > 
> > do i need to make changes to the cdrom or scsi cdrom
> > sections of /dev/modules.devfsd to support an atapi
> > cdburner that is pretending to be a scsi cdburner?
> > if so, what changes?
> > 
> > thanks,
> > raf

> Hi,
> 
> I am not an expert but your problem seems to be this:
> you have two ways to access your SCSI CD-ROMs:
> through a "generic" interface and a more specialised
> "cd" interface. In some CD-ROM related software
> (cdda2wav I think is one) there are options allowing you
> to specify which interface the program should try to use.
> However these interfaces should be compiled in your kernel
> or the corresponding modules should be inserted.
> In one of my previous setups I had the SCSI CD-ROM support
> compiled in, and I had the generic SCSI support as a module.
> When I started my system and checked the devfs tree, under
> /dev/scsi/host1/bus0/target0/lun0/ (numbers may vary) I had
> an entry named "cd" (a block device) and this one could be
> used to mount a CD with an ISO9660 filesystem, or to play
> an audio CD.
> I could then "modprobe sg" and then another entry named
> "generic" appeared next to the "cd" entry (I don't know if
> it is a block or a char device). As I remember it was not
> explicitly needed for CD writing as Jorg Schilling-s
> programs use his special library instead of kernel
> support...
> Anyway, the point is that you certainly need to:
> - have SCSI CD-ROM support in your kernel
> - use (or link to) the devfs node "cd" instead of "generic"
> Hope the above explanation and hints help.
> 
> Confirmation and/or corrections welcome. I may not know what
> I am talking about.

you were spot on. i didn't have scsi-cdrom support turned on
so i had no cd entry (just the generic). that'll teach me
to trust my memory. i should have consulted the howto again.
sorry for wasting everyone's time.

> Marton

thanks,
raf


<Prev in Thread] Current Thread [Next in Thread>