Re: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread Ian FREISLICH
"David Christensen" wrote: > > Yeah, but the question is why bce(4) has no available RX buffers. > > The system has a lot of available mbufs so I don't see the=20 > > root cause here. > > What's the traffic look like? Jumbo, standard, short frames? Any=20 > good ideas on profiling the code? I h

Re: hang in rpccon from interrupting NFS operations (Re: pointyhat panic)

2010-03-10 Thread Adrenalin
Rick thank you for the answer. I'll "put my heart into the teeth" and will try to go for the stable. This is kind of critical I guess, I think it should really go to the release. It's the first time I got into a such a nasty bug with freebsd. On Wed, Mar 10, 2010 at 3:44 AM, Rick Macklem wrote:

Re: Error 127.0.0.1: no route to host

2010-03-10 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 21:00, Doug Barton wrote: > On 03/09/10 12:14, Li, Qing wrote: >> This error was caused by my commit r204902 from yesterday. >> >> Please try patch at >> >> http://people.freebsd.org/~qingli/route.h.diff > > This doesn't appear to be

PF not working, with lock order reversal

2010-03-10 Thread Rob Farmer
Hi, I just updated a sparc64 Sun Netra X1 running current. I am using PF (built into the kernel) and now I cannot connect to the machine while PF is enabled (but outbound traffic from the machine works). The same ruleset has worked fine for me for several years on this and other systems. I'm getti

RE: Error 127.0.0.1: no route to host

2010-03-10 Thread Li, Qing
Could you please provide me with more information, such as your ifconfig and netstat output? What's the error message? Asking the obvious question, you updated to r204902? Thanks, --Qing > -Original Message- > From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- > curr...@free

Re: hang in rpccon from interrupting NFS operations (Re: pointyhat panic)

2010-03-10 Thread Julian Elischer
Adrenalin wrote: Rick thank you for the answer. I'll "put my heart into the teeth" and will try to go for the stable. This is kind of critical I guess, I think it should really go to the release. It's the first time I got into a such a nasty bug with freebsd. Unfortunately the release has 'le

RE: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread David Christensen
> > What's the traffic look like? Jumbo, standard, short > frames? Any=20 > > good ideas on profiling the code? I haven't figured out how to use > > the CPU TSC but there is a free running timer on the device > that might > > be usable to calculate where the driver's time is spent. > > It

RE: Error 127.0.0.1: no route to host

2010-03-10 Thread Li, Qing
> > This error was caused by my commit r204902 from yesterday. > > Please try patch at > > http://people.freebsd.org/~qingli/route.h.diff > The route.h.diff patch warrants some explanation. What I did here is basically excluding "if_link_state" checks against loopback interfaces and poi

Re: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread Pyun YongHyeon
On Wed, Mar 10, 2010 at 11:11:13AM -0800, David Christensen wrote: > > > What's the traffic look like? Jumbo, standard, short > > frames? Any=20 > > > good ideas on profiling the code? I haven't figured out how to use > > > the CPU TSC but there is a free running timer on the device > > that

Re: Error 127.0.0.1: no route to host

2010-03-10 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/10 12:18, Li, Qing wrote: > Could you please provide me with more information, such as your > ifconfig and netstat output? What's the error message? With or without r204902, I do not see any difference in ifconfig or netstat output. Addresses

Re: PING: Re: HEADS UP: gone. All welcome .

2010-03-10 Thread Andreas Tobler
Ping again. Tia, Andreas On 07.02.10 21:54, Andreas Tobler wrote: Hi all, On 17.01.10 13:11, Andreas Tobler wrote: On 17.01.10 02:36, Ed Schouten wrote: * Andreas Toblerwrote: So far everything went smooth. But one issue I have, I use mlterm (/usr/ports/x11/mlterm) and here I fail to

Kernel from today does not build any more

