LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue (http://www.linuxquestions.org/questions/linux-hardware-18/mounting-2-ide-scsi-devices-dev-cdrom-and-dev-cdrom1-issue-96268/)

penguin123 09-24-2003 08:29 AM

mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue
 
I am unable to mount /cdrom1 only /cdrom mounts but never anything else even though both soft links are pointing to the /dev/sdc0 and /dev/sdc1 respectively

Below is the listing for symbolic links in /dev/ and the fstab. It seems that cdrecord -scanbus sees both but ...

When I do "mount /cdrom" then it will mount one drive either the HP or the YAMAHA depending on which scd is linked to cdrom. If scd0 is lined to cdrom then it will mount HP, if scd1 is linked to cdrom then it will mount the YAMAHA, but it will never mount /cdrom1. It always gives an error: mount: mount point /cdrom1 does not exist

Any and all ideas would be greatly appreciated?

lilo.conf has the :append="hdd=ide-scsi hdb=ide-scsi"

and modules.conf has these additional lines:

options ide-cd ignore=hdb # tell the ide-cd module to ignore hdb
options ide-cd ignore=hdd
alias scd0 sr_mod # load sr_mod upon access of scd0
alias scd1 sr_mod
pre-install sg modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi






from /var/log/kern.log
Sep 22 23:02:59 athon-j kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Sep 22 23:02:59 athon-j kernel: Vendor: HP Model: DVD Writer 100j Rev: 1.37
Sep 22 23:02:59 athon-j kernel: Type: CD-ROM ANSI SCSI revision: 02
Sep 22 23:02:59 athon-j kernel: Vendor: YAMAHA Model: CRW2200E Rev: 1.0D
Sep 22 23:02:59 athon-j kernel: Type: CD-ROM ANSI SCSI revision: 02
Sep 22 23:02:59 athon-j kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Sep 22 23:02:59 athon-j kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Sep 22 23:02:59 athon-j kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray

Sep 23 00:04:19 athon-j kernel: hdb: Hewlett-Packard DVD Writer 100, ATAPI CD/DVD-ROM drive
Sep 23 00:04:19 athon-j kernel: hdc: Maxtor 5T040H4, ATA DISK drive
Sep 23 00:04:19 athon-j kernel: hdd: YAMAHA CRW2200E, ATAPI CD/DVD-ROM drive




athon-j:/etc# cdrecord -scanbus
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'DVD Writer 100j ' '1.37' Removable CD-ROM
0,1,0 1) 'YAMAHA ' 'CRW2200E ' '1.0D' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *



athon-j:/etc# ls -al /dev/cdr*
lrwxrwxrwx 1 root root 4 Sep 24 01:08 /dev/cdrom -> scd0
lrwxrwxrwx 1 root root 4 Sep 24 01:08 /dev/cdrom1 -> scd1


my fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc2 / ext3 errors=remount-ro 0 1
/dev/hdc7 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
#/dev/scd0 /cdrom iso9660 ro,user,noauto 0 0
#/dev/scd1 /cdrom1 iso9660 ro,user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 ro,user,noauto 0 0
/dev/hdc5 /usr ext3 defaults 0 2
/dev/hdc6 /home ext3 defaults 0 2:study:

DrOzz 09-24-2003 08:47 AM

mkdir /cdrom1

penguin123 09-24-2003 07:46 PM

mkdir /cdrom1

and commenting out

pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi

in modules.conf fixed the probelm.

penguin123 09-26-2003 08:36 PM

HP DVD Writer 100j '1.37' mounts as Removable CD-ROM
 
Debian 3.0r1
Linux athon-j 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown

This is what happens when I run cdrecord -scanbus (look below)
It appears that the DVD writer is only seen as a regular CD-ROM
I am not sure how I should modify the /etc/fstab to get this to work, and if I should?

My main problem is that I am unable to record, this is what i get when i run :

cdrecord dev=0,0,0 -format
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HP '
Identifikation : 'DVD Writer 100j '
Revision : '1.37'
Device seems to be: Generic mmc2 DVD-ROM.
cdrecord.mmap: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord.mmap: If you need DVD+R/DVD+RW support, ask the Author for cdrecord-ProDVD.
cdrecord.mmap: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
Using generic SCSI-3/mmc CD-ROM driver (mmc_cd).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
cdrecord.mmap: Format option not implemented in this version.

Obviously the DVD appears only as a normal CD-ROM to "cdrecod" tool.
I am not sure what is all this stuff about "cdrecord.mmap". I thought that cdrecord was supposed to be capable of writing to DVD??

Any and all comments/solutions are appreciated.
:study:

athon-j:/usr/ZIPPED/dvd+rw-tools-5.13.4.7.4# cdrecord -scanbus
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'DVD Writer 100j ' '1.37' Removable CD-ROM
0,1,0 1) 'YAMAHA ' 'CRW2200E ' '1.0D' Removable CD-ROM


athon-j:/cdrom# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc2 / ext3 errors=remount-ro 0 1
/dev/hdc7 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
#/dev/scd0 /cdrom iso9660 ro,user,noauto 0 0
#/dev/scd1 /cdrom1 iso9660 ro,user,noauto 0 0
/dev/scd1 /cdrom iso9660 ro,user,noauto 0 0
/dev/scd0 /dvd ext2 ro,noauto,user,exec 0 0
/dev/hdc5 /usr ext3 defaults 0 2
/dev/hdc6 /home ext3 defaults 0 2


All times are GMT -5. The time now is 05:09 PM.