[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console output stops on dbgp=xhci


  • To: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 15 Sep 2022 16:39:28 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Kl7CfccAFIRqJWKpcv86uiY+IlhyONP2g04JkSvjdZk=; b=MXh6/THH93Y8v7HFJ8oK/DW31rLE6kCLOWaLeb9taVFk0NiO+jMU1vOXaXGCl7dvD5uct6Mot0eYyvLBdLE8H88pdxPhj4KY3vXHbf1dq8MqPmJ1SCX1WNnz8hVsMk+EKHVdDEY/pnSWrNuWz3aLdjTZzEiWMoh5jgfM1wWqTkPVcwpnFM6Ca5n6h6FKvbGApZHjK/U9uDUVE3yJZQB1Ba3Ap1B/zmZbU6ek7PGyNF2ZxL7NvsGeHQqaiNbghLoZl8a0E57pslRsgRXgVAV4THIYLsI5KY13/4erTNWucRHGO8so4sFr6vEo/KSfbTeud1mTSb7rxjbd4p10IrEAIw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JTmCdjUTgbSPElaMUWTasffHGgQgLop1F+OL0Ap7oRju8sLLqStpHTiEcyXcnW6ZchEbBjeZGxiKse8QvIiVW2VFj7WPH+4E51TtfCZqXx/vb915g5hCl5h0Tb0MwaWjFgQrII/uTeC/GCZn8LAZOK1rI/5AbHjEt8thZNBqf7c4Hw2myl2goEUNyX/UaySimb6gYy0+2SLIPXaHfdasRpLf2bDoR6KkEizgJF7mo5XOlfsiuVIJ4yRQq7Tkd4ho6gM0JwFRmMN37WHcICe5muJhxqgutrGci1FM4Ips+9sGvQ5g9x0F7sXIRgFJmVGa7U/KJcy0BlvEUsD4+P47tQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 15 Sep 2022 14:39:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.09.2022 16:16, Tamas K Lengyel wrote:
> On Thu, Sep 15, 2022 at 10:10 AM Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>
>> On 15.09.2022 16:05, Tamas K Lengyel wrote:
>>> On Thu, Sep 15, 2022 at 3:56 AM Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>>>
>>>> On 15.09.2022 02:41, Tamas K Lengyel wrote:
>>>>>>> Do you have any idea what might be going on and preventing the output
>>>>>>> from showing over USB3 afterwards? The /dev/ttyUSB0 device is still
>>>>>>> present on the receiving side, just nothing is being received over it.
>>>>>>
>>>>>> There are few more patches in the series that are de facto required.
>>>>>> Especially those about IOMMU, otherwise it can only possibly work with
>>>>>> iommu=0 (which I'm not sure if even is enough).
>>>>>
>>>>> Unfortunately with iommu=0 Xen doesn't boot at all for me. I see this
>>>>> on the console:
>>>>>
>>>>> (XEN) Panic on CPU 0:
>>>>> (XEN) FATAL PAGE FAULT
>>>>> (XEN) [error_code=0011]
>>>>> (XEN) Faulting linear address: 00000000328b3a54
>>>>
>>>> Perhaps in another thread, could you post details about this? I guess
>>>> we want to address this independent of your XHCI issue. That's an
>>>> attempt to execute code outside of the Xen image - the only reason I
>>>> can think of for this would be an EFI boot services or runtime
>>>> services call, with (possibly but not necessarily) quirky EFI firmware.
>>>> Any other context this is appearing in would quite certainly require a
>>>> fix in Xen, and I don't see how "iommu=0" could affect the set of EFI
>>>> calls we make.
>>>
>>> This was indeed observed with a xen.efi booted directly from UEFI.
>>> Beside the limited boot log I get through xhci I don't have more
>>> insight but happy to send that (and anything else you think would be
>>> useful).
>>
>> And with "iommu=0" but no use of XHCI it doesn't crash? Or there you have
>> no way to collect the log then?
>>
>> In any event, from your description the interesting part might be the
>> EFI memory map. That ought to be pretty stable between boots, so you may
>> be able to collect that in full via "xl dmesg" in a run without "iommu=0".
> 
> I see the same crash with no xhci debug use. The EFI map is:
> 
> (XEN) EFI memory map:
>[...] 
> (XEN)  0000031f72000-0000032a95fff type=3 attr=000000000000000f

This is the entry covering the address, which is EfiBootServicesCode
with no unusual attributes. Assuming the crash was still during boot
(of Xen, not Dom0), do you also have at least the full stack walk
from the crash, to know where in Xen the call chain started?

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.