LQ Newbie
Registered: Mar 2004
Posts: 3
Rep:
|
cdrecord error "medium not present" on LG IDE drive configured as SCSI.
I am trying to write to an IDE CD-RW drive via cdrecord on Redhat Linux 8.0. The drive is an LG GCE-8525B, attached as master on primary controller (hda). I receive errors like:
(medium not present - tray closed)
mount: No medium found
There really is a CD in the drive, I checked! The drive works fine when I
bring it up as an IDE drive instead of a pseudo-SCSI drive.
I have done the following things:
Modified /etc/grub.conf by adding "hda=ide-scsi":
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hda=ide-scsi
Modified /etc/rc.local by adding:
insmod ide-scsi
Modified modules.conf by adding:
alias scd0 srmod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hda
File /etc/ftab has the following line:
/dev/scd0 /mnt/cdrom auto defaults,ro,noauto,user,ext3 0 0
When I run "cdrecord -scanbus" I obtain the following, which appears correct:
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.24
cdrecord: Warning Linux Bus mapping botch.
cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'IBM ' 'SERVERAID ' '1.00' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) 'SEAGATE ' 'DAT 9SP40-000' '9070' Removable Tape
0,7,0 7) *
0,8,0 8) 'IBM ' '02R0962a S320 1' '1 ' Processor
0,15,0 15) 'IBM ' 'SERVERAID ' '1.00' Processor
scsibus1:
1,0,0 100) 'HL-DT-ST' 'CD-RW GCE-8525B ' '1.02' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Yet when I try to write to it I get:
[root@linux86 etc]# cdrecord speed=4 dev=1,0,0 /var/cdBurner/cdimage.raw
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.24
cdrecord: Warning Linux Bus mapping botch.
cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.5'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'CD-RW GCE-8525B '
Revision : '1.02'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!
A similar error occurs when I try to mount the drive:
[root@linux86 etc]# mount -t iso9660 /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: No medium found
The fact that I cannot even mount the drive suggests that the version of
cdrecord (1.10) is not the problem. This is the version that came with Redhat 8.0 distribution.
These errors occur whether or not I really have a CD in the drive.
I apologize in advance if I am doing something stupid; I am new at this.
|