NetBSD Problem Report #8718
Received: (qmail 16117 invoked from network); 31 Oct 1999 14:49:28 -0000
Message-Id: <199910311449.XAA03314@land.sky.yamashina.kyoto.jp>
Date: Sun, 31 Oct 1999 23:49:28 +0900 (JST)
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
Reply-To: taca@sky.yamashina.kyoto.jp
To: gnats-bugs@gnats.netbsd.org
Subject: Boot loader fails to compile with DISK_DEBUG defined.
X-Send-Pr-Version: 3.95
>Number: 8718
>Category: kern
>Synopsis: Boot loader fails to compile with DISK_DEBUG defined.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: drochner
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 31 06:50:59 +0000 1999
>Closed-Date: Tue Nov 02 16:52:35 +0000 1999
>Last-Modified: Tue Nov 02 16:54:44 +0000 1999
>Originator: Takahiro Kambe
>Release: NetBSD-current 1999/10/30
>Organization:
>Environment:
System: NetBSD land.sky.yamashina.kyoto.jp 1.4M NetBSD 1.4M (LAND) #120: Sun Oct 31 13:12:32 JST 1999 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
Boot loader fails to compile with DISK_DEBUG defined.
>How-To-Repeat:
In sys/arch/i386/stand/lib/Makefile, uncomment CPP_FLAGS which adding
definition of DISK_DEBUG.
>Fix:
Apply the patch supplied bellow.
Index: biosdisk_ll.c
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/sys/arch/i386/stand/lib/biosdisk_ll.c,v
retrieving revision 1.1.1.8
retrieving revision 1.1.1.1.2.8
diff -u -r1.1.1.8 -r1.1.1.1.2.8
--- biosdisk_ll.c 1999/06/05 13:27:37 1.1.1.8
+++ biosdisk_ll.c 1999/10/26 16:11:48 1.1.1.1.2.8
@@ -186,7 +186,7 @@
#ifdef DISK_DEBUG
if (!cold)
printf("read error C:%d H:%d S:%d-%d\n",
- cyl, head, sec, sec + nsec - 1);
+ d->cyl, d->head, d->sec, d->sec + nsec - 1);
#endif
if (--retries >= 0)
continue;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->drochner
Responsible-Changed-By: drochner
Responsible-Changed-When: Tue Nov 2 08:31:48 PST 1999
Responsible-Changed-Why:
looks easy - I'll take this
State-Changed-From-To: open->closed
State-Changed-By: drochner
State-Changed-When: Tue Nov 2 08:52:35 PST 1999
State-Changed-Why:
fixed (differently - the C/H/S information is meaningless since INT13)
>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.