All of lore.kernel.org
 help / color / mirror / Atom feed
* problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
@ 2022-07-31 17:25 Harald Dunkel
  2022-07-31 19:02 ` Lukas Wunner
  0 siblings, 1 reply; 6+ messages in thread
From: Harald Dunkel @ 2022-07-31 17:25 UTC (permalink / raw)
  To: linux-pci

Hi folks,

setup:
	kernel 5.18.14 (built from git)
	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
	Intel(R) Atom(TM) CPU D525
	Debian Sid

On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
after the kernel and initrd are loaded again it writes an endless stream of
messages to the console

pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link

Appr. 2 lines per second. I get an emergency console to login, but it
is garbled.

If I wait a few minutes to let the qnap cool down it boots again.

# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)

# lscpu
Architecture:           x86_64
      CPU op-mode(s):       32-bit, 64-bit
      Address sizes:        36 bits physical, 48 bits virtual
      Byte Order:           Little Endian
CPU(s):                 4
      On-line CPU(s) list:  0-3
Vendor ID:              GenuineIntel
      BIOS Vendor ID:       Intel
      Model name:           Intel(R) Atom(TM) CPU D525   @ 1.80GHz
        BIOS Model name:    Intel(R) Atom(TM) CPU D525   @ 1.80GHz               To Be Filled By O.E.M. CPU @ 1.8GHz
        BIOS CPU family:    43
        CPU family:         6
        Model:              28
        Thread(s) per core: 2
        Core(s) per socket: 2
        Socket(s):          1
        Stepping:           10
        BogoMIPS:           3591.07
        Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm const
                            ant_tsc arch_perfmon pebs bts nopl cpuid aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
Caches (sum of all):
      L1d:                  48 KiB (2 instances)
      L1i:                  64 KiB (2 instances)
      L2:                   1 MiB (2 instances)
NUMA:
      NUMA node(s):         1
      NUMA node0 CPU(s):    0-3
Vulnerabilities:
      Itlb multihit:        Not affected
      L1tf:                 Not affected
      Mds:                  Not affected
      Meltdown:             Not affected
      Mmio stale data:      Not affected
      Retbleed:             Not affected
      Spec store bypass:    Not affected
      Spectre v1:           Not affected
      Spectre v2:           Not affected
      Srbds:                Not affected
      Tsx async abort:      Not affected


Every helpful hint is highly appreciated.

Harri

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
  2022-07-31 17:25 problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link Harald Dunkel
@ 2022-07-31 19:02 ` Lukas Wunner
  0 siblings, 0 replies; 6+ messages in thread
From: Lukas Wunner @ 2022-07-31 19:02 UTC (permalink / raw)
  To: Harald Dunkel; +Cc: linux-pci

On Sun, Jul 31, 2022 at 07:25:06PM +0200, Harald Dunkel wrote:
> 	kernel 5.18.14 (built from git)
> 	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
> 	Intel(R) Atom(TM) CPU D525
> 	Debian Sid
> 
> On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
> after the kernel and initrd are loaded again it writes an endless stream of
> messages to the console
> 
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
[...]

Is this a regression?  Was it also present on older kernel versions?

The PCIe Root Port 0000:00:1c:0 is hotplug-capable and is constantly
signaling an interrupt.  Upon checking the Slot Status register,
the PCIe hotplug driver discovers that the Presence Detect bit is set,
i.e. the hardware signals hotplug of a card.  However when trying
to bring up the slot, the link fails to go up.

What's the Secondary Bus number of that Root Port?  Is there a PCIe
device below it or is the Presence Detect bit just a phantom?

If you open a bug at bugzilla.kernel.org and attach full dmesg and
lspci -vvv output plus an ACPI dump, we can analyze the issue further,
but I suspect this is a BIOS issue (vendor probably forgot to disable
that Root Port) and you need to ask your vendor for a BIOS update.
It doesn't look like a bug in the kernel to me at first glance.
If your vendor is unresponsive, you can try removing the offending
Root Port via sysfs on boot.

Thanks,

Lukas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
  2022-07-25 15:43 Harald Dunkel
  2022-07-27  7:08 ` Greg KH
  2022-07-31 17:11 ` Harald Dunkel
