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

Bug#1105822: installation-reports: ethernet detection sometimes fails after installation (NO-CARRIER)



Package: installation-reports
Severity: normal
X-Debbugs-Cc: lucas@debian.org

Boot method: SD-card
Image version: https://ftp.debian.org/debian/dists/stable/main/installer-armhf/current/images/hd-media/SD-card-images/
Date: 2025-05-15

Machine: Olimex A20-OLinuXino-LIME2 rev C

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [E]

Comments/Problems:

This is about Debian *stable*, not testing. I did not find a bug report about
this issue, so I thought I would file one to leave a trace.

Every thing went fine during the installation.

However, after booting the installed system, ethernet randomly fails to be
detected after boot (after some boots it works, after some it doesn't). Even if
a cable is plugged, no network leds light up. When this happen, one can simply
'ip link set dev end0 down ; sleep 1 ; ip link set dev end0 up' to restore
normal behaviour.

This is the initial detection of the NIC:
[   18.400578] sun7i-dwmac 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   18.403906] sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211B Gigabit Ethernet] (irq=POLL)
[   18.412663] sun7i-dwmac 1c50000.ethernet end0: No Safety Features support found
[   18.412708] sun7i-dwmac 1c50000.ethernet end0: RX IPC Checksum Offload disabled
[   18.412742] sun7i-dwmac 1c50000.ethernet end0: No MAC Management Counters available
[   18.412759] sun7i-dwmac 1c50000.ethernet end0: PTP not supported by HW
[   18.425423] sun7i-dwmac 1c50000.ethernet end0: configuring for phy/rgmii-id link mode

And this is one is after the down/up trick as described above.
[   63.739594] sun7i-dwmac 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   63.743553] sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211B Gigabit Ethernet] (irq=POLL)
[   63.753716] sun7i-dwmac 1c50000.ethernet end0: No Safety Features support found
[   63.753789] sun7i-dwmac 1c50000.ethernet end0: RX IPC Checksum Offload disabled
[   63.753837] sun7i-dwmac 1c50000.ethernet end0: No MAC Management Counters available
[   63.753884] sun7i-dwmac 1c50000.ethernet end0: PTP not supported by HW
[   63.753965] sun7i-dwmac 1c50000.ethernet end0: configuring for phy/rgmii-id link mode
[   66.822512] sun7i-dwmac 1c50000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
[   66.822807] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready

-- Package-specific info:

