Re: if_fxp and pause packets (or, I didn't need the network anyway)

2002-12-12 Thread Garrett Wollman
On Wed, 11 Dec 2002 23:09:46 -0800 (PST), Nate Lawson [EMAIL PROTECTED] said:

 I've noticed this too with fxp.  It only happens while in ddb and I
 thought it was my fault (I was debugging some networking problems).

It happens when the NIC's receive queue fills up.  When you're in DDB,
the kernel is not answering network interrupts.

-GAWollman


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



Re: if_fxp and pause packets (or, I didn't need the network anyway)

2002-12-12 Thread Kris Kennaway
On Thu, Dec 12, 2002 at 12:04:13PM -0500, Garrett Wollman wrote:
 On Wed, 11 Dec 2002 23:09:46 -0800 (PST), Nate Lawson [EMAIL PROTECTED] said:
 
  I've noticed this too with fxp.  It only happens while in ddb and I
  thought it was my fault (I was debugging some networking problems).
 
 It happens when the NIC's receive queue fills up.  When you're in DDB,
 the kernel is not answering network interrupts.

One of my machines has an fxp that likes to do this while the machine
is still up -- perhaps it's just a manifestation of 5.0's higher
interrupt latency.

Kris



msg48608/pgp0.pgp
Description: PGP signature


if_fxp and pause packets (or, I didn't need the network anyway)

2002-12-11 Thread Robert Watson

I'm having a recurring problem on a number of machines wherein the fxp
interfaces on those machines will spew out pause packets in vast
quantities while the system is in ddb, or following a shutdown.  This
doesn't happen with other operating systems, and only started happening at
some point in the moderate past on FreeBSD.  Peter Wemm suggested this
might be a result of support introduced for flow control (which I didn't
know existed for ethernet), but no matter what the reason, it's a bit of a
disaster if you have any expectation of using your network segment or
low-end switch while this is going on.  The change is most likely 1.109,
although I haven't built a kernel to test this as yet.  Is there a fix for
this -- for example, disabling support for this feature when in ddb or
after shutting down, or in some other watchdog kind of situation?

Just for reference, the card in the machine I've been having this probelm
with most recently is:

fxp0: Intel Pro 10/100B/100+ Ethernet port 0xdd80-0xddbf mem
0xff50-0xff5f,0xff8fe000-0xff8fefff irq 9 at device 1.0 on pci1

However, I'm having it with other related fxp cards. 

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Network Associates Laboratories


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



Re: if_fxp and pause packets (or, I didn't need the network anyway)

2002-12-11 Thread Nate Lawson
On Wed, 11 Dec 2002, Robert Watson wrote:
 I'm having a recurring problem on a number of machines wherein the fxp
 interfaces on those machines will spew out pause packets in vast
 quantities while the system is in ddb, or following a shutdown.

I've noticed this too with fxp.  It only happens while in ddb and I
thought it was my fault (I was debugging some networking problems).

-Nate


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