NetBSD Problem Report #58907

From www@netbsd.org  Sat Dec 14 18:05:25 2024
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) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 75CFF1A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 14 Dec 2024 18:05:25 +0000 (UTC)
Message-Id: <20241214180523.0CC9D1A923F@mollari.NetBSD.org>
Date: Sat, 14 Dec 2024 18:05:23 +0000 (UTC)
From: als@thangorodrim.ch
Reply-To: als@thangorodrim.ch
To: gnats-bugs@NetBSD.org
Subject: NetBSD 10.0 GENERIC with DIAGNOSTIC enables reboots on Sun Ultra-45 during kernel driver init.
X-Send-Pr-Version: www-1.0

>Number:         58907
>Category:       port-sparc64
>Synopsis:       NetBSD 10.0 GENERIC with DIAGNOSTIC enables reboots on Sun Ultra-45 during kernel driver init.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 14 18:10:00 +0000 2024
>Last-Modified:  Sun Dec 15 14:50:02 +0000 2024
>Originator:     Alexander Schreiber
>Release:        NetBSD 10.0
>Organization:
not much
>Environment:
NetBSD [hostname redacted] 10.0 NetBSD 10.0 (GENERIC) #0: Fri Dec 13 12:47:00 UTC 2024  root@[hostname redacted]:/usr/obj/sys/arch/sparc64/compile/GENERIC sparc64

>Description:
I took g/usr/src/sys/arch/sparc64/conf/GENERIC and simply enabled DIAGNOSTIC,
rebuilt the kernel, booted and ... reboot after initialising the audio drivers.

Annotated dmesg, both the failure and successful both with unmodified GENERIC afterwards:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 10.0 (ULTRA45) #1: Sat Dec 14 16:44:36 UTC 2024
[     1.000000]         root@galadriel.angband.thangorodrim.de:/usr/obj/sys/arch/sparc64/compile/ULTRA45
[     1.000000] total memory = 8192 MB
[     1.000000] avail memory = 8025 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] mainbus0 (root): SUNW,A70 (Sun Ultra 45 Workstation): hostid 84c32e08
[     1.000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIIi @ 1600 MHz, CPU id 0
[     1.000000] cpu0: manuf 3e, impl 16, mask 34
[     1.000000] cpu0: system tick frequency 20 MHz
[     1.000000] cpu0: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
[     1.000000] memory-controller at mainbus0 not configured
[     1.000000] pyro0 at mainbus0: "Fire", rev 3, ign 780, bus A 2 to 12
[     1.000000] pyro0: pci0 at pyro0
[     1.000000] pci0: i/o space, memory space enabled
[     1.000000] ppb0 at pci0 dev 0 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb0: PCI Express capability version 1 <Upstream Port of PCI-E Switch>
[     1.000000] pci1 at ppb0 bus 3
[     1.000000] pci1: i/o space, memory space enabled
[     1.000000] ppb1 at pci1 dev 1 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb1: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
[     1.000000] pci2 at ppb1 bus 4
[     1.000000] pci2: i/o space, memory space enabled
[     1.000000] ppb2 at pci2 dev 0 function 0: Acer Labs M5249 Hypertransport to PCI Bridge (rev. 0x00)
[     1.000000] ppb2: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci3 at ppb2 bus 5
[     1.000000] pci3: i/o space, memory space enabled
[     1.000000] ohci0 at pci3 dev 28 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci0: interrupting at ivec 780
[     1.000000] ohci0: OHCI version 1.0, legacy support
[     1.000000] usb0 at ohci0: USB revision 1.0
[     1.000000] ohci1 at pci3 dev 28 function 1: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci1: interrupting at ivec 780
[     1.000000] ohci1: OHCI version 1.0, legacy support
[     1.000000] usb1 at ohci1: USB revision 1.0
[     1.000000] ohci2 at pci3 dev 28 function 2: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci2: interrupting at ivec 780
[     1.000000] ohci2: OHCI version 1.0, legacy support
[     1.000000] ohci2: Clear PME# now
[     1.000000] usb2 at ohci2: USB revision 1.0
[     1.000000] ehci0 at pci3 dev 28 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 0x01)
[     1.000000] ehci0: 32-bit DMA
[     1.000000] ehci0: interrupting at ivec 781
[     1.000000] ehci0: EHCI version 1.0
[     1.000000] ehci0: 3 companion controllers, 3 ports each: ohci0 ohci1 ohci2
[     1.000000] usb3 at ehci0: USB revision 2.0
[     1.000000] auacer0 at pci3 dev 29 function 0: Acer Labs M5455 Audio controller
[     1.000000] auacer0: interrupting at ivec 785
[     1.000000] auacer0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
[     1.000000] auacer0: ac97: ext id 0x601<AC97_22,AMAP,VRA>
[     1.000000] audio0 at auacer0: playback, capture, full duplex, independent
[     1.000000] audio0: slinear_be:16 -> slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.000000] audio0: slinear_be:16 <- slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
ERROR: Software Initiated Reset has occured.

