LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-01-2005, 09:44 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Network problem with a BCM5782 card


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.

Last edited by eantoranz; 04-01-2005 at 10:37 AM.
 
Old 04-01-2005, 10:10 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
lspci:
Code:
00:00.0 Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 02)
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, fast devsel, latency 0
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [e4] #09 [1106]

00:02.0 VGA compatible controller: Intel Corp. 82865G Integrated Graphics Device (rev 02) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Memory at fc400000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 14d0 [size=8]
        Capabilities: [d0] Power Management version 1

00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1440 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 1460 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1480 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at fc480000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [20a0]

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=64
        Memory behind bridge: fc500000-fc7fffff

00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at <ignored>
        I/O ports at 14c0 [size=16]
        Memory at 10000000 (32-bit, non-prefetchable) [size=1K]

00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 1000 [size=256]
        I/O ports at 1400 [size=64]
        Memory at fc480400 (32-bit, non-prefetchable) [size=512]
        Memory at fc480600 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
        Subsystem: Hewlett-Packard Company: Unknown device 12bc
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 20
        Memory at fc500000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data
        Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
 
Old 04-01-2005, 10:37 AM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
Oh... and something else. I tried running the 2.6 and the 2.4 kernels that come with Mandrake. Both failed the same way.
 
Old 04-04-2005, 11:16 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I have done a little more experiments.

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?
 
Old 04-05-2005, 01:33 PM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
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?
 
Old 04-05-2005, 07:26 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 04-05-2005, 10:39 PM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I know, man... not the first post I make. LOL

I appreciate your appreciation.
 
Old 06-26-2006, 11:56 PM   #8
shahneepa
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
help requried in installing broadcom BCM5782 gigaethernet driver on redhat 9 sasank Linux - Networking 0 08-31-2004 04:49 AM
Problem with the network card, I think kermit Linux - Newbie 2 10-23-2003 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration