Re: Module version running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah seems little fuzzy.

but this is what happens. .

/boot/initrd-2.6.18-92.el5.img loads some basic .ko's (you see that in the grub.conf file.. copy that file to .gz extention and cpio to extract and see some .ko's.....)

in case if you want to see what is currently loaded..

Try this:

lsmod | awk {'print $1'} | xargs modinfo | grep filename

I'm not sure if there is a way to load it on run time and make it work without rebooting it... some one please clarify..

HTH

Thanks,
Santhosh



Joey "ryutlis" Wang wrote:
I don't know if this is what you mean, you can use the command "modinfo" to
find out the information of .ko file

On Tue, Nov 3, 2009 at 2:47 AM, Allen, Jack <Jack.Allen@xxxxxxxxxxxx> wrote:

What is the best way to determine what version of a *.ko is really being
used?

I know it is most of the time based on the kernel version located in
/lib/modules, but I need to determine if a different was loaded by a
script or manually. I also know that most of the time this may be logged
in /var/log/messages, but the system was booted several month ago and
the messages.X file for that day has already been deleted.

This is for Red Hat EL 5.3 and 5.4.

Thanks:
       Jack Allen

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux