NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mvme68k/61074: Tape boot fail for a MVME147 system, in bootst: hackload_blocks too small for the 11.1 install
>Number: 61074
>Category: port-mvme68k
>Synopsis: Tape boot fail for a MVME147 system, in bootst: hackload_blocks too small for the 11.1 install
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mvme68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 25 09:30:00 +0000 2026
>Originator: Olivier De Smet
>Release: NetBSD 11.1
>Organization:
>Environment:
NetBSD mvme147 11.1 NetBSD 11.1 (GENERIC) #0: Tue Nov 24 08:57:09 CET 2026 olivier@imrryr:/home/olivier/NetBSD/usr/obj/sys/arch/mvme68k/compile/GENERIC mvme68k
>Description:
While making an emulator for an MVME147 board, I encounter the following problem when
trying to boot from a tape.
In sys/arch/mvme68k/stand/bootst/dev_tape.c the function hackprom_diskrd
loads the whole tape segment in one PROM read of hackload_blocks 256-byte blocks.
(0x3000 = 3 MB).
The 11.x installation ramdisk kernel is about 3.5 MB, so it is truncated at load
and the tape bootstrap fails.
The same problem should appear on a real board I think.
>How-To-Repeat:
Build the full install tape (bootst + ramdisk kernel), boot it with
147-Bug "bo 0,4" (or equivalent): kernel load fails / truncated.
>Fix:
--- sys/arch/mvme68k/stand/bootst/dev_tape.c
-#define hackload_blocks 0x3000 /* 3Mb worth */
+#define hackload_blocks 0x3800 /* 3.5Mb worth */
Loaded at 0x080000, 0x3800 blocks end exactly at 0x400000, so this
still fits a 4 MB board; larger values would not.
Tested by patching bootst on the tape image: install kernel loads
and the installation completes.
Home |
Main Index |
Thread Index |
Old Index