Re: Panic on shutdown

2021-11-24 Thread Jason Thorpe
> On Nov 24, 2021, at 8:13 AM, Jason Thorpe wrote: > >> Subsequent boot of the same kernel and userland didn't crash on shutdown. > > Ok, I have reviewed the code and I think I know what’s wrong… I misunderstood > the semantics of (*fo_restart)(). Easy fix. Ok, I’ve checked in a fix for bo

Re: Panic on shutdown

2021-11-24 Thread Jason Thorpe
> On Nov 23, 2021, at 9:48 PM, Chavdar Ivanov wrote: > > Were you using any programs that use eventfd(2)? > > (can't get it out of the quote for some reason) > > Most likely; I was using KDE atm; I usually quit any DE before shutting down, > but on this occasion I didn't. Besides, this was

Re: Panic on shutdown

2021-11-23 Thread Jason Thorpe
> On Nov 23, 2021, at 3:21 PM, Chavdar Ivanov wrote: > > Hi, > > > On a kernel from yesterday - 22/11/2021 - upon 'shutdown -p now' I get: > > ... > > var/crash crash -M netbsd.50.core -N netbsd.50 > Crash version 9.99.92, image version 9.99.92. > crash: _kvm_kvatop(0) > Kernel compiled wit

Panic on shutdown

2021-11-23 Thread Chavdar Ivanov
Hi, On a kernel from yesterday - 22/11/2021 - upon 'shutdown -p now' I get: ... var/crash crash -M netbsd.50.core -N netbsd.50 Crash version 9.99.92, image version 9.99.92. crash: _kvm_kvatop(0) Kernel compiled without options LOCKDEBUG. System panicked: kernel diagnostic assertion "efd->efd_h

Re: panic on shutdown

2018-12-08 Thread Stefan Hertenberger
I did a couple of reboots and the problem seems to be gone. Thank you, for the quick fix. Regards Stefan >Can you try the attached patch ? -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Re: panic on shutdown

2018-12-08 Thread Stefan Hertenberger
> Can you try the attached patch ? yes, currently building a new kernel and doing some tests. Thank you, for your quick reply!

Re: panic on shutdown

2018-12-08 Thread Manuel Bouyer
On Sat, Dec 08, 2018 at 10:32:45AM +0100, Stefan Hertenberger wrote: > Hello, > > most of the time current panics on shutdown. Should i file a bug report? > > thanks > Stefan > > [...] > (gdb) bt > #0 0x80222d75 in cpu_reboot () > #1 0x8076f4f8 in db_sync_cmd () > #2 0xff

panic on shutdown

2018-12-08 Thread Stefan Hertenberger
Hello, most of the time current panics on shutdown. Should i file a bug report? thanks Stefan [ 125193,164748] syncing disks... done [ 125193,224761] unmounted procfs on /proc type procfs [ 125193,244769] unmounted ptyfs on /dev/pts type ptyfs [ 125193,264777] unmounted kernfs on /kern type ker