NetBSD-Bugs archive

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

Re: kern/59849: NetBSD trunk 2025.11.22.23.00.00 fails to boot on NetBSD/sun2, 2025.11.22.22.00.00 works



The following reply was made to PR kern/59849; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/59849: NetBSD trunk 2025.11.22.23.00.00 fails to boot on
 NetBSD/sun2, 2025.11.22.22.00.00 works
Date: Fri, 19 Dec 2025 15:52:02 -0800

 > On Dec 19, 2025, at 2:28=E2=80=AFPM, Jason Thorpe <thorpej%me.com@localhost> =
 wrote:
 >=20
 >> On Dec 19, 2025, at 1:55=E2=80=AFPM, thorpej%me.com@localhost wrote:
 >>=20
 >> The AES changes are the likely culprit
 >=20
 > On top-of-tree, if I revert this commit[*]:
 >=20
 >    =
 https://mail-index.netbsd.org/source-changes/2025/11/22/msg159124.html
 
 If I go back to stock top-of-trunk and apply the following diff, the =
 kernel boots:
 
 Index: aes_impl.c
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/src/sys/crypto/aes/aes_impl.c,v
 retrieving revision 1.12
 diff -u -p -r1.12 aes_impl.c
 --- aes_impl.c 23 Nov 2025 22:44:14 -0000 1.12
 +++ aes_impl.c 19 Dec 2025 23:51:14 -0000
 @@ -463,7 +463,7 @@ aes_keysched_selftest(void)
   { 24, AES_192_NROUNDS, rk192enc, rk192dec },
   { 32, AES_256_NROUNDS, rk256enc, rk256dec },
   };
 - uint32_t rk[60];
 + uint32_t rk[120];
   unsigned i;
     for (i =3D 0; i < __arraycount(C); i++) {
 
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index