NetBSD Problem Report #49509

From martin@aprisoft.de  Sun Dec 28 15:09:27 2014
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id CBC07A6552
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 28 Dec 2014 15:09:27 +0000 (UTC)
Message-Id: <20141228150847.D4ACCED0E4F@emmas.aprisoft.de>
Date: Sun, 28 Dec 2014 16:08:47 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: spl not lowered panic
X-Send-Pr-Version: 3.95

>Number:         49509
>Category:       kern
>Synopsis:       spl not lowered panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 15:10:00 +0000 2014
>Closed-Date:    Thu Jan 07 15:43:14 +0000 2021
>Last-Modified:  Thu Jan 07 15:43:14 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.3
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 7.99.3 NetBSD 7.99.3 (GENERIC) #2: Sun Dec 28 09:19:41 CET 2014 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

During a build.sh run my machine paniced:

wsdisplay0: screen 4 added (80x25, vt100 emulation)
panic: fpusaveW_AlRwNIp:N Gd:i SdP Lno NtO         
WAT fRNaLOtINaWGEl: RE bDrSe PLOakN N pOoTRiTnA LPtO  EtWErXIaREpTD   i6On  N0s
 TupRWeAAPRrvN EIiXNsoGIr:T   mS6oP 0Ld                                        
e N                                    
OWtTA RrNaLpOI WNEtG:yRp EeSD P 1LO N  NcoOTTdR eAL P 0O EWXrEIiRTpE  Df 6Of Nf0
f                                                                              
fTfRWfAAfRP N8I0E2NX8IGT:c  8S68 Pd0 L
c sN OW8TA  RLrNOfINWlEaG:gRsE D S P2LO4N6 N  TcOrRT2A P L 7OWEfEX7RIfTfE 2D d63
 O0N1                                                                          
0T00RWA AiRPN lIEeNXvGIeT:l   S06P  Lr0
s pNO WfTAf RfLNfOIfWNeEG8R:1E SD1 dPOaLN 5N8 OdTTfR 8A
PL OEcWuXErIRlTEw D 6p  O0N0 x                         
fTRfWfAAPfR fNeEI8XN4IG2T: 7 f6Sd P0cL
9 8N0OW ATRp NiLIdOW N2GE3:R3E DS6P 2LO.N 1 N TOlRToA weLPs OWEtX EkRIETs tDa6  c
O0kN
 0TxRWAfAPfRf NfEIXfNeGIT8: 1 1S6dP La0
5 5N2OWTAc R0NL                        
IO             
db{3}> bt
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x13c      
snprintf() at netbsd:snprintf  
fpusave_lwp() at netbsd:fpusave_lwp+0x99
fpudna() at netbsd:fpudna+0x86          
db{3}> mach cpu 0    
using CPU 0      
db{3}> bt  
x86_pause() at netbsd:x86_pause+0x2
intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x12
Xintr_ioapic_level1() at netbsd:Xintr_ioapic_level1+0xf2  
--- interrupt ---                                       
x86_stihlt() at netbsd:x86_stihlt+0x6
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0xc2
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xb6            
idle_loop() at netbsd:idle_loop+0x186                   
db{3}> mach cpu 1                    
using CPU 1      
db{3}> bt  
bus_space_write_1() at netbsd:bus_space_write_1+0xe
cnputc() at netbsd:cnputc+0x23                     
putchar() at netbsd:putchar+0x115
kprintf() at netbsd:kprintf+0x952
printf() at netbsd:printf+0x68   
db{3}> mach cpu 2             
using CPU 2      
db{3}> bt  
_kernel_lock() at netbsd:_kernel_lock+0xa2
bdev_strategy() at netbsd:bdev_strategy+0x53
spec_strategy() at netbsd:spec_strategy+0x37
VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x33  
genfs_do_io() at netbsd:genfs_do_io+0x1ab 
genfs_gop_write() at netbsd:genfs_gop_write+0x52
genfs_do_putpages() at netbsd:genfs_do_putpages+0x815
VOP_PUTPAGES() at netbsd:VOP_PUTPAGES+0x3a           
ffs_write() at netbsd:ffs_write+0x383     
VOP_WRITE() at netbsd:VOP_WRITE+0x37 
vn_write() at netbsd:vn_write+0xec  
dofilewrite() at netbsd:dofilewrite+0x97
sys_write() at netbsd:sys_write+0x5f    
syscall() at netbsd:syscall+0x9a    
--- syscall (number 4) ---      
db{3}> mach cpu 4
using CPU 4      
db{3}> bt  
bus_space_write_1() at netbsd:bus_space_write_1+0xe
cnputc() at netbsd:cnputc+0x23                     
putchar() at netbsd:putchar+0x115
kprintf() at netbsd:kprintf+0x952
printf() at netbsd:printf+0x68   
db{3}> mach cpu 5             
using CPU 5      
db{3}> bt  
spllower() at netbsd:spllower+0x8
tsleep() at netbsd:tsleep+0x67   
ahci_exec_command() at netbsd:ahci_exec_command+0x119
wd_flushcache() at netbsd:wd_flushcache+0xfd         
wdioctl() at netbsd:wdioctl+0x119           
bdev_ioctl() at netbsd:bdev_ioctl+0x90
VOP_IOCTL() at netbsd:VOP_IOCTL+0x3b  
wapbl_cache_sync() at netbsd:wapbl_cache_sync+0x4a
wapbl_write_commit() at netbsd:wapbl_write_commit+0x41
wapbl_flush() at netbsd:wapbl_flush+0x736             
ffs_sync() at netbsd:ffs_sync+0x175      
VFS_SYNC() at netbsd:VFS_SYNC+0x1c 
sync_fsync() at netbsd:sync_fsync+0x6e
VOP_FSYNC() at netbsd:VOP_FSYNC+0x3e  
sched_sync() at netbsd:sched_sync+0xf2


>How-To-Repeat:
n/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 08 Feb 2020 19:00:09 +0000
State-Changed-Why:
Reading the kernel panic w/o spl not lowered garbage yields:
fpusave_lwp: did not

That was also reported in PR 53017, which is closed (after a reply to PR 53016, which says "does not seem to happen any more")

Are you still having issues?


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 07 Jan 2021 15:43:14 +0000
State-Changed-Why:
feedback timeout. Assuming fixed based on my previous question that it is probably fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.