[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Booting the FreeBSD kernel as an zImage file needs a patch upgrade ?.
>... the ps output, it seems that ``xl create`` completed and you have the console open. So the freeze you mention is just because your FreeBSD
guest is not outputting anything. >As mentioned earlier, I don't think a lot of testing has been done for 32-bit Arm FreeBSD. So it is quite possible that there are some pieces of code missing. > The first step is I would suggest checking if the FreeBSD kernel was built with Xen options. > If they are, then you will need to find out where FreeBSD is stuck (or why the console is not enabled). Unfortunately, we don't have any support to use GDB on the guest kernel. So you will have to modify FreeBSD a bit to check whether it can stick. > Assuming you have a debug build of the hypervisor, then you can sprinkle the FreeBSD boot code with the assembly instruction 'hvc 0xfffc'. > When this is reached, this will issue an hypercall that will print on the Xen console that the given instruction has reached (the PC will be printed). There are other useful 'hvc' calls implemented by Xen for low level debugging. You can look at do_debug_trap() in Xen code. ...this goes beyond my abilities...It needs some advanced FreeBSD system
admin / developer to understand what to do. I hope someone can help
me...or this project will end here and will be a shame after the time
and the efforts that I put in there. Can you tell me if a JTAG debugger can help me to debug what happens on the FreeBSD guest ? Thanks. On Wed, Jan 10, 2024 at 2:43 PM Julien Grall <julien@xxxxxxx> wrote: Hi, -- Mario.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |