Subject: port-sparc/27070: 2.0_RC1 fails to netboot on 16MB SparcStation 1+
To: None <>
From: Greg Oster <>
List: netbsd-bugs
Date: 09/28/2004 19:40:40
>Number:         27070
>Category:       port-sparc
>Synopsis:       2.0_RC1 fails to netboot on a 16MB SparcStation 1+
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 29 01:41:00 UTC 2004
>Originator:     Greg Oster
>Release:        NetBSD 2.0_RC1 as of 20040926

16MB SparcStation 1+, booting via the net.  Bootblocks, kernels, etc. 
are all from 2.0_RC1.  Supporting OS is 2.0_BETA on i386.

	The 2.0_RC1 kernel for NetBSD/sparc appears to be too big.  
On serial console I see:

Booting netbsd
Trying BOOTP protocol... net_open: client addr:
net_open: subnet mask:
net_open: net gateway:
net_open: server addr:
net_open: server path: /u3/export/sparc/root
net_open: file name: netbsd
ip address:, netmask:, gateway:
root addr= path=/u3/export/sparc/root
Cannot load netbsd: error=27

which is EFBIG ("File too large").  Kernel size is:

-rwxr-xr-x  1 root  wheel  3577697 Sep 28 19:03 netbsd*

Bootblock in question is this one:
-r--r--r--  1 root  wheel  64296 Sep 28 19:14 /tftpboot/
built fresh from same 2.0_RC1 sources.

	Cross-build 2.0_RC1 for sparc on i386.  Attempt to boot a 
fresh net-install of NetBSD 2.0_RC1 on a SparcStation 1+ that has
16 1MB sticks for a total of 16MB ram.  Be disappointed when it
says "Cannot load netbsd".

	Put the kernel on a diet ("not likely"), or, preferably, 
make bootblocks capable of dealing with larger kernels.