WARNING: sync callback did not work.

At this point, the machine rebooted.

Next boot, with unmodified GENERIC:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 10.0 (GENERIC) #0: Fri Dec 13 12:47:00 UTC 2024
[     1.000000]         root@galadriel.angband.thangorodrim.de:/usr/obj/sys/arch/sparc64/compile/GENERIC
[     1.000000] total memory = 8192 MB
[     1.000000] avail memory = 8025 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] mainbus0 (root): SUNW,A70 (Sun Ultra 45 Workstation): hostid 84c32e08
[     1.000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIIi @ 1600 MHz, CPU id 0
[     1.000000] cpu0: manuf 3e, impl 16, mask 34
[     1.000000] cpu0: system tick frequency 20 MHz
[     1.000000] cpu0: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
[     1.000000] memory-controller at mainbus0 not configured
[     1.000000] pyro0 at mainbus0: "Fire", rev 3, ign 780, bus A 2 to 12
[     1.000000] pyro0: pci0 at pyro0
[     1.000000] pci0: i/o space, memory space enabled
[     1.000000] ppb0 at pci0 dev 0 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb0: PCI Express capability version 1 <Upstream Port of PCI-E Switch>
[     1.000000] pci1 at ppb0 bus 3
[     1.000000] pci1: i/o space, memory space enabled
[     1.000000] ppb1 at pci1 dev 1 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb1: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
[     1.000000] pci2 at ppb1 bus 4
[     1.000000] pci2: i/o space, memory space enabled
[     1.000000] ppb2 at pci2 dev 0 function 0: Acer Labs M5249 Hypertransport to PCI Bridge (rev. 0x00)
[     1.000000] ppb2: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci3 at ppb2 bus 5
[     1.000000] pci3: i/o space, memory space enabled
[     1.000000] ohci0 at pci3 dev 28 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci0: interrupting at ivec 780
[     1.000000] ohci0: OHCI version 1.0, legacy support
[     1.000000] usb0 at ohci0: USB revision 1.0
[     1.000000] ohci1 at pci3 dev 28 function 1: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci1: interrupting at ivec 780
[     1.000000] ohci1: OHCI version 1.0, legacy support
[     1.000000] usb1 at ohci1: USB revision 1.0
[     1.000000] ohci2 at pci3 dev 28 function 2: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[     1.000000] ohci2: interrupting at ivec 780
[     1.000000] ohci2: OHCI version 1.0, legacy support
[     1.000000] ohci2: Clear PME# now
[     1.000000] usb2 at ohci2: USB revision 1.0
[     1.000000] ehci0 at pci3 dev 28 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 0x01)
[     1.000000] ehci0: 32-bit DMA
[     1.000000] ehci0: interrupting at ivec 781
[     1.000000] ehci0: EHCI version 1.0
[     1.000000] ehci0: 3 companion controllers, 3 ports each: ohci0 ohci1 ohci2
[     1.000000] usb3 at ehci0: USB revision 2.0
[     1.000000] auacer0 at pci3 dev 29 function 0: Acer Labs M5455 Audio controller
[     1.000000] auacer0: interrupting at ivec 785
[     1.000000] auacer0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
[     1.000000] auacer0: ac97: ext id 0x601<AC97_22,AMAP,VRA>
[     1.000000] audio0 at auacer0: playback, capture, full duplex, independent
[     1.000000] audio0: slinear_be:16 -> slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.000000] audio0: slinear_be:16 <- slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.000000] spkr0 at audio0: PC Speaker (synthesized)
[     1.000000] wsbell at spkr0 not configured
[     1.000000] alipm0 at pci3 dev 30 function 1alipm0: autoconfiguration error: can't map I/O space
[     1.000000] aceride0 at pci3 dev 31 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc8)
[     1.000000] aceride0: bus-master DMA support present
[     1.000000] aceride0: primary channel configured to native-PCI mode
[     1.000000] aceride0: using ivec 2f84 for native-PCI interrupt
[     1.000000] atabus0 at aceride0 channel 0
[     1.000000] aceride0: secondary channel configured to native-PCI mode
[     1.000000] atabus1 at aceride0 channel 1
[     1.000000] ppb3 at pci1 dev 2 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb3: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
[     1.000000] pci4 at ppb3 bus 6
[     1.000000] pci4: i/o space, memory space enabled
[     1.000000] ppb4 at pci4 dev 0 function 0: ServerWorks BCM5714/BCM5715 Integral PCI-E to PCI-X Bridge (rev. 0xb5)
[     1.000000] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci5 at ppb4 bus 7
[     1.000000] pci5: i/o space, memory space enabled
[     1.000000] bge0 at pci5 dev 4 function 0: Broadcom BCM5715 Gigabit Ethernet
[     1.000000] bge0: interrupting at ivec 3796
[     1.000000] bge0: HW config 00000015, 00000015, 00000000, 00000000 00000000
[     1.000000] bge0: ASIC BCM5715 A3 (0x9003), Ethernet address 00:14:4f:c3:2e:08
[     1.000000] bge0: autoconfiguration error: WARNING: failed to restrict dma range, falling back to parent bus dma range
[     1.000000] bge0: setting short Tx thresholds
[     1.000000] brgphy0 at bge0 phy 1: BCM5714 1000BASE-T/X media interface, rev. 0
[     1.000000] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000000] bge1 at pci5 dev 4 function 1: Broadcom BCM5715 Gigabit Ethernet
[     1.000000] bge1: interrupting at ivec 3797
[     1.000000] bge1: HW config 00010014, 00000014, 00000000, 00000000 00000000
[     1.000000] bge1: ASIC BCM5715 A3 (0x9003), Ethernet address 00:14:4f:c3:2e:09
[     1.000000] bge1: autoconfiguration error: WARNING: failed to restrict dma range, falling back to parent bus dma range
[     1.000000] bge1: setting short Tx thresholds
[     1.000000] brgphy1 at bge1 phy 1: BCM5714 1000BASE-T/X media interface, rev. 0
[     1.000000] brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.000000] ppb5 at pci1 dev 3 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb5: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x4 @ 2.5GT/s
[     1.000000] pci6 at ppb5 bus 8
[     1.000000] pci6: i/o space, memory space enabled
[     1.000000] wm0 at pci6 dev 0 function 0, 32-bit DMA: Intel PRO/1000 PF (82571EB) (rev. 0x06)
[     1.000000] wm0: interrupting at ivec 3797
[     1.000000] wm0: PCI-Express bus
[     1.000000] wm0: 2048 words (16 address bits) SPI EEPROM, version 5.11.6, Image Unique ID ffffffff
[     1.000000] wm0: ASPM L1 is disabled to workaround the errata.
[     1.000000] wm0: RX packet buffer size: 32KB
[     1.000000] wm0: Ethernet address 00:15:17:37:af:d2
[     1.000000] wm0: 0x224040<SPI,PCIE,ASF_FIRM,WOL>
[     1.000000] wm0: 1000baseSX, 1000baseSX-FDX, auto
[     1.000000] wm1 at pci6 dev 0 function 1, 32-bit DMA: Intel PRO/1000 PF (82571EB) (rev. 0x06)
[     1.000000] wm1: interrupting at ivec 3794
[     1.000000] wm1: PCI-Express bus
[     1.000000] wm1: 2048 words (16 address bits) SPI EEPROM, version 5.11.6, Image Unique ID ffffffff
[     1.000000] wm1: ASPM L1 is disabled to workaround the errata.
[     1.000000] wm1: RX packet buffer size: 32KB
[     1.000000] wm1: Ethernet address 00:15:17:37:af:d3
[     1.000000] wm1: 0x24040<SPI,PCIE,ASF_FIRM>
[     1.000000] wm1: 1000baseSX, 1000baseSX-FDX, auto
[     1.000000] ppb6 at pci1 dev 8 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb6: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x8 @ 2.5GT/s
[     1.000000] pci7 at ppb6 bus 9
[     1.000000] pci7: i/o space, memory space enabled
[     1.000000] ppb7 at pci1 dev 9 function 0: PLX Technology product 8532 (rev. 0xbc)
[     1.000000] ppb7: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x8 @ 2.5GT/s
[     1.000000] pci8 at ppb7 bus 10
[     1.000000] pci8: i/o space, memory space enabled
[     1.000000] ppb8 at pci8 dev 0 function 0: Intel Serial to Parallel PCI Bridge A (rev. 0x09)
[     1.000000] ppb8: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci9 at ppb8 bus 11
[     1.000000] pci9: i/o space, memory space enabled
[     1.000000] mpt0 at pci9 dev 1 function 0: Symbios Logic SAS1064 (rev. 0x02)
[     1.000000] mpt0: interrupting at ivec 2f8f
[     1.000000] scsibus0 at mpt0: 63 targets, 8 luns per target
[     1.000000] ppb9 at pci8 dev 0 function 2: Intel Serial to Parallel PCI Bridge B (rev. 0x09)
[     1.000000] ppb9: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
[     1.000000] pci10 at ppb9 bus 12
[     1.000000] pci10: i/o space, memory space enabled
[     1.000000] mpt1 at pci10 dev 1 function 0: Symbios Logic 53c1020/53c1030 (rev. 0x08)
[     1.000000] mpt1: interrupting at ivec 2f8b
[     1.000000] scsibus1 at mpt1: 16 targets, 8 luns per target
[     1.000000] mpt2 at pci10 dev 1 function 1: Symbios Logic 53c1020/53c1030 (rev. 0x08)
[     1.000000] mpt2: interrupting at ivec 2f8c
[     1.000000] scsibus2 at mpt2: 16 targets, 8 luns per target
[     1.000000] radeonfb0 at pci10 dev 2 function 0: ATI Technologies Radeon 7000/VE QY (rev. 0x00)
[     1.000000] trying to read disabled BIOS...
[     1.000000] radeonfb0: No video BIOS, using default clocks
[     1.000000] radeonfb0: refclk = 27.000 MHz, refdiv = 12 minpll = 125000, maxpll = 400000
[     1.000000] radeonfb0: 64 MB aperture at 0x08000000, 64 KB registers at 0x00c80000
[     1.000000] radeonfb0: display 0: initial virtual resolution 1920x1080 at 8 bpp
[     1.000000] radeonfb0: using 32 MB per display
[     1.000000] radeonfb0: port 0: physical 1920x1080 60Hz
[     1.000000] radeonfb0: port 1: physical 1920x1080 60Hz
[     1.000000] wsdisplay0 at radeonfb0 kbdmux 1: console (fb, vt100 emulation)
[     1.000000] wsmux1: connecting to wsdisplay0
[     1.000000] wsdisplay0: screen 1-3 added (fb, vt100 emulation)
[     1.000000] drm at radeonfb0 not configured
[     1.000000] pyro1 at mainbus0: "Fire", rev 3, ign 7c0, bus B 2 to 255
[     1.000000] pyro1: pci11 at pyro1
[     1.000000] pci11: i/o space, memory space enabled
[     1.000000] ebus0 at mainbus0
[     1.000000] flashprom at ebus0 addr 0-1fffff not configured
[     1.000000] rtc0 at ebus0 addr 100000-10000f: mc146818 compatible time-of-day clock: 
[     1.000000] com0 at ebus0 addr 80-87 ipl 7c8: ns16550a, 16-byte FIFO
[     1.000000] com1 at ebus0 addr 0-7 ipl 7c8: ns16550a, 16-byte FIFO
[     1.000000] env-monitor at ebus0 addr 0-41 not configured
[     1.000000] pcfiic0 at ebus0 addr 80-81 ipl 7c1
[     1.000000] iic0 at pcfiic0: I2C bus
[     1.000000] pcagpio0 at iic0 addr 0x18: PCA9556
[     1.000000] temperature (i2c-lm76) at iic0 addr 0x2b not configured
[     1.000000] temperature (i2c-lm76) at iic0 addr 0x48 not configured
[     1.000000] temperature (i2c-lm76) at iic0 addr 0x4f not configured
[     1.000000] seeprom0 at iic0 addr 0x52: front-io-fru-prom: size 8192
[     1.000000] seeprom1 at iic0 addr 0x53: sas-backplane-fru-prom: size 8192
[     1.000000] spdmem0 at iic0 addr 0x57
[     1.000000] spdmem0: FPM
[     1.000000] spdmem0: 0 rows, 0 cols, 0 banks, 0ns tRAC, 0ns tCAC
[     1.000000] hardware-monitor (i2c-adt7462) at iic0 addr 0x58 not configured
[     1.000000] power at ebus0 addr e0-e1 ipl 7c3 not configured
[     1.000000] i2c at mainbus0 not configured
[     1.000000] i2c at mainbus0 not configured
[     1.000000] jbusi2c0 at mainbus0: addr 4000fc62020
[     1.000000] iic1 at jbusi2c0: I2C bus
[     1.000000] seeprom2 at iic1 addr 0x57: nvram: size 8192
[     1.000000] ppm at mainbus0 not configured
[     1.000000] pcons at mainbus0 not configured
[     1.000000] WARNING: system needs entropy for security; see entropy(7)
[     1.000000] timecounter: Timecounter "tick-counter" frequency 1600000000 Hz quality 100
[     1.000003] timecounter: Timecounter "stick-counter" frequency 20000000 Hz quality 200
[     1.000015] No counter-timer -- using %stick at 20MHz as system clock.
[     1.000015] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.000015] scsibus0: waiting 2 seconds for devices to settle...
[     1.000015] scsibus1: waiting 2 seconds for devices to settle...
[     1.000015] scsibus2: waiting 2 seconds for devices to settle...
[     1.032522] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.032522] uhub0: 3 ports with 3 removable, self powered
[     1.032522] uhub1 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.032522] uhub1: 3 ports with 3 removable, self powered
[     1.032522] uhub2 at usb2: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.042533] uhub2: 3 ports with 3 removable, self powered
[     1.042533] uhub3 at usb3: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.042533] uhub3: 8 ports with 8 removable, self powered
[     1.122520] atapibus0 at atabus0: 2 targets
[     1.132521] cd0 at atapibus0 drive 0: <TEAC    DV-W28SLC, , 1.0B> cdrom removable
[     1.162520] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
[     1.172520] cd0(aceride0:0:0): using PIO mode 4
[     2.112520] uhub4 at uhub3 port 7: vendor 0424 (0x0424) product 2504 (0x2504), class 9/0, rev 2.00/0.01, addr 2
[     2.112520] uhub4: multiple transaction translators
[     2.112520] uhub4: 4 ports with 4 removable, self powered
[     2.972521] uhidev0 at uhub4 port 1 configuration 1 interface 0
[     2.972521] uhidev0: vendor 04d9 (0x04d9) product 1203 (0x1203), rev 2.00/2.70, addr 3, iclass 3/1
[     2.982521] ukbd0 at uhidev0
[     2.982521] wskbd1 at ukbd0: console keyboard, using wsdisplay0
[     2.993279] uhidev1 at uhub4 port 1 configuration 1 interface 1
[     2.993279] uhidev1: vendor 04d9 (0x04d9) product 1203 (0x1203), rev 2.00/2.70, addr 3, iclass 3/0
[     3.012521] uhidev1: 2 report ids
[     3.012521] uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
[     3.012521] uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
[    18.032519] swwdog0: software watchdog initialized
[    18.032519] WARNING: 3 errors while detecting hardware; check system log.
[    18.032519] root on bge0
[    18.044873] nfs_boot: trying DHCP/BOOTP
[    22.082519] nfs_boot: DHCP next-server: 192.168.42.104
[    22.082519] nfs_boot: my_name=galadriel.angband.thangorodrim.de
[    22.082519] nfs_boot: my_domain=angband.thangorodrim.de
[    22.093258] nfs_boot: my_addr=192.168.42.16
[    22.093258] nfs_boot: my_mask=255.255.255.0
[    22.093258] nfs_boot: gateway=192.168.42.254
[    28.102519] root on esgaroth:/nfsroots/galadriel
[    28.102519] root file system type: nfs
[    28.115598] kern.module.path=/stand/sparc64/10.0/modules
[    28.115598] WARNING: preposterous TOD clock time
[    28.123235] WARNING: using filesystem time
[    28.126924] WARNING: CHECK AND RESET THE DATE!
[    28.382524] entropy: best effort
[    29.312532] ZFS filesystem version: 5

