Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-12-2004, 09:07 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
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'
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
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.
Old 03-12-2004, 09:53 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You may want to check the /dev/cdrom symlink since that's what most applications expect to find. If it still is pointing to /dev/hda I suppose you could get a lot of problems. Remove it recreate it pointing to the SCSI device (ln -s /dev/cdrom /dev/scd0).

Old 03-12-2004, 10:18 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
The following link did already exist:
/dev/cdrom -> /dev/scd0
Old 01-14-2005, 01:37 PM   #4
LQ Newbie
Registered: Feb 2003
Location: Beloeil, Quebec, Canada
Distribution: RedHat and LFS
Posts: 2

Rep: Reputation: 0
I know it's a long time now, but did you find the solution to your problem? I have exactly the same problem with a SCSI HP CD-Writer+ serie 9200 drive.

I would be interested to know the solution to this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DVD wont mon't drive stays lit "no media present" aero402 Linux - Software 5 01-05-2005 09:25 PM
help: cdrecord does not work due to "Cannot open SCSI driver" parv Linux - Software 2 09-21-2004 08:54 PM
burning, ide-cd and "mount: No medium found" Creak Debian 3 09-18-2004 05:38 AM
USB external CD-RW: cdrecord "cannot open SCSI driver" Avatar Linux - Hardware 10 04-07-2004 11:00 AM
CD ROM mount error: "no medium found"????? RonRussell Linux - Hardware 8 07-01-2002 12:34 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:42 AM.

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