I have a Dell Inspiron XPS laptop and it has a
wireless built in boradcome card.
I have set tg3 (tigon3) to M in the kernel
configuration. And I installed the ndiswrapper to get
this card to work.
When I try to modprobe tg3 I get this error though:
bash-2.05b# modprobe tg3
FATAL: Error inserting tg3 (/lib/modules/
2.6.8-gentoo-r3/kernel/drivers/net/tg3.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
bash-2.05b#
And when I try to modprobe ndiswrapper I get the same
error (except instead of tg3 it says ndiswrapper).
And here is a bit of the dmesg after I tried to load
both drivers:
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
tg3: disagrees about version of symbol
per_cpu__softnet_data
tg3: Unknown symbol per_cpu__softnet_data
tg3: disagrees about version of symbol
netif_receive_skb
tg3: Unknown symbol netif_receive_skb
tg3: disagrees about version of symbol free_netdev
tg3: Unknown symbol free_netdev
ndiswrapper: disagrees about version of symbol
per_cpu__softnet_data
ndiswrapper: Unknown symbol per_cpu__softnet_data
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: disagrees about version of symbol
netif_rx
ndiswrapper: Unknown symbol netif_rx
If anyone can help, I would greatly appreciate it.
Here is also my .config file if it helps:
http://www.geocities.com/hgezim/dotconfig.txt
Thanks,
-Gezim
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
--
gento...@gentoo.org mailing list
Make sure that the kernel and modules are compiled against the same
versions of glibc and that they are compiled with the same gcc version.
If you have the time I'd just reinstall gcc and glibc. Then recompile
my kernel and all modules.
--
Owen Ford <of...@arghblech.com>
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
> tg3: eth0: Link is up at 100 Mbps, full duplex.
> tg3: eth0: Flow control is off for TX and off for RX.
> tg3: disagrees about version of symbol
> per_cpu__softnet_data
> tg3: Unknown symbol per_cpu__softnet_data
> tg3: disagrees about version of symbol
> netif_receive_skb
> tg3: Unknown symbol netif_receive_skb
> tg3: disagrees about version of symbol free_netdev
> tg3: Unknown symbol free_netdev
> If anyone can help, I would greatly appreciate it.
>
> Here is also my .config file if it helps:
> http://www.geocities.com/hgezim/dotconfig.txt
I backup my .config, run a 'make mrproper' in the kernel source, copy
the .config back, and recompile the kernel and modules, and boot with this
newly compile kernel.
It looks like you've changed something, possible cpu related, and not fully
recompiled you kernel and modules.
--
Mike Williams
This I have no idea on how to do :|
>
> If you have the time I'd just reinstall gcc and
> glibc. Then recompile
> my kernel and all modules.
I wouldn't mind doing that but will it be like this:
emerge gcc
emerge glibc
cd /usr/src/linux
make && make modules_install
(thanks for your reply)
>
> --
> Owen Ford <of...@arghblech.com>
>
> () ascii ribbon campaign - against html e-mail
> /\ - against proprietary
> attachments
>
> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
glibc has _nothing_ to do with the kernel. It would be wise to do the
following:
Copy your .config to a safe place:
# cd /usr/src/linux
# cp .config ../2.6.8-gds-001.config (I add 001 for versioning)
Delete the source tree:
# cd /usr/src/
# rm -rf linux-x.y.z-gentoo (where x.y.z is the version)
Remove the entry from portage:
# emerge -Cp g-d-s (or which-ever it was)
# emerge -C g-d-s-x.y.z (make sure you only get rid of one...)
Re-merge it:
# emerge g-d-s-x.y.z
compile it:
# cp /usr/src/2.6.8-gds-001.config /usr/src/linux/
# cd /usr/src/linux
# make && make modules && make modules_install
# mount /boot
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.6.8-gds
# cp /usr/src/linux/System.map /boot/System.map
With the above, you will have to use the correct directory name for the
relevant kernel and the correct package name. (g-d-s =
gentoo-development-sources)
> > If you have the time I'd just reinstall gcc and
> > glibc. Then recompile
> > my kernel and all modules.
> I wouldn't mind doing that but will it be like this:
> emerge gcc
> emerge glibc
> cd /usr/src/linux
> make && make modules_install
Do _not_ do this. gcc and glibc are fine. The instructions above
should fix the versioning errors, and should also fix the symbol
errors. If the symbol errors are not resolved, then you probably need
another module enabled.
If you're curious, try the following:
# cd /usr/src/linux
# grep -rni per_cpu__softnet_data *
This will show you a list of where you can find this symbol. This comes
in handy for module dependency resolution. :)
btw - before getting into all this, try copying the System.map file from
the top of the kernel tree to the boot directory and then rebooting.
hth,
Cooper.
--
gento...@gentoo.org mailing list
> btw - before getting into all this, try copying the
> System.map file from
> the top of the kernel tree to the boot directory and
> then rebooting.
Thanks for your reply Jason and yet is was just that I
forgot to do :
cp arch/i386/boot/bzImage /boot
cp System.map /boot/
>
> hth,
>
> Cooper.
>
> --
> gento...@gentoo.org mailing list
>
>