Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132017

Summary: gentoo-sources-2.6.16-r5 - sky2.ko needs unknown symbol __netif_rx_reschedule
Product: Gentoo Linux Reporter: Craigus <craig_schwartz>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: bug.hunter, caster, kernel
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Craigus 2006-05-02 06:20:34 UTC
Using gentoo-sources-2.6.16-r5, I have enabled the sky2 net driver as a module and receive the messages shown below when running make && make modules_install.

I have also run a make clean and tried again.
I have tried it with both a new .config (only switching on the sky2 module compared to a fresh .config), and with my working .config from 2.6.15-r1 (which compiled sky2 cleanly using the 2.6.15-r1 sources, but failed when compiling the 2.6.16-r5 sources).


make clean ; make && make modules_install
  .
  .
  .
  LD      drivers/net/built-in.o
  CC [M]  drivers/net/sky2.o
drivers/net/sky2.c: In function `sky2_poll':
drivers/net/sky2.c:2159: warning: implicit declaration of function `__netif_rx_reschedule'
  CC [M]  drivers/net/dummy.o
  .
  .
  .
  Building modules, stage 2.
  MODPOST
*** Warning: "__netif_rx_reschedule" [drivers/net/sky2.ko] undefined!
  CC      drivers/net/dummy.mod.o
  LD [M]  drivers/net/dummy.ko
  CC      drivers/net/sky2.mod.o
  LD [M]  drivers/net/sky2.ko
  .
  .
  .
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map  2.6.16-gentoo-r5; fi
WARNING: /lib/modules/2.6.16-gentoo-r5/kernel/drivers/net/sky2.ko needs unknown symbol __netif_rx_reschedule
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-05-02 06:40:47 UTC
Same here. Was fine with gentoo-sources-2.6.16-r4.
If you change the call to netif_rx_reschedule, deleting the __ prefix, it compiles fine... didn't try to actually use any of the variants yet, though :)
Comment 2 Barry Shilliday 2006-05-02 10:39:17 UTC
Also the same bug with gentoo-sources-2.6.16-r5 which was made stable in x86 today.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-05-02 11:57:04 UTC
Fixed in -r6, sorry about that