NetBSD Problem Report #1052
From gnats Mon May 15 16:10:50 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id QAA01921 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 15 May 1995 16:10:49 -0700
Message-Id: <199505152311.TAA03566@Collatz.McRCIM.McGill.EDU>
Date: Mon, 15 May 1995 19:11:31 -0400
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
Reply-To: mouse@Collatz.McRCIM.McGill.EDU
To: gnats-bugs@netbsd.org
Subject: panic: boot device not known
X-Send-Pr-Version: 3.2
>Number: 1052
>Category: port-sparc
>Synopsis: panic: boot device not known
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 15 16:20:01 +0000 1995
>Closed-Date: Wed Nov 01 00:29:14 +0000 1995
>Last-Modified: Wed Nov 01 00:31:27 +0000 1995
>Originator: der Mouse
>Release: -current as of about May 7th
>Organization:
Not if I can help it!
>Environment:
SPARC IPC
>Description:
The matching between SCSI disks and boot device strings is
incorrect (I think it compares SCSI IDs in the boot device
string with the sd disk index, which works only if you populate
your SCSI chains starting with ID 0 and not skipping any).
This pr is mostly intended to make sure this problem doesn't
fall through the cracks; it is already known.
>How-To-Repeat:
Build a kernel with "config ... swap generic". Boot it on a
machine with (eg) disks on SCSI IDs 1 and 3, booting from SCSI
ID 1. Watch it panic with "boot device not known".
>Fix:
As a workaround, don't use "swap generic" when building kernels
for such a system, or if you must use such a kernel, boot with
-a so you can specify the root device. A proper fix would of
course entail looking up the SCSI ID for each sd and comparing
that against the number from the boot string.
der Mouse
mouse@collatz.mcrcim.mcgill.edu
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Tue Oct 31 19:29:14 EST 1995
State-Changed-Why:
Fixed (for the most common cases anyway).
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.