NetBSD Problem Report #59759

From www@netbsd.org  Fri Nov 14 14:15:11 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6DC0C1A923A
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 14 Nov 2025 14:15:11 +0000 (UTC)
Message-Id: <20251114141510.255361A923C@mollari.NetBSD.org>
Date: Fri, 14 Nov 2025 14:15:10 +0000 (UTC)
From: jspath55@gmail.com
Reply-To: jspath55@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Core dump on sysupgrade to 11.0 BETA
X-Send-Pr-Version: www-1.0

>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
>Last-Modified:  Wed Nov 26 21:25:01 +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:/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.

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 15:24:46 +0100

 On Fri, Nov 14, 2025 at 02:20:01PM +0000, jspath55@gmail.com wrote:
 > 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>... |

 What kernel have you been running at that point? You can't complete a userland
 update from 10 to 11 without first booting a 11.* kernel.

 Martin

From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 09:31:21 -0500

 On Fri, Nov 14, 2025 at 9:25=E2=80=AFAM Martin Husemann via gnats
 <gnats-admin@netbsd.org> wrote:
 >  What kernel have you been running at that point? You can't complete a us=
 erland
 >  update from 10 to 11 without first booting a 11.* kernel.

 I believe that message was before a reboot from 10.1 to 11 beta.

 Because I was unaware whether sysugrade would work, I also upgraded an
 amd64 system, without getting a core dump.
 Jim

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 15:38:57 +0100

 On Fri, Nov 14, 2025 at 02:35:01PM +0000, Jim Spath via gnats wrote:
 >  I believe that message was before a reboot from 10.1 to 11 beta.

 That would be a sysupgrade bug. I don't know anything about sysupgrade
 and the expected work flow, sorry.

 Martin

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 10:39:01 -0500

 --Apple-Mail=_E5990569-972A-4E06-9ACA-FC09C57EB613
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii

 Can you find out what program core dumped and what system call? There =
 should be a <something>.core somewhere (perhaps in /dev or /) and then =
 you can just gdb <something> <something>.core and type where

 christos


 --Apple-Mail=_E5990569-972A-4E06-9ACA-FC09C57EB613
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org

 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaRdNFQAKCRBxESqxbLM7
 OolrAJ4ikGK4CB9gIWGJorqOGRuWdyjm+ACfS9KZsvNJs73HA2kNKtOQv2rFlzw=
 =w0oO
 -----END PGP SIGNATURE-----

 --Apple-Mail=_E5990569-972A-4E06-9ACA-FC09C57EB613--

From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 11:07:02 -0500

 On Fri, Nov 14, 2025 at 10:40=E2=80=AFAM Christos Zoulas via gnats
 <gnats-admin@netbsd.org> wrote:
 >  Can you find out what program core dumped and what system call? There =
 =3D
 >  should be a <something>.core somewhere (perhaps in /dev or /) and then =
 =3D
 >  you can just gdb <something> <something>.core and type where

 The core was from "sh". But it doesn't have a stack, it seems:

 $ gdb sh.core
 GNU gdb (GDB) 15.1
 ...
 "/root/sh.core": not in executable format: file format not recognized
 (gdb) where
 No stack.

 $ file sh.core
 sh.core: ELF 32-bit LSB core file, Intel 80386, version 1 (SYSV),
 NetBSD-style, from 'sh', pid=3D29325, uid=3D0, gid=3D0, nlwps=3D1, lwp=3D0
 (signal 12/code 32767)

 Jim

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Fri, 14 Nov 2025 18:13:32 +0100

 On Fri, Nov 14, 2025 at 04:10:02PM +0000, Jim Spath via gnats wrote:
 >  The core was from "sh". But it doesn't have a stack, it seems:

 This is exactly the expected symptoms when using a 10.x kernel but
 11.x userland, so no point in checking for crash details.

 Martin

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org
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 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:/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



From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Mon, 17 Nov 2025 15:10:30 -0500

 On Fri, Nov 14, 2025 at 12:15=E2=80=AFPM Martin Husemann via gnats
 <gnats-admin@netbsd.org> wrote:
 >  This is exactly the expected symptoms when using a 10.x kernel but
 >  11.x userland, so no point in checking for crash details.

 Apologies for my naivete in not expecting this. Could the ticket be
 changed to a doc-bug?

 Suggested wording for the sysupgrade (pkgsrc) manual page:

 =3D =3D
 .Sh RESTRICTIONS
 The sysupgrade command may encounter issues if the userland version is newe=
 r
 than the kernel version, including shell command core dumps.
 =3D =3D

 I am uncertain whether rebooting sooner into the newer 11.x kernel
 would make a difference;
 and, this is not how I have run sysupgrade in the past.

 Jim

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org,
 jspath55@gmail.com
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Mon, 17 Nov 2025 16:52:08 -0500

 --Apple-Mail=_BEB6CFD4-C6FC-4792-9525-0523761500E2
 Content-Type: multipart/alternative;
 	boundary="Apple-Mail=_CA000123-95AF-4A26-BA64-01AE6646100B"


 --Apple-Mail=_CA000123-95AF-4A26-BA64-01AE6646100B
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8



 > On Nov 17, 2025, at 3:15=E2=80=AFPM, Jim Spath via gnats =
 <gnats-admin@NetBSD.org> wrote:
 >=20
 > The following reply was made to PR install/59759; it has been noted by =
 GNATS.
 >=20
 > From: Jim Spath <jspath55@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:=20
 > Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
 > Date: Mon, 17 Nov 2025 15:10:30 -0500
 >=20
 > On Fri, Nov 14, 2025 at 12:15=3DE2=3D80=3DAFPM Martin Husemann via =
 gnats
 > <gnats-admin@netbsd.org> wrote:
 >> This is exactly the expected symptoms when using a 10.x kernel but
 >> 11.x userland, so no point in checking for crash details.
 >=20
 > Apologies for my naivete in not expecting this. Could the ticket be
 > changed to a doc-bug?
 >=20
 > Suggested wording for the sysupgrade (pkgsrc) manual page:
 >=20
 > =3D3D =3D3D
 > .Sh RESTRICTIONS
 > The sysupgrade command may encounter issues if the userland version is =
 newe=3D
 > r
 > than the kernel version, including shell command core dumps.
 > =3D3D =3D3D
 >=20
 > I am uncertain whether rebooting sooner into the newer 11.x kernel
 > would make a difference;
 > and, this is not how I have run sysupgrade in the past.

 =
 https://netbsd.org/docs/guide/en/netbsd.html?utm_source=3Dchatgpt.com#usin=
 g-sysupgrade
 This is already documented.
 Note

 Take care when upgrading across major releases - ensure your running =
 kernel is never older than the userspace.


 christos=

 --Apple-Mail=_CA000123-95AF-4A26-BA64-01AE6646100B
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=utf-8

 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
 content=3D"text/html; charset=3Dutf-8"></head><body =
 style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
 line-break: after-white-space;"><br =
 id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
 type=3D"cite"><div>On Nov 17, 2025, at 3:15=E2=80=AFPM, Jim Spath via =
 gnats &lt;gnats-admin@NetBSD.org&gt; wrote:</div><br =
 class=3D"Apple-interchange-newline"><div><div>The following reply was =
 made to PR install/59759; it has been noted by GNATS.<br><br>From: Jim =
 Spath &lt;jspath55@gmail.com&gt;<br>To: gnats-bugs@netbsd.org<br>Cc: =
 <br>Subject: Re: install/59759: Core dump on sysupgrade to 11.0 =
 BETA<br>Date: Mon, 17 Nov 2025 15:10:30 -0500<br><br> On Fri, Nov 14, =
 2025 at 12:15=3DE2=3D80=3DAFPM Martin Husemann via gnats<br> =
 &lt;gnats-admin@netbsd.org&gt; wrote:<br><blockquote type=3D"cite"> This =
 is exactly the expected symptoms when using a 10.x kernel but<br> 11.x =
 userland, so no point in checking for crash =
 details.<br></blockquote><br> Apologies for my naivete in not expecting =
 this. Could the ticket be<br> changed to a doc-bug?<br><br> Suggested =
 wording for the sysupgrade (pkgsrc) manual page:<br><br> =3D3D =3D3D<br> =
 .Sh RESTRICTIONS<br> The sysupgrade command may encounter issues if the =
 userland version is newe=3D<br> r<br> than the kernel version, including =
 shell command core dumps.<br> =3D3D =3D3D<br><br> I am uncertain whether =
 rebooting sooner into the newer 11.x kernel<br> would make a =
 difference;<br> and, this is not how I have run sysupgrade in the =
 past.<br></div></div></blockquote></div><br><div><div style=3D"display: =
 block;"><div style=3D"-webkit-user-select: all; -webkit-user-drag: =
 element; display: inline-block;" class=3D"apple-rich-link" =
 draggable=3D"true" role=3D"link" =
 data-url=3D"https://netbsd.org/docs/guide/en/netbsd.html?utm_source=3Dchat=
 gpt.com#using-sysupgrade"><a =
 style=3D"border-radius:10px;font-family:-apple-system, Helvetica, Arial, =
 sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:=
 none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;t=
 ext-decoration:none;" class=3D"lp-rich-link" rel=3D"nofollow" =
 href=3D"https://netbsd.org/docs/guide/en/netbsd.html?utm_source=3Dchatgpt.=
 com#using-sysupgrade" dir=3D"ltr" role=3D"button" draggable=3D"false" =
 width=3D"300"><table =
 style=3D"table-layout:fixed;border-collapse:collapse;width:300px;backgroun=
 d-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, =
 sans-serif;" class=3D"lp-rich-link-emailBaseTable" cellpadding=3D"0" =
 cellspacing=3D"0" border=3D"0" width=3D"300"><tbody><tr><td =
 vertical-align=3D"center"><table bgcolor=3D"#E5E6E9" cellpadding=3D"0" =
 cellspacing=3D"0" width=3D"300" =
 style=3D"table-layout:fixed;font-family:-apple-system, Helvetica, Arial, =
 sans-serif;background-color:rgba(229, 230, 233, 1);" =
 class=3D"lp-rich-link-captionBar"><tbody><tr><td style=3D"padding:8px =
 0px 8px 0px;" class=3D"lp-rich-link-captionBar-textStackItem"><div =
 style=3D"max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" =
 class=3D"lp-rich-link-captionBar-textStack"><div =
 style=3D"word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidd=
 en;text-overflow:ellipsis;text-align:left;" =
 class=3D"lp-rich-link-captionBar-textStack-bottomCaption-leading"><a =
 rel=3D"nofollow" =
 href=3D"https://netbsd.org/docs/guide/en/netbsd.html?utm_source=3Dchatgpt.=
 com#using-sysupgrade" style=3D"text-decoration: none" =
 draggable=3D"false"><font color=3D"#808080" style=3D"color: rgba(0, 0, =
 0, 0.498039);">netbsd.org</font></a></div></div></td><td =
 style=3D"padding:0px 12px 0px 0px;" =
 class=3D"lp-rich-link-captionBar-rightIconItem" width=3D"32"><a =
 rel=3D"nofollow" =
 href=3D"https://netbsd.org/docs/guide/en/netbsd.html?utm_source=3Dchatgpt.=
 com#using-sysupgrade" draggable=3D"false"><img =
 src=3D"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATA=
 AANBGlDQ1BrQ0dDb2xvclNwYWNlR2VuZXJpY0dyYXlHYW1tYTJfMgAAWIWlVwdck9cWv9/IAJK=
 wp4ywkWVAgQAyIjOA7CG4iEkggRBiBgLiQooVrFscOCoqilpcFYE6UYtW6satD2qpoNRiLS6sv=
 psEEKvte+/3vvzud//fPefcc8495557A4DuRo5EIkIBAHliuTQikZU+KT2DTroHyMAYaAN3oM3=
 hyiSs+PgYyALE+WI++OR5cQMgyv6am3KuT+n/+BB4fBkX9idhK+LJuHkAIOMBIJtxJVI5ABqT4=
 LjtLLlEiUsgNshNTgyBeDnkoQzKKh+rCL6YLxVy6RFSThE9gpOXx6F7unvS46X5WULRZ6z+f58=
 8kWJYN2wUWW5SNOzdof1lPE6oEvtBfJDLCUuCmAlxb4EwNRbiYABQO4l8QiLEURDzFLkpLIhdI=
 a7PkoanQBwI8R2BIlKJxwGAmRQLktMgNoM4Jjc/WilrA3GWeEZsnFoX9iVXFpIBsRPELQI+Wxk=
 zO4gfS/MTlTzOAOA0Hj80DGJoB84UytnJg7hcVpAUprYTv14sCIlV6yJQcjhR8RA7QOzAF0Ukq=
 uchxEjk8co54TehQCyKjVH7RTjHl6n8hd9EslyQHAmxJ8TJcmlyotoe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K97S7N8lTRYtQR+sSjOAdCZLPJK2LjarKh0lTCsraJs4vihyOoAd=
 r0cF2GI/MNoEtRGiyGhJZNvqQ5ydP0D0P2Y3n9OSxjx6lfkFRNBuM5kyc4Ih18wex5bxRbSZyQ=
 SrVYxmeEXjSplL4XoyIC9ZugtXsHBGv0RxrZi5vHDhE0Bia6Ajl9+UK2YX7zJ2iHifqWBlG3qI=
 I0IopQnZzJCpJ2B47cZueAq6ZtYujt1jBcdb0skZ5APYTMGojB4gc2IV7RjLNdh11IXMcH2AfJ=
 uTQxRd2nO6jNHgalaM2bkNFMosvbK/QUkqBMjlvG/jcNwnuo7uRr8ckmsu4znaOr2qVtoh6qN2=
 iVsogFYmIMnhKt4IXkd691C+xB3NTwA0b+dI6qD+26OKz54HGCJurYEoGP6gNcvzNJslzNMI34=
 IXyvHIgKT/LeTuSq2J7Hv1MMzDAt5mjUdYNjMNFqE/MXBTuqfIZgJd0t/FN4yfbQcK+sh/AHtb=
 tMEcRiXxDdFCb4JsNRByblMp/h1BlbDvJvF4XsMMwXhDHq/wHOZxXfk+3b8h+ApbaBvyOi1ZFf=
 RwKrb6bNJPVN2RI4zAhOUKzeMAqbRMDpamYSx2cFG+GGkfEE99ih/YE4Wm7wnTmwpKy8ULOkub=
 VwodWqdQnnZghUFQiayZRoz2+2xfhFL15bKQ3HGuDJpuU1aTXqHIsv1coYFI8zmOkmbG8hZzF3=
 iRUMegodOI02okY5eEY5+6K+CNoZ+10RMZxiPlzXJiiau9nqYV3tK6U5DOFIV59SnfYf0WKyoj=
 k0AJn2bcygq1Yw2gK+IAXuMtt+ZH2P4hGNJKoWG5pmQpNtr8Q/ZiS8ZZu7io0SWglIPw/ZPdsV=
 SL+B/0XbavPp+1g66wAAAAASUVORK5CYII=3D" draggable=3D"false" =
 style=3D"pointer-events:none =
 !important;display:inline-block;width:32px;height:32px;" =
 class=3D"lp-rich-link-captionBar-rightIcon" width=3D"32" =
 height=3D"32"></a></td></tr></tbody></table></td></tr></tbody></table></a>=
 </div></div><br></div><div>This is already documented.</div><div><div =
 class=3D"note" style=3D"font-size: 16px; background-color: rgb(245, 245, =
 245); border-color: rgb(212, 212, 212); border-style: solid; =
 border-width: thin; padding: 5pt; color: rgb(52, 73, 94); font-family: =
 sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; =
 text-decoration-thickness: initial; text-decoration-style: initial; =
 text-decoration-color: initial; margin-left: 0.5in; margin-right: =
 0.5in;"><h3 class=3D"title" style=3D"line-height: 1em; font-size: =
 24px;">Note</h3><p>Take care when upgrading across major releases - =
 ensure your running kernel is never older than the =
 userspace.</p></div><br =
 class=3D"Apple-interchange-newline"></div><div>christos</div></body></html=
 >=

 --Apple-Mail=_CA000123-95AF-4A26-BA64-01AE6646100B--

 --Apple-Mail=_BEB6CFD4-C6FC-4792-9525-0523761500E2
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org

 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaRuZCAAKCRBxESqxbLM7
 Ojo+AKCjCaks3galABKpR59E/p5wt51sjACfQFBbFAa5UjgcIIgp86b/NZ9pWV4=
 =WT3z
 -----END PGP SIGNATURE-----

 --Apple-Mail=_BEB6CFD4-C6FC-4792-9525-0523761500E2--

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org,
 jspath55@gmail.com
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Mon, 17 Nov 2025 16:53:32 -0500

 --Apple-Mail=_AAB79DCA-056A-4576-971E-DE5DDCE59235
 Content-Type: multipart/alternative;
 	boundary="Apple-Mail=_2B3528C4-6D7A-4ACC-8BD3-81488BE1A4A2"


 --Apple-Mail=_2B3528C4-6D7A-4ACC-8BD3-81488BE1A4A2
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii

 And also in tracking current: =
 https://www.netbsd.org/docs/current/?utm_source=3Dchatgpt.com#using-anoncv=
 s

 When upgrading to a more recent version of -current you should always =
 install and boot a new kernel before installing any new libs (* =
 <https://www.netbsd.org/docs/current/?utm_source=3Dchatgpt.com#star>). =
 In general the best approach is to try the new kernel before anything =
 else, and if you hit any problems see the entry in the Kernel FAQ =
 <https://www.netbsd.org/docs/kernel/#problems_compiling_a_current_kernel>.=






 --Apple-Mail=_2B3528C4-6D7A-4ACC-8BD3-81488BE1A4A2
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=us-ascii

 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
 content=3D"text/html; charset=3Dus-ascii"></head><body =
 style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
 line-break: after-white-space;">And also in tracking =
 current:&nbsp;https://www.netbsd.org/docs/current/?utm_source=3Dchatgpt.co=
 m#using-anoncvs<div><br></div><div><ul class=3D"itemizedlist" =
 style=3D"font-size: 16px; color: rgb(52, 73, 94); font-family: =
 sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; =
 background-color: rgb(255, 255, 255); text-decoration-thickness: =
 initial; text-decoration-style: initial; text-decoration-color: =
 initial;"><li class=3D"listitem" style=3D"line-height: 1.3em;"><p =
 style=3D"margin: 1em 0px 1.5em; padding: 0px; line-height: 1.3em;">When =
 upgrading to a more recent version of -current you should&nbsp;<span =
 class=3D"emphasis">always</span>&nbsp;install and boot a new =
 kernel before installing any new libs (<a class=3D"ulink" =
 href=3D"https://www.netbsd.org/docs/current/?utm_source=3Dchatgpt.com#star=
 " target=3D"_top" style=3D"color: rgb(212, 57, 0); text-decoration: =
 none;">*</a>). In general the best approach is to try the new kernel =
 before anything else, and if you hit any problems see the entry in =
 the&nbsp;<a class=3D"ulink" =
 href=3D"https://www.netbsd.org/docs/kernel/#problems_compiling_a_current_k=
 ernel" target=3D"_top" style=3D"color: rgb(212, 57, 0); text-decoration: =
 none;">Kernel FAQ</a>.</p><p style=3D"margin: 1em 0px 1.5em; padding: =
 0px; line-height: 1.3em;"><br></p><p style=3D"margin: 1em 0px 1.5em; =
 padding: 0px; line-height: =
 1.3em;"><br></p></li></ul></div></body></html>=

 --Apple-Mail=_2B3528C4-6D7A-4ACC-8BD3-81488BE1A4A2--

 --Apple-Mail=_AAB79DCA-056A-4576-971E-DE5DDCE59235
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org

 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaRuZXAAKCRBxESqxbLM7
 Ov40AKCxT4BDNm1R0nMGhZIWwwkDbVEFfgCfQQg4WUrb8+wrZ7rweEuV8spqxQ4=
 =b+iz
 -----END PGP SIGNATURE-----

 --Apple-Mail=_AAB79DCA-056A-4576-971E-DE5DDCE59235--

From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Mon, 17 Nov 2025 17:46:04 -0500

 On Mon, Nov 17, 2025 at 4:55=E2=80=AFPM Christos Zoulas via gnats
 <gnats-admin@netbsd.org> wrote:
 > This is already documented.

 > And also in tracking current: https://www.netbsd.org/docs/current/?utm_so=
 urce=3Dchatgpt.com#using-anoncvs
 > When upgrading to a more recent version of -current you should always ins=
 tall and boot a new kernel before installing any new libs (*). In general t=
 he best approach is to try the new kernel before anything else, and if you =
 hit any problems see the entry in the Kernel FAQ.

 I see the above online, such as:
 https://www.netbsd.org/docs/guide/en/chap-upgrading.html

 I believe I was misled by the sysupgrade man page, or I misread the
 order presented:

 Standalone upgrade steps:

 sysupgrade [common_flags] clean
 sysupgrade [common_flags] etcupdate
 sysupgrade [common_flags] fetch [releasedir]
 sysupgrade [common_flags] kernel [kernel_name]
 sysupgrade [common_flags] modules
 sysupgrade [common_flags] sets [set1 .. setN]
 sysupgrade [common_flags] postinstall [arg1 .. argN]

 I then reboot.

 The online documents differ as pointed out:

 # sysupgrade fetch https://cdn.NetBSD.org/pub/NetBSD/NetBSD-9.2/amd64
 # sysupgrade kernel
 # sysupgrade modules
 # reboot
 # sysupgrade sets
 # sysupgrade etcupdate
 # sysupgrade postinstall
 # sysupgrade clean
 # reboot

 As sysupgrade is in pkgsrc, should I suggest the doc change there?

 Jim

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org,
 jspath55@gmail.com
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Mon, 17 Nov 2025 17:54:30 -0500

 --Apple-Mail=_6B3FF7EB-F259-4D1C-AD6A-5AC16FE3AE54
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii


 > 
 > As sysupgrade is in pkgsrc, should I suggest the doc change there?
 > 
 > Jim
 > 

 Yes, let's fix the broken versions.

 Thanks,

 christos

 --Apple-Mail=_6B3FF7EB-F259-4D1C-AD6A-5AC16FE3AE54
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org

 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaRunpgAKCRBxESqxbLM7
 OttQAJ9awSI2+kmoene9ETsHW2b5Skm7DACdG9IHdeuKWpW/Ed8wg/DwOUYcGQg=
 =QFz8
 -----END PGP SIGNATURE-----

 --Apple-Mail=_6B3FF7EB-F259-4D1C-AD6A-5AC16FE3AE54--

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, install-manager@netbsd.org,
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, jspath55@gmail.com
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Tue, 18 Nov 2025 07:46:53 +0100

 El 17/11/25 a las 21:15, Jim Spath via gnats escribió:
 > The following reply was made to PR install/59759; it has been noted by GNATS.
 > 
 > From: Jim Spath <jspath55@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
 > Date: Mon, 17 Nov 2025 15:10:30 -0500
 ...
 ...>
 >   I am uncertain whether rebooting sooner into the newer 11.x kernel
 >   would make a difference;
 >   and, this is not how I have run sysupgrade in the past.
 >   
 >   Jim
 >   

 Hi Jim.

 I did

 sysupgrade fetch
 sysupgrade kernel
 sysupgrade modules
 reboot
 sysupgrade sets
 sysupgrade etcupdate
 sysupgrade postinstall

 and worked just fine, I think I should have done:

 sysupgrade fetch
 sysupgrade kernel
 sysupgrade modules
 sysupgrade sets
 sysupgrade etcupdate
 sysupgrade postinstall

 And see what would have happened.

 I have another jurassic i386 machine deep inside the closet with NetBSD 
 10.1 installed. It would be interesting doing the experiment.

 Ramiro.

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org, install-manager@netbsd.org,
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, jspath55@gmail.com
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Tue, 18 Nov 2025 07:55:11 +0100

 El 17/11/25 a las 23:50, Jim Spath via gnats escribió:
 > The following reply was made to PR install/59759; it has been noted by GNATS.
 > 
 > From: Jim Spath <jspath55@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
 > Date: Mon, 17 Nov 2025 17:46:04 -0500
 > 
 >   On Mon, Nov 17, 2025 at 4:55=E2=80=AFPM Christos Zoulas via gnats
 >   <gnats-admin@netbsd.org> wrote:
 >   > This is already documented.
 >   
 >   > And also in tracking current: https://www.netbsd.org/docs/current/?utm_so=
 >   urce=3Dchatgpt.com#using-anoncvs
 >   > When upgrading to a more recent version of -current you should always ins=
 >   tall and boot a new kernel before installing any new libs (*). In general t=
 >   he best approach is to try the new kernel before anything else, and if you =
 >   hit any problems see the entry in the Kernel FAQ.
 >   
 >   I see the above online, such as:
 >   https://www.netbsd.org/docs/guide/en/chap-upgrading.html
 >   
 >   I believe I was misled by the sysupgrade man page, or I misread the
 >   order presented:
 >   
 >   Standalone upgrade steps:
 >   
 >   sysupgrade [common_flags] clean
 >   sysupgrade [common_flags] etcupdate
 >   sysupgrade [common_flags] fetch [releasedir]
 >   sysupgrade [common_flags] kernel [kernel_name]
 >   sysupgrade [common_flags] modules
 >   sysupgrade [common_flags] sets [set1 .. setN]
 >   sysupgrade [common_flags] postinstall [arg1 .. argN]
 >   
 >   I then reboot.
 >   
 >   The online documents differ as pointed out:
 >   
 >   # sysupgrade fetch https://cdn.NetBSD.org/pub/NetBSD/NetBSD-9.2/amd64
 >   # sysupgrade kernel
 >   # sysupgrade modules
 >   # reboot
 >   # sysupgrade sets
 >   # sysupgrade etcupdate
 >   # sysupgrade postinstall
 >   # sysupgrade clean
 >   # reboot
 >   
 >   As sysupgrade is in pkgsrc, should I suggest the doc change there?
 >   
 >   Jim
 >   

 Oh, luckily from my start in NetBSD I have read the sysupgrade WEB 
 instructions first instead of the man page "standalone upgrade steps". 
 Reading them after reading the WEB page they are not too confusing. But 
 yes, if you read them first are prone to cause confusion.

 Reading the sysupgrade man page at "auto" chapter I see that there is no 
 "reboot" after the kernel upgrade phase:

 ***
       The standard upgrade procedure performed by this command is as 
 follows:

       1.   ‘fetch’: Retrieve distribution sets into the local cache 
 directory.

       2.   ‘modules’: Unpack new kernel modules.

       3.   ‘kernel’: Upgrade kernel.

       4.   ‘sets’: Upgrade system sets, except configuration files.

       5.   ‘etcupdate’: Merge new changes to configuration files.  This 
 is the
            only interactive step in the process and can be disabled for this
            reason by setting ETCUPDATE to false.

       6.   ‘postinstall’: Perform sanity checks and optionally apply
            unconditional fixes to the upgraded system.

       7.   ‘clean’: Remove contents of the cache directory.  This can be
            disabled by setting AUTOCLEAN to false in case you want to 
 keep the
            downloaded distribution files around.
 ***

 I am curious to know what would happen when I upgrade my RaspberryPi 
 Zero W and Raspberry Pi 4 using sysupgrade over SSH. Perhaps it would be 
 safer with an attached HDMI monitor.

 Regards.



From: Jim Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Tue, 18 Nov 2025 10:02:58 -0500

 --000000000000310a810643dfc302
 Content-Type: text/plain; charset="UTF-8"

 On Mon, Nov 17, 2025, 17:54 Christos Zoulas <christos@zoulas.com> wrote:

 > > As sysupgrade is in pkgsrc, should I suggest the doc change there?
 >

 > Yes, let's fix the broken versions.
 >

 I previously noticed these steps need to be done in reverse order, or there
 is nothing to update:

 sysupgrade [common_flags] etcupdate
 sysupgrade [common_flags] fetch [releasedir]

 Jim

 --000000000000310a810643dfc302
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"auto"><div><div class=3D"gmail_quote gmail_quote_container"><di=
 v dir=3D"ltr" class=3D"gmail_attr">On Mon, Nov 17, 2025, 17:54 Christos Zou=
 las &lt;<a href=3D"mailto:christos@zoulas.com">christos@zoulas.com</a>&gt; =
 wrote:</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
 rder-left:1px #ccc solid;padding-left:1ex">
 &gt; As sysupgrade is in pkgsrc, should I suggest the doc change there?<br>=
 </blockquote></div></div><div dir=3D"auto"><div class=3D"gmail_quote gmail_=
 quote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
 ex;border-left:1px #ccc solid;padding-left:1ex">
 <br>
 Yes, let&#39;s fix the broken versions.<br></blockquote></div></div><div di=
 r=3D"auto"><br></div><div dir=3D"auto">I previously noticed these steps nee=
 d to be done in reverse=C2=A0order, or there is nothing to update:</div><di=
 v dir=3D"auto"><br></div><div dir=3D"auto">sysupgrade [common_flags] etcupd=
 ate</div><div dir=3D"auto">sysupgrade [common_flags] fetch [releasedir]</di=
 v><div dir=3D"auto"><br></div><div dir=3D"auto">Jim<br><br></div><div dir=
 =3D"auto"><div class=3D"gmail_quote gmail_quote_container"><blockquote clas=
 s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
 ding-left:1ex">
 </blockquote></div></div></div>

 --000000000000310a810643dfc302--

From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org, jspath55@gmail.com
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Tue, 18 Nov 2025 10:15:34 -0500

 On 2025-11-18 10:05 am, Jim Spath via gnats wrote:
 > The following reply was made to PR install/59759; it has been noted by 
 > GNATS.
 > 
 > From: Jim Spath <jspath55@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
 > Date: Tue, 18 Nov 2025 10:02:58 -0500
 > 
 >  --000000000000310a810643dfc302
 >  Content-Type: text/plain; charset="UTF-8"
 > 
 >  On Mon, Nov 17, 2025, 17:54 Christos Zoulas <christos@zoulas.com> 
 > wrote:
 > 
 >  > > As sysupgrade is in pkgsrc, should I suggest the doc change there?
 >  >
 > 
 >  > Yes, let's fix the broken versions.
 >  >
 > 
 >  I previously noticed these steps need to be done in reverse order, or 
 > there
 >  is nothing to update:
 > 
 >  sysupgrade [common_flags] etcupdate
 >  sysupgrade [common_flags] fetch [releasedir]
 > 

 Ok, let's flip them.

 christos

From: J Spath <jspath55@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/59759: Core dump on sysupgrade to 11.0 BETA
Date: Wed, 26 Nov 2025 16:22:45 -0500

 On 18/11/2025 10:20, Christos Zoulas via gnats wrote:
 >   >  On Mon, Nov 17, 2025, 17:54 Christos Zoulas <christos@zoulas.com>
 >   > wrote:
 >   >
 >   >  > > As sysupgrade is in pkgsrc, should I suggest the doc change there?
 >   >  >
 >   >
 >   >  > Yes, let's fix the broken versions.
 > ...
 >   
 >   Ok, let's flip them.
 >   
 >   christos
 >   

 Please move this ticket to pkg as the fix is for the man page there.

 Rough patch follows with the fetch flipped, a reboot note, and a 
 reference to the online doc page.

 Jim

 *** sysupgrade.8.df    2025-07-17 05:56:44.000000000 -0400
 --- sysupgrade.8    2025-11-25 15:26:46.744691060 -0500
 ***************
 *** 56,70 ****
    .Ar clean
    .Nm
    .Op common_flags
 - .Ar etcupdate
 - .Nm
 - .Op common_flags
    .Ar fetch
    .Op Ar releasedir
    .Nm
    .Op common_flags
    .Ar kernel
    .Op Ar kernel_name
    .Nm
    .Op common_flags
    .Ar modules
 --- 56,71 ----
    .Ar clean
    .Nm
    .Op common_flags
    .Ar fetch
    .Op Ar releasedir
    .Nm
    .Op common_flags
 + .Ar etcupdate
 + .Nm
 + .Op common_flags
    .Ar kernel
    .Op Ar kernel_name
 + (reboot for major version upgrade)
    .Nm
    .Op common_flags
    .Ar modules
 ***************
 *** 382,387 ****
 --- 383,390 ----
    .Xr sysupgrade.conf 5 ,
    .Xr etcupdate 8 ,
    .Xr postinstall 8
 + .Pp
 + 
 https://www.netbsd.org/docs/guide/en/chap-updating.html#updating-sysbuild-sysupgrade
    .Sh AUTHORS
    The
    .Nm

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.