Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
At the office, computers for the IT staff wre changed. I got my brand new HP Compaq DC5000 with XP preinstalled, jumped on it and installed Mandrake 10.
Since I did that, I have had network problems... in general, there's no problem at all, however, because of memory issues in this computer (it's too low to use a java ide and application server), I program "remotely" using a visual IDE in a linux server I was "assigned". I ssh into the server and start Eclipse. That's when the problem arises. The network traffic stops for a while with the server.
I have just made some tests. When the traffic halts, other people can ping the server. And other people can ping my computer as well.
I didn't have any problem at all with the computer I had before doing this.
So.... I'm starting to think that the problem could be caused by my computer? Maybe the nic?
I checked dmesg, there's nothing strange there. I also checked / var/log/message, nothing strange there either.
As the communication problem halts for some seconds.... as a woraround, maybe I can force ssh to avoid quitting if the communication is halted for af least a given amount of time, so the applicatinos don't die?
Well... let's see what you come up with.
PS Another tip about the problem:
Yesterday, when the problem started to show up, I went to check the server. I noticed that there was a messege at the display:
wait_for_cmd_done timeout (or something like that). However, there was no message either at the dmesg or /var/log/messages of the server.
I started running the preinstalled XP (I know. I hate it too.... but I was able to work ) that came along. I wanted to give some tries to the connection between the server and my computer.
I started a vncserver at the server and ran the client from the HP workstation.
I worked all day long without a single blink of the netrwork connection..... which leads me to conclude that there is a problem with the NIC's Kernel driver.
I'm using a rather "old" version of mandrake. mandrake 10. Mdk 10.2 is comming soon.... so I guess I'll just wait and install it to see how it goes... Maybe it I try with a newer kernel. I tried with knoppix 3.7. Same problem. Do you have any ideas? Do you know something I'm missing?
I used the "tar" procedure. Untared the code, compiled it (had to install the kernel sources).
it produces a file named bcm5700.ko that should be copied to the kernel's driver directory. However, I've been unable to do that. I copy the file but when I call insmod bcm5700 i get an error saying that the kernel couldn't load it.
However, when I tried by specifiying the file location, the kernel loaded without a blink.
I commented the line at /etc/modules.conf where tg3 was being loaded for eth0 and inserted a line with bcm5700.... and in /etc/rc.local I bring down the network, unload the tg3 driver, load the driver by specifying the hole file location and bring the network back up.
Since then, I've had no problem with the network.
Any ideas to get the module loaded without the rc.local trick?
eantoranz - congrats on solving the problem and thanks for posting back with the solution that worked for you; that will be a big help to any future readers who might have the same question. -- J.W.
how to solve this problem for linux kernel 2.4.20-8
I read your solution but in my case kernel is different and generating tg3.o file which is already there with current kernel but not working.
when i give command insmod tg3
error is like invalid parameter including IO and IRQ.
and when i am trying to install new driver for broadcom netextreme 5782 (Linux tg3)
it again giving me an error while building through this command:
rpmbuild -bb SPECS/tg3.spec
error at line 8500 size isn't known.
please write me if you have any clue or you find any error in configuring methods.
Best,
Neepa.
Quote:
Originally Posted by eantoranz
OK.... Solved it.
I downloaded the NIC's manufacturer (bradcom).
I used the "tar" procedure. Untared the code, compiled it (had to install the kernel sources).
it produces a file named bcm5700.ko that should be copied to the kernel's driver directory. However, I've been unable to do that. I copy the file but when I call insmod bcm5700 i get an error saying that the kernel couldn't load it.
However, when I tried by specifiying the file location, the kernel loaded without a blink.
I commented the line at /etc/modules.conf where tg3 was being loaded for eth0 and inserted a line with bcm5700.... and in /etc/rc.local I bring down the network, unload the tg3 driver, load the driver by specifying the hole file location and bring the network back up.
Since then, I've had no problem with the network.
Any ideas to get the module loaded without the rc.local trick?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.