LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-06-2005, 09:29 AM   #1
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Rep: Reputation: 15
loading modules with an Initrd image?


Several times i recompiled the 2.6.13 kernel but all of them i get some errors but not all time I mean i recompiled the kernel then system booted normally but in the second boot it gives lots of errors(generaly after hotplug started) and other boots some of them normal but some not I tried to use my laptop with that kernel but some times it makes me crazy (i used def config file of slack 2.6.13 kernel and made some changes like acpi and cpufreq opts)
-I have to use 2.6 kernel becouse of my i pro wireless hardware
-I wanna use may laptop so much time with battery so the kernel have to have cpufreq scalling options and i know that the def 2.6.13 kernel package have them as modules

Now the question is can i load acpi modules and cpufreq scalling modules with an initrd image if yes how?
I googled about initrd but all topics are about loading sata modules or reiserfs module is initrd only for sata or raiserfs?

fatih;
 
Old 12-06-2005, 10:42 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Hi,
initrd is generally used when you don't have essential system components compiled in as kernel modules. Root filesystem (as a module) comes to mind immediately. I've never made initrd with slackware and i've never had a problem before. Essentially I compile root filesystem in the kernel...also i've always compiled cpufreq and acpi as modules. Try making a kernel for your system taking the default 2.6.13 kernel config file as a starting point. Compile the filesystem (reiser or ext3 whatever you are using). Once you successfully compiled you own kernel...you have the .config file which can be used over and over again.

Quote:
Now the question is can i load acpi modules and cpufreq scalling modules with an initrd image if yes how?
As I said, i've never used initrd so I wouldn't know if one can load acpi and cpufreq via initrd. I always load them via /etc/rc.d/rc.modules script. I add those entries at the very end of the file and it always works for me.
 
Old 12-06-2005, 04:35 PM   #3
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
As I said, i've never used initrd so I wouldn't know if one can load acpi and cpufreq via initrd. I always load them via /etc/rc.d/rc.modules script. I add those entries at the very end of the file and it always works for me.
Thank you I added the lines in to modules script and acpi and cpufreq options work fine for me too
 
Old 12-06-2005, 06:16 PM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I use the default kernel 2.6.13 out of Slackware-current and load the ACPI modules with an initrd.gz without problems. If I add the modules to /etc/rc.d/rc.modules fan and battery are not working. With "mkinitrd -c -k 2.6.13 -m ac:battery:fan:processor:thermal:video:exportfs:xfs" I create an intrd.gz which loads my needed ACPI and xfs modules so that there is no problem to boot my filesystem and a perfect working ACPI.

Fluxx.
 
Old 12-07-2005, 01:17 AM   #5
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
I use the default kernel 2.6.13 out of Slackware-current and load the ACPI modules with an initrd.gz without problems. If I add the modules to /etc/rc.d/rc.modules fan and battery are not working. With "mkinitrd -c -k 2.6.13 -m ac:battery:fanrocessor:thermal:video:exportfs:xfs" I create an intrd.gz which loads my needed ACPI and xfs modules so that there is no problem to boot my filesystem and a perfect working ACPI.
I'm using def 2.6.13 kernel too.
I added the lines to modules script and everything is good now
But I thing i will try making an initrd and i will get acpi work via initrd
 
  


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
Maximum size of initrd image ?? PeteRossi Slackware 5 03-26-2007 10:30 AM
process of loading initrd kallis_john Linux - General 0 11-15-2004 04:56 AM
What's initrd image? Nerox Linux - Newbie 2 08-25-2004 05:53 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 12:10 PM
Setting X boot image, and loading image untwisted Linux - General 2 03-09-2004 08:40 PM

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

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