Subject: Memory disk woes: mdsetimage
To: 'port-arm32@netbsd.org' <port-arm32@netbsd.org>
From: Bruce Martin <BruceM@cat.co.za>
List: port-arm32
Date: 03/26/1999 11:04:32
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01BE7767.AA43A5B0
Content-Type: text/plain

Hi folks,

I am trying to make a memory root disk for an EBSA285, and
have managed to make ramdisk-13I.fs, my file system image.
Then I do the following:
	mdsetimage -v ./netbsd ./ramdisk-13I.fs

and get the following response:
	got symbols from ./netbsd
	mapped ./netbsd
	./netbsd is an a.out binary
	_md_root_size is at offset 0x135df8 in ./netbsd
	_md_root_size has value 0x190000
	_md_root_image is at offset 0x135dfc in ./netbsd
	copying image from ./ramdisk-13I.fs into ./netbsd
	done copying image
	exiting

All seems good and well, but when I look at the date last
modified, and the current date, it shows that it did not
actually modify the file at all! This is verified by doing a
cmp between originals and "mdsetimaged" kernels: they are
identical. Any ideas?

Thanks
  Bruce

------ =_NextPart_001_01BE7767.AA43A5B0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.0.1460.9">
<TITLE>Memory disk woes: mdsetimage</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi folks,</FONT>
</P>

<P><FONT SIZE=3D2>I am trying to make a memory root disk for an =
EBSA285, and have managed to make ramdisk-13I.fs, my file system image. =
Then I do the following:</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>mdsetimage =
-v ./netbsd ./ramdisk-13I.fs</FONT>
</P>

<P><FONT SIZE=3D2>and get the following response:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>got =
symbols from ./netbsd</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>mapped =
./netbsd</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>./netbsd =
is an a.out binary</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>_md_root_size is at offset 0x135df8 in ./netbsd</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>_md_root_size has value 0x190000</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>_md_root_image is at offset 0x135dfc in ./netbsd</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>copying =
image from ./ramdisk-13I.fs into ./netbsd</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>done =
copying image</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>exiting</FONT>
</P>

<P><FONT SIZE=3D2>All seems good and well, but when I look at the date =
last modified, and the current date, it shows that it did not actually =
modify the file at all! This is verified by doing a cmp between =
originals and &quot;mdsetimaged&quot; kernels: they are identical. Any =
ideas?</FONT></P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>&nbsp; Bruce</FONT>
</P>

</BODY>
</HTML>
------ =_NextPart_001_01BE7767.AA43A5B0--