pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring

1,726 Views
gravity_one
Contributor III

Hello NXP,

Using IMX6 to connect WIFI by PCIE, I want to save more power, so I removed the WIFI driver during sleep. After waking up, the PCIE is abnormal, and the WIFI driver cannot be installed. Please help analyze this problem?
Please check the following logs:
1. pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
2. 01:00.0 Network controller: Broadcom Limited Device 4415 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: bcmdhd
3. The hardware resets the WIFI module. After scanning, you can see the WIFI, but the driver still cannot be installed.

 

 

log:

 

root@ctx0800-c0:~# lsmod
Module                  Size  Used by
ip6table_mangle        16384  0
ip6_tables             28672  1 ip6table_mangle
iptable_mangle         16384  0
crc32_ce               16384  2
crct10dif_ce           16384  0
galcore               434176  0
root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4654.526737] bus_rescan_store 1 grayli
[ 4654.530511] pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4702.474723] bus_rescan_store 1 grayli
root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4704.966706] bus_rescan_store 1 grayli
root@ctx0800-c0:~# lspci -v
00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0000 (rev 01) (prog-if 00 [Normal decode])
        Flags: fast devsel, IRQ 410
        Memory at 70000000 (64-bit, non-prefetchable) [disabled] [size=16M]
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00000000-00000fff [size=4K]
        Memory behind bridge: 00000000-000fffff [size=1M]
        Prefetchable memory behind bridge: 0000000000000000-00000000000fffff [size=1M]
        [virtual] Expansion ROM at 71000000 [disabled] [size=16M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/16 Maskable- 64bit+
        Capabilities: [70] Express Root Port (Slot-), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] #19
        Capabilities: [168] L1 PM Substates
        Kernel driver in use: pcieport

01:00.0 Network controller: Broadcom Limited Device 4415 (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel modules: bcmdhd

ib/firmware/nf3323pq/4359_cypress_auto.clm_blobe/nf3323pq/bcmdhd.cal clm_path=/li
[ 4725.221569] pcieh 0000:01:00.0: of_irq_parse_pci-->pci_read_config_byte: rc=134 pin=255
[ 4725.229673] pcieh 0000:01:00.0: of_irq_parse_pci: failed with rc=134
[ 4725.236110] PCI_PROBE:  bus 1, slot 0,vendor 14E4, device 4415(good PCI location)
[ 4725.262345] pcieh 0000:01:00.0: Refused to change power state, currently in D3
[ 4725.269999] Error creating socket.
insmod: ERROR: could not insert module /lib/modules/bcmdhd.ko: Operation not permitted
root@ctx0800-c0:~# [ 4739.384347] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4770.582716] bus_rescan_store 1 grayli
root@ctx0800-c0:~# [ 4812.088354] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4818.670697] bus_rescan_store 1 grayli
[ 4818.674444] pcieport 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
root@ctx0800-c0:~# echo "1" > /sys/bus/pci/rescan
[ 4821.310713] bus_rescan_store 1 grayli
root@ctx0800-c0:~# lspci -v
00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0000 (rev 01) (prog-if 00 [Normal decode])
        Flags: fast devsel, IRQ 410
        Memory at 70000000 (64-bit, non-prefetchable) [disabled] [size=16M]
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00000000-00000fff [size=4K]
        Memory behind bridge: 00000000-000fffff [size=1M]
        Prefetchable memory behind bridge: 0000000000000000-00000000000fffff [size=1M]
        [virtual] Expansion ROM at 71000000 [disabled] [size=16M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/16 Maskable- 64bit+
        Capabilities: [70] Express Root Port (Slot-), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] #19
        Capabilities: [168] L1 PM Substates
        Kernel driver in use: pcieport

01:00.0 Network controller: Broadcom Limited Device 4415 (rev 0d)
        Subsystem: Broadcom Limited Device 0751
        Flags: fast devsel
        Memory at 72400000 (64-bit, non-prefetchable) [disabled] [size=32K]
        Memory at 72000000 (64-bit, non-prefetchable) [disabled] [size=4M]
        Capabilities: [48] Power Management version 3
        Capabilities: [58] MSI: Enable- Count=1/16 Maskable- 64bit+
        Capabilities: [68] Vendor Specific Information: Len=44 <?>
        Capabilities: [ac] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Device Serial Number 00-00-38-ff-ff-00-38-0f
        Capabilities: [150] Power Budgeting <?>
        Capabilities: [160] Virtual Channel
        Capabilities: [1b0] Latency Tolerance Reporting
        Capabilities: [220] #15
        Capabilities: [240] L1 PM Substates
ib/firmware/nf3323pq/4359_cypress_auto.clm_blobe/nf3323pq/bcmdhd.cal clm_path=/l
[ 4838.797340] pcieh 0000:01:00.0: of_irq_parse_pci-->pci_read_config_byte: rc=0 pin=1
[ 4838.805122] pcieport 0000:00:00.0: of_irq_parse_pci-->of_irq_parse_raw: rc=0
[ 4838.812250] PCI_PROBE:  bus 1, slot 0,vendor 14E4, device 4415(good PCI location)
[ 4838.819804] pcieh 0000:01:00.0: enabling device (0000 -> 0002)
[ 4838.826425] Error creating socket.
insmod: ERROR: could not insert module /lib/modules/bcmdhd.ko: Operation not permitted
root@ctx0800-c0:~# 
root@ctx0800-c0:~# uname -a
Linux ctx0800-c0 4.14.98+g6c3e05d #1 SMP PREEMPT Fri Jan 21 13:49:43 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

 

 

0 Kudos
1 Reply

1,333 Views
dolrairom
Contributor II

Hello @gravity_one,

Were you able to solve this problem? I am facing the same issue and I have been stuck with it for a few weeks now.

It would be great to have your help.

 

Thanks!!

0 Kudos