Jump to content

Recommended Posts

Posted

Hi!

I'm new to Armbian and I have a problem with Internal Ethernet device on my Orange Pi One.

Ethernet link successfully up on boot, but after 2-3 hours it goes down and only restarting it with 

/et/init.d/networking restart

helps for the next 2-3 hours. But after 2-3 hours it goes down again and did not up untill I'll do restart networking manually again.

I use the lastest Armbian_5.14_Orangepione_Debian_jessie_3.4.112.

This is a log messages, which I found when network fails:

Jul 27 16:00:01 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jul 27 16:01:31 2016 [try http://www.rsyslog.com/e/2007 ]
Jul 27 16:00:05 localhost kernel: [ 6087.706379] gmac0: probed
Jul 27 16:00:05 localhost kernel: [ 6087.706753] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)
Jul 27 16:00:05 localhost kernel: [ 6087.720745] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul 27 16:00:09 localhost kernel: [ 6091.700310] PHY: gmac0-0:00 - Link is Up - 100/Full
Jul 27 16:00:09 localhost kernel: [ 6091.700639] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul 27 16:05:01 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jul 27 16:06:31 2016 [try http://www.rsyslog.com/e/2007 ]
Jul 27 16:15:01 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jul 27 16:16:31 2016 [try http://www.rsyslog.com/e/2007 ]
Jul 27 16:17:01 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jul 27 16:18:31 2016 [try http://www.rsyslog.com/e/2007 ]
Jul 27 16:25:01 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Wed Jul 27 16:26:31 2016 [try http://www.rsyslog.com/e/2007 ]

/etc/networking/interfaces

# Wired adapter #1
allow-hotplug eth0
iface eth0 inet dhcp

# Local loopback
auto lo
iface lo inet loopback 
root@orangepione:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 06:3b:3f:96:d0:88  
          inet addr:10.30.30.109  Bcast:10.30.30.255  Mask:255.255.255.0
          inet6 addr: 2a00:1370:8132:db5:43b:3fff:fe96:d088/64 Scope:Global
          inet6 addr: fd0e:8f4a:1bf7:1:43b:3fff:fe96:d088/64 Scope:Global
          inet6 addr: fe80::43b:3fff:fe96:d088/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12303 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2365 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:944950 (922.8 KiB)  TX bytes:999070 (975.6 KiB)
          Interrupt:114 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)

P.S.

I was try the Raspbian_For_OrangePi_PC_v0_8_0 image file on my Orange Pi One board and Ethernet running good and stable on it.

So, I think that this is not the power supply or cable link problems.

Posted

What happens when you replace 'allow-hotplug eth0' with 'auto eth0' in interfaces file? According to the log you do have link problems but what might make the difference are the settings used (we switched just recently from 'auto' to 'allow-hotplug')

Posted

What happens when you replace 'allow-hotplug eth0' with 'auto eth0' in interfaces file? According to the log you do have link problems but what might make the difference are the settings used (we switched just recently from 'auto' to 'allow-hotplug')

 

I will try to replace allow-hotplug with auto eth0 and advise you about the results.

 

 

@feelcold

Please provide full dmesg log

 

my dmesg output

 

root@orangepione:~# dmesg

[ 0.000000] Booting Linux on physical CPU 0

[ 0.000000] Initializing cgroup subsys cpuset

[ 0.000000] Initializing cgroup subsys cpu

[ 0.000000] Linux version 3.4.112-sun8i (root@pluton) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2) ) #14 SMP PREEMPT Tue Jul 5 16:28:14 CEST 2016

[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d

[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[ 0.000000] Machine: sun8i

[ 0.000000] cma: CMA: reserved 160 MiB at 56000000

[ 0.000000] Memory policy: ECC disabled, Data cache writealloc

[ 0.000000] On node 0 totalpages: 131072

[ 0.000000] free_area_init_node: node 0, pgdat c0a1a680, node_mem_map c0b5b000

[ 0.000000] Normal zone: 1152 pages used for memmap

[ 0.000000] Normal zone: 0 pages reserved

[ 0.000000] Normal zone: 129920 pages, LIFO batch:31

[ 0.000000] script_init enter!

[ 0.000000] script_init exit!

[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0fed000 s11968 r8192 d12608 u32768

[ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096

[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920

[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=1

[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

[ 0.000000] allocated 1048576 bytes of page_cgroup

[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[ 0.000000] Memory: 512MB = 512MB total

[ 0.000000] Memory: 338940k/338940k available, 185348k reserved, 0K highmem

[ 0.000000] Virtual kernel memory layout:

[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)

[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)

[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)

[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

[ 0.000000] .text : 0xc0008000 - 0xc095326c (9517 kB)

[ 0.000000] .init : 0xc0954000 - 0xc09a5ec0 ( 328 kB)

[ 0.000000] .data : 0xc09a6000 - 0xc0a1f4d0 ( 486 kB)

[ 0.000000] .bss : 0xc0a1fc84 - 0xc0b5a910 (1260 kB)

[ 0.000000] Preemptible hierarchical RCU implementation.

[ 0.000000] Additional per-CPU info printed with stalls.

[ 0.000000] NR_IRQS:544

[ 0.000000] Architected local timer running at 24.00MHz.

[ 0.000000] Switching to timer-based delay loop

[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms

[ 0.000000] Console: colour dummy device 80x30

[ 0.000000] console [tty1] enabled

[ 0.000247] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)

[ 0.000271] pid_max: default: 32768 minimum: 301

[ 0.000601] Mount-cache hash table entries: 512

[ 0.001551] Initializing cgroup subsys cpuacct

[ 0.001567] Initializing cgroup subsys memory

[ 0.001614] Initializing cgroup subsys devices

[ 0.001626] Initializing cgroup subsys freezer

[ 0.001637] Initializing cgroup subsys blkio

[ 0.001661] Initializing cgroup subsys perf_event

[ 0.001742] CPU: Testing write buffer coherency: ok

[ 0.001794] ftrace: allocating 25613 entries in 76 pages

[ 0.030286] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[ 0.030305] [sunxi_smp_prepare_cpus] enter

[ 0.030343] Setting up static identity map for 0x4068c018 - 0x4068c070

[ 0.031286] CPU1: Booted secondary processor

[ 0.031286] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[ 0.031418] CPU2: Booted secondary processor

[ 0.031418] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

[ 0.040479] CPU3: Booted secondary processor

[ 0.040479] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

[ 0.040597] Brought up 4 CPUs

[ 0.040597] SMP: Total of 4 processors activated (19200.00 BogoMIPS).

[ 0.040894] devtmpfs: initialized

[ 0.050616] wakeup src cnt is : 2.

[ 0.050631] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000

[ 0.050642] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0

[ 0.050654] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40

[ 0.050665] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000

[ 0.050675] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8

[ 0.050686] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40

[ 0.050697] sunxi pm init

[ 0.050836] pinctrl core: initialized pinctrl subsystem

[ 0.057167] NET: Registered protocol family 16

[ 0.058103] DMA: preallocated 2048 KiB pool for atomic coherent allocations

[ 0.058103] script_sysfs_init success

[ 0.058103] sunxi_dump_init success

[ 0.058103] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl

[ 0.058103] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver

[ 0.058103] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[ 0.058103] hw-breakpoint: maximum watchpoint size is 8 bytes.

[ 0.058103] script config pll_video to 297 Mhz

[ 0.058103] script config pll_de to 864 Mhz

[ 0.058103] script config pll_ve to 402 Mhz

[ 0.058103] sunxi_default_clk_init

[ 0.058103] try to set pll6ahb1 to 200000000

[ 0.058103] try to set ahb clk source to pll6ahb1

[ 0.058103] set ahb clk source to pll6ahb1

[ 0.058103] try to set ahb1 to 200000000

[ 0.058103] try to set apb1 to 100000000

[ 0.062734] bio: create slab at 0

[ 0.062734] [ARISC] :sunxi-arisc driver v1.04

[ 0.086680] [ARISC] :arisc version: [v0.1.58]

[ 0.172584] [ARISC] :sunxi-arisc driver v1.04 startup succeeded

[ 0.174180] SCSI subsystem initialized

[ 0.174180] usbcore: registered new interface driver usbfs

[ 0.174180] usbcore: registered new interface driver hub

[ 0.174180] usbcore: registered new device driver usb

[ 0.174180] twi_chan_cfg()340 - [twi0] has no twi_regulator.

[ 0.174180] twi_chan_cfg()340 - [twi1] has no twi_regulator.

[ 0.174180] twi_chan_cfg()340 - [twi2] has no twi_regulator.

[ 0.174180] Linux video capture interface: v2.00

[ 0.174180] Advanced Linux Sound Architecture Driver Version 1.0.25.

[ 0.174180] cfg80211: Calling CRDA to update world regulatory domain

[ 0.174180] Switching to clocksource arch_sys_counter

[ 0.183849] FS-Cache: Loaded

[ 0.184134] CacheFiles: Loaded

[ 0.195458] NET: Registered protocol family 2

[ 0.206795] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

[ 0.207344] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

[ 0.207590] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)

[ 0.207863] TCP: Hash tables configured (established 16384 bind 16384)

[ 0.207874] TCP: reno registered

[ 0.207887] UDP hash table entries: 256 (order: 1, 8192 bytes)

[ 0.207912] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

[ 0.208241] NET: Registered protocol family 1

[ 0.208616] RPC: Registered named UNIX socket transport module.

[ 0.208628] RPC: Registered udp transport module.

[ 0.208636] RPC: Registered tcp transport module.

[ 0.208645] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 0.208833] Trying to unpack rootfs image as initramfs...

[ 0.394418] Freeing initrd memory: 3064K

[ 0.394949] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available

[ 0.395075] sunxi_reg_init enter

[ 0.395978] audit: initializing netlink socket (disabled)

[ 0.396023] type=2000 audit(0.390:1): initialized

[ 0.397858] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[ 0.398048] misc fatfs initialized

[ 0.398768] NFS: Registering the id_resolver key type

[ 0.399158] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[ 0.399173] Installing knfsd (copyright © 1996 okir@monad.swb.de).

[ 0.399937] NTFS driver 2.1.30 [Flags: R/W].

[ 0.400289] fuse init (API version 7.18)

[ 0.401070] Btrfs loaded

[ 0.401095] msgmni has been set to 987

[ 0.402523] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[ 0.402541] io scheduler noop registered

[ 0.402550] io scheduler deadline registered

[ 0.402617] io scheduler cfq registered (default)

[ 0.403013] [DISP]disp_module_init

[ 0.403318] cmdline,init_disp=

[ 0.403348] cmdline,disp=

[ 0.411154] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed!

[ 0.427535] Console: switching to colour frame buffer device 160x45

[ 0.444868] [DISP]disp_module_init finish

[ 0.445093] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.

[ 0.445400] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI

[ 0.445413] sw_uart_pm()890 - uart0 clk is already enable

[ 0.445432] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n

[ 0.445564] console [ttyS0] enabled

[ 0.446116] sunxi_cmatest_init enter

[ 0.446156] sunxi_cmatest_init success

[ 0.450322] brd: module loaded

[ 0.454201] loop: module loaded

[ 0.454475] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.

[ 0.454490] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.

[ 0.455063] spi spi0: master is unqueued, this is deprecated

[ 0.455393] tun: Universal TUN/TAP device driver, 1.6

[ 0.455403] tun: © 1999-2004 Max Krasnyansky

[ 0.456342] PPP generic driver version 2.4.2

[ 0.456527] PPP BSD Compression module registered

[ 0.456539] PPP Deflate Compression module registered

[ 0.459086] PPP MPPE Compression module registered

[ 0.459104] NET: Registered protocol family 24

[ 0.459180] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 0.479284] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[ 0.479319] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1

[ 0.479875] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000

[ 0.490050] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00

[ 0.490687] hub 1-0:1.0: USB hub found

[ 0.490712] hub 1-0:1.0: 1 port detected

[ 0.511086] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[ 0.511118] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2

[ 0.511505] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000

[ 0.530041] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00

[ 0.530058] ehci_irq: highspeed device connect

[ 0.530579] hub 2-0:1.0: USB hub found

[ 0.530603] hub 2-0:1.0: 1 port detected

[ 0.550967] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[ 0.550996] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3

[ 0.551377] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000

[ 0.570034] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00

[ 0.570563] hub 3-0:1.0: USB hub found

[ 0.570586] hub 3-0:1.0: 1 port detected

[ 0.590947] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver

[ 0.590976] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4

[ 0.591354] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000

[ 0.610031] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00

[ 0.610560] hub 4-0:1.0: USB hub found

[ 0.610580] hub 4-0:1.0: 1 port detected

[ 0.610949] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[ 0.631061] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver

[ 0.631089] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5

[ 0.631124] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400

[ 0.694551] hub 5-0:1.0: USB hub found

[ 0.694573] hub 5-0:1.0: 1 port detected

[ 0.714937] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver

[ 0.714965] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6

[ 0.714998] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400

[ 0.774589] hub 6-0:1.0: USB hub found

[ 0.774613] hub 6-0:1.0: 1 port detected

[ 0.790045] ehci_irq: highspeed device disconnect

[ 0.790072] ohci_irq: fullspeed or lowspeed device connect

[ 0.794991] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver

[ 0.795021] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7

[ 0.795053] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400

[ 0.854567] hub 7-0:1.0: USB hub found

[ 0.854587] hub 7-0:1.0: 1 port detected

[ 0.874985] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver

[ 0.875014] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8

[ 0.875047] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400

[ 0.934499] hub 8-0:1.0: USB hub found

[ 0.934519] hub 8-0:1.0: 1 port detected

[ 0.934851] Initializing USB Mass Storage driver...

[ 0.935080] usbcore: registered new interface driver usb-storage

[ 0.935091] USB Mass Storage support registered.

[ 0.935154] usbcore: registered new interface driver ums-alauda

[ 0.935209] usbcore: registered new interface driver ums-cypress

[ 0.935266] usbcore: registered new interface driver ums-datafab

[ 0.935312] usbcore: registered new interface driver ums_eneub6250

[ 0.935362] usbcore: registered new interface driver ums-freecom

[ 0.935409] usbcore: registered new interface driver ums-isd200

[ 0.935455] usbcore: registered new interface driver ums-jumpshot

[ 0.935500] usbcore: registered new interface driver ums-karma

[ 0.935550] usbcore: registered new interface driver ums-onetouch

[ 0.935610] usbcore: registered new interface driver ums-realtek

[ 0.935660] usbcore: registered new interface driver ums-sddr09

[ 0.935707] usbcore: registered new interface driver ums-sddr55

[ 0.935753] usbcore: registered new interface driver ums-usbat

[ 0.935969] uinput result 0 , vmouse_init

[ 0.936564] mousedev: PS/2 mouse device common for all mice

[ 0.936788] sunxikbd_init failed.

[ 0.937279] ls_fetch_sysconfig_para: type err device_used = -1073060236.

[ 0.937291] =========script_get_err============

[ 0.937299] ltr_init: ls_fetch_sysconfig_para err.

[ 0.937622] [RTC] WARNING: Rtc time will be wrong!!

[ 0.937633] [RTC] WARNING: use *internal OSC* as clock source

[ 0.937892] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0

[ 0.937947] i2c /dev entries driver

[ 0.938337] IR RC5(x) protocol handler initialized

[ 0.938469] sunxi cedar version 0.1

[ 0.938507] [cedar]: install start!!!

[ 0.938699] [cedar]: install end!!!

[ 0.938942] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)

[ 0.939115] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)

[ 0.939285] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)

[ 0.939455] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)

[ 0.939624] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)

[ 0.939793] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)

[ 0.939962] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)

