Re: usb port not available after device removed

2014-05-26 Thread Martin Pieuchot
Hello Peter, On 23/05/14(Fri) 11:43, Peter Kane wrote: > [...] > If I boot the current snapshot (OpenBSD 5.5-current (GENERIC.MP) #139: > Wed May 21 09:38:42 MDT 2014) with a yubikey or usb-to-serial device > attached the port is no longer available if the device is removed. > When unplugged the y

Re: KASSERT in tcp_input

2014-05-26 Thread Stuart Henderson
On 2014/05/26 12:57, Peter Haag wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 26.05.14 12:34, Stuart Henderson wrote: > > On 2014/05/26 09:46, Peter Haag wrote: > >> Is there a way to patch the kernel at tcp_input to automatically generate > >> a core, if it crases? > > > > If

Re: KASSERT in tcp_input

2014-05-26 Thread Peter Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26.05.14 12:34, Stuart Henderson wrote: > On 2014/05/26 09:46, Peter Haag wrote: >> Is there a way to patch the kernel at tcp_input to automatically generate a >> core, if it crases? > > If sysctl net.inet.ddb.panic is set to 0, the os will attemp

Re: KASSERT in tcp_input

2014-05-26 Thread Stuart Henderson
On 2014/05/26 09:46, Peter Haag wrote: > Is there a way to patch the kernel at tcp_input to automatically generate a > core, if it crases? If sysctl net.inet.ddb.panic is set to 0, the os will attempt to produce a crash dump automatically when it panics. It would help if this is done from a kerne

Re: KASSERT in tcp_input

2014-05-26 Thread Peter Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jérémie, The next panic - again exactly at the same place. Your patch below produced the following output: panic: tcp_input:647: 0xfe84f10ac658 != 0xfe8522ecb1b0 - see screenshot appended. Again the console was frozen - I had to reset the