Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu


Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-02-2012
Registered User
 
Join Date: May 2010
Posts: 134
Thanks: 86
Thanked 1 Time in 1 Post
Static Driver Loading Issue

To load the driver at boot time I added my driver name in /etc/modules.
Next I copied the driver to /lib/modules/2.6.34.12/kernel/drivers/char/.

But when I reboot the machine the drriver does not get loaded.
What am I missing and how to load the driver at boot time?
Sponsored Links
    #2  
Old 07-02-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,636
Thanks: 118
Thanked 256 Times in 245 Posts
What OS, version, architecture?
The Following User Says Thank You to vbe For This Useful Post:
rupeshkp728 (07-02-2012)
Sponsored Links
    #3  
Old 07-02-2012
Registered User
 
Join Date: May 2010
Posts: 134
Thanks: 86
Thanked 1 Time in 1 Post
Ubuntu 10.04
Kernel Version 2.6.34.12
    #4  
Old 07-02-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,636
Thanks: 118
Thanked 256 Times in 245 Posts
Im not sure I understand ->moved to more suitable forum...
Sponsored Links
    #5  
Old 07-02-2012
fpmurphy's Avatar
who?
 
Join Date: Dec 2003
Location: /dev/ph
Posts: 4,430
Thanks: 47
Thanked 358 Times in 332 Posts
What do you mean by "static driver"? Most kernel modules are not static; they are loadable. Static drivers are compiled into kernel.
The Following User Says Thank You to fpmurphy For This Useful Post:
rupeshkp728 (07-02-2012)
Sponsored Links
    #6  
Old 07-02-2012
Registered User
 
Join Date: May 2010
Posts: 134
Thanks: 86
Thanked 1 Time in 1 Post
Murphy I meant the same.
I want my driver to load at boot time and for that we will have to compile it in kernel.
How to do this?
Sponsored Links
    #7  
Old 07-02-2012
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 4,636
Thanks: 118
Thanked 256 Times in 245 Posts
It may ask to change kernel parameters for compilation... what driver are you trying to install? I still wonder if you understand this time - If static, that means you will have to compile - not your driver - but a new kernel...
therefore it will no more be a module but more a kernel builtin. It will be built in the new kernel.
The Following User Says Thank You to vbe For This Useful Post:
rupeshkp728 (07-02-2012)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VxWorks - W2003 issue loading file from NFS share BigBuff52 Windows & DOS: Issues & Discussions 0 12-12-2011 04:07 PM
I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP dlwoaud IP Networking 0 12-21-2009 04:01 AM
By loading I have received the following issue: BAD PBR SIGN. wolfgang Solaris 5 08-31-2009 12:20 PM
Exception while loading DB2 driver Class.forName("com.ibm.db2.jcc.DB2Driver") Sujatha Gowda UNIX for Dummies Questions & Answers 0 06-16-2008 06:31 AM
Red Hat 7.2 GUI not loading & Connection issue kmer UNIX for Dummies Questions & Answers 1 12-12-2001 03:48 AM



All times are GMT -4. The time now is 12:39 AM.