Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2022 21:09:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 264267] UEFI Booting on Azure Generation 2 VMs crashes
Message-ID:  <bug-264267-27103-e2NGCAsZEg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264267-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264267-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264267

--- Comment #13 from Michael Baptist <mbaptist.opensource@gmail.com> ---
(In reply to Mark Johnston from comment #12)

I've seen output like the trademark, and copyright in init_main.c get outpu=
t,
however its "random" (to me) as to how much makes it to the console before =
its
crashes.

Adding in some additional printfs I can trace that the system made it into
mi_startup and iterating over the sysinit calls.

message buffer initialization
---<<BOOT>>---
exiting hammer time
mistartup!

   0xffffffff80a61090(0)... done.
   0xffffffff80a877f0(0)... done.
   0xffffffff806acdb0(0)... done.
   0xffffffff805f6050(0xffffffff80f1aa68)... done.
   0xffffffff805f6050(0xffffffff80f1b540)... done.
   0xffffffff805f6050(0xffffffff80f1b550)... done.

Continues to dump addresses and some of them print to console like
trademark/copyright and so forth.

 0xffffffff805d8500(0xffffffff80f62200)... FreeBSD is a registered trademar=
k of
The FreeBSD Foundation.
done.

@@ -305,6 +306,7 @@ mi_startup(void)
 #endif

                /* Call function */
+               printf("   %p(%p)... ", (*sipp)->func, (*sipp)->udata);
                (*((*sipp)->func))((*sipp)->udata);
+               printf("done.\n");


I haven't been able to get DDB and VERBOSE_SYSINIT working so I've just got
addrs and not symbol lookups to print. There is code already there to do sy=
mbol
look ups.

options         DDB                     # Support DDB.
options         VERBOSE_SYSINIT=3D1       # Support debug.verbose_sysinit, =
off by

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264267-27103-e2NGCAsZEg>