disconnecting nic

2003-01-29 Thread Wayne Swart
Good day all you smart ppl

I seem to have an unsolvable (unsovable only in my small world) problem.


i have posted this problem to you guys before but no one was able to help
me with it :(

i have two network cards in my box (freebsd 4.7), both are accton 1207f
(dc type) running at 100baseTX full-duplex. as soon as i send high volumes
of data through dc0 to another box on the lan, like for instance over an
ftp connection, dc0 looses its connectivity

by doing an ifconfig dc0 down, and then up again, it brings the connection
back up only to see it fail after a minute or so.

if i remove dc1 completely from the box it works fine
could this be because of irq conflicts even though dc0 and dc1 are not
using the same irq's?

please help me


kind regards
wayne



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: disconnecting nic

2003-01-29 Thread JoeB
The problem you describe is becoming common in the 4.x versions of
FBSD.
I have seen these solutions voiced previously in this list.

1. Check the PC's bios, look for a toggle to disable plug-n-play
function.

2. Check that your PCI Nic card is not in the first or last PCI
expansion
slot on the motherboard.

3. There is a problem with autonegotiation of the media settings
between
your NIC and your switch. The default setting of auto means the Nic
card
should sense the Lan for the switch or hub and set it's media type
to match.
There have been reports of the Nic Card media type changing on the
fly
between
10/100 and halfduplex and fullduplex causing the network to freeze
up.
To stop this use the ifconfig command in the rc.conf file to force
the
media type.  Like this
ifconfig_xl0=inet 10.0.10.2 media 100baseTX mediaopt full-duplex

4 add   option   PCI_ENABLE_IO_MODES
to your kernel source and recompile. See LINT

5. add   device  puc
 option  PUC_FASTINTR
to your kernel source and recompile. See LINT

6. Follow bug fix using this url
http://www.freebsd.org/cgi/query-pr.cgi?pr=40636


Try one of the above one at a time until your problem goes away.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wayne Swart
Sent: Wednesday, January 29, 2003 10:12 AM
To: FreeBSD Mailing list
Subject: disconnecting nic

Good day all you smart ppl

I seem to have an unsolvable (unsovable only in my small world)
problem.


i have posted this problem to you guys before but no one was able to
help
me with it :(

i have two network cards in my box (freebsd 4.7), both are accton
1207f
(dc type) running at 100baseTX full-duplex. as soon as i send high
volumes
of data through dc0 to another box on the lan, like for instance
over an
ftp connection, dc0 looses its connectivity

by doing an ifconfig dc0 down, and then up again, it brings the
connection
back up only to see it fail after a minute or so.

if i remove dc1 completely from the box it works fine
could this be because of irq conflicts even though dc0 and dc1 are
not
using the same irq's?

please help me


kind regards
wayne



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message