NetBSD-Bugs archive

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

Re: port-xen/55285: XEN3_DOM0 panics with GSI fail



The following reply was made to PR port-xen/55285; it has been noted by GNATS.

From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: port-xen/55285: XEN3_DOM0 panics with GSI fail
Date: Sat, 23 May 2020 12:07:54 +0200

 Can you please test if following patch fixes it for you? On my system
 that works the same as before, i.e. both calls for non-MSI and MSI
 interrupts succeed, and interrupts are delivered.
 
 http://www.netbsd.org/~jdolecek/pintr_legacy_intr.diff.txt
 
 Jaromir
 
 Le ven. 22 mai 2020 =C3=A0 18:00, <prlw1%cam.ac.uk@localhost> a =C3=A9crit :
 >
 > >Number:         55285
 > >Category:       port-xen
 > >Synopsis:       XEN3_DOM0 panics with GSI fail
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    port-xen-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Fri May 22 16:00:00 +0000 2020
 > >Originator:     Patrick Welche
 > >Release:        NetBSD-9.99.63/amd64 of 22 May 2020
 > >Organization:
 > >Environment:
 > Xen 4.11.3nb2
 >
 > >Description:
 > Booting a standard XEN3_DOM0 kernel, i.e., with the default
 >
 > options         NO_PCI_MSI_MSIX
 >
 > panics with
 >
 > [   1.0000030] ahcisata0 at pci1 dev 0 function 1: vendor 1022 product 43=
 b5 (rev. 0x02)
 > [   1.0000030] ahcisata0: AHCI revision 1.31, 8 ports, 32 slots, CAP 0xef=
 36ff27<SXS,PSC,SSC,PMD,SPM,SAM,ISS=3D0x3=3DGen3,SCLO,SAL,SALP,SSS,SSNTF,SNC=
 Q,S64A>
 > [   1.0000030] panic: physdev_op(PHYSDEVOP_map_pirq) GSI fail -17
 > [   1.0000030] got here 1
 > [   1.0000030] got here 3
 > [   1.0000030] cpu0: Begin traceback...
 > [   1.0000030] vpanic() at netbsd:vpanic+0x166
 > [   1.0000030] snprintf() at netbsd:snprintf
 > [   1.0000030] xen_pic_to_gsi() at netbsd:xen_pic_to_gsi+0x134
 > [   1.0000030] intr_establish_xname() at netbsd:intr_establish_xname+0x8e
 > [   1.0000030] pci_intr_establish_xname_internal() at netbsd:pci_intr_est=
 ablish_xname_internal+0x8f
 > [   1.0000030] ahci_pci_intr_establish() at netbsd:ahci_pci_intr_establis=
 h+0x1ac
 > [   1.0000030] ahci_attach() at netbsd:ahci_attach+0x2fc
 > [   1.0000030] ahci_pci_attach() at netbsd:ahci_pci_attach+0x21a
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] pci_probe_device() at netbsd:pci_probe_device+0x533
 > [   1.0000030] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x1b7
 > [   1.0000030] pcirescan() at netbsd:pcirescan+0x4e
 > [   1.0000030] pciattach() at netbsd:pciattach+0x186
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] ppbattach() at netbsd:ppbattach+0x1c5
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] pci_probe_device() at netbsd:pci_probe_device+0x533
 > [   1.0000030] pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x1b7
 > [   1.0000030] pcirescan() at netbsd:pcirescan+0x4e
 > [   1.0000030] pciattach() at netbsd:pciattach+0x186
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] mp_pci_scan() at netbsd:mp_pci_scan+0xa4
 > [   1.0000030] hypervisor_attach() at netbsd:hypervisor_attach+0x3df
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] xen_mainbus_attach() at netbsd:xen_mainbus_attach+0x51
 > [   1.0000030] mainbus_attach() at netbsd:mainbus_attach+0x49
 > [   1.0000030] config_attach_loc() at netbsd:config_attach_loc+0x17a
 > [   1.0000030] cpu_configure() at netbsd:cpu_configure+0x25
 > [   1.0000030] main() at netbsd:main+0x2ec
 > [   1.0000030] cpu0: End traceback...
 > [   1.0000030] fatal breakpoint trap in supervisor mode
 > [   1.0000030] trap type 1 code 0 rip 0xffffffff8023a8fd cs 0xe030 rflags=
  0x202 cr2 0 ilevel 0x8 rsp 0xffffffff818dc040
 > [   1.0000030] curlwp 0xffffffff80ddf340 pid 0.0 lowest kstack 0xffffffff=
 818d82c0
 >
 > db{0}> show reg
 > ds          c050
 > es          c000
 > fs          c040
 > gs          10
 > rdi         8
 > rsi         1
 > rbp         ffffffff818dc040
 > rbx         104
 > rdx         1
 > rcx         32ea
 > rax         1
 > r8          104
 > r9          1e
 > r10         75
 > r11         0
 > r12         ffffffff80bd69e0    ostype+0x3d8
 > r13         ffffffff818dc088
 > r14         ffffffff818dc2e8
 > r15         0
 > rip         ffffffff8023a8fd    breakpoint+0x5
 > cs          e030
 > rflags      202
 > rsp         ffffffff818dc040
 > ss          e02b
 > netbsd:breakpoint+0x5:  leave
 >
 >
 > Don't know if this is relevant:
 > (XEN) ACPI: 32/64X FACS address mismatch in FADT - da8d9d80/0000000000000=
 000, using 32
 >
 >
 > >How-To-Repeat:
 > Boot a XEN3_DOM0 kernel.
 > >Fix:
 >
 


Home | Main Index | Thread Index | Old Index