Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23313 - portmap causes a lot of: modprobe: Can't locate module /dev/{usblp,lp}{0-7}
Summary: portmap causes a lot of: modprobe: Can't locate module /dev/{usblp,lp}{0-7}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-23 02:16 UTC by Clemens Arth
Modified: 2003-09-02 08:59 UTC (History)
1 user (show)

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 Clemens Arth 2003-06-23 02:16:31 UTC
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"
Comment 1 Clemens Arth 2003-06-24 00:12:37 UTC
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...
Comment 2 Artur Brodowski 2003-08-04 13:28:24 UTC
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?
Comment 3 Artur Brodowski 2003-08-13 03:06:24 UTC
there is some problem with loading modules when using 2.6.0-test kernels,
did you install dev-sources just before this problem occured?
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-08-16 12:28:35 UTC
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
Comment 5 Artur Brodowski 2003-08-16 15:06:03 UTC
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
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2003-08-16 16:24:34 UTC
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...
Comment 7 Artur Brodowski 2003-08-17 05:34:14 UTC
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.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-09-02 08:59:52 UTC
I'm closing this bug as the reporter got it fixed. Artur, I'll keep 26720 open instead.