NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/59337: Kernel panic while running ATF suite on -current
The following reply was made to PR kern/59337; it has been noted by GNATS.
From: Rares Aioanei <bsdlisten%outlook.com@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/59337: Kernel panic while running ATF suite on -current
Date: Mon, 21 Apr 2025 12:09:33 +0300
On 4/21/25 12:00, rares.aioanei%gmail.com@localhost wrote:
>> Number: 59337
>> Category: kern
>> Synopsis: Kernel panic while running ATF suite on -current
>> Confidential: no
>> Severity: non-critical
>> Priority: medium
>> Responsible: kern-bug-people
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Mon Apr 21 09:00:02 +0000 2025
>> Originator: Rares Aioanei
>> Release: 10.99.14 (updated today, 21st of April)
>> Organization:
>> Environment:
> NetBSD netbsdvmcurr.localdom.ain 10.99.14 NetBSD 10.99.14 (GENERIC) #0: Sat Apr 19 14:25:11 UTC 2025 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>
>> Description:
> While running ATF tests and updating my pkgsrc tree at the same time, the machine rebooted. Afterwards, I found this in /var/log/messages :
>
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5157224] panic: kernel diagnostic assertion "!(l->l_md.md_flags & MDL_FPU_IN_CPU)" failed: file "/usr/src/sys/arch/x86/x86/fpu.c", line 149
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5157224] cpu2: Begin traceback...
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5157224] vpanic() at netbsd:vpanic+0x171
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5157224] kern_assert() at netbsd:kern_assert+0x4b
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] process_read_fpregs_xmm() at netbsd:process_read_fpregs_xmm+0x122
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] process_read_fpregs() at netbsd:process_read_fpregs+0x9
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] proc_regio() at netbsd:proc_regio+0x69
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] do_ptrace() at netbsd:do_ptrace+0xc4f
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] sys_ptrace() at netbsd:sys_ptrace+0x2b
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] syscall() at netbsd:syscall+0x9d
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] --- syscall (number 26) ---
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] netbsd:syscall+0x9d:
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] cpu2: End traceback...
> Apr 21 11:43:30 netbsdvmcurr /netbsd:
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5257809] dumping to dev 0,1 (offset=1039, size=2097022):
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9762.5358317] dump Skipping crash dump on recursive panic
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5716764] panic: atastart: channel 0 busy, xfer not possible
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5716764] cpu2: Begin traceback...
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5716764] vpanic() at netbsd:vpanic+0x171
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5716764] panic() at netbsd:panic+0x3c
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5716764] atastart() at netbsd:atastart+0x5c5
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] wd_dumpblocks() at netbsd:wd_dumpblocks+0xfe
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dk_dump() at netbsd:dk_dump+0x15f
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dump_header_flush() at netbsd:dump_header_flush+0x5d
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dump_header_addbytes() at netbsd:dump_header_addbytes+0x40
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dump_header_addseg() at netbsd:dump_header_addseg+0x29
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dump_seg_iter() at netbsd:dump_seg_iter+0xe6
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] cpu_dump() at netbsd:cpu_dump+0x76
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5817350] dodumpsys() at netbsd:dodumpsys+0x100
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] dumpsys() at netbsd:dumpsys+0x1d
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] kern_reboot() at netbsd:kern_reboot+0x93
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] vpanic() at netbsd:vpanic+0x17b
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] kern_assert() at netbsd:kern_assert+0x4b
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] process_read_fpregs_xmm() at netbsd:process_read_fpregs_xmm+0x122
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] process_read_fpregs() at netbsd:process_read_fpregs+0x9
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.5917905] proc_regio() at netbsd:proc_regio+0x69
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] do_ptrace() at netbsd:do_ptrace+0xc4f
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] sys_ptrace() at netbsd:sys_ptrace+0x2b
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] syscall() at netbsd:syscall+0x9d
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] --- syscall (number 26) ---
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] netbsd:syscall+0x9d:
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] cpu2: End traceback...
> Apr 21 11:43:30 netbsdvmcurr /netbsd: [ 9763.6018477] rebooting...
>
>> How-To-Repeat:
> Run ATF tests
>> Fix:
>
Last line written in the ATF log was
tc, 0.008192, lib/libc/sys/t_ptrace_wait6, posix_spawn3, passed
which is consistent with "syscall (number 26)" as seen before reboot and
which corresponds to ptrace
(https://github.com/NetBSD/src/blob/trunk/sys/sys/syscall.h)
Home |
Main Index |
Thread Index |
Old Index