LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-20-2003, 10:54 AM   #1
zednrita
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
kernel: Device not ready. Make sure there is a disc in the drive


Am running RH 9.0. I'm seeing a zillion of these messages in the /var/log/messages file.

If I run dsmesg, then that's all I see:

"kernel: Device not ready. Make sure there is a disc in the drive"

I've bounced the box several times now for general maintenance reasons but the message persists.

Any suggestions for isolating the cause would be greatly appreciated.

Thank you in advance,
 
Old 10-20-2003, 12:11 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
Need some additional info. Can you tell what device the message is refering to?

Also post your fstab. Verify your not trying to mount a removable device that is empty during boot. Any device like CD, floppy or zip drives should use the noauto option.
 
Old 10-20-2003, 12:39 PM   #3
zednrita
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
That's just it: I can't tell which device it's talking about.

Here's my /etc/fstab:
/dev/hdb1 /backups ext3 defaults 2 1
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

BTW: I added the first line when I installed a second harddrive. I don't happen to know if the message was appearing prior to that.

Thanks,
 
Old 10-20-2003, 01:09 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
Look at the output of dmesg. Prior to the device not ready message does it reference any device?

Does your second drive function correctly?
 
Old 10-20-2003, 07:17 PM   #5
zednrita
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
dmesg just repeats the same error message for 265 lines. There is no mention of a drive. If I issue the following:

[root@dude etc]# dmesg | sort -u

... it returns:

c in the drive.
Device not ready. Make sure there is a disc in the drive.
[root@dude etc]#

... you can see that's all that's in there.

BTW: The second drive is working perfectly. I have no "real" problems. Am just concerned about the error/warning message.
 
Old 10-21-2003, 08:13 AM   #6
zednrita
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I removed the reference to the second drive from fstab and rebooted.

The error/warning message persists.

However, immediately after re-boot I re-issued dmesg. Here's the relevent excerpt (lines numbers added for clarity):
...
134 Uniform CD-ROM driver Revision: 3.12
135 SCSI subsystem driver Revision: 1.00
136 scsi0 : SCSI host adapter emulation for IDE ATAPI devices
137 Vendor: YAMAHA Model: CRW8824E Rev: 1.00
138 Type: CD-ROM ANSI SCSI revision: 02
139 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
140 parport_pc: Via 686A parallel port: io=0x378
141 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
142 sr0: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
143 Device not ready. Make sure there is a disc in the drive.
...
162 lp0: console ready
163 Device not ready. Make sure there is a disc in the drive.
164 cdrom: This disc doesn't have any tracks I recognize!
165 Device not ready. Make sure there is a disc in the drive.
166 Device not ready. Make sure there is a disc in the drive.
167 Device not ready. Make sure there is a disc in the drive.
...

So is it complaining about one of the two CDROM drives? They both appear in Hardware Browser and I can successfully mount/read CDs in either drive.
 
Old 10-24-2003, 03:18 PM   #7
hatimad
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
This error is because of the CDROM, i have exactly same problem and I am also looking for solution

BTW does your CD RW works properly?
 
Old 10-28-2003, 07:42 AM   #8
zednrita
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
No the CDW does not work. It reads CDs just fine -- just can't burn them.

Using xcdroast, here's the log:
...
Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev=0,0,0 gracetime=2 fs=4096k
-v -useinfo speed=4 -dao -eject -pad -data "/tmp/track-01.img" ...

scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.24
cdrecord: Warning: using inofficial libscg transport code version (schily - Red
Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J.
Schilling').
pregap1: -1
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.7'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'YAMAHA '
Identifikation : 'CRW8824E '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 0 MB padsize: 440 KB
Total size: 0 MB (00:04.00) = 300 sectors
Lout start: 1 MB (00:06/00) = 300 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11849 (97:24/01)
ATIP start of lead out: 359848 (79:59/73)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 25
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 359548
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0

Track 01: writing 440 KB of pad data.
Track 01: Total bytes read/written: 163840/614400 (300 sectors).
Writing time: 10.350s
Average write speed 15.5x.
Fixating...
Fixating time: 64.150s
cdrecord: fifo had 3 puts and 3 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
%.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just about ready to make the switch, but... Mizutsuki Linux - Games 10 11-09-2005 10:17 AM
"NOT READY!" Help me make it ready! :P Kheldon Linux - Wireless Networking 2 09-04-2005 05:03 PM
rs6000 ready to fail...no tape drive and no time to make nim server elsewhere! zepplin611 AIX 11 02-17-2005 03:30 PM
DVD-RW drive 'hangs' 2.6.4-ck1 kernel at boottime if no disc in Digir Linux - Hardware 0 03-26-2004 12:52 PM
almost ready to make RH 7.2 my new workstation RedHat123 Linux - General 2 01-25-2002 10:34 AM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration