NetBSD-Bugs archive

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

kern/54603: kernel panic when running dtruss



>Number:         54603
>Category:       kern
>Synopsis:       kernel panic when running dtruss
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 06 13:15:00 +0000 2019
>Originator:     Rares
>Release:        CURRENT
>Organization:
>Environment:
NetBSD localhost 9.99.15 NetBSD 9.99.15 (GENERIC) #0: Fri Oct  4 16:27:00 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When running "sudo dtruss -eos ksh", after a short while the system reboots and afterwards I see the following in /var/log/messages : 

Oct  6 13:05:14 localhost /netbsd: [ 7246.7838607] pool redzone disabled for 'dtrace_state_cache'
Oct  6 13:05:14 localhost /netbsd: [ 7246.7838607] dtrace: XXX dtrace_dof_property not implemented (name=dof-data-0)
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] panic: kernel diagnostic assertion "(x86_read_flags() & PSL_I) == 0" failed: file "/usr/src/external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c", line 415 interrup
ts enabled
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] cpu1: Begin traceback...
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] vpanic() at netbsd:vpanic+0x160
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] stge_eeprom_wait.isra.4() at netbsd:stge_eeprom_wait.isra.4
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] dtrace_trap() at dtrace:dtrace_trap+0xbc
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] trap() at netbsd:trap+0x255
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] --- trap (number 6) ---
Oct  6 13:05:14 localhost /netbsd: [ 7247.2039926] dtrace_fuword64_nocheck() at dtrace:dtrace_fuword64_nocheck
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] dtrace_getupcstack() at dtrace:dtrace_getupcstack+0xe8
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] dtrace_probe() at dtrace:dtrace_probe+0x13ef
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] systrace_probe() at dtrace_syscall:systrace_probe+0x71
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] trace_exit() at netbsd:trace_exit+0x69
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] syscall() at netbsd:syscall+0xb2
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] --- syscall (number 197) ---
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] 7f7fb0e0c6ea:
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] cpu1: End traceback...
Oct  6 13:05:14 localhost /netbsd:
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] dumping to dev 0,1 (offset=8, size=2097022):
Oct  6 13:05:14 localhost /netbsd: [ 7247.2140006] dump Skipping crash dump on recursive panic
Oct  6 13:05:14 localhost /netbsd: [ 7248.2443004] panic: atastart: channel 0 busy, xfer not possible
Oct  6 13:05:14 localhost /netbsd: [ 7248.2443004] cpu1: Begin traceback...
Oct  6 13:05:14 localhost /netbsd: [ 7248.2443004] vpanic() at netbsd:vpanic+0x160
Oct  6 13:05:14 localhost /netbsd: [ 7248.2443004] snprintf() at netbsd:snprintf
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] ata_get_xfer() at netbsd:ata_get_xfer
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] wdc_ata_bio() at netbsd:wdc_ata_bio+0x7b
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] wd_dumpblocks() at netbsd:wd_dumpblocks+0x111
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dk_dump() at netbsd:dk_dump+0x172
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dump_header_flush() at netbsd:dump_header_flush+0x6d
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dump_header_addbytes() at netbsd:dump_header_addbytes+0x40
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dump_header_addseg() at netbsd:dump_header_addseg+0x1e
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dump_seg_iter() at netbsd:dump_seg_iter+0x107
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] cpu_dump() at netbsd:cpu_dump+0x6a
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dodumpsys() at netbsd:dodumpsys+0xfc
Oct  6 13:05:14 localhost /netbsd: [ 7248.2543035] dumpsys() at netbsd:dumpsys+0x1d
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] vpanic() at netbsd:vpanic+0x169
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] stge_eeprom_wait.isra.4() at netbsd:stge_eeprom_wait.isra.4
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] dtrace_trap() at dtrace:dtrace_trap+0xbc
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] trap() at netbsd:trap+0x255
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] --- trap (number 6) ---
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] dtrace_fuword64_nocheck() at dtrace:dtrace_fuword64_nocheck
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] dtrace_getupcstack() at dtrace:dtrace_getupcstack+0xe8
Oct  6 13:05:14 localhost /netbsd: [ 7248.2643066] dtrace_probe() at dtrace:dtrace_probe+0x13ef
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] systrace_probe() at dtrace_syscall:systrace_probe+0x71
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] trace_exit() at netbsd:trace_exit+0x69
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] syscall() at netbsd:syscall+0xb2
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] --- syscall (number 197) ---
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] 7f7fb0e0c6ea:
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] cpu1: End traceback...
Oct  6 13:05:14 localhost /netbsd: [ 7248.2743109] rebooting...

>How-To-Repeat:
Run "sudo dtruss -eos $SHELL"
>Fix:



Home | Main Index | Thread Index | Old Index