When checking dmesg for something else came accross theis error message: Driver 'sr' needs updating - please use bus_type methods. Reproducible: Always Steps to Reproduce: 1.boot machine 2.check dmesg where drives added 3. Actual Results: dmesg shows the error but everything works OK. I just don't like to see error messages. I was checking for ACPI changes after getting the acpid to work and found the above error message. I do not understand how the latest release of a kernel can be asking for the driver (sr) to be updated when it is working properly. I also am not sure where the 'sr' driver is, is it part of the libata sub-system? I am using only the new libata stuff and have the older generic ide stuff all as 'NO'. Following is my 'emerge --info', I will attach dmesg and the .config rob@one ~ $ emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686) ================================================================= System uname: 2.6.24-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ Timestamp of tree: Thu, 13 Mar 2008 02:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -falign-functions=64" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -falign-functions=64" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_AU.UTF-8" LC_ALL="en_AU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_AU" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/gfxboot_overlay /usr/portage/local/layman/armagetron /usr/portage/local/layman/voyageur /usr/portage/local/layman/desktop-effects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa arts asf audacious avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 bzlib cairo cdparanoia cdr cli cracklib crypt cups dca dlloader dri dv dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac fortran freetype gdbm gif gimp glitz gnome gpm gstreamer gtk gtk2 hal iconv imlib imlib2 isdnlog java javascript jpeg kde ldap libg++ mad midi mikmod mjpeg mmx mmxext mp3 mpeg mpg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd print python qt3 qt4 quicktime readline real reflection remote sane scanner sdl session smp spell spl sse ssl svg svga tcpd tga tiff totem truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs wmf wmv x86 xine xml xorg xsane xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 146146 [details] dmesg
Created attachment 146148 [details] /usr/src/linux-2.6.24-gentoo-r3 .config
(In reply to comment #0) > I was checking for ACPI changes after getting the acpid to work and found the > above error message. I do not understand how the latest release of a kernel > can be asking for the driver (sr) to be updated when it is working properly. > I also am not sure where the 'sr' driver is, is it part of the libata > sub-system? I am using only the new libata stuff and have the older generic > ide stuff all as 'NO'. When the SCSI CD-ROM driver (Linux kernel, file sr.c) calls "int scsi_register_driver(struct device_driver *drv)" (file scsi_sysfs.c) this function then calls "int driver_register(struct device_driver * drv)" (file driver.c). And here this warning message is printed. I assume that there was a clean-up in the kernel and the SCSI subsystem guys have not caught up yet. So this is not really a bug but a temporary annoyance.
This needs to go upstream and not to Gentoo.
Yep. If it bothers you, see if it's fixed in 2.6.25-rc and if not, send a mail to the linux-scsi mailing list. It's not an error message. Thanks for reporting anyway!
A workaround is to enable CONFIG_PM_LEGACY. My system this bug is much more severe as it causes a panic and the / not to mount.
must be a different bug where this harmless and unrelated message appears approximately at the same time, feel feel to open a new bug report
http://bugzilla.kernel.org/show_bug.cgi?id=9872