Subject: lib/34322: disk_sysctl missing from /usr/src/sys/sys/disk.h
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kennethcf@earthlink.net>
List: netbsd-bugs
Date: 08/29/2006 04:00:00
>Number: 34322
>Category: lib
>Synopsis: disk_sysctl missing from /usr/src/sys/sys/disk.h
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 29 04:00:00 +0000 2006
>Originator: Kenneth Freidank
>Release: 3.99.21 with userland
>Organization:
>Environment:
NetBSD papadog.genken 3.99.21 NetBSD 3.99.21 (XSPD) #0: Thu Jul 13 07:51:25 EST 2006 solomon@papadog.genken:/usr/obj/sys/arch/i386/compile/XSPD i386
>Description:
From the source of release 3.0, the first line of
/usr/src/sys/sys/disk.h is:
/* $NetBSD: disk.h,v 1.29 2005/02/03 19:20:01 perry Exp $ */
and the structure "disk_sysctl" is defined on line 249.
From the source of release 3.99.21, the first line of
/usr/src/sys/sys/disk.h is:
/* $NetBSD: disk.h,v 1.36 2006/04/21 13:53:30 yamt Exp $ */
and the structure "disk_sysctl" is GONE. Line 249 now reads:
#endif as part of defining a "struct dkdriver".
Some pkgsrc system utilities depend on accessing this structure such as pkgsrc/sysutils/xfce4-diskperf-plugin
>How-To-Repeat:
1) Install userland for 3.99.21
2) Examine file /usr/src/sys/sys/disk.h and you will find disk_sysct is missing from version 3.99.21 of current.
>Fix:
None. Source must be rewritten to do without this structure.