NetBSD Problem Report #58665

From spz@netbsd.org  Fri Sep  6 06:31:20 2024
Return-Path: <spz@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 35A2F1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Sep 2024 06:31:20 +0000 (UTC)
Message-Id: <20240906063118.E3E711985D9@morden.netbsd.org>
Date: Fri,  6 Sep 2024 06:31:18 +0000 (UTC)
From: spz@NetBSD.org
Reply-To: spz@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: ciss0: unqueued ccb
X-Send-Pr-Version: 3.95

>Number:         58665
>Category:       kern
>Synopsis:       panic after ciss0: unqueued ccb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 06 06:35:00 +0000 2024
>Originator:     S.P.Zeidler
>Release:        NetBSD 10.0_STABLE
>Organization:
	The NetBSD Foundation
>Environment:


System: NetBSD morden.netbsd.org 10.0_STABLE NetBSD 10.0_STABLE (NBFTP) #0: Tue May 28 07:18:01 UTC 2024 spz@franklin.NetBSD.org:/home/netbsd/10/amd64/obj/sys/arch/amd64/compile/NBFTP amd64
Architecture: x86_64
Machine: amd64
Kernel source is netbsd-10 of 20240527
>Description:
[ 2839822.2897461] ciss0: unqueued ccb 0xffff950c7d55ec00 ready, state=0x1
[ 2839822.2999463] uvm_fault(0xffffb5a4ad75b770, 0x32883c000, 2) -> e
[ 2839822.2999463] fatal page fault in supervisor mode
[ 2839822.2999463] trap type 6 code 0x2 rip 0xffffffff803d6e3d cs 0x8 rflags 0x10206 cr2 0x32883c750 ilevel 0x8 rsp 0xffff950e1f830a50
[ 2839822.2999463] curlwp 0xffffb5a4d2459100 pid 15493.15493 lowest kstack 0xffff950e1f82c2c0
kernel: page fault trap, code=0
Stopped in pid 15493.15493 (envstat) at netbsd:ciss_get_ccb+0x3d:       movq    
%rdx,8(%rax)
ciss_get_ccb() at netbsd:ciss_get_ccb+0x3d
ciss_ldid() at netbsd:ciss_ldid+0x1a
ciss_ioctl_vol() at netbsd:ciss_ioctl_vol+0x4b
ciss_sensor_refresh() at netbsd:ciss_sensor_refresh+0x60
sysmon_envsys_refresh_sensor() at netbsd:sysmon_envsys_refresh_sensor+0x1b
sme_update_dictionary() at netbsd:sme_update_dictionary+0xe8
sysmonioctl_envsys() at netbsd:sysmonioctl_envsys+0x69c
cdev_ioctl() at netbsd:cdev_ioctl+0x99
spec_ioctl() at netbsd:spec_ioctl+0x54
VOP_IOCTL() at netbsd:VOP_IOCTL+0x47
vn_ioctl() at netbsd:vn_ioctl+0xb1
sys_ioctl() at netbsd:sys_ioctl+0x56e
syscall() at netbsd:syscall+0x1fc
--- syscall (number 54) ---
netbsd:syscall+0x1fc:
ds          0
es          1340
fs          0
gs          1
rdi         ffffb59ffcddfc0a
rsi         ffffffff
rbp         ffff950e1f830a70
rbx         ffffb59ffcddfc00
rdx         85147f8b41000000
rcx         0
rax         32883c748
r8          ffffb59ffcddfc00
r9          0
r10         ffffb5aabe4a4f58
r11         10
r12         ffffffff803bd1fc    syscall+0x1fc
r13         ffffb59ffcddfc08
r14         ffffb59ffcddfc00
r15         ffffb59ffd0f96c8
rip         ffffffff803d6e3d    ciss_get_ccb+0x3d
cs          8
rflags      10206
rsp         ffff950e1f830a50
ss          10
netbsd:ciss_get_ccb+0x3d:       movq    %rdx,8(%rax)

no dump: no disk that is not on the ciss
>How-To-Repeat:
	this is a first
>Fix:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.