Panic at boot on 4/330 with cgfour and cgsix

foo bar <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <CAOddDr6u1Rh7w374W_3T30ogxoUShGva7UkzaEBDrnqe6GcanQ@mail.gmail.com>
Hello all

So as the subject says I'm having problems with these two
framebuffers. It seems to be related to the issue reported a few
months ago here.

https://mail-index.netbsd.org/port-sparc/2024/04/15/msg002644.html

I don't see the crazy interrupts but both framebuffers trigger a data
fault szerr. For the cgsix I made a video of it but unfortunately the
card died not long after so I can't test further.

https://www.youtube.com/watch?v=iUPH3DHH8oA

Luckily my cgfour is still working and I've attached a dmesg from
current below. Any help would be appreciated.


Boot: le(0,0,0)
Booting from tftp server at 10.0.0.4 = 0A000004
Downloaded 68966 bytes from tftp server.

>> NetBSD/sparc Secondary Boot, Revision 1.15 (Mon Jan 13 02:23:29 UTC 2025)
Booting netbsd
Using IP Address 10.0.0.33 = 0A000021
Trying BOOTP protocol... bootp: no reply
Trying BOOTPARAMS protocol... ip address: 10.0.0.33, hostname: tycho
root addr=10.0.0.4 path=/export/root/tycho/netbsd_current
5065292+131740 [277344+261412]=0x578a38
[   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 10.99.12 (TYCHO) #0: Sun Jan 12 22:12:54 EST 2025
[   1.0000000]
xun@DESKTOP-IH10A2M:/home/xun/netbsd/obj-sparc/sys/arch/sparc/compile/TYCHO
[   1.0000000] total memory = 32704 KB
[   1.0000000] avail memory = 26576 KB
[   1.0000000] bootpath: /obio0/le0
[   1.0000000] mainbus0 (root): SUN-4/300 series: hostid 23406b33
[   1.0000000] cpu0 at mainbus0: CY7C601 @ 25 MHz, L64812 or ACT8847 FPU
[   1.0000000] cpu0: cache chip bug; trap page uncached
[   1.0000000] cpu0: 128K byte write-back, 16 bytes/line, sw flush:
cache enabled
[   1.0000000] obio0 at mainbus0
[   1.0000000] timer0 at obio0 addr 0xef000000: delay constant 10,
frequency = 1000000 Hz
[   1.0000030] dma0 at obio0 addr 0xfa001000 level 4: DMA rev 0
[   1.0000030] le0 at obio0 addr 0xf9000000 level 6: address 08:00:20:10:ad:b3
[   1.0000030] le0: 8 receive buffers, 2 transmit buffers
[   1.0000030] esp0 at obio0 addr 0xfa000000 level 4: ESP100A, 24MHz, SCSI ID 7
[   1.0000030] scsibus0 at esp0: 8 targets, 8 luns per target
[   1.0000030] clock0 at obio0 addr 0xf2000000: mk48t02
[   1.0000030] memreg0 at obio0 addr 0xf4000000
[   1.0000030] bwtwo0 at obio0 addr 0xfb300000 level 4: bwtwo/p4, 1152 x 900
[   1.0000030] bwtwo0: cgfour overlay plane
[   1.0000030] bwtwo0: attached to /dev/fb0
[   1.0000030] wsdisplay1 at bwtwo0 kbdmux 1
[   1.0000030] zs0 at obio0 addr 0xf1000000 level 12 softpri 6
[   1.0000030] zstty0 at zs0 channel 0 (console i/o)
[   1.0000030] zstty1 at zs0 channel 1
[   1.0000030] zs1 at obio0 addr 0xf0000000 level 12 softpri 6
[   1.0000030] zstty4 at zs1 channel 0
[   1.0000030] zstty5 at zs1 channel 1
[   1.0000030] zs2 at obio0 addr 0xe0000000 level 12 softpri 6
[   1.0000030] zstty2 at zs2 channel 0
[   1.0000030] zstty3 at zs2 channel 1
[   1.0000030] cgfour0 at obio0 addr 0xfb300000 level 4: cgfour/p4,
1152 x 900cpu0: data fault: pc=0xe80112e4 addr=0xfe02a000
ser=0x8002<WRITE,SZERR>
[   1.0000030] panic: kernel fault
[   1.0000030] cpu0: Begin traceback...
[   1.0000030] 0x0(0xe8409728, 0xe84bb7b0, 0xe84f40b0, 0x104,
0xe84f4000, 0xe84f3400) at netbsd:panic+0x20
[   1.0000030] panic(0xe8409728, 0x0, 0xe80112e4, 0xfe02a000,
0xe84bb7d0, 0x0) at netbsd:mem_access_fault+0x3f4
[   1.0000030] mem_access_fault(0x9, 0x8002, 0xfe02a000, 0xe80112e4,
0x40, 0xe84bb8a8) at netbsd:memfault_sun4+0x138
[   1.0000030] memfault_sun4(0x0, 0x2, 0xfb200000, 0x20, 0x2,
0xe84bb95c) at netbsd:cgfourattach+0x1b8
[   1.0000030] cgfourattach(0xe866e600, 0xe86b2e00, 0xe84bba98, 0x8,
0x0, 0xe86ca0c0) at netbsd:config_attach_internal+0x1f0
[   1.0000030] config_attach_internal(0xe866e600, 0x1, 0xe84bba98,
0x0, 0xe8407638, 0xe84cdf5c) at netbsd:config_attach+0x3c
[   1.0000030] config_attach(0xe866e600, 0xe84cdf14, 0xe84bba98,
0xe8008134, 0x0, 0x1000) at netbsd:obiosearch+0xd0
[   1.0000030] obiosearch(0x1, 0xe84cdf14, 0x0, 0xe84bbc84, 0x37d,
0xe84bbe40) at netbsd:mapply+0x1c
[   1.0000030] mapply(0xe84bbb90, 0xe84cdf14, 0xe84ce6d0, 0xe8406380,
0x6f, 0xe8403098) at netbsd:config_search_internal+0x2b4
[   1.0000030] config_search_internal(0xe84f3044, 0xe84bbc84,
0xe84bbc0c, 0xe866e600, 0xe8402f50, 0xe84cdf14) at
netbsd:config_search+0x78
[   1.0000030] config_search(0xe866e600, 0xe84bbc84, 0xe84bbc8c,
0xe84d8ac8, 0xe84bcf48, 0xffffffb8) at netbsd:obioattach+0x108
[   1.0000030] obioattach(0xe866e200, 0xe866e600, 0xe84bbe40, 0x1,
0xe8008054, 0xe83e4e40) at netbsd:config_attach_internal+0x1f0
[   1.0000030] config_attach_internal(0xe866e200, 0x1, 0xe84bbe40,
0x0, 0xe8406380, 0xe84cdf5c) at netbsd:config_found_acquire+0x48
[   1.0000030] config_found_acquire(0xe84cd9d4, 0xe84bbe40,
0xe8016908, 0x0, 0xe866e200, 0xe84bbd6c) at netbsd:config_found+0x24
[   1.0000030] config_found(0xe866e200, 0xe84bbe40, 0xe8016908, 0x0,
0x1e8, 0x5a0) at netbsd:mainbus_attach+0xc8
[   1.0000030] mainbus_attach(0x0, 0xe866e200, 0x0, 0xe8016800,
0xe84bcf00, 0xe84bcf48) at netbsd:config_attach_internal+0x1f0
[   1.0000030] config_attach_internal(0x0, 0x1, 0x0, 0x0, 0xe8407f50,
0xe84cdf5c) at netbsd:config_attach+0x3c
[   1.0000030] config_attach(0x0, 0xe84cd9bc, 0x0, 0x0, 0x0, 0x90) at
netbsd:config_rootfound+0x38
[   1.0000030] config_rootfound(0xe84cd9bc, 0x0, 0x11400fe6,
0xfe014000, 0x1, 0xe8407f50) at netbsd:cpu_configure+0x454

         [   1.0000030] cpu_configure(0xe8407ef0, 0x0, 0xe84bcf90,
0xe84ef400, 0xe8407ef8, 0x0) at netbsd:main+0x4c4

         [   1.0000030] main(0xe84ef400, 0xe84ca000, 0xe84d8800,
0x1548000, 0x1ff0000, 0x660) at netbsd:nmi_common+0x924
[   1.0000030] cpu0: End traceback...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x4:        or
%o7, %g0, %g1
db>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.