LinuxQuestions.org
Help answer threads with 0 replies.
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 05-05-2002, 06:08 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Exclamation dmesg not working correctly??


Hi everyone!
I've got a little problem. When I type dmesg to see all the kernel output, this appears:

Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
.............................like 40 more of this lines.

I did a locate dmesg
and I got it in two places. /bin/dmesg which is the one that gives me the above output. The second I found in /var/log/dmesg
this one I can't even run as root!! permission denied I get when I try to run it.
Anyone knows what's going on?, thanks for help!,


zLinuxz
 
Old 05-05-2002, 08:32 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you have a cdrw or anytype of scsi emulation for a cdrw.. ?? I think this error occurs most of the time using the 2.4.x kernel with scsi emulation for cdrw's.. from what I have seen or read, but never heard of this happening printing the error out over 40 times or so..
 
Old 05-05-2002, 08:57 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
I have a CD-RW which is a SCSI drive. And my hardrives are also scsi, they use the Adaptec AIC-7xxx driver from the kernel.
One person told me that the log dmesg was trying to reach was simply in some other place...that I had to make some link??
is this true??
Thanks for help guys

zLinuxz
 
Old 05-05-2002, 09:17 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
What do you get if you less /var/log/dmesg? dmesg only prints so much of the file, it is probably just a case of the error messages pushing the useful info too far to see.

--jeremy
 
Old 05-05-2002, 09:30 PM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
Hi jeremy. Well, I have like scroll line in the command prompt set to 2000, so, I can see all the way from when I type dmesg until the end of the print of the file. I just typed it again, and now in adition to
Device not ready. Make sure there is a disc in the drive.

Also there is another like:
VFS: Disk change detected on device sr(11,0)

so the print out when I type dmesg is all like:
Device not ready. Make sure there is a disc in the drive.
VFS: Disk change detected on device sr(11,0)
VFS: Disk change detected on device sr(11,0)
Device not ready. Make sure there is a disc in the drive.
VFS: Disk change detected on device sr(11,0)
VFS: Disk change detected on device sr(11,0)
Device not ready. Make sure there is a disc in the drive.
VFS: Disk change detected on device sr(11,0)
VFS: Disk change detected on device sr(11,0)
etc...etc...etc...

I've got no clue what's going on.
Thanks for all your suggestion guys.

zLinuxz
 
  


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
inittab not working correctly with X qtran2 Red Hat 2 06-13-2005 02:58 AM
installpkg not working correctly Addict3dtoX Linux - Software 13 09-22-2004 04:31 PM
USB working/not lspci & dmesg civ247 Linux - Hardware 0 07-09-2004 10:23 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 05:21 PM
pacman not working correctly! Aman9090 Arch 2 03-26-2004 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:53 AM.

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