Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

10.0_RC3 GENERIC locks up during pkgsrc/devel/cmake C++ build



Hi,

I'm trying to build several packages (mlterm etc.) on simh,
but it looks NetBSD/vax 10.0_RC3 GENERIC kernel gets lockup
during devel/cmake build.

gcc(1) requires more than ~350MB to build some C++ sources,
but after about an hour all userland processes looks not respond,
while the kernel responds ping from other hosts.

Does anyone see the similar problem?

I've prepared and put a disk image including whole NetBSD/vax
10.0_RC3 binaries and pkgsrc tree to reproduce this:
 http://teokurebsd.org/netbsd/liveimage/20240221-vax/

 - NetBSD-vax-10.0_RC3-cmake-stall_20240221.img.gz : disk image for simh-vax
 - netbsd-boot-vax : open-simh config file

I can reproduce the problem with the following procedure:

1) Download and gunzip the above NetBSD-vax-10.0_RC3-cmake-stall_20240221.img
2) Also download netbsd-vax-boot config (that specifies the image and NAT etc.)
3) Start open-simh: "simh-vax netbsd-vax-boot"
4) Login as root
5) cd /usr/pkgsrc/devel/cmake && make
 -> All binaries are already installed and cmake bootstrap builds
    are also done, so the problem can be reproduces in an hour:

---

% simh-vax netbsd-boot-vax

MicroVAX 3900 simulator V4.0-0 Current        simh git commit id: e1ce9f4f        Build: Unsupported=include+lib
NAT args:
NAT network setup:
        gateway       =10.0.2.2/24(255.255.255.0)
        DNS           =10.0.2.3
        dhcp_start    =10.0.2.15
  Protocol[State]    FD  Source Address  Port   Dest. Address  Port RecvQ SendQ
/home/tsutsui/simh/netbsd-boot-vax-10> att xq nat:
%SIM-INFO: Eth: opened OS device nat:
/home/tsutsui/simh/netbsd-boot-vax-11> boot cpu
%SIM-INFO: Loading boot code from internal ka655x.bin


KA655X-B V5.3, VMB 2.7
 1) Dansk
 2) Deutsch (Deutschland/sterreich)
 3) Deutsch (Schweiz)
 4) English (United Kingdom)
 5) English (United States/Canada)
 6) Espaol
 7) Franais (Canada)
 8) Franais (France/Belgique)
 9) Franais (Suisse)
10) Italiano
11) Nederlands
12) Norsk
13) Portugus
14) Suomi
15) Svenska
 (1..15): 5
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 dua0
(BOOT/R5:0 DUA0



  2..
-DUA0
  1..0..

>> NetBSD/vax boot [1.12 (Tue Jan 16 08:28:51 UTC 2024)] <<
>> Press any key to abort autoboot 0
nfs_open: must mount first.
open netbsd.vax: Device not configured
> boot netbsd
3546904+185792 [249360+235782]=0x406000
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024
[   1.0000000]     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 10.0_RC3 (GENERIC) #0: Tue Jan 16 08:28:51 UTC 2024
[   1.0000000]	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/vax/compile/GENERIC
[   1.0000000] MicroVAX 3800/3900
[   1.0000000] total memory = 511 MB
[   1.0000000] avail memory = 491 MB
[   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:74:19:ff
[   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.0100030] mt0 at mscpbus0 drive 0: TK50
[   1.0100030] mt1 at mscpbus0 drive 1: TK50
[   1.0200030] mt2 at mscpbus0 drive 2: TK50
[   1.0200030] mt3 at mscpbus0 drive 3: TK50
[   1.0200030] ra0 at mscpbus1 drive 0: RA92
[   1.0300030] ra1 at mscpbus1 drive 1: RD54
[   1.0300030] ra2 at mscpbus1 drive 2: RD54
[   1.0400030] rx0 at mscpbus1 drive 3: RX50
[   1.0400030] WARNING: system needs entropy for security; see entropy(7)
[   1.1000030] swwdog0: software watchdog initialized
[   1.1100030] ra0: size 16777216 sectors
[   1.1100030] ra1: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.1100030] ra2: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.1200030] rx0: attempt to bring on line failed:  unit offline (not mounted) (code 3, subcode 1)
[   1.1200030] WARNING: 3 errors while detecting hardware; check system log.
[   1.1200030] boot device: ra0
[   1.1200030] root on ra0a dumps on ra0b
[   1.1300030] root file system type: ffs
[   1.1300030] kern.module.path=/stand/vax/10.0/modules
Sat Feb 24 02:47:11 UTC 2024
Starting root file system check:
/dev/rra0a: file system is clean; not checking
[   6.3700030] entropy: best effort
Setting sysctl variables:
ddb.onpanic: 1 -> 0
swapctl: setting dump device to /dev/ra0b
swapctl: adding /dev/ra0b as swap device at priority 0
Starting file system checks:
[  10.2100030] entropy: ready
Loaded entropy from /var/db/entropy-file.
Waiting for entropy...done
Setting tty flags.
Starting network.
Hostname: microvax
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
Building databases: dev, utmp, utmpx.
Starting syslogd.
Setting date via ntp.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/ra0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Fri Feb 23 17:50:37 UTC 2024

NetBSD/vax (microvax) (constty)

login: root
Feb 23 17:50:41 microvax login: ROOT LOGIN (root) on tty constty
Last login: Sun Feb 18 03:38:06 2024 on constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    2024
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 10.0_RC3 (GENERIC) #0: Tue Jan 16 08:28:51 UTC 2024

Welcome to NetBSD!

This is a release candidate for NetBSD.

Bug reports: https://www.NetBSD.org/support/send-pr.html
Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/
We recommend that you create a non-root account and use su(1) for root access.
No entry for terminal type "unknown";
using dumb terminal settings.
microvax# cd /usr/pkgsrc/devel/cmake
microvax# make
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Invoking ``all'' after barrier for cmake-3.28.1
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for cmake-3.28.1
[  3%] Built target cmsys
[  4%] Built target cmsys_c
[  4%] Built target cmsysTestsC
[  5%] Built target testConsoleBufChild
[  5%] Built target cmsysTestDynload
[  8%] Built target cmsysTestsCxx
[  9%] Built target cmsysTestProcess
[ 10%] Built target cmstd
[ 10%] Built target cmjsoncpp
[ 11%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGeneratorTarget.cxx.o


---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index