[ 0.940134] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)

[ 0.940303] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)

[ 0.940503] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)

[ 0.940699] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)

[ 0.940894] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)

[ 0.941089] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)

[ 0.941285] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)

[ 0.941480] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)

[ 0.941675] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)

[ 0.941871] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)

[ 0.942067] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)

[ 0.942083] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0

[ 0.942249] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf

[ 0.942413] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)

[ 0.942426] wdt_enable, write reg 0xf1c20cb8 val 0x00000000

[ 0.942436] timeout_to_interv, line 167

[ 0.942445] interv_to_timeout, line 189

[ 0.942454] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec

[ 0.942888] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com

[ 0.942991] calibrat: max_cpufreq 1200Mhz Type 0!

[ 0.943004] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq

[ 0.943392] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Jul 5 2016 at 16:27:06

[ 0.943427] [mmc]: get mmc0's sdc_power is null!

[ 0.943455] [mmc]: get mmc1's sdc_power is null!

[ 0.943464] [mmc]: get mmc1's 2xmode ok, val = 1

[ 0.943473] [mmc]: get mmc1's ddrmode ok, val = 1

[ 0.943489] [mmc]: MMC host used card: 0x3, boot card: 0x1, io_card 2

[ 0.944427] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.945537] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.946130] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.947077] [mmc]: sdc0 power_supply is null

[ 0.948949] no blue_led, ignore it!

[ 0.949169] Registered led device: red_led

[ 0.949293] Registered led device: green_led

[ 0.949308] no led_0, ignore it!

[ 0.949316] no led_1, ignore it!

[ 0.949323] no led_2, ignore it!

[ 0.949330] no led_3, ignore it!

[ 0.949337] no led_4, ignore it!

[ 0.949344] no led_5, ignore it!

[ 0.949351] no led_6, ignore it!

[ 0.949358] no led_7, ignore it!

[ 0.950195] usbcore: registered new interface driver usbhid

[ 0.950209] usbhid: USB HID core driver

[ 0.954432] asoc: sndcodec <-> sunxi-codec mapping ok

[ 0.955279] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!

[ 0.955468] [i2S]snddaudio cannot find any using configuration for controllers, return directly!

[ 0.955482] [DAUDIO0] driver not init,just return.

[ 0.958885] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok

[ 0.959933] oprofile: using arm/armv7-ca7

[ 0.960087] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.960163] u32 classifier

[ 0.960172] Actions configured

[ 0.960354] IPv4 over IPv4 tunneling driver

[ 0.960993] TCP: bic registered

[ 0.961005] TCP: cubic registered

[ 0.961012] TCP: westwood registered

[ 0.961020] TCP: highspeed registered

[ 0.961028] TCP: hybla registered

[ 0.961035] TCP: htcp registered

[ 0.961042] TCP: vegas registered

[ 0.961050] TCP: veno registered

[ 0.961057] TCP: scalable registered

[ 0.961065] TCP: lp registered

[ 0.961072] TCP: yeah registered

[ 0.961080] TCP: illinois registered

[ 0.961087] Initializing XFRM netlink socket

[ 0.961322] NET: Registered protocol family 10

[ 0.962475] NET: Registered protocol family 17

[ 0.962506] NET: Registered protocol family 15

[ 0.962552] Registering the dns_resolver key type

[ 0.963021] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

[ 0.963043] ThumbEE CPU extension supported.

[ 0.963064] Registering SWP/SWPB emulation handler

[ 0.963627] registered taskstats version 1

[ 0.964074] cmdline,disp=

[ 0.964384] [HDMI] power vcc-hdmi-18

[ 0.981724] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.984231] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.989556] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.989673] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.992164] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 0.995083] ths_fetch_sysconfig_para: type err device_used = 1.

[ 0.996321] CPU Budget:corekeeper enabled

[ 0.996546] CPU Budget:Register notifier

[ 0.996559] CPU Budget:register Success

[ 0.996572] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0

[ 0.999708] [rf_pm]: module power0 name vcc-wifi-33

[ 0.999725] [rf_pm]: Did not config module_power1 in sys_config

[ 0.999735] [rf_pm]: Did not config module_power2 in sys_config

[ 0.999745] [rf_pm]: Did not config module_power3 in sys_config

[ 0.999755] [rf_pm]: mod has no chip_en gpio

[ 0.999763] [rf_pm]: failed to fetch lpo_use_apclk

[ 0.999771] [rf_pm]: regulator on.

[ 0.999781] [wifi_pm]: no wifi used in configuration

[ 0.999790] [rfkill]: init no bt used in configuration

[ 0.999799] ALSA device list:

[ 0.999806] #0: audiocodec

[ 0.999812] #1: sndhdmi

[ 1.000739] Freeing init memory: 324K

[ 1.011679] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B

[ 1.013240] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B

[ 1.013355] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B

[ 1.013508] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[ 1.013605] mmc0: new high speed SDHC card at address 0007

[ 1.014157] mmcblk0: mmc0:0007 SD16G 14.4 GiB

[ 1.015656] mmcblk0: p1

[ 1.016342] mmcblk mmc0:0007: Card claimed for testing.

[ 1.016362] mmc0:0007: SD16G 14.4 GiB

[ 1.016414] *******************sd init ok*******************

[ 1.043172] systemd-udevd[98]: starting version 215

