NetBSD Problem Report #55393

From gson@gson.org  Wed Jun 17 07:42:21 2020
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A17D01A9213
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Jun 2020 07:42:21 +0000 (UTC)
Message-Id: <20200617074216.A7078253EE5@guava.gson.org>
Date: Wed, 17 Jun 2020 10:42:16 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: System booted from USB panics on shutdown
X-Send-Pr-Version: 3.95

>Number:         55393
>Category:       kern
>Synopsis:       System booted from USB panics on shutdown
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 17 07:45:00 +0000 2020
>Closed-Date:    Mon Oct 17 14:25:59 +0000 2022
>Last-Modified:  Mon Oct 17 14:25:59 +0000 2022
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2020.06.13.14.31.49
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

A -current/i386 live image built using "build.sh live-image" and
booted from a USB flash drive panics when shut down with "halt -p",
with the error messages:

  sd0(umass0:0:0:0): generic HBA error
  sd0: cache synchronization failed
  fatal page fault in supervisor mode

For the full set of shutdown messages, see

  http://www.gson.org/netbsd/bugs/usb-sd0-detach/shutdown.jpg

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/55393: System booted from USB panics on shutdown
Date: Mon, 17 Oct 2022 17:18:32 +0300

 An amd64 live image built from 2020.06.13.14.31.49 sources also panics
 on "halt -p", but one built from 2022.10.16.15.20.59 sources does not.
 Both were tested on a HP ProBook 650 G1.  I'm assuming the bug has
 been fixed, but don't know when or by whom.  Someone please take credit :)
 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Mon, 17 Oct 2022 14:25:59 +0000
State-Changed-Why:
Can no longer reproduce.


>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-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.