View previous topic :: View next topic |
Author |
Message |
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Thu Oct 30, 2003 3:10 pm Post subject: NIC BCM400 will not work |
|
|
Hello
i ve just re-compiled my kernel but now i cant get my internet working again. I think it is the network card. I tried everything i knew on linux (which is very much).
Quote: | bash-2.05b# insmod bcm4400
Using /lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol __netdev_watchdog_up_R01dfb9fb
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol softnet_data_Rc213e3f8
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol eth_type_trans_R9d18b5d6
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol alloc_skb_R65ad99c8
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol netif_rx_R2f524224
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol unregister_netdev_R95a239d5
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol skb_over_panic_R2b5cb232
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol init_etherdev_R77d394ae
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol __kfree_skb_R73140ec1
bash-2.05b#
bash-2.05b# |
Anyone knows what is going on ? Thanx _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Thu Oct 30, 2003 5:44 pm Post subject: build into kernel |
|
|
Have you tried compiling it directly in the kernel? If you're using your network card all the time while your computer is on, then it might be a bit better to do it like that. Then you wouldn't have to go through inserting the module every time you need to use it. I have the same network chipset, and with it built into the kernel (both 2.4 and 2.6) it works well. I have never tried to use it as a module though, so I'm not sure how well that would go here. Also, I have only tried the gentoo-sources and mm-sources, never the gaming-sources, so that might have something to do with it too.
- dpl _________________ puto risi vidi |
|
Back to top |
|
|
frenkel Veteran
Joined: 13 May 2003 Posts: 1034 Location: .nl
|
Posted: Thu Oct 30, 2003 5:53 pm Post subject: |
|
|
To solve this goto /usr/src/linux and type
Code: |
make dep && make clean modules modules_install
|
Then insmod will work without any errors.
Good luck!
Frank _________________ http://techfield.org |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Thu Oct 30, 2003 6:26 pm Post subject: How do i do that ? |
|
|
Quote: | Have you tried compiling it directly in the kernel? If you're using your network card all the time while your computer is on, then it might be a bit better to do it like that. |
Hi
i did nt see my network card in the kernel menu! Where is it ? I saw only 3com cards? (I use 2.4.22 kernel)
Frenkel i ve done that and still did nt work _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Thu Oct 30, 2003 6:29 pm Post subject: btw |
|
|
Hi
btw in the /usr/src/ directory i see 2 linux kernels. Which one is the right one ? i compiled both of them since i did nt know which one and it still did nt work
Can someone explain the this ? _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Thu Oct 30, 2003 7:23 pm Post subject: which kernel |
|
|
The different directorys in /usr/src are different kernels that you have downloaded. There are also symbolic links from the one you want to use to /usr/src/linux.
If you type "ls -la" while in /usr/src, you should get something like this:
Code: |
lrwxrwxrwx 1 root root 22 Oct 29 14:19 linux -> linux-2.4.20-gentoo-r8
drwxr-xr-x 15 root root 592 Oct 29 14:15 linux-2.4.20-gentoo-r7
drwxr-xr-x 16 root root 784 Oct 30 01:37 linux-2.4.20-gentoo-r8
drwxr-xr-x 19 root root 1216 Sep 27 13:34 linux-2.6.0-test5-mm3
drwxr-xr-x 18 root root 600 Oct 4 15:26 linux-2.6.0-test6-mm2
drwxr-xr-x 18 root root 688 Oct 29 13:16 linux-2.6.0-test8-mm1
|
With more or less directories. The "linux -> linux-2.4.20-gentoo-r8" is the symlink from "linux-2.4.20-gentoo-r8" to "linux". this makes it so you can just type cd /usr/src/linux to compile the kernel, instead of needing to remember which kernel is the latest one you have.
As for which is the right one, you should choose the newest version that you downloaded. Ideally when you emerge a new kernel it should adjust the symlink for you, although I do not know if it does. If there is no symlink, you can make one by typing Code: | ln -s linux-version linux | replacing version with the correct version of the kernel in /usr/src.
Also, make sure that you copy the bzImage from /usr/src/linux/arch/yourarch/boot/bzImage to your /boot directory, and edit lilo or grub (whichever you use) to accomodate the new bzImage. If you use grub, I can post my grub.conf to show how I have the choice between multiple kernels when I boot.
Hope this helps,
- dpl _________________ puto risi vidi |
|
Back to top |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Thu Oct 30, 2003 7:27 pm Post subject: where in kernel |
|
|
Oh yeah, I fogot to mention where in the kernel to find the bcm4400 part. This is in the 2.4.20 kernel, and I don't know how different it is in the 2.4.22 kernel, but go first to
Network Device Support -> Ethernet (10 or 100Mbit) -> enable " EISA, VLB, PCI and on board controllers" and in the 2.4.20 kernel it is the 5th option below that.
- dpl _________________ puto risi vidi |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Thu Oct 30, 2003 9:52 pm Post subject: tried it but no succes |
|
|
Hi
the bcm4400 driver was already included!!! What now ?
btw: I did recompile the kernel again but still no succes! I did get the previous error again .
Guys do you have any other idea's? _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Fri Oct 31, 2003 2:25 am Post subject: next step |
|
|
Ok, since it was all included, you can stop trying to insert the module.
Make sure you copied the bzImage to your /boot directory.
The next step would be configuring your network, since the network card should work fine from now on.
To do this, I would suggest following the installation manual as for how to set up your type of connection. If you have trouble with that, It might be a good idea to start a new thread to see what other responses you can get.
If there are errors that seem to be from your network card and not your config, feel free to post here again, and if I can I'll try to help.
Hope this helps,
- dpl _________________ puto risi vidi |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Fri Oct 31, 2003 8:37 pm Post subject: DPL |
|
|
Hi Dpl
thanks for the help thusfar. But it still did nt work
Ok, maybe i am doing something wrong: I have a ADSL speedtouch (ehternet)modem/router with an adsl connection.
How should i install my network card? Can you just run through it? (let me be clear, i have done everything what the manual said, just double checking)
thnx _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Sat Nov 01, 2003 12:59 am Post subject: come on |
|
|
Hello
come on guys, help me out here ....
I really dont want to reinstall everything _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
eagle_cz Apprentice
Joined: 06 Jun 2003 Posts: 214
|
Posted: Sat Nov 01, 2003 9:30 am Post subject: |
|
|
watch out some new kernels 2.4.23-pre6(8) have new module name for BCM4400 ... the new name is B44
just recompile kernel, you dont have to recompile all other stuff untill you change version |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Sat Nov 01, 2003 1:21 pm Post subject: eagle |
|
|
Hi Eagle
thanks but i dont think the problem is a new driver. It has been working before. I dont understand what this means:
Quote: |
bash-2.05b# insmod bcm4400
Using /lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol __netdev_watchdog_up_R01dfb9fb
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol softnet_data_Rc213e3f8
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol eth_type_trans_R9d18b5d6
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol alloc_skb_R65ad99c8
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol netif_rx_R2f524224
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol unregister_netdev_R95a239d5
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol skb_over_panic_R2b5cb232
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol init_etherdev_R77d394ae
/lib/modules/2.4.20-gaming-r3/kernel/drivers/net/bcm4400/bcm4400.o: unresolved symbol __kfree_skb_R73140ec1
bash-2.05b#
bash-2.05b#
|
_________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
eagle_cz Apprentice
Joined: 06 Jun 2003 Posts: 214
|
Posted: Sat Nov 01, 2003 1:29 pm Post subject: |
|
|
this could mean that you cmopiled driver agains diferent config file that you are running
check path to kernel(kernel config) in drivers (in makefile).
check if /usr/src/linux is linked to current running version of linux |
|
Back to top |
|
|
eagle_cz Apprentice
Joined: 06 Jun 2003 Posts: 214
|
Posted: Sat Nov 01, 2003 1:29 pm Post subject: |
|
|
this could mean that you cmopiled driver agains diferent config file that you are running
check path to kernel(kernel config) in drivers (in makefile).
check if /usr/src/linux is linked to current running version of kernel source code
btw do you compile it as part of kernel tree or you downloaded source code ? |
|
Back to top |
|
|
persia Tux's lil' helper
Joined: 02 Oct 2003 Posts: 109 Location: The Netherlands
|
Posted: Sat Nov 01, 2003 7:04 pm Post subject: Sounds good but |
|
|
Hi
sounds good but i understand what you mean.... can you explain it a little more please?
I went in the kernel menu (make menuconfig) and enables the bcm440 driver option. _________________ P4-2400mhz - 512MB Samsung(2700)
Asus P4PE - GForce TI 4200 POV 128MB -
Western Digital 80&120GB 7200rpm 8 MB Cache
Realtek NIC (BCM 4400) & Logitech MX500
BrookTree 878 Tv-Tuner Card |
|
Back to top |
|
|
eagle_cz Apprentice
Joined: 06 Jun 2003 Posts: 214
|
Posted: Sat Nov 01, 2003 11:14 pm Post subject: |
|
|
so you do
make dep
make clean bzImage modules
make modules_install
make install
setup lilo.cong or grub
and after reboot you will get that msg ?
check, if /usr/src/linux is linked to kernel you currently compiling
i guess modprobe gives you same error msg |
|
Back to top |
|
|
|