NetBSD-Bugs archive

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

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



>Number:         59849
>Category:       kern
>Synopsis:       NetBSD trunk 2025.11.22.23.00.00 fails to boot on NetBSD/sun2, 2025.11.22.22.00.00 works
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 19 21:55:00 +0000 2025
>Originator:     Jason Thorpe
>Release:        NetBSD 11.99.4 2025.11.22.23.00.00
>Organization:
Retrogrouches-R-Us
>Environment:
NetBSD/sun2 running in TME
>Description:
NetBSD 11.99.4 2025.11.22.23.00.00 fails to boot on NetBSD/sun2 inside TME.  It gets stuck probing the SCSI disk:

relocating program...Starting program at 0x6000
[   1.0000000] console is ttya
[   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, 2025
[   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 11.99.4 (RAMDISK) #13: Fri Dec 19 13:20:57 PST 2025
[   1.0000000] 	thorpej@the-ripe-vessel:/home/nbsd/netbsd-sun2/src/sys/arch/sun2/compile/RAMDISK
[   1.0000000] Model: sun2 {120,170}
[   1.0000000] fpu: no math support
[   1.0000000] total memory = 6144 KB
[   1.0000000] avail memory = 4022 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] obio0 at mainbus0
[   1.0000000] zs0 at obio0 addr 0x2000 ipl 6
[   1.0000000] zstty0 at zs0 channel 0 (console i/o)
[   1.0000000] zstty1 at zs0 channel 1
[   1.0000000] clock0 at obio0 addr 0x2800 ipl 5
[   1.0000000] tod0 at obio0 addr 0x3800: mm58167
[   1.0000000] obmem0 at mainbus0
[   1.0000000] mbmem0 at mainbus0
[   1.0000000] sc0 at mbmem0 addr 0x80000 ipl 2: options=0xff
[   1.0000000] scsibus0 at sc0: 8 targets, 8 luns per target
[   1.0000000] ec0 at mbmem0 addr 0xe0000 ipl 3
[   1.0000000] ec0: address 08:00:20:11:aa:33
[   1.0000000] enabling interrupts
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.0000030] scsibus0: waiting 2 seconds for devices to settle...
[   3.0000030] sd0 at scsibus0 target 0 lun 0: <TME, DISK, 0000> disk fixed
<stall>

Booting a kernel from  2025.11.22.22.00.00 works:

relocating program...Starting program at 0x6000
[   1.0000000] console is ttya
[   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, 2025
[   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 11.99.4 (RAMDISK) #12: Fri Dec 19 13:17:14 PST 2025
[   1.0000000] 	thorpej@the-ripe-vessel:/home/nbsd/netbsd-sun2/src/sys/arch/sun2/compile/RAMDISK
[   1.0000000] Model: sun2 {120,170}
[   1.0000000] fpu: no math support
[   1.0000000] total memory = 6144 KB
[   1.0000000] avail memory = 4022 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] obio0 at mainbus0
[   1.0000000] zs0 at obio0 addr 0x2000 ipl 6
[   1.0000000] zstty0 at zs0 channel 0 (console i/o)
[   1.0000000] zstty1 at zs0 channel 1
[   1.0000000] clock0 at obio0 addr 0x2800 ipl 5
[   1.0000000] tod0 at obio0 addr 0x3800: mm58167
[   1.0000000] obmem0 at mainbus0
[   1.0000000] mbmem0 at mainbus0
[   1.0000000] sc0 at mbmem0 addr 0x80000 ipl 2: options=0xff
[   1.0000000] scsibus0 at sc0: 8 targets, 8 luns per target
[   1.0000000] ec0 at mbmem0 addr 0xe0000 ipl 3
[   1.0000000] ec0: address 08:00:20:11:aa:33
[   1.0000000] enabling interrupts
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.0000030] scsibus0: waiting 2 seconds for devices to settle...
[   3.0000030] sd0 at scsibus0 target 0 lun 0: <TME, DISK, 0000> disk fixed
[   3.0200030] sd0: fabricating a geometry
[   3.0200030] sd0: 100 MB, 100 cyl, 64 head, 32 sec, 512 bytes/sect x 204800 sectors
[   3.0300030] sd0: async, 8-bit transfers
[   3.4700030] st0 at scsibus0 target 4 lun 0: <EMULEX, MT-02 QIC, 0000> tape removable
[   3.4700030] st0: density code 5, 512-byte blocks, write-protected
[   3.4800030] st0: async, 8-bit transfers
[   3.7800030] boot device: <unknown>
[   3.7900030] root on md0a dumps on md0b
>How-To-Repeat:
See above.
>Fix:
Unknown at this time, but the following files changed between those two date tags:

P sys/arch/x86/x86/via_padlock.c
P sys/crypto/aes/aes.h
P sys/crypto/aes/aes_impl.c
U sys/crypto/aes/aes_keysched.c
U sys/crypto/aes/aes_keysched.h
P sys/crypto/aes/files.aes
P sys/crypto/aes/arch/x86/aes_via.c
P sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fence.c

The AES changes are the likely culprit, as I think they're involved in entropy harvesting, in which autoconfigurating timing is an input.



Home | Main Index | Thread Index | Old Index