Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98668 - KDE 3.4 permanently generates "Device not ready ..." in /var/log/messages.
Summary: KDE 3.4 permanently generates "Device not ready ..." in /var/log/messages.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 06:40 UTC by Manfred Knick
Modified: 2005-07-11 07:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2005-07-11 06:40:59 UTC
After a current emerge -uD world, using kernel 2.6.12-gentoo-r4, a fresh reboot
shows a clean log.
Starting KDE 3.4 with only a root shell as application, twice a second th
following log message appears:
"Jul 11 14:46:48 jumbo Device not ready. Make sure there is a disc in the drive."

Looking into konqueror, I discovered that one of my SCSI CD-ROM is interpreted
as a disk ?! - the oters are fine.
4. Check /var/log/messages again: entries twice a second.
/etc/fstab:
   ...
/dev/cdrom      /mnt/cdrom      iso9660 noauto,ro,user,exec     0 0
   ...
/dev/cdreader   /mnt/cdreader   iso9660 noauto,ro,user,exec     0 0
/dev/cdrecorder /mnt/cdrecorder iso9660 noauto,rw,user,exec     0 0
/dev/dvd        /mnt/dvd        iso9660 noauto,ro,user,exec     0 0
   ...

Only "cdreader" is mis-interpreted als "Festplatte" == "disk"
in the konqueror devices list "media:\"

Checking /dev and especially /dev/ide and /dev/media, 
all devices are correctly identified as CD-ROM, CD-RW and TAPE resp.

Reproducible: Always
Steps to Reproduce:
1.boot - login as root.
2.Check /var/log/messages: clean.
3.Start KDE 3.4.


Actual Results:  
4. Check /var/log/messages again: 
You will discover the error message entries twice a second:

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

Expected Results:  
No Error messages in /var/log/messages.

Konqueror should correctly identify the device as CD-ROM, not as DISK.


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages noauto sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror "
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo
cdr crypt cups curl directfb eds emboss encode esd fam flac foomaticdb fortran
gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib
ipv6 java jpeg junit kde ldap libg++ libwww mad maildir matrox mga mikmod motif
mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
ppds python qt quicktime readline ruby samba scanner sdl slang spell ssl svga
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2
xmms xv zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-11 07:34:49 UTC
The device type is correct?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-11 07:41:16 UTC
Excluding the wrong identification of the CD (which seems a separate issue) 
this problem was already reported, you can comment here: 
https://bugs.kde.org/show_bug.cgi?id=107153 
 
I don't think we can do much for it, apart from suggesting to disable the the 
KDED Media Manager or recompile kdebase with USE="hal". 
 
(Also, I don't know why they say the message shouldn't appear with some 
kernels, the message surely is there in a vanilla 2.6.12 kernel...) 
 
Comment 3 Manfred Knick 2005-07-11 07:52:23 UTC
jumbo ~ # cd /
jumbo / # pwd
/
jumbo / # cd /dev
jumbo dev # pwd
/dev
jumbo dev # ll cd*
lr-xr-xr-x  1 root root 13 10. Jul 17:55 cdreader -> cdroms/cdrom1
lr-xr-xr-x  1 root root 13 10. Jul 17:55 cdrecorder -> cdroms/cdrom2
lr-xr-xr-x  1 root root 13 10. Jul 17:55 cdrom -> cdroms/cdrom0

cdroms:
insgesamt 0
lr-xr-xr-x  1 root root 33  1. Jan 1970  cdrom0 -> ../ide/host0/bus1/target1/lun0/cd
lr-xr-xr-x  1 root root 34  1. Jan 1970  cdrom1 ->
../scsi/host1/bus0/target1/lun0/cd
lr-xr-xr-x  1 root root 34  1. Jan 1970  cdrom2 ->
../scsi/host1/bus0/target2/lun0/cd
lr-xr-xr-x  1 root root 34  1. Jan 1970  cdrom3 ->
../scsi/host1/bus0/target3/lun0/cd
jumbo dev # ll dv*
lr-xr-xr-x  1 root root 13 10. Jul 17:55 dvd -> cdroms/cdrom3
jumbo dev #

o.k.?

Can I supply any additional information that might help?

Kind regards
Manfred