NetBSD-Syzbot archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: assert failed: (!cpu_intr_p() && !cpu_softintr_p()) || (pc->pc_pool.pr_ipl != IPL_NONE || cold || panicstr != NULL)
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
| / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ +2130016| / - \ | / [1545312- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | +1151811/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | ]=0x6e93258
/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | Loading /var/db/entropy-file
[ 1.0000000] cpu_rng: rdrand/rdseed
[ 1.0000000] entropy: ready
[ 1.0000000] entropy: entering seed from bootloader with 256 bits of entropy
[ 1.0000000] ksyms: checking .text
[ 1.0000000] ksyms: checking .rodata.hotpatch
[ 1.0000000] ksyms: checking .rodata
[ 1.0000000] ksyms: checking .eh_frame
[ 1.0000000] ksyms: checking link_set_x86_hotpatch_descriptors
[ 1.0000000] ksyms: checking link_set_sdt_argtypes_set
[ 1.0000000] ksyms: checking link_set_sdt_probes_set
[ 1.0000000] ksyms: checking link_set_sdt_providers_set
[ 1.0000000] ksyms: checking link_set_modules
[ 1.0000000] ksyms: checking link_set_sysctl_funcs
[ 1.0000000] ksyms: checking link_set_acpi_device_calls
[ 1.0000000] ksyms: checking link_set_evcnts
[ 1.0000000] ksyms: checking link_set_linux_module_param_desc
[ 1.0000000] ksyms: checking link_set_linux_module_param_info
[ 1.0000000] ksyms: checking link_set_domains
[ 1.0000000] ksyms: checking link_set_ieee80211_funcs
[ 1.0000000] ksyms: checking link_set_ah_chips
[ 1.0000000] ksyms: checking link_set_ah_rfs
[ 1.0000000] ksyms: checking link_set_dkwedge_methods
[ 1.0000000] ksyms: checking link_set_prop_linkpools
[ 1.0000000] ksyms: checking .data
[ 1.0000000] ksyms: checking .data.cacheline_aligned
[ 1.0000000] ksyms: checking .data.read_mostly
[ 1.0000000] ksyms: checking .bss
[ 1.0000000] ksyms: checking .note.netbsd.ident
[ 1.0000000] ksyms: checking .note.Xen
[ 1.0000000] ksyms: checking .ident
[ 1.0000000] ksyms: checking .comment
[ 1.0000000] ksyms: checking .gnu_debuglink
[ 1.0000000] ksyms: checking .symtab
[ 1.0000000] ksyms: checking .strtab
[ 1.0000000] ksyms: checking .shstrtab
[ 1.0000000] Loaded initial symtab at 0xffffffff86e00ab0, strtab at 0xffffffff86f79f10, # entries 64388
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019, 2020, 2021, 2022
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.99.98 (GENERIC_SYZKALLER) #0: Wed Jun 29 18:47:23 UTC 2022
[ 1.0000000] root@ci2:/syzkaller/jobs/netbsd/kernel/sys/arch/amd64/compile/obj/GENERIC_SYZKALLER
[ 1.0000000] total memory = 8191 MB
[ 1.0000000] avail memory = 7829 MB
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F2740 000014 (v00 Google)
[ 1.0000030] ACPI: RSDT 0x00000000BFFFFF90 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 1.0000030] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: FACS 0x00000000BFFFD880 000040
[ 1.0000030] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 1.0000030] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 1.0000030] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu0: node 0, package 0, core 0, smt 0
[ 1.0000030] cpu1 at mainbus0 apid 1
[ 1.0000030] cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, id 0x406f0
[ 1.0000030] cpu1: node 0, package 0, core 0, smt 1
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20211217
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] acpi0: fixed sleep button present
[ 1.0274095] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0274095] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[ 1.0274095] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[ 1.0274095] com0: ns16550a, 16-byte FIFO
[ 1.0274095] com0: console
[ 1.0274095] com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
[ 1.0274095] com1: ns16550a, 16-byte FIFO
[ 1.0274095] com2 at acpi0 (COM3, PNP0501-3): io 0x3e8-0x3ef irq 6
[ 1.0274095] com2: ns16550a, 16-byte FIFO
[ 1.0274095] com3 at acpi0 (COM4, PNP0501-4): io 0x2e8-0x2ef irq 7
[ 1.0274095] com3: ns16550a, 16-byte FIFO
[ 1.0274095] PEVT (QEMU0001) at acpi0 not configured
[ 1.0274095] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 1.0274095] pckbd0 at pckbc1 (kbd slot)
[ 1.0274095] pckbc1: using irq 1 for kbd slot
[ 1.0274095] wskbd0 at pckbd0 mux 1
[ 1.0274095] pms0 at pckbc1 (aux slot)
[ 1.0274095] pckbc1: using irq 12 for aux slot
[ 1.0274095] wsmouse0 at pms0 mux 0
[ 1.0274095] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0274095] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[ 1.0274095] pcib0 at pci0 dev 1 function 0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x03)
[ 1.0274095] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03)
[ 1.0274095] piixpm0: SMBus disabled
[ 1.0274095] virtio0 at pci0 dev 3 function 0
[ 1.0274095] virtio0: SCSI device (rev. 0x00)
[ 1.0274095] vioscsi0 at virtio0: features: 0
[ 1.0274095] vioscsi0: cmd_per_lun 256 qsize 8192 seg_max 64 max_target 253 max_lun 1
[ 1.0274095] virtio0: config interrupting at msix0 vec 0
[ 1.0274095] virtio0: queues interrupting at msix0 vec 1
[ 1.0274095] scsibus0 at vioscsi0: 254 targets, 2 luns per target
[ 1.0274095] virtio1 at pci0 dev 4 function 0
[ 1.0274095] virtio1: network device (rev. 0x00)
[ 1.0274095] vioif0 at virtio1: features: 0x20030020<EVENT_IDX,CTRL_VQ,STATUS,MAC>
[ 1.0274095] vioif0: Ethernet address 42:01:0a:80:0a:23
[ 1.0274095] virtio1: config interrupting at msix1 vec 0
[ 1.0274095] virtio1: queues interrupting at msix1 vec 1
[ 1.0274095] genfb0 at pci0 dev 5 function 0: vendor 1ae0 product a002 (rev. 0x01)
[ 1.0274095] virtio2 at pci0 dev 6 function 0
[ 1.0274095] virtio2: memory balloon device (rev. 0x00)
[ 1.0274095] viomb0 at virtio2: features: 0x1<MUST_TELL_HOST>
[ 1.0274095] virtio2: interrupting at ioapic0 pin 10
[ 1.0274095] virtio3 at pci0 dev 7 function 0
[ 1.0274095] virtio3: entropy device (rev. 0x00)
[ 1.0274095] viornd0 at virtio3: features: 0
[ 1.0274095] virtio3: interrupting at ioapic0 pin 11
[ 1.0274095] isa0 at pcib0
[ 1.0274095] attimer0 at isa0 port 0x40-0x43
[ 1.0274095] pcppi0 at isa0 port 0x61
[ 1.0274095] spkr0 at pcppi0: PC Speaker
[ 1.0274095] wsbell at spkr0 not configured
[ 1.0274095] midi0 at pcppi0: PC speaker
[ 1.0274095] sysbeep0 at pcppi0
[ 1.0274095] attimer0: attached to pcppi0
[ 1.0274095] acpicpu0 at cpu0: ACPI CPU
[ 1.0274095] acpicpu1 at cpu1: ACPI CPU
[ 1.0274095] cpu0 has 2 core siblings: cpu1 cpu0
[ 1.0274095] cpu0 has 2 pkg siblings: cpu1 cpu0
[ 1.0274095] cpu0 has 1 1st siblings: cpu0
[ 1.0274095] cpu0 first in package: cpu0
[ 1.0274095] cpu1 has 2 core siblings: cpu0 cpu1
[ 1.0274095] cpu1 has 2 pkg siblings: cpu0 cpu1
[ 1.0274095] cpu1 has 1 1st siblings: cpu0
[ 1.0274095] cpu1 first in package: cpu0
[ 1.4265522] sd0 at scsibus0 target 1 lun 0: <Google, PersistentDisk, 1> disk fixed
[ 1.6031048] sd0: fabricating a geometry
[ 1.6031048] sd0: 2048 MB, 2048 cyl, 64 head, 32 sec, 512 bytes/sect x 4194304 sectors
[ 1.8479217] sd0: fabricating a geometry
[ 2.2114641] dk0 at sd0: "49b813d1-8009-4c4f-b3e1-2cc288366ecc", 2097085 blocks at 64, type: ffs
[ 2.2556969] dk1 at sd0: "2a5f9479-33b7-499d-8cc4-f8d9ae0937b7", 2097119 blocks at 2097152, type: swap
[ 2.2556969] sd0: async, 8-bit transfers, tagged queueing
[ 10.9844341] usb0 at vhci0: USB revision 2.0
[ 11.0644511] uhub0 at usb0: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 12.1144117] usb1 at vhci1: USB revision 2.0
[ 12.1843909] uhub1 at usb1: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 13.2143625] usb2 at vhci2: USB revision 2.0
[ 13.2856332] uhub2 at usb2: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 14.3243307] usb3 at vhci3: USB revision 2.0
[ 14.4243234] uhub3 at usb3: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 15.4643051] usb4 at vhci4: USB revision 2.0
[ 15.5557006] uhub4 at usb4: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 16.6242700] usb5 at vhci5: USB revision 2.0
[ 16.7168294] uhub5 at usb5: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 17.7642577] usb6 at vhci6: USB revision 2.0
[ 17.8642334] uhub6 at usb6: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 18.9142051] usb7 at vhci7: USB revision 2.0
[ 19.0142049] uhub7 at usb7: NetBSD (0x0000) VHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[ 19.6858944] boot device: sd0
[ 19.6944602] root on dk0 dumps on dk1
[ 19.8054593] dump_misc_init: max_paddr = 0x240000000
[ 19.8683408] mountroot: trying lfs...
[ 19.9142144] mountroot: trying ffs...
[ 20.0042096] root file system type: ffs
[ 20.0447627] kern.module.path=/stand/amd64/9.99.98/modules
[ 20.0825358] clock: unknown CMOS layout
[ 20.2511780] panic: kernel diagnostic assertion "l->l_syncobj == sobj" failed: file "/syzkaller/jobs/netbsd/kernel/sys/kern/kern_turnstile.c", line 446 l->l_syncobj=0xffffffff86797600[sched] sobj=0xffffffff86759380[mutex] mutex_syncobj=0xffffffff86759380 rw_syncobj=0xffffffff8677e7e0
[ 20.3241718] cpu1: Begin traceback...
[ 20.3541900] vpanic() at netbsd:vpanic+0x2f2
[ 20.4341861] kern_assert() at netbsd:kern_assert+0x65
[ 20.5141833] turnstile_block() at netbsd:turnstile_block+0x1ff2
[ 20.5741857] mutex_enter() at netbsd:mutex_enter+0x4d5
[ 20.6341792] kthread_exit() at netbsd:kthread_exit+0x17e
[ 20.6941743] config_mountroot_thread() at netbsd:config_mountroot_thread+0x317
[ 20.7141908] cpu1: End traceback...
[ 20.7241610] fatal breakpoint trap in supervisor mode
[ 20.7341645] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0 ilevel 0x8 rsp 0xffff9880c800bd00
[ 20.7541636] curlwp 0xffffe6c47c1f2a40 pid 0.169 lowest kstack 0xffff9880c80072c0
Stopped in pid 0.169 (system) at netbsd:breakpoint+0x5: leave
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0xec
vpanic() at netbsd:vpanic+0x2f2
kern_assert() at netbsd:kern_assert+0x65
turnstile_block() at netbsd:turnstile_block+0x1ff2
mutex_enter() at netbsd:mutex_enter+0x4d5
kthread_exit() at netbsd:kthread_exit+0x17e
config_mountroot_thread() at netbsd:config_mountroot_thread+0x317
ds bd78
es bcc0
fs bd10
gs 10
rdi 5
rsi 0
rbp ffff9880c800bd00
rbx 1
rdx ffffe6c47c1f2e50
rcx ffffffff82b6536e db_panic+0xde
rax ffffffff
r8 0
r9 0
r10 ffff9880c800bd90
--db_more--
syzkaller build log:
go env (err=<nil>)
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/syzkaller/.cache/go-build"
GOENV="/syzkaller/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/syzkaller/jobs/netbsd/gopath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/syzkaller/jobs/netbsd/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/syzkaller/jobs/netbsd/gopath/src/github.com/google/syzkaller/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1263012787=/tmp/go-build -gno-record-gcc-switches"
git status (err=<nil>)
HEAD detached at a371c43c3
nothing to commit, working tree clean
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
bin/syz-sysgen
touch .descriptions
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a371c43c33b6f901421f93b655442363c072d251 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220624-125309'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a371c43c33b6f901421f93b655442363c072d251 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220624-125309'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=netbsd GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=a371c43c33b6f901421f93b655442363c072d251 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20220624-125309'" "-tags=syz_target syz_os_netbsd syz_arch_amd64 " -o ./bin/netbsd_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
mkdir -p ./bin/netbsd_amd64
/syzkaller/shared/netbsd/tools/bin/x86_64--netbsd-g++ -o ./bin/netbsd_amd64/syz-executor executor/executor.cc \
-m64 --sysroot /syzkaller/shared/netbsd/dest/ -O2 -pthread -Wall -Werror -Wparentheses -Wframe-larger-than=16384 -fpermissive -w -DGOOS_netbsd=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"a371c43c33b6f901421f93b655442363c072d251\"
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=1226ac04080000
Tested on:
commit: d8b90f07 Add CVPM02 BBU support.
git tree: https://github.com/NetBSD/src trunk
kernel config: https://syzkaller.appspot.com/x/.config?x=1420f906d33d9f1f
dashboard link: https://syzkaller.appspot.com/bug?extid=8b9d7b066c32dbcdc63b
compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110
patch: https://syzkaller.appspot.com/x/patch.diff?x=16203537f00000
--
You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd-bugs+unsubscribe%googlegroups.com@localhost.
To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/00000000000046116705e29ac319%40google.com.
Home |
Main Index |
Thread Index |
Old Index