Re: Couldn't load module after patching a kernel

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

 



On Mon, 2003-01-20 at 05:52, Hong Hsu wrote:
> In order to run kgdb, I patched kernel 2.4.18-3.    I renamed and copied 
> System.map and bzImage onto /boot/System.map-2.4.18-3-kgdb and 
> /boot/vmlinuz-2.4.18-3-kgdb respectively on test machine.   The 
> /lib/modules/2.4.18-3custom/ directory along with subdirectories were 
> also copied onto test machine. Of course lilo.conf was edited.   The 
> newly built kernel work fine except one thing: missing network interface 
> driver module nvnet.o
> 
> Because I do not have source of the module.  So I copied the nvnet.o 
> into /lib/modules/2.4.18-3custom/kernel/drivers/net/ and added an entry 
> in modules.dep. By running depmod, it told me that unresolved symbols 
> nvnet.o.  
> 
> I am wondering what I am missing here.  Your help will be appreciated,

adding kgdb to the kernel is a big change to the kernel; you need to
recompile modules, not just copy them.

Attachment: signature.asc
Description: This is a digitally signed message part


[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