NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-i386/53894: "ehci_sync_hc: timed out" with ACPI/SMP enabled on eBox 3352DX3-AP
Hi,
I did some investigation on this issue in recent days and here are my findings:
* I can confirm, that it is interrupts issue, more specifically level
type PCI interrupts are not working (thus, USB, network, SCI, probably
audio too (untested)) interrupts doesn't work (checked by intrctl and
vmstat).
* The interrupt establishing flow seems OK though, did some debugging,
which shows that the flow doesn't seem to be different from similar
system which has no issues and visually everything is "established".
* By advice I checked MADT overrides: system reports two overrides,
and indeed, it seems that IRQ 0 NetBSD do not override. Unfortunately,
I have no idea, where to do that in NetBSD code (FreeBSD seems to go
through all MADT table and do overrides, in NetBSD case only SCI
interrupt individually comes to override code). Would that fix the
issue, honestly, I am not certain, I did try silly hacks, like not
masking interrupts by default, which added "i82489_ipi_init: ESR
00000040" to dmesg, but none helped to make PCI interrupts work.
acpi0: [MADT] INTR OVERRIDE : BUS 0, IRQ 0, GSI 2, FLAGS 0x00
acpi0: [MADT] INTR OVERRIDE : BUS 0, IRQ 9, GSI 9, FLAGS 0x0D
* SoC does not support MSI.
* current kernel doesn't report "ehci_sync_hc: timed out" anymore
compared to my original dmesg report, just silently boots without any
uhidev devices attached, likely related to recent USB changes.
* FreeBSD 12.0 (the last release which boots out of the box on the
system), and recent Linux kernels has no problems with these
interrupts. OpenBSD have likely the same issue as NetBSD though, since
USB and network also doesn't work.
* Booting without ACPI/SMP enabled, makes interrupts work (it doesn't
go through apic in this case of course).
Unfortunately, I am out of ideas for now on next steps, but will keep
investigating once I have some, any help would be welcome. Thank you.
Below attaching snippet from dmesg from acpi verbose (acpi dump still
available here https://netbsd.org/~andvar/acpidump.txt):
acpi0: [MADT] LAPIC : CPU ID 1, LAPIC ID 0, FLAGS 0x01
acpi0: [MADT] LAPIC : CPU ID 2, LAPIC ID 1, FLAGS 0x01
acpi0: [MADT] I/O APIC : ID 2, GSI 0, ADDR 0xFEC00000
acpi0: [MADT] INTR OVERRIDE : BUS 0, IRQ 0, GSI 2, FLAGS 0x00
acpi0: [MADT] INTR OVERRIDE : BUS 0, IRQ 9, GSI 9, FLAGS 0x0D
acpi0: [FADT] FACS : 0x000000007BFDE000
acpi0: [FADT] DSDT : 0x000000007BFD05D0
acpi0: [FADT] INT_MODEL : 0x0000000000000001
acpi0: [FADT] PM_PROFILE : 0x0000000000000002
acpi0: [FADT] SCI_INT : 0x0000000000000009
acpi0: [FADT] SMI_CMD : 0x00000000000000B2
acpi0: [FADT] ACPI_ENABLE : 0x00000000000000E1
acpi0: [FADT] ACPI_DISABLE : 0x000000000000001E
acpi0: [FADT] S4BIOS_REQ : 0x0000000000000000
acpi0: [FADT] PSTATE_CNT : 0x00000000000000E2
acpi0: [FADT] PM1a_EVT_BLK : 0x0000000000000800
acpi0: [FADT] PM1b_EVT_BLK : 0x0000000000000000
acpi0: [FADT] PM1a_CNT_BLK : 0x0000000000000804
acpi0: [FADT] PM1b_CNT_BLK : 0x0000000000000000
acpi0: [FADT] PM2_CNT_BLK : 0x0000000000000000
acpi0: [FADT] PM_TMR_BLK : 0x0000000000000808
acpi0: [FADT] GPE0_BLK : 0x0000000000000820
acpi0: [FADT] GPE1_BLK : 0x0000000000000000
acpi0: [FADT] PM1_EVT_LEN : 0x0000000000000004
acpi0: [FADT] PM1_CNT_LEN : 0x0000000000000002
acpi0: [FADT] PM2_CNT_LEN : 0x0000000000000000
acpi0: [FADT] PM_TMR_LEN : 0x0000000000000004
acpi0: [FADT] GPE0_BLK_LEN : 0x0000000000000008
acpi0: [FADT] GPE1_BLK_LEN : 0x0000000000000000
acpi0: [FADT] GPE1_BASE : 0x0000000000000000
acpi0: [FADT] CST_CNT : 0x00000000000000E3
acpi0: [FADT] P_LVL2_LAT : 0x0000000000000065
acpi0: [FADT] P_LVL3_LAT : 0x00000000000003E9
acpi0: [FADT] FLUSH_SIZE : 0x0000000000000400
acpi0: [FADT] FLUSH_STRIDE : 0x0000000000000010
acpi0: [FADT] DUTY_OFFSET : 0x0000000000000001
acpi0: [FADT] DUTY_WIDTH : 0x0000000000000003
acpi0: [FADT] DAY_ALRM : 0x000000000000000D
acpi0: [FADT] MON_ALRM : 0x0000000000000000
acpi0: [FADT] CENTURY : 0x0000000000000032
acpi0: [FADT] IAPC_BOOT_ARCH : 0x0000000000000003
acpi0: [FADT] RESET_VALUE : 0x0000000000000006
acpi0: [FADT] ARM_BOOT_ARCH : 0x0000000000000000
acpi0: [FADT] X_FACS : 0x000000007BFDE000
acpi0: [FADT] X_DSDT : 0x000000007BFD05D0
acpi0: [FADT] RESET_REG : 0x0000000000000CF9, SPACE ID 1, BIT
WIDTH 8, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM1a_EVT_BLK : 0x0000000000000800, SPACE ID 1, BIT
WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM1b_EVT_BLK : 0x0000000000000000, SPACE ID 1, BIT
WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM1a_CNT_BLK : 0x0000000000000804, SPACE ID 1, BIT
WIDTH 16, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM1b_CNT_BLK : 0x0000000000000000, SPACE ID 0, BIT
WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM2_CNT_BLK : 0x0000000000000000, SPACE ID 0, BIT
WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_PM_TMR_BLK : 0x0000000000000808, SPACE ID 1, BIT
WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_GPE0_BLK : 0x0000000000000820, SPACE ID 1, BIT
WIDTH 64, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] X_GPE1_BLK : 0x0000000000000000, SPACE ID 1, BIT
WIDTH 32, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] SLEEP_CTRL_REG : 0x0000000000000000, SPACE ID 0, BIT
WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] SLEEP_STAT_REG : 0x0000000000000000, SPACE ID 0, BIT
WIDTH 0, BIT OFFSET 0, ACCESS WIDTH 0
acpi0: [FADT] WBINVD : 0x0000000000000001
acpi0: [FADT] WBINVD_FLUSH : 0x0000000000000000
acpi0: [FADT] PROC_C1 : 0x0000000000000000
acpi0: [FADT] P_LVL2_UP : 0x0000000000000000
acpi0: [FADT] PWR_BUTTON : 0x0000000000000000
acpi0: [FADT] SLP_BUTTON : 0x0000000000000020
acpi0: [FADT] FIX_RTC : 0x0000000000000000
acpi0: [FADT] RTC_S4 : 0x0000000000000080
acpi0: [FADT] TMR_VAL_EXT : 0x0000000000000000
acpi0: [FADT] DCK_CAP : 0x0000000000000000
acpi0: [FADT] RESET_REG_SUP : 0x0000000000000000
acpi0: [FADT] SEALED_CASE : 0x0000000000000000
acpi0: [FADT] HEADLESS : 0x0000000000000000
acpi0: [FADT] CPU_SW_SLP : 0x0000000000000000
acpi0: [FADT] PCI_EXP_WAK : 0x0000000000000000
acpi0: [FADT] PLATFORM_CLK : 0x0000000000000000
acpi0: [FADT] S4_RTC_STS : 0x0000000000000000
acpi0: [FADT] REMOTE_POWER : 0x0000000000000000
acpi0: [FADT] APIC_CLUSTER : 0x0000000000000000
acpi0: [FADT] APIC_PHYSICAL : 0x0000000000000000
acpi0: [FADT] HW_REDUCED : 0x0000000000000000
acpi0: [FADT] LOW_POWER_S0 : 0x0000000000000000
acpi0: [\ ] HID - UID - ADR -
acpi0: [P001] HID - UID - ADR -
acpi0: [P002] HID - UID - ADR -
acpi0: [_SB ] HID - UID - ADR -
acpi0: [PCI0] HID PNP0A03 UID 0 ADR 0x0000000000000000
acpi0: [VGA ] HID - UID - ADR 0x00000000000D0000
acpi0: [CRTD] HID - UID - ADR 0x0000000000000100
acpi0: [P0P1] HID - UID - ADR 0x0000000000010000
acpi0: [PCI1] HID - UID - ADR 0x0000000000000000
acpi0: [P0P2] HID - UID - ADR 0x0000000000020000
acpi0: [PCI2] HID - UID - ADR 0x0000000000000000
acpi0: [P0P3] HID - UID - ADR 0x0000000000030000
acpi0: [PCI3] HID - UID - ADR 0x0000000000000000
acpi0: [SBRG] HID - UID - ADR 0x0000000000070000
acpi0: [PIC ] HID PNP0000 UID - ADR -
acpi0: [DMAD] HID PNP0200 UID - ADR -
acpi0: [TMR ] HID PNP0100 UID - ADR -
acpi0: [RTC0] HID PNP0B00 UID - ADR -
acpi0: [PS2K] HID PNP0303 UID - ADR -
acpi0: [PS2M] HID PNP0F03 UID - ADR -
acpi0: [SPKR] HID PNP0800 UID - ADR -
acpi0: [COPR] HID PNP0C04 UID - ADR -
acpi0: [RMSC] HID PNP0C02 UID 16 ADR -
acpi0: [UARA] HID PNP0501 UID COM1 ADR -
acpi0: [UARB] HID PNP0501 UID COM2 ADR -
acpi0: [UARC] HID PNP0501 UID COM3 ADR -
acpi0: [UARD] HID PNP0501 UID COM4 ADR -
acpi0: [UARE] HID PNP0501 UID COM5 ADR -
acpi0: [UARF] HID PNP0501 UID COM6 ADR -
acpi0: [UARG] HID PNP0501 UID COM7 ADR -
acpi0: [UARH] HID PNP0501 UID COM8 ADR -
acpi0: [UARI] HID PNP0501 UID COM9 ADR -
acpi0: [LPTA] HID PNP0400 UID - ADR -
acpi0: [OMSC] HID PNP0C02 UID 0 ADR -
acpi0: [EC0 ] HID PNP0C09 UID - ADR -
acpi0: [SBF1] HID - UID - ADR 0x0000000000070001
acpi0: [LAN0] HID - UID - ADR 0x0000000000080000
acpi0: [USB1] HID - UID - ADR 0x00000000000A0000
acpi0: [EUSB] HID - UID - ADR 0x00000000000A0001
acpi0: [IDE0] HID - UID - ADR 0x00000000000C0000
acpi0: [CHN0] HID - UID - ADR 0x0000000000000000
acpi0: [DRV0] HID - UID - ADR 0x0000000000000000
acpi0: [DRV1] HID - UID - ADR 0x0000000000000001
acpi0: [CHN1] HID - UID - ADR 0x0000000000000001
acpi0: [DRV0] HID - UID - ADR 0x0000000000000000
acpi0: [DRV1] HID - UID - ADR 0x0000000000000001
acpi0: [HDAC] HID - UID - ADR 0x00000000000E0000
acpi0: [AC0 ] HID ACPI0003 UID - ADR -
acpi0: [BAT0] HID PNP0C0A UID 0 ADR -
acpi0: [BAT1] HID PNP0C0A UID 1 ADR -
acpi0: [RMEM] HID PNP0C01 UID 1 ADR -
acpi0: [LNKA] HID PNP0C0F UID 1 ADR -
acpi0: [LNKB] HID PNP0C0F UID 2 ADR -
acpi0: [LNKC] HID PNP0C0F UID 3 ADR -
acpi0: [LNKD] HID PNP0C0F UID 4 ADR -
acpi0: [LNKE] HID PNP0C0F UID 5 ADR -
acpi0: [LNKF] HID PNP0C0F UID 6 ADR -
acpi0: [LNKG] HID PNP0C0F UID 7 ADR -
acpi0: [LNKH] HID PNP0C0F UID 8 ADR -
acpi0: [PWRB] HID PNP0C0C UID 170 ADR -
acpi0: [SLPB] HID PNP0C0E UID - ADR -
acpi0: [LID ] HID PNP0C0D UID - ADR -
acpi0: [_TZ ] HID - UID - ADR -
acpi0: [THRM] HID - UID - ADR -
\ [06] []
P001 [12] []
P002 [12] []
_SB [06] []
PCI0 [06] [] (PCI) @ 0x00:0x00:0x00:0x00 [R] [B] -> 0x00:0x00
VGA [06] [] (PCI) @ 0x00:0x00:0x0D:0x00
CRTD [06] []
P0P1 [06] [] (PCI) @ 0x00:0x00:0x01:0x00 [B] -> 0x00:0x01
PCI1 [06] [] (PCI) @ 0x00:0x01:0x00:0x00
P0P2 [06] [] (PCI) @ 0x00:0x00:0x02:0x00 [B] -> 0x00:0x02
PCI2 [06] [] (PCI) @ 0x00:0x02:0x00:0x00
P0P3 [06] [] (PCI) @ 0x00:0x00:0x03:0x00
PCI3 [06] []
SBRG [06] [] (PCI) @ 0x00:0x00:0x07:0x00
PIC [06] []
DMAD [06] []
TMR [06] [] <attimer1>
RTC0 [06] []
PS2K [06] []
PS2M [06] []
SPKR [06] [] <pcppi1>
COPR [06] []
RMSC [06] []
UARA [06] []
UARB [06] []
UARC [06] []
UARD [06] []
UARE [06] []
UARF [06] []
UARG [06] []
UARH [06] []
UARI [06] []
LPTA [06] []
OMSC [06] []
EC0 [06] [] <acpiec0>
SBF1 [06] [] (PCI) @ 0x00:0x00:0x07:0x01
LAN0 [06] [] (PCI) @ 0x00:0x00:0x08:0x00
USB1 [06] [] (PCI) @ 0x00:0x00:0x0A:0x00
EUSB [06] [] (PCI) @ 0x00:0x00:0x0A:0x01
IDE0 [06] [] (PCI) @ 0x00:0x00:0x0C:0x00
CHN0 [06] []
DRV0 [06] []
DRV1 [06] []
CHN1 [06] []
DRV0 [06] []
DRV1 [06] []
HDAC [06] [] (PCI) @ 0x00:0x00:0x0E:0x00
AC0 [06] [] <acpiacad0>
BAT0 [06] []
BAT1 [06] []
RMEM [06] []
LNKA [06] []
LNKB [06] []
LNKC [06] []
LNKD [06] []
LNKE [06] []
LNKF [06] []
LNKG [06] []
LNKH [06] []
PWRB [06] [] <acpibut0>
SLPB [06] [] <acpibut1>
LID [06] [] <acpilid0>
_TZ [06] []
THRM [13] [] <acpitz0>
Regards
Andrius V
On Sun, Nov 14, 2021 at 11:35 AM Andrius V <vezhlys%gmail.com@localhost> wrote:
>
> The following reply was made to PR port-i386/53894; it has been noted by GNATS.
>
> From: Andrius V <vezhlys%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> netbsd-bugs%netbsd.org@localhost, Taylor R Campbell <riastradh%netbsd.org@localhost>
> Subject: Re: port-i386/53894: "ehci_sync_hc: timed out" with ACPI/SMP enabled
> on eBox 3352DX3-AP
> Date: Sun, 14 Nov 2021 11:28:59 +0200
>
> Placed system's acpidump to https://netbsd.org/~andvar/acpidump.txt on
> request from Taylor.
>
> On Sun, Jan 20, 2019 at 10:56 PM Andrius V <vezhlys%gmail.com@localhost> wrote:
> >
> > Hi,
> >
> > Thank you for the prompt reply. I can provide this output but it is a
> > bit tricky since USB ports are the only available besides Ethernet and
> > VGA (and integrated vte ethernet controller doesn't work properly as
> > well unfortunately, so ssh is out of option). Does it matter when to
> > do this output? I guess non ACPI/SMP boot won't provide the required
> > data as well? Currently I did a cron job which outputs the vmstat -u
> > usbhist result to file on boot. Please see an attached report for
> > results. Theoretically, I can modify cronjob to post report a bit
> > later if needed.
> >
> > Regards,
> > Andrius V
> >
> > On Sun, Jan 20, 2019 at 3:10 AM David H. Gutteridge <david%gutteridge.ca@localhost> wrote:
> > >
> > > The following reply was made to PR port-i386/53894; it has been noted by GNATS.
> > >
> > > From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
> > > To: gnats-bugs%netbsd.org@localhost
> > > Cc:
> > > Subject: Re: port-i386/53894: "ehci_sync_hc: timed out" with ACPI/SMP
> > > enabled on eBox 3352DX3-AP
> > > Date: Sat, 19 Jan 2019 20:09:06 -0500
> > >
> > > It would probably be helpful to provide USB_DEBUG output. To do so,
> > > please see http://www.netbsd.org/docs/kernel/#usb-debugging,
> > > specifically the part following "USB debugging code has been changed in
> > > NetBSD 7.99 and later."
> > >
> > > Dave
> > >
> > >
>
Home |
Main Index |
Thread Index |
Old Index