<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 16, 2021 at 4:30 PM Klaus Ziegler - owner of <a href="http://sunfreeware.de">sunfreeware.de</a> <<a href="mailto:klausz@haus-gisela.de">klausz@haus-gisela.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
as you may know the latest OpenIndiana for SPARC does not run on<br>
sun4u systems, it always panics during the initial CD boot with:<br>
<br>
panic[cpu0]/thread=2a100301c80: vmem_xalloc(): size overflow<br></blockquote><div><br></div><div>See:<br><br><a href="https://www.illumos.org/issues/10326">https://www.illumos.org/issues/10326</a><br><br></div><div>I suspect it's unfortunate that Gary's build was from the time period that had this particular bug.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
later on in the dump output one can see:<br>
000002a100300f50 zfs:aggsum_init+48 (701348e0, 0, 7b69bbe0, 7b77b3a0, 1, 3)<br>
   %l0-3: 0000000001824000 0000000001814410 000002a100300fe8 <br>
0000000001824000<br>
   %l4-7: 0000030001a82ee0 0000000001834000 0000000000000000 <br>
0000000000000090<br>
000002a100301000 zfs:arc_state_init+1ec (0, 3, 0, 0, 1, 701167b8)<br>
   %l0-3: 0000000070116898 0000000070116800 0000000070116800 <br>
0000000070116800<br>
<br>
So for me it looks like the problem is the /kernel/drv/sparcv9/zfs module.<br>
The panic occures in:<br>
usr/src/uts/common/os/vmem.c line: 1085: panic("vmem_xalloc(): size <br>
overflow");<br>
<br>
enough now, about what isn't working, here's the way I got it working:<br>
<br>
1. lofiadm mount Gary's iso to /mnt, can be done on x86.<br>
# lofiadm -a `pwd`/OI_2018_02_Text_SPARC.iso<br>
# mount -o ro -F hsfs /dev/lofi/1 /mnt<br>
<br>
2. extract the boot_archive to a SPARC, must be a SPARC can't be x86!<br>
# cd /mnt/boot/platform/sun4u<br>
# ls -al boot_archive<br>
-rw-r--r--   1 root     root     197425152 Jan.  4 02:16 boot_archive<br>
<br>
3. After you copied the archive to the SPARC system mount it using ufs <br>
filesystem format:<br>
# lofiadm -a `pwd`/boot_archive<br>
# mount -F ufs /dev/lofi/1 /mnt<br>
# cd /mnt/kernel/drv/sparcv9<br>
# rcp/scp <your v9os zfs module> .<br>
# ls -al zfs<br>
-rwxr-xr-x   2 root     sys      2229424 Oct 30  2018 zfs<br>
# cd /<br>
# umount /mnt<br>
<br>
4. My boot-server is x86, so I copied the modified boot_archive back to <br>
there.<br>
Setup tftpboot, the same way like s10s_u11wos_24a used to be booted over <br>
the net.<br>
I used the inetboot binary from v9os, but I also verified that it works <br>
with the<br>
inetboot from Gary's distribution.<br>
IMPORTANT: rename "boot_archive" to "sparc.miniroot" in the NFS share,<br>
which will be mounted for the initial boot via tftpboot.<br>
<br>
5. On the system which you are going to install, insert the <br>
OI_2018_02_Text_SPARC<br>
CD and boot from the net:<br>
ok boot net -rv<br>
and then you will end up in the installer of Gary's wonderfull distribution.<br>
<br>
DRAWBACKS:<br>
1.) you need an empty, but exsiting zpool "rpool" on the system you'll <br>
going to install.<br>
2.) you have to choose "Install to existing Zpool" - and therfore create <br>
swap/dump<br>
      devices after the install.<br>
3.) you will not be able to create additional zpools on the system you <br>
have installed.<br>
<br>
I have successfully done this for a SunFire v240 and one Enterprise2 - <br>
works like<br>
a champ, if you create all your zpools before doing the install. Anyhow <br>
if you<br>
do have a CDrom in the target system you can always create additional zpools<br>
using the boot fro the v9os CD (be sure to use the correct drives).<br>
<br>
P.S. if the system to be installed is a BroadCom Gigabit based one, also <br>
exchange<br>
        the bge driver in addition to the zfs module - the bge driver <br>
fro Gray's release<br>
        didn't work for me - I also used the one fro v9os.<br>
<br>
Much Regards<br>
Klaus<br>
<br>
     \\\<br>
     (.. )<br>
=o00=(_)=00o=============================================================<br>
<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com/</a></div></div>