-current kernels have wrong magic when net-booting?

Hauke Fath <[email protected]> Wed, 28 Apr 2021 21:57:33 +0200
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
Hi,

while attempting to boot -current kernels on a few Macs (a Quadra 650 and
two 700) I found that they would boot from harddrive, but not when
net-booted. Here, the kernel was rejected because of a wrong magic (boot
log attached). I tried a pared-down kernel config of 9.99.82 sources, same
result.

Older kernels (5.99.62, 7.99.something) were recognized.

Has anything on the NetBSD side changed here recently, or are the kernels
just too big now? Does anybody else net-boot?

Cheerio,
Hauke

--
"It's never straight up and down"     (DEVO)
%2021-04-28.bootlog (application/applefile, 494 B) - not displayed
2021-04-28.bootlog (text/plain, 1.8 KB)
Logging to bootlog
Booter version   : 2.0.1a4
Free heap memory : 7622KB (out of 8000KB total requested)
-------------------------------------
Macintosh type (MACHID) : 22
RAM size (physical RAM) : 68MB
System file version     : 8.1.0
Has AppleScript. GetGestalt (gestaltControlStripAttr) failed
GetGestalt (gestaltDesktopPicturesAttr) failed
Has Display manager version 2. 
-------------------------------------
Booting...


BOOTP request:
Server pizza offers file mac68k-SEVENOHOH-9_99_82.gz
TFTP transfer ............................ done.
Received 1426625 bytes of data (err = 0).
transparent = 0
Magic = 0x800 (2048)
Boot error: This kernel is not in a format which the booter can execute.


*********** Boot Stopped. ***********
Restoring Monitor settings...
Logging to bootlog
Booter version   : 2.0.1a4
Free heap memory : 7891KB (out of 8000KB total requested)
-------------------------------------
Macintosh type (MACHID) : 22
RAM size (physical RAM) : 68MB
System file version     : 8.1.0
Has AppleScript. GetGestalt (gestaltControlStripAttr) failed
GetGestalt (gestaltDesktopPicturesAttr) failed
Has Display manager version 2. 
-------------------------------------
Booting...


BOOTP request:
Server pizza offers file mac68k-SEVENOHOH-9_99_82.gz
TFTP transfer ............................ done.
Received 1426625 bytes of data (err = 0).
transparent = 0
32 bit ELF format
=0x355abc
kVec[MARK_START]=0x0
kVec[MARK_ENTRY]=0x2e00
kVec[MARK_NSYM] =0x1
kVec[MARK_SYM]  =0x2d3cb0
kVec[MARK_END]  =0x355abc
kVec[MARK_MAX]  =0x0
PageSize = 8192, Start 0, entry 11776, NSym 1, Sym 2964656, End 3496636
Allocated 3758780 bytes.
Magic = 0x800 (2048)
Boot error: This kernel is not in a format which the booter can execute.


*********** Boot Stopped. ***********
Restoring Monitor settings...