Making changes to a statically build driver

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Making changes to a statically build driver

Ezra Taylor-2
Hello all:
               I made some changes to the e1000 kernel driver.  I then recompiled the kernel without any issue.  How can I tell if the change actually went through?  Again, this driver has been statically built into the kernel.  Is there a way to test that a change went through without have to setup a test environment?

--
Ezra Taylor
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Making changes to a statically build driver

Two_Tone
You could md5 hash the old and new kernel. If the hash is different then changes were made.


From: Ezra Taylor <[hidden email]>
Sent: Thursday, Mar 5 2009 6:16 PM
To: [hidden email]; [hidden email]
Subject: [gentoo-admin] Making changes to a statically build driver

Hello all:
               I made some changes to the e1000 kernel driver.  I then recompiled the kernel without any issue.  How can I tell if the change actually went through?  Again, this driver has been statically built into the kernel.  Is there a way to test that a change went through without have to setup a test environment?

--
Ezra Taylor
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Making changes to a statically build driver

Thilo Bangert-3
>                I made some changes to the e1000 kernel driver.  I then
> recompiled the kernel without any issue.  How can I tell if the change
> actually went through?  Again, this driver has been statically built
> into the kernel.  Is there a way to test that a change went through
> without have to setup a test environment?

the e1000 driver probably prints version info to dmesg that you could
tamper with...

also, check uname - it includes a buildversion (#1) and builddate of the
currently running kernel:
bangert@marsupilami ~ $ uname -a
Linux marsupilami 2.6.28-gentoo-r2 #1 SMP Tue Mar 3 17:14:06 CET 2009 i686
Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux


signature.asc (204 bytes) Download Attachment
Loading...