Current-Users archive

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

panic with NPF tables and debug/lockdebug on amd64

I'm seeing a kassert panic with NPF tables and kernel options DEBUG/LOCKDEBUG

	include "arch/amd64/conf/GENERIC"
	options		DEBUG
	options		LOCKDEBUG
My /etc/npf.conf has tables with type hash and type tree

Does anyone else have this configuration working currently?

I'll try it on something where I can debug remotely in a couple of days.

The kassert is at the start of rw_vector_enter()
panic: kernel debugging assertion "pserialize_not_in_read_section()" failed: file "/usr/netbsd/src/sys/kern/kern_rwlock.c", line 293
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x16f
ch_voltag_convert_in() at netbsd:ch_voltag_convert_in
rw_enter() at netbsd:rw_enter+0x403
npf_table_lookup() at netbsd:npf_table_lookup+0xfb
npf_cop_table() at netbsd:npf_cop_table+0x63
?() at ffffffff81bc5b89
npf_packet_handler() at netbsd:npf_packet_handler+0x231
pfil_run_hooks() at netbsd:pfil_run_hooks+0x12a
ipintr() at netbsd:ipintr+0x4ac
softint_dispatch() at netbsd:softint_dispatch+0xee
DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xffffc300675410f0
Xsoftintr() at netbsd:Xsoftintr+0x4f
--- interrupt ---


Home | Main Index | Thread Index | Old Index