NetBSD Problem Report #54089

From www@netbsd.org  Sat Mar 30 07:17:00 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 775257A173
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Mar 2019 07:17:00 +0000 (UTC)
Message-Id: <20190330071658.E8E257A1D0@mollari.NetBSD.org>
Date: Sat, 30 Mar 2019 07:16:58 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: vax installer does not boot (init dies)
X-Send-Pr-Version: www-1.0

>Number:         54089
>Category:       port-vax
>Synopsis:       vax installer does not boot (init dies)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 30 07:20:00 +0000 2019
>Closed-Date:    Sat Dec 28 14:36:33 +0000 2019
>Last-Modified:  Sat Dec 28 14:36:33 +0000 2019
>Originator:     coypu
>Release:        NetBSD 8.99.36 (2019 March 28 ish sources)
>Organization:
>Environment:
NetBSD 8.99.36 (GENERIC) #0: Fri Mar 29 18:34:31 IDT 2019	fly@plu:/home/fly/vax/sys/arch/vax/compile/GENERIC
>Description:
> cat netbsd-boot
load -r /usr/pkg/share/simh/ka655x.bin
set cpu 64m
set rq0 ra92
at rq0 netbsd.dsk
set rq1 cdrom
at rq1 /home/fly/vax/releasedir/images/NetBSD-8.99.36-vax.iso
at xq0 name-of-network-interface-on-host
boot cpu





> /usr/pkg/bin/simh-vax netbsd-boot

MicroVAX 3900 simulator V4.0-0 Current        git commit id: 0fe4bf32        Build: Unsupported=include+lib
netbsd-boot-6> at rq1 /home/fly/vax/releasedir/images/NetBSD-8.99.36-vax.iso
RQ1: unit is read only
libpcap version 1.9.0-PRE-GIT
netbsd-boot-7> at xq0 name-of-network-interface-on-host
Eth: pcap_open_live error - name-of-network-interface-on-host: You don't have permission to capture on that device ((cannot open device) /dev/bpf: Permission denied)
Eth: open error - name-of-network-interface-on-host: You don't have permission to capture on that device ((cannot open device) /dev/bpf: Permission denied)


KA655-B V5.3, VMB 2.7
Performing normal system tests.
40..39..38..37..36..35..34..33..32..31..30..29..28..27..26..25..
24..23..22..21..20..19..18..17..16..15..14..13..12..11..10..09..
08..07..06..05..04..03..
Tests completed.
>>>boot dua1:
(BOOT/R5:0 DUA1



  2..
-DUA1
  1..0..


>> NetBSD/vax boot [1.12 (Fri Mar 29 15:06:01 UTC 2019)] <<
>> Press any key to abort autoboot 0                       
getdisklabel: no disk label         
nfs_open: must mount first.
open netbsd.vax: No such file or directory
> boot netbsd                             
getdisklabel: no disk label
nfs_open: must mount first.
3273064+206092 [247760+232195]=0x3c6d20
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.36 (GENERIC) #0: Fri Mar 29 18:34:31 IDT 2019
[   1.0000000] 	fly@plu:/home/fly/vax/sys/arch/vax/compile/GENERIC
[   1.0000000] MicroVAX 3800/3900
[   1.0000000] total memory = 65468 KB
[   1.0000000] avail memory = 58988 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: KA655, CVAX microcode rev 6 Firmware rev 83
[   1.0000000] lance at mainbus0 not configured
[   1.0000000] uba0 at mainbus0: Q22
[   1.0000000] dz1 at uba0 csr 160100 vec 304 ipl 17
[   1.0000000] mtc0 at uba0 csr 174500 vec 774 ipl 17
[   1.0000000] mscpbus0 at mtc0: version 5 model 3
[   1.0000000] mscpbus0: DMA burst size set to 4
[   1.0000000] uda0 at uba0 csr 172150 vec 770 ipl 17
[   1.0000000] mscpbus1 at uda0: version 3 model 3
[   1.0000000] mscpbus1: DMA burst size set to 4
[   1.0000000] qt0 at uba0 csr 174440 vec 764 ipl 17
[   1.0000000] qt0: delqa-plus in Turbo mode, hardware address 08:00:2b:a3:3e:89
[   1.0000000] rlc0 at uba0 csr 174400 vec 160 ipl 17
[   1.0000000] rl0 at rlc0 drive 0: RL01, drive not loaded
[   1.0000000] rl1 at rlc0 drive 1: RL01, drive not loaded
[   1.0000000] rl2 at rlc0 drive 2: RL01, drive not loaded
[   1.0000000] rl3 at rlc0 drive 3: RL01, drive not loaded
[   1.0000000] ts0 at uba0 csr 172520 vec 224 ipl 17: TS11
[   1.0000000] ts0: rev 0, extended features disabled, transport offline
[   1.0800080] mt0 at mscpbus0 drive 0: TK50
[   1.0800080] mt1 at mscpbus0 drive 1: TK50
[   1.0800080] mt2 at mscpbus0 drive 2: TK50
[   1.0800080] mt3 at mscpbus0 drive 3: TK50
[   1.0800080] ra0 at mscpbus1 drive 0: RA92
[   1.1000080] racd0 at mscpbus1 drive 1: RRD40
[   1.1000080] ra1 at mscpbus1 drive 2: RD54
[   1.1000080] rx0 at mscpbus1 drive 3: RX50
[   1.1300080] ra0: no disk label: size 12288000 sectors
[   1.1400080] racd0: size 557224 sectors
[   1.1400080] ra1: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.1400080] rx0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.1500080] WARNING: 2 errors while detecting hardware; check system log.
[   1.1500080] boot device: racd0
[   1.1500080] root on racd0a dumps on racd0b
[   1.1500080] root file system type: cd9660
[   1.1500080] kern.module.path=/stand/vax/8.99.36/modules
[   1.3600080] panic: init died (signal 0, exit 1)
[   1.3600080] cpu0: Begin traceback...
[   1.3600080] panic: init died (signal 0, exit 1)
[   1.3700080] Stack traceback : 
[   1.3700080] 	 Process is executing in user space.
[   1.3700080] cpu0: End traceback...
Stopped in pid 1.1 (init) at    netbsd:vpanic+0xc5:     pushl   $0
db> 
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-vax/54089: vax installer does not boot (init dies)
Date: Sat, 30 Mar 2019 17:30:49 +0100

 simh seems to be broken in pkgsrc, it does not boot my old images either
 (which used to work).

 Martin

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-vax/54089: vax installer does not boot (init dies)
Date: Sat, 30 Mar 2019 17:37:05 +0100

 Btw: why does no console attach?

 Martin

From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-vax/54089: vax installer does not boot (init dies)
Date: Sat, 30 Mar 2019 16:50:04 +0000

 I can boot 8.0. I suspect the problem is jemalloc at this point, since
 I've heard armv7 is similarly broken.

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org, christos@NetBSD.org
Cc: 
Subject: Re: port-vax/54089: vax installer does not boot (init dies)
Date: Sat, 30 Mar 2019 21:25:14 +0200

 I can confirm that booting the vax install media in simh works
 before this commit:

   2019.03.28.15.45.23 christos src/share/mk/bsd.own.mk 1.1119

 and fails with "init died" after it.
 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 07 Dec 2019 01:25:07 +0000
State-Changed-Why:
this seems to be fixed (for a while now).  can you confirm?  thanks!


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 28 Dec 2019 14:36:33 +0000
State-Changed-Why:
confirmed fixed, including in -9


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.