DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-12-01 12:32:46

mushanga
Member
Registered: 2009-06-26
Posts: 46

netconsole.ko module for 2.6.12 firmware kernel does not want to load

Hi,

I've followed the wiki crosscompile guide and have compiled a netconsole module to be able to trace my ffp-reload problems (C1 hardware anyone?).
But when I try to load it, it exits with error:

root@Tiromancino:/wd/DNS323# /usr/sbin/insmod netconsole.ko netconsole=@/,@192.168.33.1/
insmod: error inserting 'netconsole.ko': -1 Unknown symbol in module
root@Tiromancino:/wd/DNS323#

dmesg shows:

netconsole: Unknown symbol netpoll_parse_options
netconsole: Unknown symbol netpoll_setup
netconsole: Unknown symbol netpoll_queue
netconsole: Unknown symbol netpoll_send_udp
netconsole: Unknown symbol netpoll_cleanup

Any idea?

My first guess is that stock 2.6.12 firmware won't be able to load the module because of missing configure options, am I right?

Fred

Last edited by mushanga (2009-12-01 12:33:46)

Offline

 

#2 2009-12-01 13:11:12

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: netconsole.ko module for 2.6.12 firmware kernel does not want to load

Maybe. But it's also possible that you need to load another module first. Try to find which .c file defines these functions, and if there is a corresponding .ko file.

Offline

 

#3 2009-12-01 13:43:13

mushanga
Member
Registered: 2009-06-26
Posts: 46

Re: netconsole.ko module for 2.6.12 firmware kernel does not want to load

thanks for the tip but I think I'm screwed sad :

./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_parse_options);
./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_setup);
./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_cleanup);
./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_send_udp);
./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_poll);
./net/core/netpoll.c:EXPORT_SYMBOL(netpoll_queue);

Seems like it should be compiled inside the kernel...

Too bad.

Last edited by mushanga (2009-12-01 13:43:35)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB