LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2011, 12:04 AM   #1
hello_tan
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
what is the function of module_sig from kernel object?


I have been compile and build a new kernel. Every things is done. Before reboot system, I compare the new kernel object and current kernel object, I found that somethings is difference as the procedure below:

[[kangwee@mocean-dev-server3-64bit home]$/sbin/modinfo /lib/modules/`uname -r`/kernel/drivers/usb/serial/ftdi_sio.ko

depends: usbserial
vermagic: 2.6.18-164.el5 SMP mod_unload gcc-4.1
parm: debugebug enabled or not (bool)
parm: product:ushort
parm: vendor:User specified vendor ID (default=0x0403) (ushort)
module_sig: 883f3504a9f766d57f09578a977b7e112efbc0a0c66fb7e14541f12b11dc5c3b51439d7a31945209d1c8f1f83cd91b5ea264 79dfbda594d7fcaf44537

[[kangwee@mocean-dev-server3-64bit home]$/sbin/modinfo /lib/modules/2.6.18/kernel/drivers/usb/serial/ftdi_sio.ko

depends: usbserial
vermagic: 2.6.18 SMP mod_unload gcc-4.1
parm: debugebug enabled or not (bool)
parm: product:ushort
parm: vendor:User specified vendor ID (default=0x0403) (ushort)


The 2.6.18 does not have module_sig, if I reboot system, will it work?
 
Old 09-25-2011, 12:56 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Tan and welcome to LQ!
A couple of points: please place your output between code tags. It makes it much more readable. It's always a good idea to do a search for things both in LQ and by googling. I found this quite easily: http://www.gtvhacker.com/index.php/CONFIG_MODULE_SIG
That should answer your question but why are you using such an old kernel (2.6.18)? I think it will cause you lots of problems. Technically I think that the module should work but people probably would not trust it without a key.
Ciao,
jdk

Last edited by jdkaye; 09-25-2011 at 12:59 AM.
 
Old 09-25-2011, 02:19 AM   #3
hello_tan
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi, jdkaye. Thanks for your reply and advice. The old kernel(2.6.18)is just for testing purpose, the latest version was kernel-2.6.18-274.3.1.el5.centos.plus. In fact, kernel-2.6.18 was extract from kernel-2.6.18-128.1.6.el5.src.rpm, are they same? I'm confusing...
 
Old 09-25-2011, 03:10 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by hello_tan View Post
Hi, jdkaye. Thanks for your reply and advice. The old kernel(2.6.18)is just for testing purpose, the latest version was kernel-2.6.18-274.3.1.el5.centos.plus. In fact, kernel-2.6.18 was extract from kernel-2.6.18-128.1.6.el5.src.rpm, are they same? I'm confusing...
I find that highly unlikely. CentOS-6.0 seems to run a 3.0 kernel so the 2.6.18 kernel is a good deal older. Anyway now you know what the SIG module does so your question is answered. Is that correct?
ciao,
jdk
 
  


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 can I execute a function which is in a object file throgh libbfd! pet5800 Programming 1 09-11-2010 06:25 PM
glib-object get return value from a signal in the callback function joel2001k Programming 1 02-09-2009 01:57 AM
C++ pointer cast from object to function PatrickNew Programming 27 08-25-2008 02:30 PM
How can I get internal function information from a object file SybaseLu Programming 3 08-03-2007 10:20 AM
java, call function in calling object exodist Programming 9 06-14-2004 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration