LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-24-2003, 08:29 AM   #1
penguin123
LQ Newbie
 
Registered: Sep 2003
Location: Ottawa
Distribution: Debian 4.0
Posts: 13

Rep: Reputation: 1
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
 
Old 09-24-2003, 08:47 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
mkdir /cdrom1
 
Old 09-24-2003, 07:46 PM   #3
penguin123
LQ Newbie
 
Registered: Sep 2003
Location: Ottawa
Distribution: Debian 4.0
Posts: 13

Original Poster
Rep: Reputation: 1
mkdir /cdrom1

and commenting out

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

in modules.conf fixed the probelm.

Last edited by penguin123; 09-24-2003 at 08:22 PM.
 
Old 09-26-2003, 08:36 PM   #4
penguin123
LQ Newbie
 
Registered: Sep 2003
Location: Ottawa
Distribution: Debian 4.0
Posts: 13

Original Poster
Rep: Reputation: 1
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.


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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
mounting CD, CDRW... /dev/cdrom -> /dev/hda kersten78 Slackware 9 09-23-2004 11:53 PM
cdrom and cdrom1 dev files n_hendrick Fedora 2 07-20-2004 08:22 AM
IDE-SCSI emulation on /dev/hdc mrgrieves Linux - Software 8 06-28-2004 10:23 AM
dd if=/dev/cdrom1 of=/dev/cdrom2 Fails w/Knoppix suguru Debian 2 03-18-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration