Subject: bin/19248: mopcopy command doesn't work on ELF boot loader for VAX.
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/02/2002 23:58:27
>Number:         19248
>Category:       bin
>Synopsis:       mopcopy command doesn't work on ELF boot loader for VAX.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 03 00:00:03 PST 2002
>Originator:     Brian Chase
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (RADIANT) #0: Mon Nov 25 09:35:19 PST 2002 vax
Architecture: vax
Machine: vax
	The mopcopy command fails to properly translate the `boot' second
	stage boot loader, as provided in the NetBSD/vax 1.6 release, to
	a MOP image.  It instead turns the 64KB boot loader into a 67_MB_
	lump of useless data.  The end result is that NetBSD/vax 1.6 can't
	be used by people who boot their systems disklessly.
radiant: {41} ls -l boot
-rw-------  1 bdc  users  65252 Nov 12 15:24 boot
radiant: {42} time mopcopy boot boot.mop
Elf32 image (VAX)
Transfer Address:   002f0000
Program Sections:   1
 S0 File Size:      0000efac
 S0 Pad Size:       00002684
copying 61356+9860->3080192
28.531u 47.222s 3:04.22 41.1%   0+0k 5+49io 14pf+0w
radiant: {43} ls -l boot.mop
-rw-r--r--  1 bdc  users  67255531 Dec  2 23:50 boot.mop
radiant: {44} file boot
boot: ELF 32-bit LSB executable, Digital VAX, version 1 (SYSV), statically linked, stripped
radiant: {45} file boot.mop
boot.mop: data