@ 2022-07-31 17:23 ` Harald Dunkel
  2 siblings, 0 replies; 6+ messages in thread
From: Harald Dunkel @ 2022-07-31 17:23 UTC (permalink / raw)
  To: linux-hotplug

Hi folks,

sorry for the double post. Please ignore.


Regards
Harri

On 2022-07-31 19:11:52, Harald Dunkel wrote:
> Hi folks,
> 
> setup:
> 	kernel 5.18.14 (built from git)
> 	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
> 	Intel(R) Atom(TM) CPU D525
> 	Debian Sid
> 
> On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
> after the kernel and initrd are loaded again it writes an endless stream of
> messages to the console
> 
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> 
> Appr. 2 lines per second. I get an emergency console to login, but it
> is garbled.
> 
> If I wait a few minutes to let the qnap cool down it boots again.
> 
> # lspci
> 00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
> 00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
> 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
> 00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
> 00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
> 00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
> 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
> 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
> 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
> 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
> 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
> 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
> 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
> 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
> 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
> 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
> 00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
> 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
> 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
> 01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
> 02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
> 03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
> 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
> 05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
> 06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
> 
> # lscpu
> Architecture:           x86_64
>       CPU op-mode(s):       32-bit, 64-bit
>       Address sizes:        36 bits physical, 48 bits virtual
>       Byte Order:           Little Endian
> CPU(s):                 4
>       On-line CPU(s) list:  0-3
> Vendor ID:              GenuineIntel
>       BIOS Vendor ID:       Intel
>       Model name:           Intel(R) Atom(TM) CPU D525   @ 1.80GHz
>         BIOS Model name:    Intel(R) Atom(TM) CPU D525   @ 1.80GHz               To Be Filled By O.E.M. CPU @ 1.8GHz
>         BIOS CPU family:    43
>         CPU family:         6
>         Model:              28
>         Thread(s) per core: 2
>         Core(s) per socket: 2
>         Socket(s):          1
>         Stepping:           10
>         BogoMIPS:           3591.07
>         Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm const
>                             ant_tsc arch_perfmon pebs bts nopl cpuid aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
> Caches (sum of all):
>       L1d:                  48 KiB (2 instances)
>       L1i:                  64 KiB (2 instances)
>       L2:                   1 MiB (2 instances)
> NUMA:
>       NUMA node(s):         1
>       NUMA node0 CPU(s):    0-3
> Vulnerabilities:
>       Itlb multihit:        Not affected
>       L1tf:                 Not affected
>       Mds:                  Not affected
>       Meltdown:             Not affected
>       Mmio stale data:      Not affected
>       Retbleed:             Not affected
>       Spec store bypass:    Not affected
>       Spectre v1:           Not affected
>       Spectre v2:           Not affected
>       Srbds:                Not affected
>       Tsx async abort:      Not affected
> 
> 
> Every helpful hint is highly appreciated.
> 
> Harri

-- 
Dipl.-Ing. Harald Dunkel     |
Muehlenbachstr. 3            |  keep it simple
52134 Herzogenrath, Germany  |
+49 2407 565 105             |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
  2022-07-25 15:43 Harald Dunkel
  2022-07-27  7:08 ` Greg KH
@ 2022-07-31 17:11 ` Harald Dunkel
  2022-07-31 17:23 ` Harald Dunkel
  2 siblings, 0 replies; 6+ messages in thread
From: Harald Dunkel @ 2022-07-31 17:11 UTC (permalink / raw)
  To: linux-hotplug

Hi folks,

setup:
	kernel 5.18.14 (built from git)
	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
	Intel(R) Atom(TM) CPU D525
	Debian Sid

On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
after the kernel and initrd are loaded again it writes an endless stream of
messages to the console

pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link

Appr. 2 lines per second. I get an emergency console to login, but it
is garbled.

If I wait a few minutes to let the qnap cool down it boots again.

# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)

# lscpu
Architecture:           x86_64
     CPU op-mode(s):       32-bit, 64-bit
     Address sizes:        36 bits physical, 48 bits virtual
     Byte Order:           Little Endian
CPU(s):                 4
     On-line CPU(s) list:  0-3
Vendor ID:              GenuineIntel
     BIOS Vendor ID:       Intel
     Model name:           Intel(R) Atom(TM) CPU D525   @ 1.80GHz
       BIOS Model name:    Intel(R) Atom(TM) CPU D525   @ 1.80GHz               To Be Filled By O.E.M. CPU @ 1.8GHz
       BIOS CPU family:    43
       CPU family:         6
       Model:              28
       Thread(s) per core: 2
       Core(s) per socket: 2
       Socket(s):          1
       Stepping:           10
       BogoMIPS:           3591.07
       Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm const
                           ant_tsc arch_perfmon pebs bts nopl cpuid aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
Caches (sum of all):
     L1d:                  48 KiB (2 instances)
     L1i:                  64 KiB (2 instances)
     L2:                   1 MiB (2 instances)
