Netbooting NetBSD on Sun Sparcstation 5 and Sun Ultra1

So, this is more a less a quick brain dump from my NetBSD installations on my sparcstation 5 and Ultra 1. I used a Raspberry PI 3 for DHCP/rarpd/tftp/nfs.

I based my installations on the following guides:

Below I just added a few things I thought was missing or unclear from the guides.


08:00:20:xx:xx:xx ss5
08:00:20:xx:xx:xx ultra1

At OK prompt, either start the netbooting with boot net or boot net:dhcp, either works usually.

For Sparc64 install (Ultra 1), when you are asked for the installation media and you choose “local media” then you need to type in :

Base Directory: /
Binary Set Directory: /sparc64/binary/sets/

I did not edit the part about source sets location.

NetBSD and problem with rendering php under apache2.4

If you install Apache2.4 with php5 on NetBSD and having trouble rendering php files (the php code is shown when opening a php document from the website) try running the httpd binary manually and you might recieve this error:

[:crit] [pid 3793:tid 140187728347136] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed

Assuming you already have these lines in the httpd.conf:

LoadModule php5_module lib/httpd/
AddHandler application/x-httpd-php .php

Comment out the following line in httpd.conf:
# LoadModule mpm_event_module lib/httpd/

Insert this line:
LoadModule mpm_prefork_module lib/httpd/

start/restart your httpd:
/etc/rc.d/httpd restart

Hopefully this fixes it, otherwise debug running the httpd command alone.