Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On 2021/09/15 21:55, Taylor R Campbell wrote:
Date: Wed, 15 Sep 2021 19:58:20 +0900
From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>

login: [  95.5000696] panic: kernel diagnostic assertion "slock != NULL" failed: file "../../../../uvm/uvm_pdaemon.c", line 398 pg 0x8c66bd88 uobj 0x8fa7e400, NULL lock
[...]

It seems that I can avoid this panic if

- revert kern_ksyms.c to rev 1.98 (*), *or*
- set savecore=NO in rc.conf.

(*) I've not tested revs 1.99--1.103.

Can you please take a look into?

Interesting.  I'm not sure what's going on here.  The uvm panic looks
like a compounded symptom rather than the original problem.

Can you try booting with savecore=NO and see if `cat /dev/ksyms' or
`nm /dev/ksyms' works?

Can you also try rev. 1.103 and see if that makes a difference, just
to narrow it down?  (No point in trying the other revisions.  Unlikely
that 1.103 will work if 1.104 doesn't, but will help to confidently
narrow it down.)

'nm /dev/ksyms' works fine for 1.104. Also, panic does not occur after that,
as far as I can see.

For 1.103, savecore does not work and panic occurs during multiuser boot with
savecore=YES in the same manner as for 1.104. On the other hand,
'nm /dev/ksyms' works fine.

For 1.102 (== 1.98), whereas savecore works, nm complains as:

----
# nm /dev/ksyms
nm: warning: /dev/ksyms has a corrupt section with a size (18) larger than the file size
nm: warning: /dev/ksyms has a corrupt section with a size (4a560) larger than the file size
nm: warning: /dev/ksyms has a corrupt section with a size (46de5) larger than the file size
nm: warning: /dev/ksyms has a corrupt section with a size (40) larger than the file size
8c38fec8 t C.7
8c3e5b08 t CSWTCH.118
...
----

Thanks,
rin


Home | Main Index | Thread Index | Old Index