Re: Couldn't load module after patching a kernel

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

 




     Arjan,

    OK.  I found and downloaded src.rpm package and
#rpm  --rebuild  NVIDIA_nforce-1.0-0248.src.rpm

Under kernel 2.4.18-3-kgdb, the compilation went through smoothly, but /sbin/depmod -a     still complain
   Unresolved symbols in /lib/modules/2.4.18-3custom/kernel/drivers/net/nvnet.o

thus module install failed.

the depmod -ae has many unresolved symbols, such as:
    eth_type_Rsmp_c63f6300
    unregister_netdev_Rsmp_b4be79f4

So the same problem still remains.    Does these unresolved symbols mean something here?   Appreciate your hint how can I fix the issue for installation of  network module.
-Hong

  
Arjan van de Ven wrote:
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.

  


[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