kernel version of module editable where

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

 



How do I rename the kernel I'm building?

And is that the same question as:

How do I build a module to try loading into whatever
kernel?

My uname-r is "2.4.20-xfs".

>From http://www.kernel.org/ I fetched 2.4.20 and built
a new drivers/usb/storage/usb-storage.o.

If I copy what I built to
/lib/modules/2.4.20-xfs/kernel/ then modprobe chokes
via:

...: couldn't find the kernel version the module was
compiled for
...: insmod ... failed
...: insmod usb-storage failed

I presume I've built a 2.4.20 module and not a
2.4.20-xfs module, ouch.

How do I build a module to try loading into whatever
kernel?

Pat LaVarre


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux