devfs
[Top] [All Lists]

Re: cdburner lost after kernel and devfsd upgrade

To: <raf@xxxxxxx>
Subject: Re: cdburner lost after kernel and devfsd upgrade
From: "Marton Kadar" <marton.kadar@xxxxxxxx>
Date: Mon, 17 Jun 2002 21:20:26 +0800
Cc: devfs@xxxxxxxxxxx
Sender: owner-devfs@xxxxxxxxxxx
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.

Marton

----- Original Message -----
From: raf <raf@xxxxxxx>
Date: Sat, 15 Jun 2002 09:41:28 +1000
To: devfs@xxxxxxxxxxx
Subject: cdburner lost after kernel and devfsd upgrade


> 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
> 
> 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8


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