==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="12 (bookworm) - installer build 20230607+deb12u10"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux deb12 6.1.0-32-armmp #1 SMP Debian 6.1.129-1 (2025-03-06) armv7l GNU/Linux
usb-list: 
usb-list: Bus 01 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 6.1.0-32-armmp ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 6.1.0-32-armmp ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 03 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 6.1.0-32-armmp ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 04 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 6.1.0-32-armmp ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 05 Device 01: MUSB HDRC host driver [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 01
usb-list:    Manufacturer: Linux 6.1.0-32-armmp musb-hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
lsmod: Module                  Size  Used by
lsmod: dm_mod                131072  0
lsmod: md_mod                143360  0
lsmod: jfs                   176128  0
lsmod: btrfs                1437696  0
lsmod: libcrc32c              16384  1 btrfs
lsmod: xor                    16384  1 btrfs
lsmod: xor_neon               16384  1 xor
lsmod: raid6_pq              106496  1 btrfs
lsmod: zstd_compress         262144  1 btrfs
lsmod: vfat                   24576  0
lsmod: fat                    73728  1 vfat
lsmod: ext4                  741376  2
lsmod: crc16                  16384  1 ext4
lsmod: mbcache                16384  1 ext4
lsmod: jbd2                  118784  1 ext4
lsmod: crc32c_generic         16384  4
lsmod: usb_storage            61440  0
lsmod: ahci_sunxi             16384  0
lsmod: libahci_platform       20480  1 ahci_sunxi
lsmod: libahci                36864  2 ahci_sunxi,libahci_platform
lsmod: libata                258048  3 ahci_sunxi,libahci_platform,libahci
lsmod: scsi_mod              200704  2 usb_storage,libata
lsmod: scsi_common            16384  3 usb_storage,libata,scsi_mod
lsmod: sunxi_mmc              28672  0
lsmod: realtek                28672  1
lsmod: dwmac_sunxi            16384  0
lsmod: stmmac_platform        24576  1 dwmac_sunxi
lsmod: axp20x_regulator       45056  0
lsmod: stmmac                204800  3 stmmac_platform,dwmac_sunxi
lsmod: pcs_xpcs               20480  1 stmmac
lsmod: phylink                45056  2 pcs_xpcs,stmmac
lsmod: of_mdio                20480  2 stmmac,stmmac_platform
lsmod: sunxi                  20480  0
lsmod: phy_generic            20480  2 sunxi
lsmod: fixed_phy              16384  1 of_mdio
lsmod: fwnode_mdio            20480  1 of_mdio
lsmod: i2c_mv64xxx            20480  0
lsmod: musb_hdrc             135168  1 sunxi
lsmod: libphy                 86016  7 of_mdio,pcs_xpcs,stmmac,realtek,phylink,fwnode_mdio,fixed_phy
lsmod: ohci_platform          16384  0
lsmod: ohci_hcd               49152  1 ohci_platform
lsmod: ehci_platform          20480  0
lsmod: ehci_hcd               77824  1 ehci_platform
lsmod: udc_core               45056  1 musb_hdrc
lsmod: sunxi_wdt              16384  0
lsmod: usbcore               225280  6 usb_storage,ehci_hcd,musb_hdrc,ohci_hcd,ehci_platform,ohci_platform
lsmod: phy_sun4i_usb          28672  6 sunxi
lsmod: leds_gpio              16384  0
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: tmpfs                   102068       328    101740   0% /run
df: devtmpfs                447300         0    447300   0% /dev
df: /dev/mmcblk0p2        29028248   1065716  26462628   4% /target
df: /dev/mmcblk0p1          465124     57450    382740  13% /target/boot
df: /dev/mmcblk0p2        29028248   1065716  26462628   4% /dev/.static/dev
df: devtmpfs                447300         0    447300   0% /target/dev
free:               total        used        free      shared  buff/cache   available
free: Mem:        1020668       67688      431736      116936      521244      802736
free: Swap:        995324        4608      990716
/proc/cmdline:  console=ttyS0,115200
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: model name	: ARMv7 Processor rev 4 (v7l)
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 7
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xc07
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/cpuinfo: processor	: 1
/proc/cpuinfo: model name	: ARMv7 Processor rev 4 (v7l)
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 7
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xc07
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/cpuinfo: Hardware	: Allwinner sun7i (A20) Family
/proc/cpuinfo: Revision	: 0000
/proc/cpuinfo: Serial		: 16516686054161ce
/proc/device-tree/model: Olimex A20-OLinuXino-LIME2À?/proc/iomem: 00000000-0000bfff : 0.sram sram@0
/proc/iomem: 00010000-00010fff : 10000.sram sram@10000
/proc/iomem: 01c00000-01c0002f : 1c00000.system-control system-control@1c00000
/proc/iomem: 01c00030-01c0003b : interrupt-controller@1c00030
/proc/iomem: 01c02000-01c02fff : 1c02000.dma-controller dma-controller@1c02000
/proc/iomem: 01c0f000-01c0ffff : 1c0f000.mmc mmc@1c0f000
/proc/iomem: 01c13000-01c133ff : usb@1c13000
/proc/iomem:   01c13000-01c133ff : musb-hdrc.1.auto usb@1c13000
/proc/iomem: 01c13400-01c1340f : 1c13400.phy phy_ctrl
/proc/iomem: 01c14000-01c140ff : 1c14000.usb usb@1c14000
/proc/iomem: 01c14400-01c144ff : 1c14400.usb usb@1c14400
/proc/iomem: 01c14800-01c14803 : 1c13400.phy pmu1
/proc/iomem: 01c18000-01c18fff : 1c18000.sata sata@1c18000
/proc/iomem: 01c1c000-01c1c0ff : 1c1c000.usb usb@1c1c000
/proc/iomem: 01c1c400-01c1c4ff : 1c1c400.usb usb@1c1c400
/proc/iomem: 01c1c800-01c1c803 : 1c13400.phy pmu2
/proc/iomem: 01c20000-01c203ff : 1c20000.clock clock@1c20000
/proc/iomem: 01c20800-01c20bff : 1c20800.pinctrl pinctrl@1c20800
/proc/iomem: 01c20c90-01c20c9f : 1c20c90.watchdog watchdog@1c20c90
/proc/iomem: 01c20d00-01c20d1f : 1c20d00.rtc rtc@1c20d00
/proc/iomem: 01c28000-01c2801f : serial
/proc/iomem: 01c2ac00-01c2afff : 1c2ac00.i2c i2c@1c2ac00
/proc/iomem: 01c2b000-01c2b3ff : 1c2b000.i2c i2c@1c2b000
/proc/iomem: 01c50000-01c5ffff : 1c50000.ethernet ethernet@1c50000
/proc/iomem: 01c60000-01c60fff : hstimer@1c60000
/proc/iomem: 01d00000-01dcffff : 1d00000.sram sram@1d00000
/proc/iomem: 40000000-7fffffff : System RAM
/proc/iomem:   40208000-411fffff : Kernel code
/proc/iomem:   41400000-416065c7 : Kernel data
/proc/interrupts:            CPU0       CPU1       
/proc/interrupts:  26:          0          0     GICv2  29 Level     arch_timer
/proc/interrupts:  27:     548665     444481     GICv2  30 Level     arch_timer
/proc/interrupts:  30:          0          0     GICv2  54 Level     timer@1c20c00
/proc/interrupts:  32:          0          0     GICv2 152 Level     arm-pmu
/proc/interrupts:  33:          0          0     GICv2 153 Level     arm-pmu
/proc/interrupts:  34:          0          0     GICv2  59 Level     1c02000.dma-controller
/proc/interrupts:  35:          0          0     GICv2  56 Level     1c20d00.rtc
/proc/interrupts:  38:          0          0  sunxi_pio_edge   1 Edge      1c0f000.mmc cd
/proc/interrupts:  41:          1          0  sunxi_pio_edge   4 Edge      usb0-id-det
/proc/interrupts:  42:          0          0  sunxi_pio_edge   5 Edge      usb0-vbus-det
/proc/interrupts:  69:       7063          0     GICv2  33 Level     ttyS0
/proc/interrupts:  70:          0          0     GICv2  71 Level     ehci_hcd:usb2
/proc/interrupts:  71:          0          0     GICv2  96 Level     ohci_hcd:usb1
/proc/interrupts:  72:          0          0     GICv2  97 Level     ohci_hcd:usb4
/proc/interrupts:  73:          0          0     GICv2  72 Level     ehci_hcd:usb3
/proc/interrupts:  74:        142          0     GICv2  39 Level     mv64xxx_i2c
/proc/interrupts:  75:          0          0  sunxi-nmi   0 Level     axp20x_irq_chip
/proc/interrupts: 115:          0          0     GICv2  40 Level     mv64xxx_i2c
/proc/interrupts: 116:          0          0     GICv2  70 Level     musb-hdrc.1.auto
/proc/interrupts: 117:      21361          0     GICv2 117 Level     end0
/proc/interrupts: 118:     304279          0     GICv2  64 Level     sunxi-mmc
/proc/interrupts: 119:          0          0     GICv2  88 Level     ahci-sunxi[1c18000.sata]
/proc/interrupts: IPI0:          0          0  CPU wakeup interrupts
/proc/interrupts: IPI1:          0          0  Timer broadcast interrupts
/proc/interrupts: IPI2:      37977      39841  Rescheduling interrupts
/proc/interrupts: IPI3:     225099     315030  Function call interrupts
/proc/interrupts: IPI4:          0          0  CPU stop interrupts
/proc/interrupts: IPI5:          0          0  IRQ work interrupts
/proc/interrupts: IPI6:          0          0  completion interrupts
/proc/interrupts: Err:          0
/proc/meminfo: MemTotal:        1020668 kB
/proc/meminfo: MemFree:          431812 kB
/proc/meminfo: MemAvailable:     802812 kB
/proc/meminfo: Buffers:           43032 kB
/proc/meminfo: Cached:           415364 kB
/proc/meminfo: SwapCached:         1324 kB
/proc/meminfo: Active:           248872 kB
/proc/meminfo: Inactive:         237276 kB
/proc/meminfo: Active(anon):      60612 kB
/proc/meminfo: Inactive(anon):    84080 kB
/proc/meminfo: Active(file):     188260 kB
/proc/meminfo: Inactive(file):   153196 kB
/proc/meminfo: Unevictable:           0 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: HighTotal:        262144 kB
/proc/meminfo: HighFree:          46064 kB
/proc/meminfo: LowTotal:         758524 kB
/proc/meminfo: LowFree:          385748 kB
/proc/meminfo: SwapTotal:        995324 kB
/proc/meminfo: SwapFree:         990716 kB
/proc/meminfo: Zswap:                 0 kB
/proc/meminfo: Zswapped:              0 kB
/proc/meminfo: Dirty:             34036 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:         26464 kB
/proc/meminfo: Mapped:             4356 kB
/proc/meminfo: Shmem:            116936 kB
/proc/meminfo: KReclaimable:      62848 kB
/proc/meminfo: Slab:              80840 kB
/proc/meminfo: SReclaimable:      62848 kB
/proc/meminfo: SUnreclaim:        17992 kB
/proc/meminfo: KernelStack:         792 kB
/proc/meminfo: PageTables:          608 kB
/proc/meminfo: SecPageTables:         0 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:     1505656 kB
/proc/meminfo: Committed_AS:     159200 kB
/proc/meminfo: VmallocTotal:     245760 kB
/proc/meminfo: VmallocUsed:       11596 kB
/proc/meminfo: VmallocChunk:          0 kB
/proc/meminfo: Percpu:              192 kB
/proc/meminfo: CmaTotal:          98304 kB
/proc/meminfo: CmaFree:           88996 kB

==============================================
Installer firmware-summary:
==============================================
# No firmware or microcode packages deployed by the installer


Reply to: