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

Bug#821311: linux-image-4.5.0-1-armmp-lpae: ethernet fails to detect carrier on Firefly boards



Package: src:linux
Version: 4.5.1-1
Severity: important

Running the 4.5.x kernel doesn't appear to have working carrier
detection on ethernet for the Firefly board. Earlier 4.4.x versions of
the kernel work fine.

  ~$ ip address show dev eth0
  2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
      link/ether 52:7b:f3:31:72:8e brd ff:ff:ff:ff:ff:ff
      inet 10.0.0.61/24 brd 10.0.0.255 scope global eth0
         valid_lft forever preferred_lft forever
  ~$ sudo ip link set dev eth0 up
  [  357.403006] libphy: PHY stmmac-0:ffffffff not found
  [  357.407922] eth0: Could not attach to PHY
  [  357.411980] stmmac_open: Cannot attach to PHY (error: -19)
  RTNETLINK answers: No such device
  ~$ ping 10.0.0.1
  connect: Network is unreachable


live well,
  vagrant


-- Package-specific info:
** Version:
Linux version 4.5.0-1-armmp-lpae (debian-kernel@lists.debian.org) (gcc version 5.3.1 20160323 (Debian 5.3.1-13) ) #1 SMP Debian 4.5.1-1 (2016-04-14)

** Command line:
console=ttyS2,115200

** Tainted: E (8192)
 * Unsigned module has been loaded (currently expected).

** Kernel log:
[    9.020241] rk3x-i2c ff660000.i2c: using default SCL frequency: 100000
[    9.020579] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at f1166000
[    9.078823] [drm] Initialized drm 1.1.0 20060810
[    9.079820] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.079868] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[    9.079881] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[    9.079913] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    9.081306] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.081369] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[    9.081384] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[    9.081415] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[    9.081570] dwmmc_rockchip ff0d0000.dwmmc: Failed getting OCR mask: 0
[    9.082349] rockchip-saradc ff100000.saradc: failed to get regulator, -517
[    9.083487] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.083561] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller.
[    9.083581] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[    9.083610] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    9.086176] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing
[    9.090813] Registered IR keymap rc-empty
[    9.091261] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1
[    9.105208] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    9.140854] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.140905] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[    9.140919] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[    9.140952] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    9.142571] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.142624] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[    9.142637] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[    9.142713] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[    9.142878] dwmmc_rockchip ff0d0000.dwmmc: Failed getting OCR mask: 0
[    9.143909] rockchip-saradc ff100000.saradc: failed to get regulator, -517
[    9.144965] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.145033] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller.
[    9.145047] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[    9.145074] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    9.147603] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing
[    9.150131] lirc_dev: IR Remote Control driver registered, major 243 
[    9.202015] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.202068] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[    9.202082] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[    9.202115] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    9.202239] vcc_io: supplied by vcc_sys
[    9.202458] vcc_sd: supplied by vcc_io
[    9.202818] vccio_sd: supplied by vcc_sys
[    9.322714] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    9.338775] dwmmc_rockchip ff0c0000.dwmmc: 1 slots initialized
[    9.340008] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.340069] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[    9.340082] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[    9.340113] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[    9.340295] vcc_20: supplied by vcc_sys
[    9.340497] vcc_18: supplied by vcc_20
[    9.343999] dwmmc_rockchip ff0d0000.dwmmc: Failed getting OCR mask: 0
[    9.344271] dwmmc_rockchip ff0d0000.dwmmc: could not set regulator OCR (-22)
[    9.344279] dwmmc_rockchip ff0d0000.dwmmc: failed to enable vmmc regulator
[    9.358713] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    9.374763] dwmmc_rockchip ff0d0000.dwmmc: 1 slots initialized
[    9.379991] dwmmc_rockchip ff0f0000.dwmmc: IDMAC supports 32-bit address mode.
[    9.380050] dwmmc_rockchip ff0f0000.dwmmc: Using internal DMA controller.
[    9.380063] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[    9.380092] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[    9.380403] vcc_flash: supplied by vcc_io
[    9.394718] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    9.410751] dwmmc_rockchip ff0f0000.dwmmc: 1 slots initialized
[    9.416110] vcc_lan: supplied by vcc_sys
[    9.416392] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[    9.416403] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[    9.416411] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[    9.416433] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[    9.416600] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[    9.421836] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    9.421838]  Ring mode enabled
[    9.421844]  DMA HW capability register supported
[    9.421845]  Normal descriptors
[    9.421848]  RX Checksum Offload Engine supported (type 2)
[    9.421850]  TX Checksum insertion supported
[    9.421852]  Wake-Up On Lan supported
[    9.421913]  Enable RX Mitigation via HW Watchdog Timer
[    9.459417] mmc2: MAN_BKOPS_EN bit is not set
[    9.460758] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    9.461000] mmc2: new high speed MMC card at address 0001
[    9.463129] mmcblk0: mmc2:0001 BWBC3R 29.1 GiB 
[    9.463573] mmcblk0boot0: mmc2:0001 BWBC3R partition 1 4.00 MiB
[    9.463995] mmcblk0boot1: mmc2:0001 BWBC3R partition 2 4.00 MiB
[    9.538162] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    9.538248] mmc0: new high speed SDHC card at address 0007
[    9.539097] mmcblk1: mmc0:0007 SD08G 7.42 GiB 
[    9.540966]  mmcblk1: p1
[    9.662038] rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
[    9.670967] IR LIRC bridge handler initialized
[   10.252274] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[   10.360401] Adding 5242876k swap on /dev/mapper/ff4a-swap.  Priority:-1 extents:1 across:5242876k FS
[   10.603695] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
[   10.944296] systemd-journald[213]: Received request to flush runtime journal from PID 1
[   11.246997] libphy: PHY stmmac-0:ffffffff not found
[   11.251946] eth0: Could not attach to PHY
[   11.255999] stmmac_open: Cannot attach to PHY (error: -19)
[   12.214965] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.250004] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   12.299609] ip_tables: (C) 2000-2006 Netfilter Core Team