2010-03-10 Thread Rainer Hurling
After cvsup my CURRENT amd64 systems today I am not able to build custom kernel any more. Does anyone else observes the following breakage? ===> bwn (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/RHU

Re: Kernel from today does not build any more

2010-03-10 Thread Pyun YongHyeon
On Wed, Mar 10, 2010 at 09:23:26PM +0100, Rainer Hurling wrote: > After cvsup my CURRENT amd64 systems today I am not able to build custom > kernel any more. Does anyone else observes the following breakage? > Fixed in r204983. > ===> bwn (all) > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KER

Re: Kernel from today does not build any more

2010-03-10 Thread Rainer Hurling
On 10.03.2010 22:46 (UTC+1), Pyun YongHyeon wrote: On Wed, Mar 10, 2010 at 09:23:26PM +0100, Rainer Hurling wrote: After cvsup my CURRENT amd64 systems today I am not able to build custom kernel any more. Does anyone else observes the following breakage? Fixed in r204983. Thanks, will try i

Re: Removing USB keyboard after filesystems synced causes panic with destroyed mutex twa(4)?

2010-03-10 Thread Giovanni Trematerra
On Sun, Mar 7, 2010 at 11:24 AM, Garrett Cooper wrote: > On Sun, Mar 7, 2010 at 2:07 AM, Garrett Cooper wrote: >> Hi Alexander and Hans, >>    I recently did the following which generated a panic on a >> 9-CURRENT kernel compiled on the 26th: >> >> 1. Executed reboot >> 2. Removed keyboard. >> 3.

Re: Removing USB keyboard after filesystems synced causes panic with destroyed mutex twa(4)?

2010-03-10 Thread Tom Couch
Hi FreeBSD-current, My name is Tom Couch, I am part of the 3ware driver team recently acquired by LSI. I believe Giovanni's patch, below, is the correct fix for this bug. I am available to maintain the twa driver, now that I am on this list. Let me know how I can help, Tom On Wed, Mar 10,

RE: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread David Christensen
> I successfully reproduced the issue with netperf on BCM5709. > You can use UDP frame size 1 to trigger the issue. > > > Changing the high level design of bce_rx_intr() and > > bce_rx_fill_chain() slightly to post a new buffer as each frame is > > passed to the OS would likely avoid these gaps

Re: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread Pyun YongHyeon
On Wed, Mar 10, 2010 at 02:45:47PM -0800, David Christensen wrote: > > > I successfully reproduced the issue with netperf on BCM5709. > > You can use UDP frame size 1 to trigger the issue. > > > > > Changing the high level design of bce_rx_intr() and > > > bce_rx_fill_chain() slightly to post a

Re: PF not working, with lock order reversal

2010-03-10 Thread Rob Farmer
On Wed, Mar 10, 2010 at 8:43 AM, Rob Farmer wrote: > Hi, > > I just updated a sparc64 Sun Netra X1 running current. I am using PF > (built into the kernel) and now I cannot connect to the machine while > PF is enabled (but outbound traffic from the machine works). The same > ruleset has worked fin

sys/dev/siba/siba_core.c fails compilation

2010-03-10 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If compiling -current without debugging enabled, this module fails with a warning about unused variables (warnings treated as errors). The attached patch allows compilation to proceed although I'm not convinced that it's entirely correct (duplicate ev

Re: sys/dev/siba/siba_core.c fails compilation

2010-03-10 Thread Weongyo Jeong
On Wed, Mar 10, 2010 at 07:37:56PM -0500, Michael Butler wrote: > If compiling -current without debugging enabled, this module fails with > a warning about unused variables (warnings treated as errors). > > The attached patch allows compilation to proceed although I'm not > convinced that it's ent

[head tinderbox] failure on i386/pc98

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 03:50:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 03:50:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2010-03-11 03:50:00 - cleaning the object tree TB --- 2010-03-11 03:50:29 - cvsupping the source tree TB --- 2010-03-11 03:50:29 - /usr/bin/c

[head tinderbox] failure on i386/i386

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 03:50:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 03:50:00 - starting HEAD tinderbox run for i386/i386 TB --- 2010-03-11 03:50:00 - cleaning the object tree TB --- 2010-03-11 03:50:30 - cvsupping the source tree TB --- 2010-03-11 03:50:30 - /usr/bin/c

[head tinderbox] failure on amd64/amd64

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 03:50:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 03:50:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2010-03-11 03:50:00 - cleaning the object tree TB --- 2010-03-11 03:50:34 - cvsupping the source tree TB --- 2010-03-11 03:50:34 - /usr/bin

Re: Removing USB keyboard after filesystems synced causes panic with destroyed mutex twa(4)?

2010-03-10 Thread Garrett Cooper
On Wed, Mar 10, 2010 at 2:07 PM, Tom Couch wrote: > Hi FreeBSD-current, >     My name is Tom Couch, > I am part of the 3ware driver team recently acquired by LSI. > I believe Giovanni's patch, below, is the correct fix for this bug. > > I am available to maintain the twa driver, now that I am on t

[head tinderbox] failure on ia64/ia64

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 04:38:57 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 04:38:57 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-03-11 04:38:57 - cleaning the object tree TB --- 2010-03-11 04:39:14 - cvsupping the source tree TB --- 2010-03-11 04:39:14 - /usr/bin/c

[head tinderbox] failure on powerpc/powerpc

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 05:11:25 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 05:11:25 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-03-11 05:11:25 - cleaning the object tree TB --- 2010-03-11 05:11:41 - cvsupping the source tree TB --- 2010-03-11 05:11:41 - /usr

X11 crash on exit

2010-03-10 Thread Tim Kientzle
Trying to get X up and running on my Aspire One netbook and having a couple of problems. Here's the first: Whenever I exit, the server gets a Signal 11 and crashes, corrupting the screen. So far, I've been able to just tap the power button to get a clean reboot (in particular, it's just X crash

Re: X11 crash on exit

2010-03-10 Thread Garrett Cooper
On Wed, Mar 10, 2010 at 10:40 PM, Tim Kientzle wrote: > Trying to get X up and running on my Aspire One netbook > and having a couple of problems.  Here's the first: > > Whenever I exit, the server gets a Signal 11 and crashes, > corrupting the screen.  So far, I've been able to just > tap the pow

Re: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread Ian FREISLICH
Pyun YongHyeon wrote: > I successfully reproduced the issue with netperf on BCM5709. You > can use UDP frame size 1 to trigger the issue. Now I wish I had paid closer attention ages ago. I actually saw this when I benchmarked the system post purchase, but didn't investigate further. I tested and

Re: [head tinderbox] failure on powerpc/powerpc

2010-03-10 Thread Garrett Cooper
Weongyo, et all, On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox wrote: > TB --- 2010-03-11 05:11:25 - tinderbox 2.6 running on > freebsd-current.sentex.ca > TB --- 2010-03-11 05:11:25 - starting HEAD tinderbox run for powerpc/powerpc > TB --- 2010-03-11 05:11:25 - cleaning the object tree >

[head tinderbox] failure on sparc64/sparc64

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 05:36:17 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 05:36:17 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2010-03-11 05:36:17 - cleaning the object tree TB --- 2010-03-11 05:36:34 - cvsupping the source tree TB --- 2010-03-11 05:36:34 - /usr

Re: dev.bce.X.com_no_buffers increasing and packet loss

2010-03-10 Thread Ian FREISLICH
Pyun YongHyeon wrote: > On Wed, Mar 10, 2010 at 02:45:47PM -0800, David Christensen wrote: > > The bce(4) hardware supports a linked list of pages for RX > > buffer descriptors. The stock build supports 2 pages (RX_PAGES) > > with a total of 511 BD's per page. The hardware can support a > > maxi

[head tinderbox] failure on sparc64/sun4v

2010-03-10 Thread FreeBSD Tinderbox
TB --- 2010-03-11 05:57:33 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 05:57:33 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2010-03-11 05:57:33 - cleaning the object tree TB --- 2010-03-11 05:57:44 - cvsupping the source tree TB --- 2010-03-11 05:57:44 - /usr/b