Re: use_generic and usb probing

2011-04-06 Thread Hans Petter Selasky
On Tuesday 05 April 2011 18:45:51 Andriy Gapon wrote: on 05/04/2011 15:55 Hans Petter Selasky said the following: On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote: I believe that newbus already supports ordering of children on a bus. BTW, does USB have to pass anything from probe to

Re: kernel thread creation cleanup

2011-04-06 Thread Kostik Belousov
On Tue, Apr 05, 2011 at 06:16:01PM -0700, Julian Elischer wrote: I was just looking in the thread creation code after most of a decade NOT looking at it.. boy we really need to go through there with a broom.. the cobwebs are getting thick. Like we always call the code to put an upcall,

ZFS panic with concurrent recv and read-heavy workload

2011-04-06 Thread Nathaniel W Filardo
When racing two workloads, one doing zfs recv -v -d testpool and the other find /testpool -type f -print0 | xargs -0 sha1 I can (seemingly reliably) trigger this panic: panic: Lock buf_hash_table.ht_locks[i].ht_lock not exclusively locked @

Re: sched_4bsd startup crash trying to run a bound thread on an AP that hasn't started

2011-04-06 Thread John Baldwin
On Monday, April 04, 2011 5:10:20 pm Ryan Stone wrote: I'm running into a bootup crash under sched_4bsd on HEAD. The crash happens when I have a thread bound to a single CPU that isn't the BSP, and that thread is scheduled. If the AP that the thread is bound hasn't been started up,

Re: KGDB stack traces in the kernel.

2011-04-06 Thread John Baldwin
On Monday, April 04, 2011 9:04:23 pm Justin Hibbits wrote: On Apr 4, 2011, at 6:57 PM, Julian Elischer wrote: is there anyone here with enough gdb/kgdb source experience to know what we would need to put on the stack at fork_exit() to make it stop when it gets there? not only is

Re: KGDB stack traces in the kernel.

2011-04-06 Thread John Baldwin
On Tuesday, April 05, 2011 4:35:44 pm Navdeep Parhar wrote: On Tue, Apr 5, 2011 at 1:33 PM, Julian Elischer jul...@freebsd.org wrote: On 4/4/11 6:04 PM, Justin Hibbits wrote: On Apr 4, 2011, at 6:57 PM, Julian Elischer wrote: is there anyone here with enough gdb/kgdb source experience

Re: use_generic and usb probing

2011-04-06 Thread John Baldwin
On Wednesday, April 06, 2011 3:33:47 am Hans Petter Selasky wrote: On Tuesday 05 April 2011 18:45:51 Andriy Gapon wrote: on 05/04/2011 15:55 Hans Petter Selasky said the following: On Tuesday 05 April 2011 14:50:43 Andriy Gapon wrote: I believe that newbus already supports ordering of

Re: use_generic and usb probing

2011-04-06 Thread Andriy Gapon
on 06/04/2011 10:33 Hans Petter Selasky said the following: After looking at subr_usb.c I see your solution is fine as long as the PROBE() method that it attaches is the last one called before ATTACH(). If this is documented in how newbus should function, then please go ahead updating your

Re: use_generic and usb probing

2011-04-06 Thread Hans Petter Selasky
On Wednesday 06 April 2011 15:21:19 Andriy Gapon wrote: on 06/04/2011 10:33 Hans Petter Selasky said the following: Which drivers I have missed? Thanks! Run a kernel test compile including all modules. If that's OK it should be fine. --HPS ___

Re: use_generic and usb probing

2011-04-06 Thread Andriy Gapon
on 06/04/2011 16:28 Hans Petter Selasky said the following: On Wednesday 06 April 2011 15:21:19 Andriy Gapon wrote: on 06/04/2011 10:33 Hans Petter Selasky said the following: Which drivers I have missed? Thanks! Run a kernel test compile including all modules. If that's OK it should be

SVN - CVS burp?

2011-04-06 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seem that CVS hasn't seen any src updates sine the burp involving /usr/ports/net/unison232/files/patch-update.mli.diff. Any ideas? imb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (FreeBSD)

