Re: Race condition between an LWP migration and curlwp_bind

2018-02-13 Thread Ryota Ozaki
On Wed, Feb 14, 2018 at 8:05 AM, Christos Zoulas wrote: > In article > , > Ryota Ozaki wrote: >> >>Is the fix appropriate? > > Looks right to me, but it is above my pay grade :-)

Re: setting DDB_COMMANDONENTER="bt" by default

2018-02-13 Thread Christos Zoulas
In article , Sevan Janiyan wrote: >Hello, >Is there any reason good reason why we should not opt for >DDB_COMMANDONENTER="bt" by default across the board?? >We have it set or a variation of, on some ports (amd64, some

Re: setting DDB_COMMANDONENTER="bt" by default

2018-02-13 Thread Paul Goyette
On Tue, 13 Feb 2018, Sevan Janiyan wrote: Hello, Is there any reason good reason why we should not opt for DDB_COMMANDONENTER="bt" by default across the board?? We have it set or a variation of, on some ports (amd64, some evbarm and evbmips configs, i386, macppc). Would be useful to have it

setting DDB_COMMANDONENTER="bt" by default

2018-02-13 Thread Sevan Janiyan
Hello, Is there any reason good reason why we should not opt for DDB_COMMANDONENTER="bt" by default across the board?? We have it set or a variation of, on some ports (amd64, some evbarm and evbmips configs, i386, macppc). Would be useful to have it there by default, especially on the slower ports

Re: Race condition between an LWP migration and curlwp_bind

2018-02-13 Thread Christos Zoulas
In article , Ryota Ozaki wrote: > >Is the fix appropriate? Looks right to me, but it is above my pay grade :-) christos

Re: Merging ugen into the usb stack

2018-02-13 Thread Wolfgang Solfrank
Hi, It doesn't solve the generic (no pun intended) problem of raw ugen access to arbitrary other devices, e.g. for use by USB over IP http://usbip.sourceforge.net/ Of course, a better approach may be to add detach kernel driver functionality:

Re: Merging ugen into the usb stack

2018-02-13 Thread Martin Husemann
On Tue, Feb 13, 2018 at 03:02:56PM +0100, Wolfgang Solfrank wrote: > What exactly do you mean with "can't use ttyU1"? The ttyU1 serial console is dead, no data in/no data out as far as I can tell. I'll debug/investigate this, as I have a good debug setup now. Martin

Re: Merging ugen into the usb stack

2018-02-13 Thread Wolfgang Solfrank
Hi Martin, Martin Husemann schrieb: On Thu, Feb 08, 2018 at 07:15:55PM +0100, Martin Husemann wrote: Seems to work for me as well: root file system type: ffs kern.module.path=/stand/i386/8.99.12/modules ugen0 at uhub0 port 1 configuration 1 interface 0 ugen0: FTDI (0x9e88) SheevaPlug JTAGKey

Race condition between an LWP migration and curlwp_bind

2018-02-13 Thread Ryota Ozaki
Hi, I have been encountering the following panic infrequently during torture tests. panic: kernel diagnostic assertion "(psref->psref_cpu == curcpu())" failed: file "/(hidden)/sys/kern/subr_psref.c", line 317 passive reference transferred from CPU 0 to CPU 3 fatal breakpoint trap in