LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 09:01 PM   #1
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Rep: Reputation: 31
Loading up modules at bootup?


There's a module that I frequently use (visor) that I'd like the kernel to load at bootup by default. Is there a way I can configure this (preferably through YaST, but I'm willing to edit configuration files--I just don't know which files are appropriate).
 
Old 12-02-2004, 12:42 AM   #2
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
The configuration file you're looking for is /etc/sysconfig/kernel. I found it myself when I needed to get the ip_conntrack_ftp module loaded for my ftp server. Add the module you want to load to the MODULES_LOADED_ON_BOOT variable.

I wasn't able to find a place to do it in YaST at the time but now I've found you can change the setting in YaST->System->/etc/sysconfig Editor. In the sysconfig editor it can be found under System->Kernel.
 
Old 12-02-2004, 01:36 AM   #3
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Original Poster
Rep: Reputation: 31
Cool.

Quote:
MODULES_LOADED_ON_BOOT=""

## Description: ACPI DSDT (Differentiated System Description Table)
## Type: string
## Default: ""
#
# The file name of a binary ACPI Differentiated System Description Table
# (DSDT). This table is appended to the initial ram disk (initrd) that
# the mkinitrd script creates. If the kernel finds that its initrd
# contains a DSDT, this table replaces the DSDT of the bios. If the file
# specified in ACPI_DSDT is not found or ACPI_DSDT is empty/not specified,
# no DSDT will be appended to the initrd.
# Example path /etc/acpi/dsdt
Apparently, this takes a string. Is this just the path to the module I want, because I don't know where it is. Also, what if I want to load more than one module?

Thanks for your help.
 
Old 12-02-2004, 02:45 AM   #4
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
The MODULES_LOADED_ON_BOOT variable doesn't need a full path to the modules to load them. You just need to list the module names which in your case is "visor". What it doesn't say in the comments in /etc/sysconfig/kernel is that the list of modules to load is space delimited. So to load both the visor and ip_conntrack_ftp modules on boot for example you would use:

MODULES_LOADED_ON_BOOT="visor ip_conntrack_ftp"
 
Old 12-02-2004, 04:56 AM   #5
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Original Poster
Rep: Reputation: 31
Thank you. That's exactly what I needed.
 
  


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
what loads the bootup modules? Ed_999 Slackware 2 12-12-2004 09:20 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Loading linux modules on Bootup ncp100 Linux - Hardware 3 07-11-2004 12:01 PM
Loading linux modules on Bootup ncp100 Linux - Newbie 2 07-11-2004 09:16 AM
loading programs at bootup in rh9 rosscopeeko Linux - Distributions 5 08-22-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:04 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
Open Source Consulting | Domain Registration