[ 1.150133] usb 6-1: new full-speed USB device number 2 using sunxi-ohci

[ 1.379760] generic-usb 0003:0D8C:013C.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-sunxi-ohci-1/input3

[ 1.600085] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5

[ 2.375619] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)

[ 3.550549] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)

[ 3.551099] systemd[1]: Detected architecture 'arm'.

[ 3.563027] systemd[1]: Set hostname to .

[ 3.902641] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.

[ 3.904977] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.

[ 3.905285] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

[ 3.905350] systemd[1]: Expecting device dev-ttyS0.device...

[ 3.905870] systemd[1]: Starting Remote File Systems (Pre).

[ 3.906198] systemd[1]: Reached target Remote File Systems (Pre).

[ 3.906340] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.

[ 3.907141] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.

[ 3.907215] systemd[1]: Starting Encrypted Volumes.

[ 3.907507] systemd[1]: Reached target Encrypted Volumes.

[ 3.907582] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.

[ 3.907751] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.

[ 3.907802] systemd[1]: Starting Paths.

[ 3.908068] systemd[1]: Reached target Paths.

[ 3.908131] systemd[1]: Starting Root Slice.

[ 3.908483] systemd[1]: Created slice Root Slice.

[ 3.908536] systemd[1]: Starting User and Session Slice.

[ 3.908946] systemd[1]: Created slice User and Session Slice.

[ 3.909000] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.

[ 3.909480] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.

[ 3.909535] systemd[1]: Starting Delayed Shutdown Socket.

[ 3.909921] systemd[1]: Listening on Delayed Shutdown Socket.

[ 3.909980] systemd[1]: Starting Journal Socket (/dev/log).

[ 3.910474] systemd[1]: Listening on Journal Socket (/dev/log).

[ 3.910557] systemd[1]: Starting udev Control Socket.

[ 3.910907] systemd[1]: Listening on udev Control Socket.

[ 3.910970] systemd[1]: Starting udev Kernel Socket.

[ 3.911310] systemd[1]: Listening on udev Kernel Socket.

[ 3.911386] systemd[1]: Starting Journal Socket.

[ 3.911764] systemd[1]: Listening on Journal Socket.

[ 3.911872] systemd[1]: Starting System Slice.

[ 3.912274] systemd[1]: Created slice System Slice.

[ 3.912373] systemd[1]: Started File System Check on Root Device.

[ 3.912420] systemd[1]: Starting system-getty.slice.

[ 3.912895] systemd[1]: Created slice system-getty.slice.

[ 3.912948] systemd[1]: Starting system-serial\x2dgetty.slice.

[ 3.913403] systemd[1]: Created slice system-serial\x2dgetty.slice.

[ 3.913521] systemd[1]: Starting Increase datagram queue length...

[ 3.980661] systemd[1]: Starting Restore / save the current clock...

[ 4.010763] systemd[1]: Mounted Huge Pages File System.

[ 4.011124] systemd[1]: Mounting Debug File System...

[ 4.115204] systemd[1]: Starting Load Kernel Modules...

