Re: Booter for 9.3 kernel not working
Matthew Stock <[email protected]> Wed, 24 Jan 2024 06:45:21 -0500
| Newsgroups | gmane.os.netbsd.ports.mac68k |
|---|---|
| Message-ID | <CAJEih4-Epm3As-8i=7u2y5L2PeRZP=SABdhiV6mDQeoc7UgBrA@mail.gmail.com> |
Hi Nat, Thanks for the followup. To clarify, the problem is Booter recognizing that the kernel is something it can execute/load. If I use precompiled GENERICSBC (as part of the installation process), Booter recognizes the kernel, loads it, and I get a running system. If I build the kernel myself (including GENERICSBC, no modifications), Booter will not start the load process because it doesn't recognize the kernel as something it can load. This is true of native and cross compiled kernels. This doesn't appear to be a filesystem issue, as I can get prebuilt GENERICSBC to load from the root filesystem, and my GENERICSBC will not load from the root filesystem nor the native partition. I don't know if the list likes attachments, but attaching a debug log for one of the boot session attempts. Thanks, Matt
bootlog.txt
(text/plain, 5.1 KB)
Logging to bootlog Booter version : 2.0.0 Free heap memory : 9359KB (out of 10240KB total requested) ------------------------------------- Macintosh type (MACHID) : 62 RAM size (physical RAM) : 36MB System file version : 7.5.5 Has AppleScript. Has Control Strip. GetGestalt (gestaltDesktopPicturesAttr) failed Has Display manager version 2. ------------------------------------- Booting... Reading 512 bytes from block 0 of SCSI buss 0, ID 1 into 2308d60 Block count = 16777216 reading partition # 1 Reading 512 bytes from block 2 of SCSI buss 0, ID 1 into 2308b4c , partition name - 'Macintosh' Magic = 10600, Type = 0, Flags = 0, reading partition # 2 Reading 512 bytes from block 3 of SCSI buss 0, ID 1 into 2308b4c , partition name - 'MacOS' Magic = 0, Type = 0, Flags = 1000, reading partition # 3 Reading 512 bytes from block 4 of SCSI buss 0, ID 1 into 2308b4c , partition name - 'A/UX Root' Magic = abadbabe, Type = 1, Flags = d000, Reading 512 bytes from block 4 of SCSI buss 0, ID 1 into 2308d86 Chose partition 3, name 'A/UX Root' type 'Apple_UNIX_SVR2' blocks in map 5, start block 2054436, length 14400000 Reading 8192 bytes from block 2054452 of SCSI buss 0, ID 1 into 230a6a0 Magic from fs: 72020 Magic from .h: 72020 get_diinode(2) = sector 96 Reading 512 bytes from block 2054532 of SCSI buss 0, ID 1 into 230a390 read_bsd_block(): Reading block 1456 into 19408b0 read_bsd_block(): Block 1456 cached in cache_block 0 100% done get_diinode(2) = sector 96 "." (inode 2) 512 bytes get_diinode(2) = sector 96 ".." (inode 2) 512 bytes get_diinode(797440) = sector 12923776 Reading 512 bytes from block 14978212 of SCSI buss 0, ID 1 into 230a390 "etc" (inode 797440) 0 bytes get_diinode(182272) = sector 2954080 Reading 512 bytes from block 5008516 of SCSI buss 0, ID 1 into 230a390 "kern" (inode 182272) 0 bytes get_diinode(22784) = sector 369344 Reading 512 bytes from block 2423780 of SCSI buss 0, ID 1 into 230a390 "proc" (inode 22784) 0 bytes get_diinode(136704) = sector 2215584 Reading 512 bytes from block 4270020 of SCSI buss 0, ID 1 into 230a390 "dev" (inode 136704) 0 bytes get_diinode(364544) = sector 5908064 Reading 512 bytes from block 7962500 of SCSI buss 0, ID 1 into 230a390 "cdrom" (inode 364544) 0 bytes get_diinode(478464) = sector 7754304 Reading 512 bytes from block 9808740 of SCSI buss 0, ID 1 into 230a390 "var" (inode 478464) 0 bytes get_diinode(843008) = sector 13662272 Reading 512 bytes from block 15716708 of SCSI buss 0, ID 1 into 230a390 "usr" (inode 843008) 0 bytes get_diinode(318976) = sector 5169568 Reading 512 bytes from block 7224004 of SCSI buss 0, ID 1 into 230a390 "stand" (inode 318976) 0 bytes get_diinode(3) = sector 96 Reading 512 bytes from block 2054532 of SCSI buss 0, ID 1 into 230a390 "netbsd" (inode 3) 4138456 bytes get_diinode(410112) = sector 6646560 Reading 512 bytes from block 8700996 of SCSI buss 0, ID 1 into 230a390 "altroot" (inode 410112) 0 bytes get_diinode(341760) = sector 5538816 Reading 512 bytes from block 7593252 of SCSI buss 0, ID 1 into 230a390 "bin" (inode 341760) 0 bytes get_diinode(227840) = sector 3692576 Reading 512 bytes from block 5747012 of SCSI buss 0, ID 1 into 230a390 "lib" (inode 227840) 0 bytes get_diinode(432896) = sector 7015808 Reading 512 bytes from block 9070244 of SCSI buss 0, ID 1 into 230a390 "libdata" (inode 432896) 0 bytes get_diinode(729088) = sector 11816032 Reading 512 bytes from block 13870468 of SCSI buss 0, ID 1 into 230a390 "libexec" (inode 729088) 0 bytes get_diinode(751872) = sector 12185280 Reading 512 bytes from block 14239716 of SCSI buss 0, ID 1 into 230a390 "mnt" (inode 751872) 0 bytes get_diinode(205056) = sector 3323328 Reading 512 bytes from block 5377764 of SCSI buss 0, ID 1 into 230a390 "rescue" (inode 205056) 0 bytes get_diinode(387328) = sector 6277312 Reading 512 bytes from block 8331748 of SCSI buss 0, ID 1 into 230a390 "root" (inode 387328) 0 bytes get_diinode(296192) = sector 4800320 Reading 512 bytes from block 6854756 of SCSI buss 0, ID 1 into 230a390 "sbin" (inode 296192) 0 bytes get_diinode(45568) = sector 738592 Reading 512 bytes from block 2793028 of SCSI buss 0, ID 1 into 230a390 "tmp" (inode 45568) 0 bytes get_diinode(774656) = sector 12554528 Reading 512 bytes from block 14608964 of SCSI buss 0, ID 1 into 230a390 "home" (inode 774656) 0 bytes get_diinode(2545) = sector 732 Reading 512 bytes from block 2055168 of SCSI buss 0, ID 1 into 230a390 ".cshrc" (inode 2545) 1220 bytes get_diinode(2546) = sector 732 ".profile" (inode 2546) 544 bytes get_diinode(7955) = sector 2084 Reading 512 bytes from block 2056520 of SCSI buss 0, ID 1 into 230a390 "netbsd.small" (inode 7955) 2802508 bytes First sector = 344880 ufs_open() reading block 344976 into 191a8d4 read_bsd_block(): Reading block 344976 into 191a8d4 read_bsd_block(): Block 344976 cached in cache_block 1 read_bsd_block(): Reading block 344880 into 19408b0 read_bsd_block(): Block 344880 cached in cache_block 2 transparent = 1 read_bsd_block(): Reading block 344880 into 19408b0 read_bsd_block(): Block 344880 cached in cache_block 2 Magic = 0x0 (0) Boot error: This kernel is not in a format which the booter can execute. *********** Boot Stopped. *********** Restoring Monitor settings...