NetBSD Problem Report #559

From gnats  Sun Nov  6 12:57:45 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id MAA01960 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 6 Nov 1994 12:57:44 -0800
Message-Id: <199411060738.XAA09581@helix.CS.ORST.EDU>
Date: Sat, 5 Nov 1994 23:38:49 -0800
From: thorpej@cs.orst.edu
Reply-To: thorpej@cs.orst.edu
To: gnats-bugs@NetBSD.ORG
Subject: hp300 swapgeneric.c broken - panic: jump to zero
X-Send-Pr-Version: 3.2

>Number:         559
>Category:       port-hp300
>Synopsis:       hp300 swapgeneric.c broken - panic: jump to zero
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 06 13:05:01 +0000 1994
>Closed-Date:    Sun Nov 06 21:49:13 +0000 1994
>Last-Modified:  
>Originator:     
>Release:        1.0
>Organization:
--------------------------------------------------------------------------
Jason R. Thorpe               thorpej@cs.orst.edu                 758-2003
Systems Administrator            CSWest Room 5                    737-5567
CS Dept, Oregon State University           http://www.cs.orst.edu/~thorpej
               "I brought my BOWLING BALL -- and some DRUGS!"
                      -- ztp
>Environment:

System: NetBSD helix 1.0 NetBSD 1.0 (HELIX) #42: Fri Nov 4 00:05:31 PST 1994 thorpej@helix:/usr/src/sys/arch/hp300/compile/HELIX hp300


>Description:
	Well - speaks for itself, really.
>How-To-Repeat:
	Put the following in your kernel config and try to use the resulting
	kernel:

	config netbsd swap generic
>Fix:
	Well, after chatting with cgd on the phone for a bit, he suggested
	the following, which works quite well...
	(to .../hp300/swapgeneric.c)

*** swapgeneric.c.orig	Sat Nov  5 21:30:40 1994
--- swapgeneric.c	Sat Nov  5 23:27:00 1994
***************
*** 51,57 ****
  int	nswap;
  struct	swdevt swdevt[] = {
  	{ -1,	1,	0 },
! 	{ 0,	0,	0 },
  };
  int	dmmin, dmmax, dmtext;

--- 51,57 ----
  int	nswap;
  struct	swdevt swdevt[] = {
  	{ -1,	1,	0 },
! 	{ NODEV,	0,	0 },
  };
  int	dmmin, dmmax, dmtext;

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Sun Nov 6 13:49:13 PST 1994 
State-Changed-Why:  
applied patch 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.