NetBSD-Bugs archive

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

kern/52620: 8.0_BETA/amd64 kernel panic when pf module loading is specified via boot.cfg

>Number:         52620
>Category:       kern
>Synopsis:       8.0_BETA/amd64 kernel panic when pf module loading is specified via boot.cfg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 22:25:00 +0000 2017
>Originator:     David H. Gutteridge
>Release:        8.0_BETA/amd64
NetBSD 8.0_BETA (GENERIC.201709170600Z) amd64
When I specify "load=pf" in the machine in question's boot.cfg file,
I get the following kernel panic:

NetBSD 8.0_BETA (GENERIC.201709170600Z)
total memory = 3551 MB
avail memory = 3426 MB
running cgd selftest aes-xts-256 aex-xts-512 done
panic: kernel diagnostic assertion "off < percpu_nextoff" failed: file "/usr/src/sys/kern/subr_percpu.c", line 76
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff80224a85 cs 0x8 rflags 0x246 cr2 0 ilevel 0x8 rsp 0xffffffff81842c50
curlwp 0xffffffff81481a40 pid 0.1 lowest kstack 0xffffffff8183f2c0
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x140
ch_voltag_convert_in() at netbsd:ch_voltag_convert_in
percpu_offset.part.0() at netbsd:percpu_offset.part.0+0x2d
percpu_getref() at netbsd:percpu_getref+0x3c
cprng_fast32() at netbsd:cprng_fast32()+0x19
pfattach() at pf:pfattach+0x316
pf_modcmd() at pf:pf_modcmd+0x62
module_do_load() at netbsd:module_do_load=0x5ee
module_init_class() at netbsd:module_init_class+0xef
main() at netbsd:main+0x288

(This isn't necessarily required, since I can successfully get pf to
load as a module by specifying such in rc.conf. But I thought I'd
mention this.)

Add "load=pf" to a boot.cfg file.


Home | Main Index | Thread Index | Old Index