hello!
i was compiling the kernel ( 2.4.22 ) it compiles properly. however after the compilation i am not able to mount the cdwriter i am getting the error : /dev/cdrom is not a valid block device
i have 40*12 benq cdwriter.....
any help would be appreciated..
thank you ___________________________________________________ Law meets Electronics; Veena Weds Sanjay. Rediff Matchmaker strikes another interesting match !! Visit http://rediff.com/matchmaker?1
On Wed, Sep 10, 2003 at 06:30:07AM -0000, ketan s d wrote:
however after the compilation i am not able to mount the
cdwriter i am getting the error : /dev/cdrom is not a valid block device
Hope you use a IDE CDwriter and /dev/cdrom is a symlink to /dev/scd0. In that case do this.
# modprobe ide-scsi
Now give a try. Your problem will be solved.
As a permanent solution add this to /etc/modules.conf
alias scd0 sr_mod # load sr_mod upon access of scd0 alias scsi_hostadapter ide-scsi # SCSI host adaptor emulation options ide-cd ignore=hdc # if /dev/hdc is your CD-writer
Regards
On Monday 15 September 2003 15:04, Dileep M. Kumar wrote:
On Wed, Sep 10, 2003 at 06:30:07AM -0000, ketan s d wrote:
however after the compilation i am not able to mount the
cdwriter i am getting the error : /dev/cdrom is not a valid block device
Hope you use a IDE CDwriter and /dev/cdrom is a symlink
to
/dev/scd0. In that case do this.
/dev/cdrom symlinks to /dev/sr0, atleast in my machine (debian woody).
# modprobe ide-scsi
Now give a try. Your problem will be solved.
As a permanent solution add this to /etc/modules.conf
alias scd0 sr_mod # load sr_mod upon access of scd0 alias scsi_hostadapter ide-scsi # SCSI host adaptor emulation options ide-cd ignore=hdc # if /dev/hdc is your CD-writer
Regards
.''`. Dileep M. Kumar dileep@kumarayil.net : :' : http://www.kumarayil.net `. `'` `- Debian GNU/Linux - Choice of the Freedom Lovers
/dev/cdrom symlinks to /dev/sr0, atleast in my machine (debian woody).
fme@cok fme $ ls -l /dev/scd0 brw-rw---- 1 root cdrom 11, 0 Jul 15 14:24 /dev/scd0 fme@cok fme $ ls -l /dev/sr0 lrwxrwxrwx 1 root root 4 Jun 7 2002 /dev/sr0 -> scd0 fme@cok fme $
Regards -- Dileep M. Kumar dileep@kumarayil.net http://www.kumarayil.net Debian GNU/Linux - Choice of the Freedom Lovers
Hi, Did u try mounting the device explicitly as in: mount -t iso9660 /dev/scd0 /mnt/cdrom (Provided you have scsi emulation enabled)
or try it without scsi emulation
mount -t iso9660 /dev/[device] /mnt/cdrom
(device - hda,hdb,hdc,hdd ; wherever your cdrom is connected)
also a simple method to load scsi emulation is to pass parameters to the kernel before booting (eg: hdc=ide-scsi)
Clifford
J. T. D'souza wrote:
On Monday 15 September 2003 15:04, Dileep M. Kumar wrote:
On Wed, Sep 10, 2003 at 06:30:07AM -0000, ketan s d wrote:
however after the compilation i am not able to mount the cdwriter i am getting the error : /dev/cdrom is not a valid block device
Hope you use a IDE CDwriter and /dev/cdrom is a symlink
to
/dev/scd0. In that case do this.
/dev/cdrom symlinks to /dev/sr0, atleast in my machine (debian woody).
# modprobe ide-scsi
Now give a try. Your problem will be solved.
As a permanent solution add this to /etc/modules.conf
alias scd0 sr_mod # load sr_mod upon access of scd0 alias scsi_hostadapter ide-scsi # SCSI host adaptor emulation options ide-cd ignore=hdc # if /dev/hdc is your CD-writer
Regards
.''`. Dileep M. Kumar dileep@kumarayil.net : :' : http://www.kumarayil.net `. `'` `- Debian GNU/Linux - Choice of the Freedom Lovers