Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-30 Thread Jiatong Shen
Hi Julien, Thank you for your answer. Do you have any advice on how to debug the issue? I have very little experience with xen so I think I still need debugging even if I can get MBI-gen's tech doc... Best regards, Jiatong Shen On Fri, Jun 30, 2023 at 5:42 AM Julien Grall wrote: > On 24/06/

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-29 Thread Julien Grall
On 24/06/2023 15:54, Jiatong Shen wrote: Hello Julien, Hi, Thank you very much for your reply. Can you teach me how to find the relationship between MBI-gen and devices? I am not sure how to find out the mbi-gen backed devices.. I am afraid I don't have any experience with the MBI-gen.

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-25 Thread Jiatong Shen
Hello Julien, I tried to enable has_its and looks like the log is different. But dom0 OS still failed to boot up.. Could you please have a look at the log when you are available? Thank you very much for the help. Best regards, Jiatong Shen On Sat, Jun 24, 2023 at 10:54 PM Jiatong Shen wrote:

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-24 Thread Jiatong Shen
Hello Julien, Thank you very much for your reply. Can you teach me how to find the relationship between MBI-gen and devices? I am not sure how to find out the mbi-gen backed devices.. Best Regards, Jiatong Shen On Sat, Jun 24, 2023 at 4:24 PM Julien Grall wrote: > Hi, > > On 20/06/2023 08:0

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-24 Thread Julien Grall
Hi, On 20/06/2023 08:09, Jiatong Shen wrote: Hello Julien, Sorry for the delay.. I obtained the full xen log and attached it in the mail. Please take a look when you are available. Thank you very much Thanks for sharing the logs. The following lines are interesting: [1.081905] Hisili

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-20 Thread Jiatong Shen
Hello Julien, Sorry for the delay.. I obtained the full xen log and attached it in the mail. Please take a look when you are available. Thank you very much Best Regards, Jiatong Shen On Sat, Jun 17, 2023 at 4:55 AM Julien Grall wrote: > Hi, > > On 15/06/2023 22:52, Jiatong Shen wrote: > >

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-16 Thread Julien Grall
Hi, On 15/06/2023 22:52, Jiatong Shen wrote: Thank you for your answer! Adding console=hvc0 indeed provides kernel output serial console. Looking at the log message, I found dom0 kernel failed to initialize a lot of device drivers (network cards, raid cards, etc). Is it related to iomm

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-15 Thread Jiatong Shen
Hello Julien, Thank you for your answer! Adding console=hvc0 indeed provides kernel output serial console. Looking at the log message, I found dom0 kernel failed to initialize a lot of device drivers (network cards, raid cards, etc). Is it related to iommu? I remember iommu is not enabled

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-15 Thread Julien Grall
Hi, On 13/06/2023 02:07, Jiatong Shen wrote: Hello Stefano and Julien, Could you provide more insights for debugging? I tried to connect to serial console through ipmitool sol activate and enabled ACPI, I do see some logs but the machine is still stuck. BMC video screen is still not respons

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-12 Thread Jiatong Shen
Hello Stefano and Julien, Could you provide more insights for debugging? I tried to connect to serial console through ipmitool sol activate and enabled ACPI, I do see some logs but the machine is still stuck. BMC video screen is still not responsive and black out. Thank you very much for the

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-11 Thread Jiatong Shen
Hello Stefano and Julien, I tried to do some debugging by adding a printk inside the function idle_loop in file arm/domain.c. Looks like the idle function is running normally because the printk function is getting called without stalling. But the vga screen is still blacked out and the serial t

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-10 Thread Jiatong Shen
Hello Stefano, I am able to obtain some serial logging (by enabling debugging and verbose debugging messages, hopefully select the right option). The message looks like (XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input) (XEN) Freed 372kB init memory. (XEN) d0v0: vGICD:

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-09 Thread Jiatong Shen
Hello Julien, Thank you very much for your help! Best, Jiatong Shen On Fri, Jun 9, 2023 at 4:48 PM Julien Grall wrote: > Hello, > > On 09/06/2023 03:32, Jiatong Shen wrote: > > Thank you for your answer. Can you teach me how to verify if acpi is > > enabled? > > You usually look at the .c

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-09 Thread Julien Grall
Hello, On 09/06/2023 03:32, Jiatong Shen wrote: Thank you for your answer. Can you teach me how to verify if acpi is enabled? You usually look at the .config. But I am not sure if this is provided by the Debian package. If not, then your best option would be to build your own Xen. To select

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-08 Thread Jiatong Shen
Hi Stefano, Thank you very much for the reply. I do have access to serial but the machine is near my work space right now, so I might need some extra time to go to datacenter first. I'll let you know if it is indeed working. Thank you very much again. Best regards,. Jiatong Shen On Fri,

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-08 Thread Jiatong Shen
Thank you for your answer. Can you teach me how to verify if acpi is enabled? Best regards,. Jiatong Shen On Fri, Jun 9, 2023 at 9:34 AM Julien Grall wrote: > > > On 08/06/2023 23:39, Stefano Stabellini wrote: > > Hi Jiatong, > > > > Do you have access to the serial? If so, it is possible that

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-08 Thread Julien Grall
On 08/06/2023 23:39, Stefano Stabellini wrote: Hi Jiatong, Do you have access to the serial? If so, it is possible that the boot is actually successful and it is only the screen initialization the problem. If kunpeng 920 is a UEFI/ACPI machine, we know that there are issues with screen initi

Re: Asking for help to debug xen efi on Kunpeng machine

2023-06-08 Thread Stefano Stabellini
Hi Jiatong, Do you have access to the serial? If so, it is possible that the boot is actually successful and it is only the screen initialization the problem. If kunpeng 920 is a UEFI/ACPI machine, we know that there are issues with screen initialization. Cheers, Stefano On Fri, 9 Jun 2023, Ji