After disabling uhidpp as a workaround, my system looks stable as in 6.8 now. Thanks!
On Saturday, May 8, 2021, Stuart Henderson <s...@spacehopper.org> wrote: > Forwarding to bugs@ because this does not look Raspberry Pi specific > rather connected with uhidpp (Logitech keyboard driver new in 6.9). > > Justin, you can probably bypass this for now if you "boot -c" at the > bootloader prompt and "disable uhidpp". If that works you can modify > an on-disk kernel to disable it with config(8) -ef. > > Trace roughly transcribed from the first photo. (It's always easier > to have text rather than photos). > > panic: assertwaitok: non-zero mutex count: 1, active process usbtask > assertwaitok at malloc > malloc at taskq_create+0x3c > taskq_create at sensor_task_register+0x50 > sensor_task_register at uhidpp_device_connect+0x234 > uhidpp_device_connect at uhidpp_task+0x10c > > > ----- Forwarded message from Justin Yang <linuxjus...@gmail.com> ----- > > From: Justin Yang <linuxjus...@gmail.com> > Date: Fri, 7 May 2021 23:58:02 +0800 > To: Stuart Henderson <s...@spacehopper.org> > Cc: Mark Kettenis <mark.kette...@xs4all.nl>, "arm@openbsd.org" < > arm@openbsd.org> > Subject: Re: Raspberry Pi 4B randomly kernel panics after upgrading to 6.9 > > I found that my previous mail was still incomplete, so I reinstalled the > whole system, and captured again: > https://i.postimg.cc/jjrd07xZ/2021-05-07-23-38-49.jpg > https://i.postimg.cc/qRq8nYPt/2021-05-07-23-40-09.jpg > https://i.postimg.cc/9QM2TYx4/2021-05-07-23-41-45.jpg > https://i.postimg.cc/N0kxcRc4/2021-05-07-23-42-53.jpg > https://i.postimg.cc/FKkf4LJ6/2021-05-07-23-43-18.jpg > https://i.postimg.cc/VLTmcHBY/2021-05-07-23-45-34.jpg > > On Friday, May 7, 2021, Justin Yang <linuxjus...@gmail.com> wrote: > > > OK, I captured the trace and ddbcpu output: > > > > https://i.postimg.cc/hGcQfznj/2021-05-07-20-37-56.jpg > > https://i.postimg.cc/nz54W4jz/2021-05-07-20-38-56.jpg > > > > On Friday, May 7, 2021, Stuart Henderson <s...@spacehopper.org> wrote: > > > >> At least "trace" from ddb is required. > >> > >> -- > >> Sent from a phone, apologies for poor formatting. > >> > >> On 6 May 2021 15:21:25 Justin Yang <linuxjus...@gmail.com> wrote: > >> > >> Hi, > >>> Sorry for the late reply. Here are the dmesg links for both 6.8 and > 6.9: > >>> > >>> 6.8: > >>> https://dmesgd.nycbug.org/index.cgi?do=view&id=5924 > >>> > >>> 6.9: > >>> https://dmesgd.nycbug.org/index.cgi?do=view&id=6067 > >>> > >>> and some ddb output: > >>> https://i.postimg.cc/tTWPLzCB/2021-05-06-21-42-54.jpg > >>> > >>> On Sat, May 1, 2021 at 9:57 PM Mark Kettenis <mark.kette...@xs4all.nl> > >>> wrote: > >>> > >>> From: Justin Yang <linuxjus...@gmail.com> > >>>>> Date: Sat, 1 May 2021 21:15:31 +0800 > >>>>> > >>>>> Hi, > >>>>> > >>>>> I have a Raspberry Pi 4B (8G mem) with OpenBSD 6.8 installed on a > USB 3 > >>>>> disk drive, and with edk2 firmware v1.22 flashed on SD card. It works > >>>>> > >>>> fine > >>>> > >>>>> untill I upgrade to 6.9 Release by 'sysupgrade' today. After this > >>>>> upgrading, the system becomes unstable and crashes randomly and says: > >>>>> > >>>>> panic: assertwaitok: non-zero mutex count: 1 > >>>>> > >>>>> The screenshot can be viewed here: https://ibb.co/K6N1DdM > >>>>> > >>>>> Then I flashed edk2 firmware v1.21 to SD card just now, and booted it > >>>>> again, but still, it didn't work and crashed as before. I can confirm > >>>>> there's not such issue in 6.8. Am I missing something or is this a > bug? > >>>>> > >>>> > >>>> Please post the full dmesg of both the 6.8 and the 6.9 kernel. And if > >>>> the panic happens again, follow the instructions pointed at on your > >>>> screen. > >>>> > >>>> > >>> > >>> -- > >>> Justin Yang > >>> > >> > >> > > > > -- > > Justin Yang > > > > > > -- > Justin Yang > > ----- End forwarded message ----- > -- Justin Yang