Re: NetBSD installation woes on Sun Blade 100

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Wed, Jul 22, 2020 at 11:41:14AM +0200, Connor McLaughlan wrote:
> I used a GENERIC configuration and modified it only to be an insecure kernel.
> 
> I applied this change:
> /usr/src/sys/arch/sparc64/include/param.h
> I set both SSIZE values from 2 to 4. Guess the first value is the one
> that counts.

> [     1.000000] pci1 at ppb0 bus 1
> [     1.000000] pci1: i/o space, memory space enabled
> [     1.000000] machfb0 at pci0 dev 19 function 0: ATI Technologies
> Rage XL (rev. 0x27)
> [     1.000000] machfb0: using MMIO aperture
> [     1.000000] machfb0: 16 MB aperture at 0x03000000, 4 KB registers
> at 0x00426000
> [     1.000000] machfb0: 128 KB ROM at 0x00440000
> [     1.000000] machfb0: ref_freq=29.498MHz
> [     1.000000] machfb0: 8192 KB SDRAM 114.992 MHz, maximum RAMDAC clock 230 MHz
> [     1.000000] machfb0: initial resolution 1280x1024 at 8 bpp
> [     1.000000] wsdisplay0 at machfb0 kbdmux 1: console (default,
> vt100 emulation)
> [     1.000000] wsmux1: connecting to wsdisplay0
> [     1.000000] wsdisplay0: screen 1-3 added (default, vt100 emulation)

Thanks!

So you (a) have a different mach64 than me and (b) run into a different
problem. I am not sure why I do not see your problem on my hardware, stack
usage at that point should be mostly identical.

Michael, you missed the genfb_calc_hsize pullup?

This is the top-20 of stack size offenders in sparc64/GENERIC on netbsd-9:

Frame/b	Function
4096	pci_conf_print at pci_subr.c:4813
3536	SHA3_Selftest at sha3.c:430
3408	genfb_calc_hsize at genfb.c:630
2464	procfs_domounts at procfs_linux.c:600
2272	gem_pci_attach at if_gem_pci.c:147
2256	twoway_memmem at memmem.c:84
2240	compat_60_ptmget_ioctl at tty_60.c:70
2048	db_stack_trace_print at db_trace.c:77
1696	wdcprobe_with_reset at wdc.c:487
1424	nfsrv_rename at nfs_serv.c:1902
1392	OF_mapintr at ofw_machdep.c:728
1344	sysctl_hw_firmware_path at firmload.c:81
1280	fw_bmr at firewire.c:2331
1264	cdioctl at cd.c:1204
1248	cpu_reset_fpustate at cpu.c:400
1248	aubtfwl_attach_hook at aubtfwl.c:273
1248	db_lwp_whatis at db_lwp.c:65
1248	uvm_swap_stats at uvm_swap.c:711
1248	ktrwrite at kern_ktrace.c:1269
1232	ahc_print_register at aic7xxx.c:6546


Martin
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.