NUMA:
     NUMA node(s):         1
     NUMA node0 CPU(s):    0-3
Vulnerabilities:
     Itlb multihit:        Not affected
     L1tf:                 Not affected
     Mds:                  Not affected
     Meltdown:             Not affected
     Mmio stale data:      Not affected
     Retbleed:             Not affected
     Spec store bypass:    Not affected
     Spectre v1:           Not affected
     Spectre v2:           Not affected
     Srbds:                Not affected
     Tsx async abort:      Not affected


Every helpful hint is highly appreciated.

Harri

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
  2022-07-25 15:43 Harald Dunkel
@ 2022-07-27  7:08 ` Greg KH
  2022-07-31 17:11 ` Harald Dunkel
  2022-07-31 17:23 ` Harald Dunkel
  2 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2022-07-27  7:08 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Jul 25, 2022 at 05:43:10PM +0200, Harald Dunkel wrote:
> Hi folks,
> 
> setup:
> 	kernel 5.18.14 (built from git)
> 	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
> 	Intel(R) Atom(TM) CPU D525
> 	Debian Sid
> 
> On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
> after the kernel and initrd are loaded again it writes an endless stream of
> messages to the console
> 
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
> pcieport 0000:00:1c:0: pciehp: Slot(0): No link
> 
> Appr. 2 lines per second. I get an emergency console to login, but it
> is garbled.
> 
> If I wait a few minutes to let the qnap cool down it boots again.

Try posting on the linux-pci@vger.kernel.org list, that is the best for
this type of thing.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link
@ 2022-07-25 15:43 Harald Dunkel
  2022-07-27  7:08 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Harald Dunkel @ 2022-07-25 15:43 UTC (permalink / raw)
  To: linux-hotplug

Hi folks,

setup:
	kernel 5.18.14 (built from git)
	Qnap TS-559 Pro II, 4*3.5 HDD + 1 SSD, /boot is on USB stick
	Intel(R) Atom(TM) CPU D525
	Debian Sid

On a reboot after some runtime my Qnap TS-559 Pro II shuts down cleanly, but
after the kernel and initrd are loaded again it writes an endless stream of
messages to the console

pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link
pcieport 0000:00:1c:0: pciehp: Slot(0): Card present
pcieport 0000:00:1c:0: pciehp: Slot(0): No link

Appr. 2 lines per second. I get an emergency console to login, but it
is garbled.

If I wait a few minutes to let the qnap cool down it boots again.

# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9125 PCIe SATA 6.0 Gb/s controller (rev 11)
04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)

# lscpu
Architecture:           x86_64
    CPU op-mode(s):       32-bit, 64-bit
    Address sizes:        36 bits physical, 48 bits virtual
    Byte Order:           Little Endian
CPU(s):                 4
    On-line CPU(s) list:  0-3
Vendor ID:              GenuineIntel
    BIOS Vendor ID:       Intel
    Model name:           Intel(R) Atom(TM) CPU D525   @ 1.80GHz
      BIOS Model name:    Intel(R) Atom(TM) CPU D525   @ 1.80GHz               To Be Filled By O.E.M. CPU @ 1.8GHz
      BIOS CPU family:    43
      CPU family:         6
      Model:              28
      Thread(s) per core: 2
      Core(s) per socket: 2
      Socket(s):          1
      Stepping:           10
      BogoMIPS:           3591.07
      Flags:              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm const
                          ant_tsc arch_perfmon pebs bts nopl cpuid aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
Caches (sum of all):
    L1d:                  48 KiB (2 instances)
    L1i:                  64 KiB (2 instances)
    L2:                   1 MiB (2 instances)
NUMA:
    NUMA node(s):         1
    NUMA node0 CPU(s):    0-3
Vulnerabilities:
    Itlb multihit:        Not affected
    L1tf:                 Not affected
    Mds:                  Not affected
    Meltdown:             Not affected
    Mmio stale data:      Not affected
    Retbleed:             Not affected
    Spec store bypass:    Not affected
    Spectre v1:           Not affected
    Spectre v2:           Not affected
    Srbds:                Not affected
    Tsx async abort:      Not affected


Every helpful hint is highly appreciated.

Harri

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-31 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-31 17:25 problem on reboot: pcieport 0000:00:1c:0: pciehp: Slot(0): No link Harald Dunkel
2022-07-31 19:02 ` Lukas Wunner
  -- strict thread matches above, loose matches on Subject: below --
2022-07-25 15:43 Harald Dunkel
2022-07-27  7:08 ` Greg KH
2022-07-31 17:11 ` Harald Dunkel
2022-07-31 17:23 ` Harald Dunkel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.