(at this point, /sbin/init takes over)


>How-To-Repeat:
Take GENERIC, enable DIAGNOSTIC, boot the resulting kernel on a SUN Ultra-45.
I strongly suspect this to be enough of a driver issue that one is unlikely
to hit this with either qemu or different hardware - my SUN V100s (UltraSPARC-IIe @ 548 MHz) run 10.0 with a lightly modified GENERIC and DIAGNOSTIC turned on without exploding on boot.

I'm happy to accept, build and boot exploratory patches and report back.
>Fix:

>Audit-Trail:
From: Alexander Schreiber <als@thangorodrim.ch>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/58907: NetBSD 10.0 GENERIC with DIAGNOSTIC enables
 reboots on Sun Ultra-45 during kernel driver init.
Date: Sun, 15 Dec 2024 15:39:50 +0100

  Looks like there is more breakage. I rebuilt the kernel, taking GENERIC
  and removing spkr and enabling DIAGNOSTIC. This time, kernel booted
  beyond that point and exploded with the same SIR instruction after
  completing init of the SCSI controller. Last log message before reboot:
  "scsibus2 at mpt2: 16 targets, 8 luns per target" for a normal boot,
  the next one would have been the graphics card:
  "radeonfb0 at pci10 dev 2 function 0: ATI Technologies Radeon 7000/VE QY (rev. 0x00)"

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-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.