KASSERT() in kern_timeout.c

2010-03-19 Thread Manuel Bouyer
Hi, last night I got the panic below on a fairly busy ftp/http server (serving static content). The kernel is 5.0_STABLE from Jan, 19. Does it ring a bell to someone ? panic: kernel diagnostic assertion c-c_cpu-cc_lwp == curlwp || c-c_cpu-cc_active != c failed: file

Re: KASSERT() in kern_timeout.c

2010-03-19 Thread Andrew Doran
On Fri, Mar 19, 2010 at 12:38:12PM +0100, Manuel Bouyer wrote: Hi, last night I got the panic below on a fairly busy ftp/http server (serving static content). The kernel is 5.0_STABLE from Jan, 19. Does it ring a bell to someone ? I'll bet that c-c_cpu is from curcpu and that the callout is

Re: config(5) break down

2010-03-19 Thread Andrew Doran
On Thu, Mar 18, 2010 at 08:47:50PM -0400, Thor Lancelot Simon wrote: Sigh. Andy did; I didn't. I completely missed that he clearly excluded embedded platforms from his original comments. np. I *do* think it's a useful datapoint to note that sun2, pmax, algor, etc. are never, ever

Re: KASSERT() in kern_timeout.c

2010-03-19 Thread Manuel Bouyer
On Fri, Mar 19, 2010 at 02:16:26PM +, Andrew Doran wrote: On Fri, Mar 19, 2010 at 12:38:12PM +0100, Manuel Bouyer wrote: Hi, last night I got the panic below on a fairly busy ftp/http server (serving static content). The kernel is 5.0_STABLE from Jan, 19. Does it ring a bell to

RE: Debugging threaded processes -- ptrace proposal

2010-03-19 Thread Paul Koning
Gentlepeople, It's clear that GDB requires a way to step and resume single threads, which currently doesn't exist. (I checked the analogous procfs machinery -- it doesn't have that either, and in fact it is behind ptrace because it doesn't even have a way to do *any* operations on threads other

Dead ports [Re: config(5) break down]

2010-03-19 Thread Mindaugas Rasiukevicius
Andrew Doran a...@netbsd.org wrote: I *do* think it's a useful datapoint to note that sun2, pmax, algor, etc. are never, ever downloaded any more. Right, and these dead ports must be euthanized. The mountain of unused device drivers and core kernel code is a signficant hinderance to

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Izumi Tsutsui
I *do* think it's a useful datapoint to note that sun2, pmax, algor, etc. are never, ever downloaded any more. Right, and these dead ports must be euthanized. The mountain of unused device drivers and core kernel code is a signficant hinderance to people working in the kernel.

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Michael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Mar 19, 2010, at 4:14 PM, David Young wrote: Regardless of what we do or do not do with sun2 et cetera, TNF could buy some ARM and MIPS boards for developers. ARM and MIPS boards, however, are not so precious as a sun2. In fact,

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Mindaugas Rasiukevicius
der Mouse mo...@rodents-montreal.org wrote: [...] sun2, pmax, algor, etc. [...] Right, and these dead ports must be euthanized. For those single developers who still have such machines, as a hardware replacement and moral compensation, TNF could buy some new ARM or MIPS board for

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Thor Lancelot Simon
On Fri, Mar 19, 2010 at 03:14:57PM -0500, David Young wrote: Regardless of what we do or do not do with sun2 et cetera, TNF could buy some ARM and MIPS boards for developers. ARM and MIPS boards, however, are not so precious as a sun2. In fact, they're abundant, and cheap. Nevertheless,

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread David Young
On Fri, Mar 19, 2010 at 04:45:21PM -0400, Thor Lancelot Simon wrote: On Fri, Mar 19, 2010 at 03:14:57PM -0500, David Young wrote: Regardless of what we do or do not do with sun2 et cetera, TNF could buy some ARM and MIPS boards for developers. ARM and MIPS boards, however, are not so

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Herb Peyerl
On Fri, Mar 19, 2010 at 05:19:47PM -0400, Thor Lancelot Simon wrote: Have a look at http://www.rmicorp.com/assets/docs/2070SG_XLR_XLS_Product_Selection_Guide_2008-12-16.pdf specifically at the bottom few rows on the XLS chart. You're looking at parts that have 3 or 4 Gig-E interfaces, tons of

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Thor Lancelot Simon
On Fri, Mar 19, 2010 at 09:23:35PM +, Herb Peyerl wrote: Last time I bought a cavium board it was $5k USD... An Octeon 3850 was $700 for 1521 piece part... I didn't think they had anything reasonable down below $500? (and as far as I remember, they already had FreeBSD running on the

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Thor Lancelot Simon
On Fri, Mar 19, 2010 at 05:30:43PM -0400, Thor Lancelot Simon wrote: Cavium and Raza (Now NetLogic) both have low-core-count parts in the way sub-$100 price range. Same basic architecture as the big parts (these aren't their cut-down 32-bit parts), just less cores and less goodies. Even

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Herb Peyerl
On Fri, Mar 19, 2010 at 06:19:27PM -0400, Thor Lancelot Simon wrote: FYI -- and I doubt you could really buy just one of these at this price --

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Paul Goyette
On Fri, 19 Mar 2010, Thor Lancelot Simon wrote: FYI -- and I doubt you could really buy just one of these at this price --

panic: ffs_valloc: dup alloc

2010-03-19 Thread KAMADA Ken'ichi
Hi, I'm seeing a panic: ffs_valloc: dup alloc. Does anyone have a similar panic? The kernel is -current from March 15. I cannot repeat the panic reliably, but it seems to occur after suspend/resume (immediately or several minutes later). The panic occured in /home, which is a ffs on cgd on wd.

Soliciting opinions on desired envstat -S behavior

2010-03-19 Thread Paul Goyette
Currently, the -S option for envstat(8) is documented to ...restore defaults to all devices registered with the framework. This will remove all properties that were set in the configuration file to the setting that the drivers use by default. This was written this way long ago,

Re: Soliciting opinions on desired envstat -S behavior

2010-03-19 Thread Constantine A. Murenin
On 19/03/2010, Paul Goyette p...@whooppee.com wrote: Currently, the -S option for envstat(8) is documented to ...restore defaults to all devices registered with the framework. This will remove all properties that were set in the configuration file to the setting that the drivers

Re: config(5) break down

2010-03-19 Thread Masao Uebayashi
On Fri, Mar 19, 2010 at 11:49 PM, Andrew Doran a...@netbsd.org wrote: Random example: I had to abandon two paid efforts last year because I ran out of time owing to the huge amount of MD code, a lot of which is unused. That was TNF's money and my time down the toilet, and we missed out on

Re: Dead ports [Re: config(5) break down]

2010-03-19 Thread Matt Thomas
On Mar 19, 2010, at 1:25 PM, Michael wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Mar 19, 2010, at 4:14 PM, David Young wrote: Regardless of what we do or do not do with sun2 et cetera, TNF could buy some ARM and MIPS boards for developers. ARM and MIPS boards,