After updating world on 23.06.2003 (things like baselayout-1.8.6.8-r1)I get about a 100 of "modprobe: Can't locate module /dev/{usblp,lp}{0-7}" on rebooting the system. This has no effect on the performance of the system - everything else is working fine (except the xargs-error about 'environment too large', which I fixed). Update-modules or recompiling the kernel didn't fix the modules problem. Reproducible: Always Steps to Reproduce: 1. Rebooting the system 2. 3. Actual Results: same again Expected Results: no more "cant' locate..." errors THIS PROBLEM ONLY APPEARS ON MY PENTIUM 1100, NOT ON MY ATHLON 1200 NOTEBOOK; Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Celeron (Coppermine) GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/mnt/gateway/portage" DISTDIR="/mnt/gateway/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Now I know that portmap causes this problems. If I remove it from the autostart script I don't get this errors any more - but nfs and samba aren't working either...
hmmm.. it's not portmap, maybe something with devfsd? i've noticed the same problem lately, but i don't use portmap. and i also thought the system works ok (my usb printer installed earlier works fine, even though i see nothing in /dev/usb). but lately i wanted to install new scanner and sane cannot find the device :( would any developer have a look at it?
there is some problem with loading modules when using 2.6.0-test kernels, did you install dev-sources just before this problem occured?
A) Is the module actually there? Look in /lib/modules/2.4.20-gentoo-r5/ B) Run 'depmod -n | grep usblp' and see if anything comes out. If nothing is there, there is no such module. C) Try remerging modutils D) Remove module-init-tools if unless you use 2.5+ or remerge it if you use 2.5+ E) Something might be horribly corrupted. Run 'make modules modules_install' in your kernel directory
some more investigation on this: A) # ls /lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/ printer.o scanner.o B) no output for usblp and usbscanner # depmod -n | grep usb /lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/printer.o: /lib/modules/2.4.20-gentoo-r6/kernel/drivers/usb/scanner.o: [bunch of snd-usb-audio output here] C) and D) removed module-init-tools and remerged modutils, after reboot still no devices in /dev/usb, lsmod shows something like this: # lsmod scanner 10488 0 (unused) printer 7744 0 (unused) E) tried that at the first place, it didn't help
Ah. "usblp" is a 2.5x rename of the usb printer module. Something is thinking you are using 2.5 and you are not. Hmm, doing an "etc-update" might help...
i always update my config files right after emerging, etc-update is not an issue. but you're probably right, looks like module-init-tools (or something related to development-sources) has overwritten some config somewhere, and even when i boot stable kernel modules are loaded like they were compiled for 2.6.0beta. i'll try to remove development sources completely from my box and recompile stable kernel modules and report back.
I'm closing this bug as the reporter got it fixed. Artur, I'll keep 26720 open instead.