NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/59759: Core dump on sysupgrade to 11.0 BETA
The following reply was made to PR install/59759; it has been noted by GNATS.
From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 20:48:29 +0100
El 14/11/25 a las 15:20, jspath55%gmail.com@localhost escribió:
>> Number: 59759
>> Category: install
>> Synopsis: Core dump on sysupgrade to 11.0 BETA
>> Confidential: no
>> Severity: non-critical
>> Priority: medium
>> Responsible: install-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Fri Nov 14 14:20:00 +0000 2025
>> Originator: Jim Spath
>> Release: 11.0_BETA
>> Organization:
> N/A
>> Environment:
> NetBSD **** 11.0_BETA NetBSD 11.0_BETA (GENERIC) #0: Tue Oct 28 15:00:36 UTC 2025 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
>> Description:
> I ran sysupgrade on an i386 machine, pointing the cache to:
>
> RELEASEDIR="https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-11/20251028150036Z/i386/
>
> The install/upgrade went well other than a couple errors in postinstall checks. One phase generated a core file from "sh". Usually these commands succeed.
>
> = =
>
> bash-5.2# sh /usr/sbin/postinstall -s /var/cache/sysupgrade/etc.tgz -s /var/cache/sysupgrade/xetc.tgz -d / fix ptyfsoldnodes
> Note: Creating temporary directory /tmp/_postinstall.28261.0/etc.tgz
> Note: Extracting files from /var/cache/sysupgrade/etc.tgz
> Note: Extracting files from /var/cache/sysupgrade/xetc.tgz
> Source directory: /tmp/_postinstall.28261.0/etc.tgz
> (extracted from: /var/cache/sysupgrade/etc.tgz /var/cache/sysupgrade/xetc.tgz)
> Target directory: /
> ptyfsoldnodes fix:
> [1] Bad system call (core dumped) ${HOST_SH} "${MAKEDEV_DIR}/MAKEDEV" -s pty0 2>... |
> Done ${AWK} "\
> BEGIN { before_re = \".*device=...
> Cannot find device major numbers for pty master and slave
> postinstall fixes passed:
> postinstall fixes failed: ptyfsoldnodes
>
> = =
>
>> How-To-Repeat:
> Unknown. This is the only i386 machine I can access, and I am unlikely to roll back to 10.1 now.
>> Fix:
> Unknown.
>
Hi,
I have done the same here in my old Packard Bell i386 laptop on NetBSD 10.1:
I configured sysupgrade.conf
RELEASEDIR="https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-11/20251028150036Z/i386/"
I started a GNU screen session just in case I could follow it out of
home from my phone Termux ssh.
sysupgrade fetch
sysupgrade kernel
sysupgrade modules
reboot
sysupgrade sets
I went out home.
I could not reach the system from ssh anymore (although it responded ok
to ping requests)
I arrive home.
sysupgrade etcupdate
sysupgrade postinstall
and last:
packardbell_netbsd# sh /usr/sbin/postinstall -s
/var/cache/sysupgrade/etc.tgz -s /var/cache/sysupgrade/xetc.tgz -d / fix
makedev
ptyfsoldnodes
Note: Creating temporary directory /tmp/_postinstall.5690.0/etc.tgz
Note: Extracting files from /var/cache/sysupgrade/etc.tgz
Note: Extracting files from /var/cache/sysupgrade/xetc.tgz
Source directory: /tmp/_postinstall.5690.0/etc.tgz
(extracted from: /var/cache/sysupgrade/etc.tgz
/var/cache/sysupgrade/xetc.tgz)
Target directory: /
makedev fix:
(Checking for MAKEDEV from /tmp/_postinstall.5690.0/etc.tgz/dev
instead of /tmp/_postinstall.5690.0)
Copied /tmp/_postinstall.5690.0/etc.tgz/dev/MAKEDEV to /dev/MAKEDEV
(Checking for MAKEDEV.local from
/tmp/_postinstall.5690.0/etc.tgz/dev instead of
/tmp/_postinstall.5690.0/etc.tgz/etc)
ptyfsoldnodes fix:
Removed legacy device node /dev/ptyp0
Removed legacy device node /dev/ptyp1
Removed legacy device node /dev/ttyp0
Removed legacy device node /dev/ttyp1
postinstall fixes passed: makedev ptyfsoldnodes
postinstall fixes failed:
packardbell_netbsd# service sshd stop
Stopping sshd.
packardbell_netbsd# service sshd start
Starting sshd.
packardbell_netbsd#
ssh access returned back.
Regards.
Ramiro
Home |
Main Index |
Thread Index |
Old Index