LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-30-2005, 07:09 PM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
lsmod reports no modules


I have moved to the 2.6.11.8 kernel


but after the login prompt when i type lsmod the shell reports no modules


i think i did something wrong


Im on slackware 10.1 and downloaded the 2.6.11.8 kernel and unziped it .

then make mrproper , make menuconfig , make bzImage, cp bzImage,
System.map and .config to the /boot directory , make modules , make modules_install then created some symlinks

ln -s System.map.new /boot/System.map
ln -s config.new /boot/config
ln -s vmlinuz.new /boot/vmlinux


for the modules to be properly installed do i need to make something
apart from make modules and make modules_install


Thanks
 
Old 05-30-2005, 07:15 PM   #2
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
did you compile anything as a module? is your new kernel atually booted, did you run lilo after compiling?

Tom
 
Old 05-30-2005, 07:41 PM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Yes i have compiled my nic card (sis900 module)
radeon etc..

Yes im on the new kernel , it works fine with no error messages


yes i ran lilo
 
Old 05-30-2005, 09:44 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Is /etc/rc.d/rc.hotplug executable?
 
Old 05-30-2005, 10:06 PM   #5
franznietzsche
Member
 
Registered: Jan 2005
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
Is there anything in rc.modules that is supposed to load?

Its perfectly possible to run a system with no loaded modules. If you meant to have modules, you have to tell it to load them. I wouldn't use rc.hotplug, takes too long. I would edit rc.modules to include all the modules you want to load.
 
Old 05-31-2005, 04:31 AM   #6
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
gbonvehi the hotplug runs everytime at the begining . I did it from the pkgtool


I uncheck some modules that i need but without any success

the modules cannot be inserted
 
Old 05-31-2005, 04:43 AM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Any error output ? What happen when you try to modprobe sis900 ?
What do dmesg and /var/log/syslog say ?

Also do you see your module when you do :
modprobe -l | grep sis900
 
Old 05-31-2005, 04:56 AM   #8
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
keefaz i ve tried modprobe -l | grep radeon as you suggested

and it works - reports that radeonfb and radeon modules
found and inserted
/lib/modules/2.6.11.8/kernel/drivers/video/aty/radeonfb.ko
/lib/modules/2.6.11.8/kernel/drivers/char/drm/radeon.ko



but lsmod reports nothing strange
 
Old 05-31-2005, 05:00 AM   #9
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
modprobe -l does not show the inserted modules,
it shows the modules that are available

Also, you say that "lsmod reports nothing strange"...
What do you mean ? It lists your modules ?
 
Old 05-31-2005, 05:02 AM   #10
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
sorry i mean lsmod reports nothing it is empty which is strange

thank you
 
Old 05-31-2005, 05:10 AM   #11
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
What happen when you attempt to do :
modprobe radeon
 
Old 05-31-2005, 05:14 AM   #12
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
well i did modprobe and the radeon module appears on lsmod

thats a step forword , but under Used by it just a - usually i think
it is 1 or 0 . I mean when you lsmod a Module , Size and Used by
columns appears

thanks again
 
Old 05-31-2005, 05:55 AM   #13
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Could you look at the output of dmesg command
and tail /var/log/syslog when you rmmod and
modprobe radeon module ?
 
Old 05-31-2005, 06:29 AM   #14
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
when i compiled the new 2.6 kernel i didn't tick the
unloading module capabililty , so i cannot rmmod modules


dmesg reports
FATAL : Module ide_scsi not found
FATAL : agpgart not found
FATAL : Module emu10k1 not found
 
Old 05-31-2005, 06:54 AM   #15
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
I would recompile the kernel with unloading modules feature
and agpgart as module (it is better to compile it as module)
Also try compile emu10k1 as module too, to keep alsa
happy if you want
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lsmod does not show all modules shanenin Linux - Software 2 04-14-2004 09:26 AM
lsmod reveals no loaded modules after new kernel src install... jdaniel Linux - General 1 03-01-2004 10:50 AM
lsmod shoot2kill Linux - General 5 04-29-2002 10:42 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration