NetBSD Problem Report #42934

From www@NetBSD.org  Mon Mar  8 04:51:30 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A99E463BFF3
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  8 Mar 2010 04:51:30 +0000 (UTC)
Message-Id: <20100308045130.7AD8063B873@www.NetBSD.org>
Date: Mon,  8 Mar 2010 04:51:30 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: NetBSD/hpcmips can't boot after 5.99.23
X-Send-Pr-Version: www-1.0

>Number:         42934
>Category:       port-hpcmips
>Synopsis:       NetBSD/hpcmips can't boot after 5.99.23
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 08 04:55:00 +0000 2010
>Closed-Date:    Wed Jun 23 08:31:32 +0000 2010
>Last-Modified:  Wed Jun 23 08:31:32 +0000 2010
>Originator:     Jun Ebihara
>Release:        NetBSD 5.99.22 (Nov 30 20:51:38 2009113000000Z)
>Organization:
SOUM Corporation
>Environment:
>Description:
NetBSD/hpcmips can't boot after Dec.2009.

Boot OK:
NetBSD/hpcmips 5.99.22 (200911300000Z)
ftp://ftp.jp.netbsd.org/pub/NetBSD-daily/HEAD/200911300000Z/hpcmips

Boot Fail:
NetBSD/hpcmips 5.99.23 (200912310000Z) or lator.
ftp://ftp.jp.netbsd.org/pub/NetBSD-daily/HEAD/200912310000Z/hpcmips/

error message on gxemul.
cpu0: trying to write an invalid pagemask 0x1fffe000 to COP0_PAGEMASK
[ warning: LOW reference: vaddr=0x00000000000000bc, exception TLBS, pc=0xffffffff8003f3e8 <badaddr+0x14> ]


>How-To-Repeat:
- download kernel newer then dec.2009
ftp://ftp.jp.netbsd.org/pub/NetBSD-daily/HEAD/200912310000Z/hpcmips/
- boot NetBSD/hpcmips machine.
- if you don't have hpcmips machine, install pkgsrc/emulators/gxemul 
and run
# gxemul -e mobilepro770 -X -M 512 kernel/netbsd20091201

>Fix:
On vr_find_dram,comment out badaddr check.
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/hpcmips/vr/vr.c

Update src/sys/arch/mips/mips/mipsX_subr.S to 1.36.
more detail,
 http://mail-index.netbsd.org/source-changes/2010/06/22/msg011146.html

 src/sys/arch/mips/mips/mipsX_subr.S :1.35  .. hpcmips boot fail
 src/sys/arch/mips/mips/mipsX_subr.S :1.36  .. hpcmips boot ok

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: jun@NetBSD.org
State-Changed-When: Sat, 10 Apr 2010 23:10:15 +0000
State-Changed-Why:
apply a workaround for this problem.


State-Changed-From-To: analyzed->closed
State-Changed-By: jun@NetBSD.org
State-Changed-When: Wed, 23 Jun 2010 08:31:32 +0000
State-Changed-Why:
update  src/sys/arch/mips/mips/mipsX_subr.S to 1.36,hpcmips boot again.
thanx simon!


>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.