Subject: install/36948: 4.0 builds fail to include a working a.out kernel for cats
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <chris@dokein.co.uk>
List: netbsd-bugs
Date: 09/08/2007 21:55:00
>Number: 36948
>Category: install
>Synopsis: 4.0 builds fail to include a working a.out kernel for cats
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 08 21:55:00 +0000 2007
>Originator: Chris Gilbert
>Release: Netbsd 4.0
>Organization:
>Environment:
cats machine with cyclone firmware, which can only boot a.out images, not ELF images.
>Description:
cats 4.0 builds don't include an a.out kernel for use with older Cyclone firmware. Reported on cats mailing list:
http://mail-index.netbsd.org/port-cats/2007/09/08/0000.html
Investigating this further shows that the issue is in the build system when creating the installation kernels. Specifically at the mdset stage of the build.
Cats makes use of a MDSET_POST.netbsd.aout-INSTALL target so that only the aout kernel is converted to a.out, leaving the able install kernel as an ELF binary.
This appears to not be working due to a bug in the Makefile.mdset code.
>How-To-Repeat:
Attempt to install on a cats machine running cyclone firmware.
>Fix:
Correct the bug in the Makefile.