[ 4.160778] systemd[1]: Starting udev Coldplug all Devices...

[ 4.201038] systemd[1]: Starting Create list of required static device nodes for the current kernel...

[ 4.280811] systemd[1]: Mounting POSIX Message Queue File System...

[ 4.332439] systemd[1]: Started Set Up Additional Binary Formats.

[ 4.332568] systemd[1]: Starting LSB: Set keymap...

[ 4.370515] systemd[1]: Starting Slices.

[ 4.371022] systemd[1]: Reached target Slices.

[ 4.373712] systemd[1]: Mounted POSIX Message Queue File System.

[ 4.374310] systemd[1]: Mounted Debug File System.

[ 4.431106] systemd[1]: Started Increase datagram queue length.

[ 4.520342] systemd[1]: Started Restore / save the current clock.

[ 4.610217] systemd[1]: Started Load Kernel Modules.

[ 4.845303] systemd[1]: Started Create list of required static device nodes for the current kernel.

[ 4.924988] systemd[1]: Started LSB: Set keymap.

[ 4.974855] systemd[1]: Started udev Coldplug all Devices.

[ 4.977581] systemd[1]: Time has been changed

[ 4.978152] systemd[1]: Starting Create Static Device Nodes in /dev...

[ 5.061600] systemd[1]: Mounted Configuration File System.

[ 5.061845] systemd[1]: Starting Apply Kernel Variables...

[ 5.220846] systemd[1]: Mounting FUSE Control File System...

[ 5.310430] systemd[1]: Starting Syslog Socket.

[ 5.315498] systemd[1]: Listening on Syslog Socket.

[ 5.315662] systemd[1]: Starting Journal Service...

[ 5.411051] systemd[1]: Started Journal Service.

[ 5.705665] systemd-udevd[182]: starting version 215

[ 6.231995] usbcore: registered new interface driver snd-usb-audio

[ 6.417823] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro

[ 6.651979] Adding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS

[ 7.707822] systemd-journald[181]: Received request to flush runtime journal from PID 1

[ 8.059902] gmac0: probed

[ 8.060256] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)

[ 12.060322] PHY: gmac0-0:00 - Link is Up - 100/Full

[ 6087.706379] gmac0: probed

[ 6087.706753] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)

[ 6087.720745] ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 6091.700310] PHY: gmac0-0:00 - Link is Up - 100/Full

[ 6091.700639] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[ 9931.034492] ehci_irq: highspeed device connect

[ 9931.180248] ehci_irq: highspeed device disconnect

[ 9931.180296] ohci_irq: fullspeed or lowspeed device connect

[ 9931.600122] usb 5-1: new low-speed USB device number 2 using sunxi-ohci

[ 9931.854861] generic-usb 0003:04D9:1702.0002: input,hidraw1: USB HID v1.10 Keyboard [ USB Keyboard] on usb-sunxi-ohci-1/input0

[ 9931.878592] generic-usb 0003:04D9:1702.0003: input,hidraw2: USB HID v1.10 Device [ USB Keyboard] on usb-sunxi-ohci-1/input1

[10594.113321] gmac0: probed

[10594.113646] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)

[10594.126294] ADDRCONF(NETDEV_UP): eth0: link is not ready

[10598.110472] PHY: gmac0-0:00 - Link is Up - 100/Full

[10598.110808] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[10814.530805] gmac0: probed

[10814.531135] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)

[10814.543784] ADDRCONF(NETDEV_UP): eth0: link is not ready

[10818.530303] PHY: gmac0-0:00 - Link is Up - 100/Full

[10818.530639] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[13002.419225] ohci_irq: fullspeed or lowspeed device disconnect

[13002.419395] usb 5-1: USB disconnect, device number 2

[13037.174474] ehci_irq: highspeed device disconnect

 

Posted

What happens when you replace 'allow-hotplug eth0' with 'auto eth0' in interfaces file? According to the log you do have link problems but what might make the difference are the settings used (we switched just recently from 'auto' to 'allow-hotplug')

Yes, that helps! Now Ethernet working fine and well. Thank you so much for the tip!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines