Re: Panic in IPSEC

2018-05-19 Thread Peter J. Philipp
On Sat, May 19, 2018 at 02:46:35PM +0200, Alexander Bluhm wrote: > On Sat, May 19, 2018 at 02:30:27PM +0200, Peter J. Philipp wrote: > > I have applied it now, what it was > > missing was a terminating semicolon on KERNEL_LOCK(), so far my C goes I was > > able to correct that. > > Ah, I tested a

Re: Panic in IPSEC

2018-05-19 Thread mabi
On May 19, 2018 2:52 PM, Alexander Bluhm wrote: > This is unrelated, the expire bug was introduced just a few days ago. sorry for the noise...

Re: Panic in IPSEC

2018-05-19 Thread Alexander Bluhm
On Sat, May 19, 2018 at 08:45:01AM -0400, mabi wrote: > If that might help you guys, this seems quite similar to the issue I have > encountered and reported on this mailing list back in April: > https://marc.info/?l=openbsd-bugs=152417193124446=2 This is unrelated, the expire bug was introduced

Re: Panic in IPSEC

2018-05-19 Thread Alexander Bluhm
On Sat, May 19, 2018 at 02:30:27PM +0200, Peter J. Philipp wrote: > I have applied it now, what it was > missing was a terminating semicolon on KERNEL_LOCK(), so far my C goes I was > able to correct that. Ah, I tested a GENERIC non MP kernel in qemu. There the define is a noop and the compiler

Re: Panic in IPSEC

2018-05-19 Thread mabi
On May 19, 2018 2:36 PM, Alexander Bluhm wrote: > After a certain amount of traffic, the key is expired. The kernel > > wants to send a message to iked, but it has not acquired the porpper > > lock. > > Default in iked is > >

Re: Panic in IPSEC

2018-05-19 Thread Alexander Bluhm
On Sat, May 19, 2018 at 02:08:55PM +0200, Peter J. Philipp wrote: > > panic: kernel diagnostic assertion "_kernel_lock_held()" failed in file "/us It is /usr/src/sys/kern/uipc_socket2.c, line 314 302 void 303 soassertlocked(struct socket *so) 304 { 305 switch

Re: Panic in IPSEC

2018-05-19 Thread Peter J. Philipp
On Sat, May 19, 2018 at 02:02:35PM +0200, Alexander Bluhm wrote: > On Sat, May 19, 2018 at 12:57:19PM +0200, Peter J. Philipp wrote: > > panic: kernel diagnostic assertion...(cut) > > This is an important line. > panic: kernel diagnostic assertion "_kernel_lock_held()" failed in file "/us > Then

Re: Panic in IPSEC

2018-05-19 Thread Peter J. Philipp
On Sat, May 19, 2018 at 02:02:35PM +0200, Alexander Bluhm wrote: > On Sat, May 19, 2018 at 12:57:19PM +0200, Peter J. Philipp wrote: > > panic: kernel diagnostic assertion...(cut) > > This is an important line. > panic: kernel diagnostic assertion "_kernel_lock_held()" failed in file "/us > Then

Re: Panic in IPSEC

2018-05-19 Thread Alexander Bluhm
On Sat, May 19, 2018 at 12:57:19PM +0200, Peter J. Philipp wrote: > panic: kernel diagnostic assertion...(cut) This is an important line. panic: kernel diagnostic assertion "_kernel_lock_held()" failed in file "/us Then the photo is cut, but I can guess what is next. >