NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-mac68k/50435: "BSD/Mac68k Booter" can't boot cross-compiled kernels from the NetBSD root partition.



>Number:         50435
>Category:       port-mac68k
>Synopsis:       "BSD/Mac68k Booter" can't boot cross-compiled kernels from the NetBSD root partition.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 16 16:30:00 +0000 2015
>Originator:     Stanley Johnson
>Release:        NetBSD 7.0 (release) with customized kernel
>Organization:
N/A
>Environment:
NetBSD maclciii 7.0 NetBSD 7.0 (MACLCIII) #1: Tue Nov 10 03:33:23 MST 2015  root@maclciii:/usr/src/sys/arch/mac68k/compile/MACLCIII mac68k
>Description:
A kernel compiled on a Mac LC III and optimized for a 68030 boots successfully from the NetBSD "/" partition using "BSD/Mac68k Booter". However, a kernel that is cross-compiled on a MacBook Pro running Debian GNU/Linux 7.8 using the same configuration file will not boot directly from the NetBSD "/" partition, though the compressed version will boot from Mac OS.  "BSD/Mac68k Booter" complains that the cross-compiled kernel is not in a format that it can execute.

It's important to be able to boot directly from the NetBSD root partition; otherwise, kernels have to be maintained in both Mac OS and NetBSD.
>How-To-Repeat:
Compile a kernel on a native 68030 system (about 2-3 days on a Mac LC III).  Confirm that it will boot from the "/" partition using "BSD/Mac68k Booter".  Then re-compile with the same configuration file using a cross compiler (takes just a few minutes).  The resulting kernel will not be bootable from the NetBSD "/" partition.
>Fix:



Home | Main Index | Thread Index | Old Index