Re: kernel thread creation cleanup

2011-04-06 Thread Alexander Leidinger
Quoting Kostik Belousov kostik...@gmail.com (from Wed, 6 Apr 2011 13:21:43 +0300): On Tue, Apr 05, 2011 at 06:16:01PM -0700, Julian Elischer wrote: I was just looking in the thread creation code after most of a decade NOT looking at it.. boy we really need to go through there with a broom..

Re: sched_4bsd startup crash trying to run a bound thread on an AP that hasn't started

2011-04-06 Thread Ryan Stone
On Wed, Apr 6, 2011 at 8:36 AM, John Baldwin j...@freebsd.org wrote: Hummm.  Patching 4BSD to use the same route as ULE may be the best solution for now if that is easiest.  Alternatively, you could change 4BSD's sched_add() to not try to kick other CPUs until smp_started is true. At first I

Re: kernel thread creation cleanup

2011-04-06 Thread Julian Elischer
On 4/6/11 3:21 AM, Kostik Belousov wrote: On Tue, Apr 05, 2011 at 06:16:01PM -0700, Julian Elischer wrote: I was just looking in the thread creation code after most of a decade NOT looking at it.. boy we really need to go through there with a broom.. the cobwebs are getting thick. Like we

Re: KGDB stack traces in the kernel.

2011-04-06 Thread Julian Elischer
On 4/6/11 5:45 AM, John Baldwin wrote: On Tuesday, April 05, 2011 4:35:44 pm Navdeep Parhar wrote: On Tue, Apr 5, 2011 at 1:33 PM, Julian Elischerjul...@freebsd.org wrote: On 4/4/11 6:04 PM, Justin Hibbits wrote: What does ddb do? It always seems to get this stuff correct. ddb knows to

Re: sched_4bsd startup crash trying to run a bound thread on an AP that hasn't started

2011-04-06 Thread Attilio Rao
2011/4/6 Ryan Stone ryst...@gmail.com: On Wed, Apr 6, 2011 at 8:36 AM, John Baldwin j...@freebsd.org wrote: Hummm.  Patching 4BSD to use the same route as ULE may be the best solution for now if that is easiest.  Alternatively, you could change 4BSD's sched_add() to not try to kick other CPUs

Re: multiple issues with devstat_*(9)

2011-04-06 Thread Alexander Motin
John Baldwin wrote: On Monday, April 04, 2011 4:43:16 pm Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: This is probably due to the hard drives being IDE (really ATA) rather than SCSI. I agree this should show the pass devices. h...one could argue. the drives are ATA,

Re: sched_4bsd startup crash trying to run a bound thread on an AP that hasn't started

2011-04-06 Thread John Baldwin
On Wednesday, April 06, 2011 1:08:20 pm Ryan Stone wrote: On Wed, Apr 6, 2011 at 8:36 AM, John Baldwin j...@freebsd.org wrote: Hummm. Patching 4BSD to use the same route as ULE may be the best solution for now if that is easiest. Alternatively, you could change 4BSD's sched_add() to not

Re: kernel thread creation cleanup

2011-04-06 Thread Kostik Belousov
On Wed, Apr 06, 2011 at 10:14:21AM -0700, Julian Elischer wrote: On 4/6/11 3:21 AM, Kostik Belousov wrote: On Tue, Apr 05, 2011 at 06:16:01PM -0700, Julian Elischer wrote: I was just looking in the thread creation code after most of a decade NOT looking at it.. boy we really need to go

Re: KGDB stack traces in the kernel.

2011-04-06 Thread Julian Elischer
On 4/6/11 10:17 AM, Julian Elischer wrote: On 4/6/11 5:45 AM, John Baldwin wrote: On Tuesday, April 05, 2011 4:35:44 pm Navdeep Parhar wrote: On Tue, Apr 5, 2011 at 1:33 PM, Julian Elischerjul...@freebsd.org wrote: On 4/4/11 6:04 PM, Justin Hibbits wrote: What does ddb do? It always seems