Static Driver Loading Issue


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Static Driver Loading Issue
# 1  
Old 07-02-2012
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?
# 2  
Old 07-02-2012
What OS, version, architecture?
This User Gave Thanks to vbe For This Post:
# 3  
Old 07-02-2012
Ubuntu 10.04
Kernel Version 2.6.34.12
# 4  
Old 07-02-2012
Im not sure I understand ->moved to more suitable forum...
# 5  
Old 07-02-2012
What do you mean by "static driver"? Most kernel modules are not static; they are loadable. Static drivers are compiled into kernel.
This User Gave Thanks to fpmurphy For This Post:
# 6  
Old 07-02-2012
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?
# 7  
Old 07-02-2012
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.
This User Gave Thanks to vbe For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

IHS connector related loading issue

I am getting the following error on loading the connector DLL in IHS 8.5 on AIX 7.1 bash-4.2# /usr/32bit/IBM/HTTPServer/bin/apachectl start httpd: Syntax error on line 902 of /usr/32bit/IBM/HTTPServer/conf/httpd.conf: Cannot load /usr/<company_name>/IHS85/lib/libApache22Connector.a into... (3 Replies)
Discussion started by: George47
3 Replies

2. IP Networking

Node switched itself from static to DHCP on reboot issue

I'm trying to figure out what circumstances would cause an Open Solaris 11.2 host to switch itself from a static to a DHCP ip address upon reboot. This has only happened once but is a cause for some concern as this machine will be part of a web server pool. Nothing has changed on the LAN that... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies

3. Red Hat

Linux ODBC driver issue

Hi Gurus, I have a odbc in Linux. when I run command ldd. I got following result: # ldd DWora26.so linux-vdso.so.1 => (0x00007fff26355000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc31e70a000) librt.so.1 => /lib64/librt.so.1 (0x00007fc31e501000) ... (1 Reply)
Discussion started by: ken6503
1 Replies

4. Linux

rpm packaging issue for unixodbc driver manager

Hi All, I am trying to make rpm package for unixODBC driver manager 2.3.0 using below spec file. During rpmbuild i am getting the error. Can you pls advice how we can overcome this issue %define name unixODBC %define ver 2.3.0 %define prefix /usr %define sysconfdir /etc %define libdir... (2 Replies)
Discussion started by: kamauv234
2 Replies

5. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

6. Windows & DOS: Issues & Discussions

VxWorks - W2003 issue loading file from NFS share

We recently replaced an existing Windows Server 2000 with a Windows Server 2003. The server‘s primary function is file/print in our development environment. One of the directories is shared using NFS. All compiled software is kept in this share (we use C & C++). The generated “.out” and “.ndb”... (0 Replies)
Discussion started by: BigBuff52
0 Replies

7. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

8. Solaris

By loading I have received the following issue: BAD PBR SIGN.

Hi folks. By disk cloning on Solaris x86, I used a command dd. I pulled out the source and inserted the new disk. By loading I have received the following issue: BAD PBR SIGN. :( (5 Replies)
Discussion started by: wolfgang
5 Replies

9. UNIX for Dummies Questions & Answers

Exception while loading DB2 driver Class.forName("com.ibm.db2.jcc.DB2Driver")

Hi... I m working on UNIX z/OS. Actually i have to pass the parameters from the JCL to java-db2 program thru PARM. I am able to pass the arguments but the problem occured is, it is throwing an exception while loading the db2 driver as 'Javaclassnotfound:com.ibm.db2.jcc.DB2Driver'... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies

10. UNIX for Dummies Questions & Answers

Red Hat 7.2 GUI not loading & Connection issue

Please Help Let me start off by saying that I am a total idiot when it comes to unix. Please, if you would care to reply keep this in mind. Thank you. I have been attempting to get my unix machine online to no avail. I have the rest of the house networked with 3 other windows machines into a... (1 Reply)
Discussion started by: kmer
1 Replies
Login or Register to Ask a Question