LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-14-2007, 12:56 PM   #1
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Rep: Reputation: 15
there are no modules?


I try to activate my hp840c, when I realize that something miss...
root@darkstar:/home/vlada# lsmod
Module Size Used by
nvidia 6831076 22

root@darkstar:/home/vlada# modprobe parport
FATAL: Module parport not found.

Can somebody explain me why I cant run this module, how modules funcitions anyway?
 
Old 02-14-2007, 02:16 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
What kernel version are you using? Is it the official Slackware kernel or a custom compiled kernel?
 
Old 02-14-2007, 02:42 PM   #3
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
I use slackware 11, and 2.6.20 kernel
 
Old 02-14-2007, 02:48 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Does the problem exist with one of the official Slackware kernels? If not, then your custom kernel configuration is incomplete and/or you forgot to do a "make modules_install" after building it.
 
Old 02-14-2007, 02:59 PM   #5
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
its custom kernel not from slackware.
When I compile kernel I didn't select anything like module, why, I read that modules can be turned on after in linux, but do they have to be enabled in kernel configuration? What does modules work exactly?

pS
I added peralel port support like part of kernel not module

Last edited by vladakg85; 02-14-2007 at 03:03 PM.
 
Old 02-14-2007, 03:36 PM   #6
rhermsen
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 41

Rep: Reputation: 16
Look at the following guide to compile your kernel
http://www.bitbenderforums.com/vb22/...?postid=296104

It gives good examples what to select as module and what not.
Helpt me a lot.
 
Old 02-14-2007, 06:40 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You can enable them after compiling the kernel. You enter the same kernel configuration setup, select the modules and issue the commands: make modules; make modules_install
I personally only got my parallel printer to work when using parport as module instead of built-in.
 
Old 02-15-2007, 06:22 AM   #8
vladakg85
LQ Newbie
 
Registered: Jan 2007
Posts: 21

Original Poster
Rep: Reputation: 15
You can enable them after compiling the kernel. You enter the same kernel configuration setup, select the modules and issue the commands: make modules; make modules_install
I personally only got my parallel printer to work when using parport as module instead of built-in.

that meens that I have to again compile kernel right, create new bzImage, and restart machine?
So if I'am right, I have to select some parts in kernel like modules that I can later enable and disable them with modprobe?
 
Old 02-15-2007, 03:25 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
No, you don't have to compile the kernel again that means, you don't need to make bzImage again.
You can simply enter kernel's configuration (make menuconfig or xconfig, as you like) select what you need as modules (with the M letter on them). You save the new configuration, and instead of making a new bzImage, you make only what you've selected as a module with the commands I told you above.
After that, you can modprobe the modules that you want, some of them will be probably loaded automatically by udev or hotplug.

If you compiled something right into the kernel (that's a * sign in the setup instead of a M) it's already loaded with the kernel.
 
  


Reply



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
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 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 01: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 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 PM.

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
Open Source Consulting | Domain Registration