LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   dmesg not working correctly?? (https://www.linuxquestions.org/questions/linux-general-1/dmesg-not-working-correctly-20252/)

zLinuxz 05-05-2002 06:08 PM

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!, :)


:study: zLinuxz:study:

trickykid 05-05-2002 08:32 PM

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..

zLinuxz 05-05-2002 08:57 PM

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

jeremy 05-05-2002 09:17 PM

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

zLinuxz 05-05-2002 09:30 PM

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


All times are GMT -5. The time now is 12:57 PM.