LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-12-2008, 05:38 AM   #1
suo
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
how to make device driver built-in in initial ramdisk


Hi,


how to make my module built-in in initial ram disk(initrd)

when I do #make modules, its compiling my module but unable to become built-in driver.

How can I do that?



Thanks in advance ,
Suo
 
Old 08-12-2008, 02:55 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You need to be a little more specific. Are you creating the initrd you are using now, or does it come with your distribution? Which distribution are we even talking about?

Building the module only installs it on the currently running OS, it won't put it into the initrd you are using to boot.
 
Old 08-12-2008, 04:25 PM   #3
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
you need to look at the mkinitrd/update-initramfs tools, they usually have a configuration file where you can add the names modules you want to be in the initrd and then just re-create or udpdate the initrd for the kernel you are using.
 
  


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
How to make use of a USB device driver? rockballad Programming 6 01-22-2008 06:59 PM
Problem booting kernel without initial ramdisk m4mach Linux - General 25 08-03-2007 09:16 AM
kernel build create initial ramdisk htamayo Linux - Software 1 01-07-2005 01:57 PM
how can i make device driver diskette? mrship Linux - Hardware 0 06-21-2004 01:02 AM
bootsplash initial ramdisk error Likosin Linux - Software 2 08-16-2003 02:13 PM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
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