Module loading in 2.6.0-test9 kernel?
Hello SUSE folkz, I just compiled 2.6.0-test9 Linux kernel and found very interesting and annoying things. 1. It boots up initially much longer than 2.4.xx version of kernels. 2. Modules in 2.6. kernel have extentions ".ko" vs. ".o" in 2.4 kernels. 3. I can't load any modules using modprobe in 2.6 kernel modprobe snd-cmipci modprobe: QM_MODULES: Function not implemented modprobe: QM_MODULES: Function not implemented modprobe: Can't locate module snd-cmipci I checked that snd-cmipci module exists as snd-cmipci.ko Could somebody tell me please if new 2.6 kernel is using different module loading mechanism than 2.4 kernels. And why module files extentions are ".ko" instead of ".o"? Thank you in advance for any help or sources of information. Alex
On 11/12/2003 02:50 PM, Alex Daniloff wrote:
Could somebody tell me please if new 2.6 kernel is using different module loading mechanism than 2.4 kernels.
It does take a new modutils. Also, it uses modprobe.conf instead of modules.conf, a little different config.
And why module files extentions are ".ko" instead of ".o"?
kernel object. Why, I don't know.
Thank you in advance for any help or sources of information.
Assuming you are not using 9.0, you should check out pub/people/kraxel which not only has the precompiled kernel and sources, but the new modutils, and a README with very helpful instructions. It is worth the visit. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Hello Joe, Thank you for your reply.
Assuming you are not using 9.0, you should check out pub/people/kraxel which not only has the precompiled kernel and sources, but the new modutils, and a README with very helpful instructions. It is worth the visit.
I'm in fact using SUSE 9.0 distro, but 2.6.0-test9 plain kernel was downloaded from linux.org not from SUSE. Could you please advise me where I can get new modutils to resolve my module loading problem and how to generate new modprobe.conf file. Thank you in advance. Alex
"generate-modprobe.conf >/etc/modprobe.conf", I would also rerun "depmod -ae -F System.map" in the linux-2.6.0-test9 directory. Mind you that should have been the last thing done on the kernel build and any errors reported, but I can't remember if it depends on modprobe.conf being there. Not long ago I posted my latest results, 2.6.0-test9 built without any complaints using the standard 9.0 modutils, so I didn't have to do anything special this time. See that post for further details. Regards Sid. Alex Daniloff wrote:
Hello Joe, Thank you for your reply.
Assuming you are not using 9.0, you should check out pub/people/kraxel which not only has the precompiled kernel and sources, but the new modutils, and a README with very helpful instructions. It is worth the visit.
I'm in fact using SUSE 9.0 distro, but 2.6.0-test9 plain kernel was downloaded from linux.org not from SUSE. Could you please advise me where I can get new modutils to resolve my module loading problem and how to generate new modprobe.conf file.
Thank you in advance.
Alex
-- Sid Boyce .... Linux Only Shop.
Sid, Thank you for your reply. -------------------
"generate-modprobe.conf >/etc/modprobe.conf"
Is this "generate-modprobe.conf" a binary program or just a plain file? I couldn't find it nether in my distro, nether in 2.6.0-test9 kernel sorce directory. Thank you in advance. Alex
----- Original Message -----
From: "Alex Daniloff"
Sid, Thank you for your reply.
-------------------
"generate-modprobe.conf >/etc/modprobe.conf"
Is this "generate-modprobe.conf" a binary program or just a plain file? I couldn't find it nether in my distro, nether in 2.6.0-test9 kernel sorce directory. Thank you in advance.
Alex
It is a script located in /sbin This script is a part of the package modutils Catimimi
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
/sbin/generate-modprobe.conf is a shell script, part of the 9.0 modutils package. # rpm -qf /sbin/generate-modprobe.conf modutils-2.4.25-50 Regards Sid. Alex Daniloff wrote:
Sid, Thank you for your reply.
-------------------
"generate-modprobe.conf >/etc/modprobe.conf"
Is this "generate-modprobe.conf" a binary program or just a plain file? I couldn't find it nether in my distro, nether in 2.6.0-test9 kernel sorce directory. Thank you in advance.
Alex
-- Sid Boyce .... Linux Only Shop.
Hello SUSE folkz, In the previous versions of SUSE I could enable remote X login to the system using YAST. "X -query host_name :2" worked all the time. Now in SUSE 9.0, when I try to X login from another box, all I can see just a blank X server window without graphical KDM login interface. I suspect I should enable remote X login for KDM separately from the X server, but I don't know where it is. Could somebody please help me with this issue. Many thanks in advance. Alex
I can get it to work from my laptop to my main box, but when I try it from the main box to the laptop, it doesn't work. The stuff in /etc/sysconfig/displaymanager was set to "no" for remote, altered it, ran SuSEconfig, but it still didn't work. Rebooted, still no change. Used YaST --> Security to allow "Remote Graphical Login", still doesn't work, may actually need a restart of X which I can't do right now. Regards Sid. Alex Daniloff wrote:
Hello SUSE folkz, In the previous versions of SUSE I could enable remote X login to the system using YAST. "X -query host_name :2" worked all the time. Now in SUSE 9.0, when I try to X login from another box, all I can see just a blank X server window without graphical KDM login interface. I suspect I should enable remote X login for KDM separately from the X server, but I don't know where it is. Could somebody please help me with this issue.
Many thanks in advance.
Alex
-- Sid Boyce .... Linux Only Shop.
I last had a go at this under 8.2 about 3 or 4 months ago. /sbin/generate-modprobe.conf and modutils in SuSE was not up to doing much, /sbin/generate-modprobe.conf didn't generate a good /etc/modprobe.conf file so I had to download module-init-tools from ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules I did have some problems at first with not being able to install modules when I booted 2.4 kernels, it complained that it couldn't find insmod.old, though the safe install of module-init-tools had renamed the files as /sbin/*.old for 2.4 and installed the new utils (insmod, depmod, modprobe etc.) for 2.6. I had to boot a rescue CD to reinstall the SuSE modutils, but later module-init-tools worked. mkinitrd was also a problem, so I had to make a copy and edit it as MKINITRD, changing the .o to .ko. The current mkinitrd in 9.0 strips the .o/.ko off when looking up modules, so that should be OK now. Reading up on the backwards compatibility of module-init-tools to 2.4 was as clear as mud. I shall download the latest 2.6.0-test kernel shortly and see if it makes any sense now and if modutils-2.4.25 in SuSE 9.0 is 2.6.0 compatible. The earlier kernels also had a number of modules where the maintainers hadn't caught up, so that they would not compile. I notice that 9.0 has the 2.6 /etc/modprobe.conf already generated, so hopefully it will work. The end product of my work was a 2.6.0 kernel that booted without the USB stuff, hotplug hung and had to be moved out of /etc/init.d. I also had problems with unresolved symbols while trying to insmod the NVidia driver with the 2.5 mods. Will watch this space for progress/failures and post my results. Regards Sid. Alex Daniloff wrote:
Hello SUSE folkz, I just compiled 2.6.0-test9 Linux kernel and found very interesting and annoying things. 1. It boots up initially much longer than 2.4.xx version of kernels. 2. Modules in 2.6. kernel have extentions ".ko" vs. ".o" in 2.4 kernels. 3. I can't load any modules using modprobe in 2.6 kernel
modprobe snd-cmipci modprobe: QM_MODULES: Function not implemented modprobe: QM_MODULES: Function not implemented modprobe: Can't locate module snd-cmipci
I checked that snd-cmipci module exists as snd-cmipci.ko
Could somebody tell me please if new 2.6 kernel is using different module loading mechanism than 2.4 kernels. And why module files extentions are ".ko" instead of ".o"?
Thank you in advance for any help or sources of information.
Alex
-- Sid Boyce .... Linux Only Shop.
participants (4)
-
Alex Daniloff
-
Catimimi
-
Joe Morris (NTM)
-
Sid Boyce