illumos-joyent icon indicating copy to clipboard operation
illumos-joyent copied to clipboard

assertion failed: control & PCIE_SLOTCTL_PWR_CONTROL

Open wiedi opened this issue 6 years ago • 3 comments

The HP Microserver Gen10 currently does not boot unless ACPI is disabled. Since new ACPI testing images were made available I wanted to see if those fixed the issue. Sadly the issue is still present. When booting the debug image it hits the assert at: https://github.com/joyent/illumos-joyent/blob/b55712a7295a33023eab23147df4d72b5c128fe1/usr/src/uts/common/io/pciex/hotplug/pciehpc.c#L1260

gen10-assert

wiedi avatar Aug 28 '18 08:08 wiedi

On 8/28/18 1:45 , Sebastian Wiedenroth wrote:

The HP Microserver Gen10 currently does not boot unless ACPI is disabled. Since new ACPI testing images were made available I wanted to see if those fixed the issue. Sadly the issue is still present. When booting the debug image it hits the assert at: https://github.com/joyent/illumos-joyent/blob/b55712a7295a33023eab23147df4d72b5c128fe1/usr/src/uts/common/io/pciex/hotplug/pciehpc.c#L1260

gen10-assert

Can you share what the value of the read register is at that point?

rmustacc avatar Aug 28 '18 14:08 rmustacc

It's 0x1028, so:

  • PCIE_SLOTCTL_PRESENCE_CHANGE_EN (0x8)
  • PCIE_SLOTCTL_HP_INTR_EN (0x20)
  • PCIE_SLOTCTL_DLL_STATE_EN (0x1000)

Doesn't the comment above ("check for power control bit to be OFF") contradict the assert? Maybe the logic is just switched?

wiedi avatar Sep 28 '18 12:09 wiedi

Without the assert it goes to maintenance mode:

gen10_debug_noassert

wiedi avatar Sep 28 '18 12:09 wiedi