Re: Couldn't load module after patching a kernel

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

 



     Well.  I downloaded network driver source, NVIDIA_nforce-1.0-0248.src.rpm. then
#rpm  --rebuild  NVIDIA_nforce-1.0-0248.src.rpm

The nvnet.o was generated, but installation failed by depmod -a with same error: Unresolved symbols in nvnet.o under newly built kernel 2.4.18-3-kgdb.

I guess the same problem didn't go away as I compiled the nvnet.o and install it.   If you look at these unresolved symbols in nvnet.o:
        softnet_data_Rsmp_bf4c83b9
        eth_type_trans_Rsmp_c63f6300

Does someone saw these before and could share your experience,
  -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