NetBSD Problem Report #11994

Received: (qmail 9656 invoked from network); 18 Jan 2001 19:37:00 -0000
Message-Id: <20010118193630.73C86E0C@WintelKiller.HEH.Uni-Oldenburg.DE>
Date: Thu, 18 Jan 2001 20:36:30 +0100 (MET)
From: Thilo.Manske@HEH.Uni-Oldenburg.DE
Reply-To: Thilo.Manske@HEH.Uni-Oldenburg.DE
To: gnats-bugs@gnats.netbsd.org
Subject: -current kernel panics immediatly after boot on a R4K pmax
X-Send-Pr-Version: 3.95

>Number:         11994
>Category:       port-pmax
>Synopsis:       -current kernel panics immediatly after boot on a R4K pmax
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-pmax-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 18 19:38:00 +0000 2001
>Closed-Date:    Tue Apr 24 13:48:56 +0000 2001
>Last-Modified:  Tue Apr 24 13:48:56 +0000 2001
>Originator:     Thilo Manske
>Release:        NetBSD 1.5Q (current) from Jan 18 and before
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:


NetBSD 1.5Q (GENERIC) #0: Thu Jan 18 19:35:14 MET 2001
    thilo@Marion:/usr/src/sys/arch/pmax/compile/GENERIC
Personal DECstation 5000/50 (MAXINE)
total memory = 40960 KB
avail memory = 35040 KB
using 537 buffers containing 2148 KB of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R4000 CPU (0x430) Rev. 3.0 with MIPS R4010 FPC Rev. 0.0
cpu0: L1 cache: 8KB/16B instruction, 8KB/16B data, direct mapped
cpu0: L2 cache: 1024KB/32B mixed, no snooping
tc0 at mainbus0: 12.5 MHz clock
ioasic0 at tc0 slot 3 offset 0x0
le0 at ioasic0 offset 0xc0000: address 08:00:2b:39:7d:a7
le0: 32 receive buffers, 8 transmit buffers
scc0 at ioasic0 offset 0x100000: console
mcclock0 at ioasic0 offset 0x200000: mc146818 or compatible
bba0 at ioasic0 offset 0x240000
audio0 at bba0: full duplex, mmap
dtop0 at ioasic0 offset 0x280000
fdc at ioasic0 offset 0x2c0000 not configured
asc0 at ioasic0 offset 0x300000: target 7
xcfb0 at tc0 slot 2 offset 0x0: 1024x768x8
sfb0 at tc0 slot 0 offset 0x0: 1280x1024x8
Beginning old-style SCSI device autoconfiguration
rz5 at asc0 drive 5 slave 0 DEC RX26     (C) DEC rev 0068 (SCSI-1)
boot device: le0

gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

>Description:

After the system has loaded the kernel (via tftp) and found the root
device it panics immediatly:

trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8, epc=0x400238, vaddr=0x480d4
pid=1 cmd=init usp=0x7fffed48 ksp=0xc4867ed8
Stopped in pid 1 (init) at        0x400238:     sw      v0,0(at)
db> trace /t
PC 0x400238: not in kernel space
0+400238 (7f00,c4867f68,3378,7f00) ra 0 sz 0
User-level: pid 1

(Since it's diskless I can't do a crashdump)

I tried kernels made from the GENERIC config file, the R4000 config file + option
"BOOT_DHCP", my own stripped down kernels. (The GENERIC kernel runs fine
on a 2100 and a 5000/20).

Here's the ouptut of my custom kernel with options DIAGNOSTIC and DEBUG:

root file system type: nfs
init: copying out path `/sbin/init' 11
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8, epc=0x400180, vaddr=0x80d4
pid=1 cmd=init usp=0x7fffed88 ksp=0xc4869ed8
Stopped in pid 1 (init) at        0x400180:     lui     gp,0xfc1
db> trace /t
PC 0x400180: not in kernel space
0+400180 (7f00,c4869f68,1a50,7f00) ra 0 sz 0
User-level: pid 1

BTW: I had the same problems with 1.5.1_ALPHA too, but by randomly
adding/removing devices and trying if it boots, I managed to get a working
kernel some way...

>How-To-Repeat:
Try to netboot 1.5 current on a Personal DECstation 5000/50...
>Fix:
>Release-Note:
>Audit-Trail:

From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
To: gnats-bugs@netbsd.org
Cc:  
Subject: re: port-pmax/11994
Date: Tue, 24 Apr 2001 15:32:07 +0200

 This has been fixed by a later revision of sys/arch/mips/locore/mips3.S
 (IIRC).

 This PR can be closed now.
State-Changed-From-To: open->closed 
State-Changed-By: simonb 
State-Changed-When: Tue Apr 24 06:48:14 PDT 2001 
State-Changed-Why:  
The problem is fixed, as per the submitter's previous email. 

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