NetBSD Problem Report #10874

Received: (qmail 25170 invoked from network); 22 Aug 2000 09:42:26 -0000
Message-Id: <200008220942.e7M9gMJ00271@News.T>
Date: Tue, 22 Aug 2000 11:42:22 +0200 (MEST)
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
Reply-To: Thilo.Manske@HEH.Uni-Oldenburg.DE
To: gnats-bugs@gnats.netbsd.org
Subject: secondary bootstrap fails when netbooting a NWS 3410
X-Send-Pr-Version: 3.95

>Number:         10874
>Category:       port-newsmips
>Synopsis:       secondary bootstrap crashes when netbooted
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    tsutsui
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 09:43:00 +0000 2000
>Closed-Date:    
>Last-Modified:  Sat Jan 02 09:05:34 +0000 2010
>Originator:     Thilo Manske
>Release:        NetBSD 1.4 to 1.5_ALPHA2 (never worked for me)
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:

NetBSD 1.5_ALPHA2 (News) #38: Sun Aug 20 18:19:44 MEST 2000
    thilo@News:/usr/src/sys/arch/newsmips/compile/News
total memory = 16352 KB
avail memory = 12704 KB
using 512 buffers containing 2048 KB of memory
SONY NET WORK STATION, Model NWS-3410, Machine ID #50053
mainbus0 (root)
cpu0 at mainbus0: MIPS R3000 CPU (0x220) Rev. 2.0 with MIPS R3010 FPC Rev.  2.0
cpu0: 64KB Instruction, 64KB Data, direct mapped cache
hb0 at mainbus0 
le0 at hb0 addr 0xbff80000 level 1: address 08:00:46:00:67:11
le0: 8 receive buffers, 2 transmit buffers
mkclock0 at hb0 addr 0xbff407f8
zsc0 at hb0 addr 0xbfec0000 level 1
zstty1 at zsc0 channel 1 (console i/o)
sc0 at hb0 addr 0xbfe00100 level 0
scsibus0 at sc0: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...


>Description:
The secondary bootstrap (/usr/mdec/boot) crashes when trying to netboot:
(bootdevice tftp)

NetBSD/newsmips Secondary Boot

TLB miss exception (Load or instruction fetch)
cause=8, sr=40c404, badvaddr=4c, epc=a07066a0
[Freeze]

Compiled with BOOT_DEBUG (common and boot):

NetBSD/newsmips Secondary Boot
HB system.
howto = 0x0
bootdev = 0xffffffff
bootname = /tftpboot/a020005.news3400
maxmem = 0xff8000

TLB miss exception (Load or instruction fetch)
cause=8, sr=40c404, badvaddr=4c, epc=a0706800
[Freeze]

>How-To-Repeat:
See above
>Fix:
Not known, the workaround I use:
Make a copy of your kernel in ecoff format with objcopy(1) and
boot that with tftpboot (in usr/mdec.mips) from NEWS OS 4.1.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 31 Dec 2009 05:38:22 +0000
State-Changed-Why:
Do you (or anyone else) still have this problem?


From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: port-newsmips-maintainer@NetBSD.org, netbsd-bugs@NetBSD.org,
        gnats-admin@NetBSD.org, dholland@NetBSD.org,
        Thilo.Manske@HEH.Uni-Oldenburg.DE, tsutsui@ceres.dti.ne.jp
Subject: Re: port-newsmips/10874 (secondary bootstrap crashes when netbooted)
Date: Thu, 31 Dec 2009 14:52:12 +0900

 > Synopsis: secondary bootstrap crashes when netbooted
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Thu, 31 Dec 2009 05:38:22 +0000
 > State-Changed-Why:
 > Do you (or anyone else) still have this problem?

 Well, netboot on NWS-3xxx machines is not supported (yet?).
 It only works on NWS-5000 machines which support tftp() on PROM.

 Should the bootloader warn about it?
 ---
 Izumi Tsutsui

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-newsmips/10874 (secondary bootstrap crashes when
	netbooted)
Date: Thu, 31 Dec 2009 06:19:22 +0000

 On Thu, Dec 31, 2009 at 05:55:03AM +0000, Izumi Tsutsui wrote:
  >  Well, netboot on NWS-3xxx machines is not supported (yet?).
  >  It only works on NWS-5000 machines which support tftp() on PROM.
  >  
  >  Should the bootloader warn about it?

 It should do something other than stepping on a null pointer... :-/

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: port-newsmips-maintainer->tsutsui
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Sat, 02 Jan 2010 18:05:34 +0900
Responsible-Changed-Why:
This has been in my todo with lower priority


State-Changed-From-To: feedback->analyzed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sat, 02 Jan 2010 18:05:34 +0900
State-Changed-Why:
Needs some workaround.
Note even though NWS-3410 is disless model but it also has
a SCSI interface and you can boot NetBSD from SCSI disk or floppy.
To make SCSI default boot device, use "set bootdev=scsi" on PROM prompt.


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