LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-15-2014, 08:05 AM   #1
kristofer12
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Rep: Reputation: Disabled
Loading modules


Hi

I have slackware 14.1 installed and allsow have slackware Essentials book for it.
I do as i read from the book. When i come to the part of compiling the kernel i use "make mrproper", "make menuconfig" and som more commands.

And when i then restart the system no moduels is loaded so i cant get into X.

How do i load moduels ? In the book it says to use modprobe, and i do that but i acctually dont konw witch moduels to load. I have used rc.moduels too and loaded it but it says cant find module for those options that i allow from the rc.moduels file.

What can be wrong ?

Could someone give me an example for a module that i can load ?
 
Old 07-15-2014, 08:19 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Did you run:
Code:
make modules_install
after building the kernel?
 
Old 07-15-2014, 08:32 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
I have slackware 14.1 installed and allsow have slackware Essentials book for it.
I do as i read from the book. When i come to the part of compiling the kernel i use "make mrproper", "make menuconfig" and som more commands.
Generally speaking, it is not necessary to compile a kernel for most Slackware installs. Slackware 14.1 ships with two kernels, huge, and generic. Huge will load after a fresh install. Huge has most common modules compiled in, and will run on most systems without any changes. By what you have posted, is you have a running system, without X.

On a new install, you need to edit the file /etc/inittab and alter one line.

Quote:
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
The last line on a new install will be 'id:3:initdefault' which will not start the X11 system.Change the 3 to a 4, you can boot, or as root run the command 'telinit 4' ( not quotes ), and X11 should start up, as long as there are no other problems with X11.

Once you compile a kernel, and copy all the files, as indicated in Essentials, you need to edit /etc/lilo.conf and add a section to load your shiny new kernel. After the file is changed, you need to run 'lilo' to write the changes to the mbr. Then on boot, you will see the option to run your new kernel.

Modules are loaded with 'modprobe modulename'.

If you get no output to the command, the module loaded. If you get output in the screen, then something is wrong. If you need specific help, post the error message you get, then we can help.

To determine what kernel is running, run the command 'uname -a' will tell you the kernel name. uname --help will give you a summary of the options for uname.

Hope this helps.
 
  


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
[SOLVED] rc.modules not loading modules at startup WonderLlama Linux - Newbie 5 05-15-2010 12:40 AM
modules loading [2.6.9] aze Linux - Software 1 12-20-2004 08:43 AM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
modules are loading that shouldn't in my rc.modules thrice Slackware 3 05-11-2004 10:35 PM
loading modules w/o rc.modules e1000 Slackware 3 01-09-2004 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:06 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