** Model information
Hardware	: Rockchip (Device Tree)
Revision	: 0000
Device Tree model: Firefly-RK3288

** Loaded modules:
nf_conntrack_ipv4(E)
nf_defrag_ipv4(E)
iptable_filter(E)
ip_tables(E)
xt_tcpudp(E)
nf_conntrack_ipv6(E)
nf_defrag_ipv6(E)
xt_conntrack(E)
nf_conntrack(E)
ip6table_filter(E)
ip6_tables(E)
x_tables(E)
dw_hdmi_rockchip(E)
rockchip_vop_reg(E)
dw_hdmi(E)
rockchipdrm(E)
drm_kms_helper(E)
ir_lirc_codec(E)
act8865_regulator(E)
lirc_dev(E)
gpio_ir_recv(E)
leds_gpio(E)
drm(E)
i2c_rk3x(E)
rockchip_saradc(E)
evdev(E)
pwm_rockchip(E)
dw_wdt(E)
industrialio(E)
rockchip_thermal(E)
cpufreq_dt(E)
spi_rockchip(E)
autofs4(E)
ext4(E)
crc16(E)
mbcache(E)
jbd2(E)
sg(E)
sd_mod(E)
uas(E)
usb_storage(E)
scsi_mod(E)
dm_mod(E)
dwc2(E)
udc_core(E)
phy_rockchip_usb(E)
usbcore(E)
dw_mmc_rockchip(E)
dw_mmc_pltfm(E)
usb_common(E)
dwmac_rk(E)
stmmac_platform(E)
stmmac(E)
dw_mmc(E)

** Network interface configuration:
source-directory /etc/network/interfaces.d

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 52:7b:f3:31:72:8e brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.61/24 brd 10.0.0.255 scope global eth0
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    0 total packets received
    0 forwarded
    0 incoming packets discarded
    0 incoming packets delivered
    0 requests sent out
    209 dropped because of missing route
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    0 active connections openings
    0 passive connection openings
    0 failed connection attempts
    0 connection resets received
    0 connections established
    0 segments received
    0 segments send out
    0 segments retransmited
    0 bad segments received.
    0 resets sent
Udp:
    0 packets received
    0 packets to unknown port received.
    0 packet receive errors
    0 packets sent
UdpLite:
TcpExt:
    0 packet headers predicted
IpExt:


** PCI devices:

** USB devices:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. 
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 4.5.0-1-armmp-lpae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.5.0-1-armmp-lpae depends on:
ii  debconf [debconf-2.0]                   1.5.56
ii  initramfs-tools [linux-initramfs-tool]  0.120+deb8u1
ii  kmod                                    18-3
ii  linux-base                              3.5

Versions of packages linux-image-4.5.0-1-armmp-lpae recommends:
ii  firmware-linux-free  3.3
ii  irqbalance           1.0.6-3

Versions of packages linux-image-4.5.0-1-armmp-lpae suggests:
pn  debian-kernel-handbook  <none>
pn  fdutils                 <none>
pn  linux-doc-4.5           <none>

Versions of packages linux-image-4.5.0-1-armmp-lpae is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-4.5.0-1-armmp-lpae/prerm/removing-running-kernel-4.5.0-1-armmp-lpae: true

Attachment: signature.asc
Description: PGP signature


Reply to: