Subject: port-hp300/303: config netbsd swap generic --- broken
To: None <gnats-admin>
From: Jason R. Thorpe <thorpej@yuri.CS.ORST.EDU>
List: netbsd-bugs
Date: 06/23/1994 23:35:03
>Number: 303
>Category: port-hp300
>Synopsis: config netbsd swap generic --- broken
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 23 23:35:02 1994
>Originator: Jason R. Thorpe
>Organization:
Oregon State University
Computer Science Outreach Services
>Release:
>Environment:
System:
NetBSD 0.9C (FOUNDATION) #2: Sun Jun 19 11:50:03 PDT 1994
downsj@foundation:/usr/src/sys/arch/hp300/compile/FOUNDATION
>Description:
The kernel won't link with:
'config netbsd swap generic'
Unresolved symbol: ufs_mountroot
$Id: swapgeneric.c,v 1.4 1994/01/20 02:17:17 brezak Exp $
>How-To-Repeat:
put 'config netbsd swap generic' in your kernel config...
>Fix:
the following patch to sys/arch/hp300/hp300/swapgeneric.c
fixes the problem...ufs_mountroot was replaced by ffs_mountroot.
*** distribution/swapgeneric.c Thu Jun 23 16:57:21 1994
--- swapgeneric.c Thu Jun 23 17:02:57 1994
***************
*** 70,77 ****
{ 0 },
};
! extern int ufs_mountroot();
! int (*mountroot)() = ufs_mountroot;
setconf()
{
--- 70,77 ----
{ 0 },
};
! extern int ffs_mountroot();
! int (*mountroot)() = ffs_mountroot;
setconf()
{
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------