Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57091 - lsmod: QM_MODULES: Function not implemented
Summary: lsmod: QM_MODULES: Function not implemented
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 17:46 UTC by Aaron Peterson
Modified: 2004-08-31 22:24 UTC (History)
2 users (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 Aaron Peterson 2004-07-14 17:46:25 UTC
wow.. My system didn't boot up right (modules didn't load)
I recompiled the kernel with gcc 3.4.1 :(
(I think I also checked the 3 register ABI option, but that has worked a few times with gcc 3.4.dated) so.. I'm not sure if that has anything to do with it..

I also used genkernel.. 3.0.2c


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
bash-2.05b# modprobe
modprobe: QM_MODULES: Function not implemented

modprobe: Nothing to load ???
Specify at least a module or a wildcard like \*
bash-2.05b# lsmod
Module                  Size  Used by    Not tainted
lsmod: QM_MODULES: Function not implemented

bash-2.05b# whoami
root

bash-2.05b# modprobe
modprobe: QM_MODULES: Function not implemented

modprobe: Nothing to load ???
Specify at least a module or a wildcard like \*
bash-2.05b#

bash-2.05b# ls
build        modules.generic_string  modules.parportmap  modules.usbmap
kernel       modules.ieee1394map     modules.pcimap      video
modules.dep  modules.isapnpmap       modules.pnpbiosmap
bash-2.05b# cd video/
bash-2.05b# ls
nvidia.ko
bash-2.05b# modprobe nvidia.ko
modprobe: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

insmod: insmod /lib/modules/2.6.7-gentoo-r11/video/nvidia.ko failed
insmod: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

insmod: insmod nvidia.ko failed
bash-2.05b# insmod nvidia.ko
insmod: QM_MODULES: Function not implemented

bash-2.05b# pwd
/lib/modules/2.6.7-gentoo-r11/video
bash-2.05b#




Expected Results:  
*sigh*
(I just made my network card not be a module, and my sound card not be a module)
(and went with unaccelerated nvidia drivers for a bit)

yes, I'm trying bleeding edge stuff.. but I'm willing to report bugs, so
hopefully that's good enough..
gcc 3.4.1-r1 and kernel 2.6.7-gentoo-r11...  and this also happened on other
kernels..

I'm going to try re-installing module-init-tools...


bash-2.05b# emerge --info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config
/usr/kde/3/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm
arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt
crypt cscope cups dga directfb divx4linux doc dv dvb dvd encode esd evms2 faad
fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gdbm ggi gif gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript
joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww linguas_es
linguas_ru linguas_zh_CN linguas_zh_TW mad maildir md5sum mdb mikmod mmx motif
mozilla mpeg mpeg4 mule mysql nas ncurses net nls nptl nvidia oggvorbis opengl
oss pam pdflib perl pic png postgres python qt quicktime readline samba sasl
scanner sdl slang spell sse ssl svg svga tcltk tcpd tetex theora threads tiff
transcode truetype unicode usb v4l vhosts virus-scan x86 xine xinerama xml2 xmms
xv xvid zeo zlib"

-------------
and another possible thing, was my libtool stuff was corrupted?

I just ran:
cp -i /usr/portage/sys-devel/gcc/files/awk/fixlafiles.awk /lib/rcscripts/awk/
and
bash-2.05b# /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.4.0

which might fix everything... but don't hold your breath..
Comment 1 Aaron Peterson 2004-07-14 18:06:23 UTC
ok,
after that fun lib tool stuff, and recompiling module-init-tools.. lsmod and modprobe work..

Just want to let a few people know that...

(I put it under gcc-porting because.. that's the only masked thing that I'm playing with now)
Comment 2 Aaron Peterson 2004-08-31 22:04:14 UTC
remerge modutils...
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-08-31 22:24:21 UTC
Yep, I already did that (module-init-tools, actually), and it fixed the QM_MODULES problem. But it would be nice to have a way for that problem to not happen in the first place.

I've got some other SCSI-related issues with unknown symbols lingering, but that's off-topic.