syzbot


netbsd boot error: panic: cnopen: no console device

Status: auto-closed as invalid on 2021/12/15 15:39
Reported-by: syzbot+e53c43077e0aee1707b4@syzkaller.appspotmail.com
First crash: 1132d, last: 1132d

Sample crash report:
[   6.4873064] panic: cnopen: no console device
[   6.4873064] cpu0: Begin traceback...
[   6.4972784] vpanic() at netbsd:vpanic+0x2d0 sys/kern/subr_prf.c:290
[   6.5172760] device_printf() at netbsd:device_printf
[   6.5372763] cnopen() at netbsd:cnopen+0x2c5 sys/dev/cons.c:130
[   6.5672784] cdev_open() at netbsd:cdev_open+0x16a sys/kern/subr_devsw.c:871
[   6.5872750] spec_open() at netbsd:spec_open+0x42b sys/miscfs/specfs/spec_vnops.c:564
[   6.6072748] VOP_OPEN() at netbsd:VOP_OPEN+0x12f sys/kern/vnode_if.c:332
[   6.6272795] vn_open() at netbsd:vn_open+0x651 sys/kern/vfs_vnops.c:323
[   6.6572762] do_open() at netbsd:do_open+0x1a3 sys/kern/vfs_syscalls.c:1728
[   6.6772781] do_sys_openat() at netbsd:do_sys_openat+0xcb sys/kern/vfs_syscalls.c:1813
[   6.6972759] sys_open() at netbsd:sys_open+0x60 sys/kern/vfs_syscalls.c:1834
[   6.7272756] syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline]
[   6.7272756] syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline]
[   6.7272756] syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138
[   6.7272756] --- syscall (number 5) ---
[   6.7398206] netbsd:syscall+0x2da:
[   6.7473467] cpu0: End traceback...
[   6.7473467] fatal breakpoint trap in supervisor mode
[   6.7473467] trap type 1 code 0 rip 0xffffffff80221a95 cs 0x8 rflags 0x246 cr2 0x75cc5560d960 ilevel 0 rsp 0xffffd300c8057a60
[   6.7676910] curlwp 0xfffff3ac26c7b640 pid 193.193 lowest kstack 0xffffd300c80532c0
Stopped in pid 193.193 (init) at        netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:69
vpanic() at netbsd:vpanic+0x2d0 sys/kern/subr_prf.c:290
device_printf() at netbsd:device_printf
cnopen() at netbsd:cnopen+0x2c5 sys/dev/cons.c:130
cdev_open() at netbsd:cdev_open+0x16a sys/kern/subr_devsw.c:871
spec_open() at netbsd:spec_open+0x42b sys/miscfs/specfs/spec_vnops.c:564
VOP_OPEN() at netbsd:VOP_OPEN+0x12f sys/kern/vnode_if.c:332
vn_open() at netbsd:vn_open+0x651 sys/kern/vfs_vnops.c:323
do_open() at netbsd:do_open+0x1a3 sys/kern/vfs_syscalls.c:1728
do_sys_openat() at netbsd:do_sys_openat+0xcb sys/kern/vfs_syscalls.c:1813
sys_open() at netbsd:sys_open+0x60 sys/kern/vfs_syscalls.c:1834
syscall() at netbsd:syscall+0x2da sy_call sys/sys/syscallvar.h:65 [inline]
syscall() at netbsd:syscall+0x2da sy_invoke sys/sys/syscallvar.h:94 [inline]
syscall() at netbsd:syscall+0x2da sys/arch/x86/x86/syscall.c:138
--- syscall (number 5) ---
netbsd:syscall+0x2da:
ds          19
es          7a20
fs          7a70
gs          10
rdi         5
rsi         0
rbp         ffffd300c8057a60
--db_more--

Crashes (54):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/16 14:46 netbsd 68066675cdd0 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 13:04 netbsd a4c9a3a0ecb7 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 13:04 netbsd a4c9a3a0ecb7 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 12:43 netbsd a4c9a3a0ecb7 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 12:43 netbsd a4c9a3a0ecb7 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 12:43 netbsd a4c9a3a0ecb7 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 11:39 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 11:39 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 11:39 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 11:20 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 11:20 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 11:20 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 10:57 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 10:57 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 10:57 netbsd 41aae511799c 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 09:29 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 09:29 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 09:29 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 09:11 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 09:11 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 09:11 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 08:37 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 08:37 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 08:37 netbsd c8c5fe1f3750 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:28 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:28 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:28 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:07 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:07 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 07:07 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 06:26 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 06:26 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 06:26 netbsd 987a75099e2d 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 06:08 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 06:08 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 06:08 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kubsan netbsd boot error: panic: cnopen: no console device
2021/10/16 05:48 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 05:48 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 05:48 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd netbsd boot error: panic: cnopen: no console device
2021/10/16 05:28 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 05:28 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
2021/10/16 05:28 netbsd e43f704b9aaa 0c5d9412 .config console log report ci2-netbsd-kmsan netbsd boot error: panic: cnopen: no console device
* Struck through repros no longer work on HEAD.