This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x + SMSC 9303 ethernet connection loss

Other Parts Discussed in Thread: TPS65217, TMP102, TFP410

Hi Team,

I've observed following issue with AM335x + SMSC 9303.

Ethernet connection get lost, ifdown -a and ifup -a helps to re-establish it, but without it wathdog gets triggered:

 

[  353.013927] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x3b0/0x3c8() [  353.021627] NETDEV WATCHDOG: eth0 (cpsw): transmit queue 0 timed out [  353.028358] Modules linked in: tpuart(O) sinus_inverter(O) uni_inputs(O) triac_230v(O) [  353.036872] Backtrace:

[  353.039563] [<c00188f0>] (dump_backtrace+0x0/0x110) from [<c03f8080>] (dump_stack+0x18/0x1c) [  353.048496]  r6:c04f0be0 r5:000000ff r4:c0557df8 r3:00000104 [  353.054633] [<c03f8068>] (dump_stack+0x0/0x1c) from [<c004282c>] (warn_slowpath_common+0x5c/0x6c) [  353.064070] [<c00427d0>] (warn_slowpath_common+0x0/0x6c) from [<c00428e0>] (warn_slowpath_fmt+0x38/0x40) [  353.074131]  r8:c05ca60c r7:c0575f08 r6:00000000 r5:c0556000 r4:c7a5a800 [  353.081151] r3:00000009 [  353.083984] [<c00428a8>] (warn_slowpath_fmt+0x0/0x40) from [<c031a0a0>] (dev_watchdog+0x3b0/0x3c8) [  353.093491]  r3:c7a5a800 r2:c04f0bf8 [  353.097352] [<c0319cf0>] (dev_watchdog+0x0/0x3c8) from [<c004ea8c>] (run_timer_softirq+0x11c/0x258) [  353.106984] [<c004e970>] (run_timer_softirq+0x0/0x258) from [<c0048b50>] (__do_softirq+0xb4/0x13c) [  353.116608] [<c0048a9c>] (__do_softirq+0x0/0x13c) from [<c004902c>] (irq_exit+0x98/0x9c) [  353.125238] [<c0048f94>] (irq_exit+0x0/0x9c) from [<c0015f28>] (handle_IRQ+0x44/0x8c) [  353.133639]  r4:c058fb74 r3:000001dc [  353.137498] [<c0015ee4>] (handle_IRQ+0x0/0x8c) from [<c00086a4>] (omap3_intc_handle_irq+0xbc/0xc0) [  353.147013]  r6:00000044 r5:fa200000 r4:00000004 r3:fa2000f8 [  353.153137] [<c00085e8>] (omap3_intc_handle_irq+0x0/0xc0) from [<c0014c40>] (__irq_svc+0x40/0x70) [  353.162558] Exception stack(0xc0557f38 to 0xc0557f80)

[  353.167925] 7f20:                                                       c0556000 c0556000

[  353.176629] 7f40: c0557f80 00000000 c0556000 c05a8404 c055cf08 c06d1640 80004059 413fc082 [  353.185329] 7f60: 00000000 c0557f8c c0557f90 c0557f80 c001609c c00160a0 60000013 ffffffff [  353.194011]  r7:c0557f6c r6:ffffffff r5:60000013 r4:c00160a0 [  353.200136] [<c0016074>] (default_idle+0x0/0x30) from [<c0016230>] (cpu_idle+0x84/0xb0) [  353.208673] [<c00161ac>] (cpu_idle+0x0/0xb0) from [<c03f03bc>] (rest_init+0x94/0x98) [  353.216900]  r6:c054c2ac r5:c05a8340 r4:00000002 r3:00000000 [  353.223042] [<c03f0328>] (rest_init+0x0/0x98) from [<c05247e8>] (start_kernel+0x2e0/0x2ec) [  353.231813]  r4:c0558154 r3:00000002 [  353.235673] [<c0524508>] (start_kernel+0x0/0x2ec) from [<80008040>] (0x80008040) [  353.243619] ---[ end trace 0fdb02879cc1e7d3 ]---

 

Do you know why the connection could be lost and how could I prevent it?

Here is the bootlog:

Starting kernel ...

 

[    0.000000] Linux version 3.2.0-r12 (one@dev) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 PREEMPT Fri Nov 15 19:17:36 CET 2013

[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d

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

[    0.000000] Machine: dxr2

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

[    0.000000] AM335X ES1.0 (neon )

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

[    0.000000] Kernel command line: console=console=ttyMTD,mtdoops console=ttyO0,115200n8 panic=5 root=ubi0:rootfs_a rw ubi.mtd=9,2048 noinitrd mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(spl.backup2),128k(spl.backup3),1920k(u-boot),128k(uboot.env),5120k(kernel_a),5120k(kernel_b),8192k(mtdoops),-(rootfs) rootfstype=ubifs rootwait=1 ip=none console=ttyMTD,mtdoops console=ttyO0,115200n8 mtdoops.mtddev=mtdoops

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

[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

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

[    0.000000] Memory: 128MB = 128MB total

[    0.000000] Memory: 123952k/123952k available, 7120k 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 : 0xc8800000 - 0xff000000   ( 872 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)

[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0524000   (5232 kB)

[    0.000000]       .init : 0xc0524000 - 0xc0556000   ( 200 kB)

[    0.000000]       .data : 0xc0556000 - 0xc05a82f0   ( 329 kB)

[    0.000000]        .bss : 0xc05a8314 - 0xc05d0fc0   ( 164 kB)

[    0.000000] NR_IRQS:396

[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

[    0.000000] Total of 128 interrupts on 1 active controller

[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz

[    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state

[    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz

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

[    0.000000] Console: colour dummy device 80x30

[    0.000449] Calibrating delay loop... 274.02 BogoMIPS (lpj=1370112)

[    0.063923] pid_max: default: 32768 minimum: 301

[    0.064291] Security Framework initialized

[    0.064527] Mount-cache hash table entries: 512

[    0.065411] CPU: Testing write buffer coherency: ok

[    0.079079] omap_hwmod: wd_timer2: _wait_target_disable failed

[    0.098238] omap_hwmod: gfx: failed to hardreset

[    0.117000] omap_hwmod: pruss: failed to hardreset

[    0.119736] print_constraints: dummy:

[    0.120998] NET: Registered protocol family 16

[    0.127606] OMAP GPIO hardware version 0.1

[    0.135628] omap_mux_init: Add partition: #1: core, flags: 0

[    0.137919]  omap_i2c.1: alias fck already exists

[    0.141781]  edma.0: alias fck already exists

[    0.141843]  edma.0: alias fck already exists

[    0.141896]  edma.0: alias fck already exists

[    0.203468] bio: create slab <bio-0> at 0

[    0.209325] usbcore: registered new interface driver usbfs

[    0.210338] usbcore: registered new interface driver hub

[    0.211004] usbcore: registered new device driver usb

[    0.211386] musb-ti81xx musb-ti81xx: musb0, board_mode=0x3, plat_mode=0x3

[    0.212128] musb-ti81xx musb-ti81xx: musb1, board_mode=0x3, plat_mode=0x0

[    0.234076] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz

[    0.238808] Switching to clocksource gp timer

[    0.288003] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

[    0.288418] musb-hdrc musb-hdrc.0: dma type: pio

[    0.289694] MUSB0 controller's USBSS revision = 4ea20800

[    0.291267] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using PIO, IRQ 18

[    0.291780] musb-hdrc musb-hdrc.1: dma type: pio

[    0.292523] MUSB1 controller's USBSS revision = 4ea20800

[    0.292826] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

[    0.293052] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1

[    0.293408] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    0.293453] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    0.293493] usb usb1: Product: MUSB HDRC host driver

[    0.293524] usb usb1: Manufacturer: Linux 3.2.0-r12 musb-hcd

[    0.293556] usb usb1: SerialNumber: musb-hdrc.1

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

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

[    0.297414] musb-hdrc musb-hdrc.1: USB OTG mode controller at c883e800 using PIO, IRQ 19

[    0.299432] NET: Registered protocol family 2

[    0.300069] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.301647] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

[    0.301881] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

[    0.302023] TCP: Hash tables configured (established 4096 bind 4096)

[    0.302058] TCP reno registered

[    0.302093] UDP hash table entries: 256 (order: 0, 4096 bytes)

[    0.302157] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[    0.302925] NET: Registered protocol family 1

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

[    0.304338] RPC: Registered udp transport module.

[    0.304366] RPC: Registered tcp transport module.

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

[    0.305145] NetWinder Floating Point Emulator V0.97 (double precision)

[    0.306276] cpuidle-am33xx cpuidle-am33xx.0: failed to register driver

[    0.321944] VFS: Disk quotas dquot_6.5.2

[    0.322222] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.325746] msgmni has been set to 242

[    0.334852] alg: No test for stdrng (krng)

[    0.336699] io scheduler noop registered

[    0.336744] io scheduler deadline registered

[    0.337219] io scheduler cfq registered (default)

[    0.340735] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

[    0.924113] console [ttyO0] enabled

[    0.930350] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00

[    0.966717] brd: module loaded

[    0.985365] loop: module loaded

[    0.988872] at24 1-0050: 16384 byte 24c128 EEPROM, writable, 64 bytes/write

[    0.996589] Reading FactorySet

[    1.013113] arch/arm/mach-omap2/board-dxr2.c dxr2_setup 725: factoryset read failed

[    1.021263] malformed MAC address

[    1.028157] omap-gpmc omap-gpmc: GPMC revision 6.0

[    1.033682] Registering NAND on CS0

[    1.052264] omap2-nand driver initializing

[    1.057199] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit)

[    1.066781] 10 cmdlinepart partitions found on MTD device omap2-nand.0

[    1.073792] Creating 10 MTD partitions on "omap2-nand.0":

[    1.079585] 0x000000000000-0x000000020000 : "spl"

[    1.088588] 0x000000020000-0x000000040000 : "spl.backup1"

[    1.098014] 0x000000040000-0x000000060000 : "spl.backup2"

[    1.107420] 0x000000060000-0x000000080000 : "spl.backup3"

[    1.116949] 0x000000080000-0x000000260000 : "u-boot"

[    1.126804] 0x000000260000-0x000000280000 : "uboot.env"

[    1.136114] 0x000000280000-0x000000780000 : "kernel_a"

[    1.147652] 0x000000780000-0x000000c80000 : "kernel_b"

[    1.159386] 0x000000c80000-0x000001480000 : "mtdoops"

[    2.285111] mtdoops: Attached to MTD device 8

[    2.292069] 0x000001480000-0x000010000000 : "rootfs"

[    2.412645] UBI: attaching mtd9 to ubi0

[    2.416736] UBI: physical eraseblock size:   131072 bytes (128 KiB)

[    2.423623] UBI: logical eraseblock size:    126976 bytes

[    2.429420] UBI: smallest flash I/O unit:    2048

[    2.434401] UBI: sub-page size:              512

[    2.439330] UBI: VID header offset:          2048 (aligned 2048)

[    2.445686] UBI: data offset:                4096

[    4.617483] UBI: max. sequence number:       482

[    4.645871] UBI: attached mtd9 to ubi0

[    4.650068] UBI: MTD device name:            "rootfs"

[    4.655421] UBI: MTD device size:            235 MiB

[    4.660732] UBI: number of good PEBs:        1884

[    4.665710] UBI: number of bad PEBs:         0

[    4.670447] UBI: number of corrupted PEBs:   0

[    4.675148] UBI: max. allowed volumes:       128

[    4.680061] UBI: wear-leveling threshold:    4096

[    4.685039] UBI: number of internal volumes: 1

[    4.689765] UBI: number of user volumes:     3

[    4.694466] UBI: available PEBs:             0

[    4.699194] UBI: total number of reserved PEBs: 1884

[    4.704446] UBI: number of PEBs reserved for bad PEB handling: 18

[    4.710918] UBI: max/mean erase counter: 2/1

[    4.715437] UBI: image sequence number:  1372107641

[    4.720649] UBI: background thread "ubi_bgt0d" started, PID 450

[    4.778947] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6

[    4.785507] davinci_mdio davinci_mdio.0: detected phy mask fff8

[    4.816553] davinci_mdio.0: probed

[    4.820695] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown

[    4.828166] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver SMSC LAN911x Internal PHY

[    4.837457] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver SMSC LAN911x Internal PHY

[    4.846634] davinci_mdio davinci_mdio.0: phy[16]: device 0:10, driver unknown

[    4.854225] davinci_mdio davinci_mdio.0: phy[17]: device 0:11, driver unknown

[    4.861807] davinci_mdio davinci_mdio.0: phy[18]: device 0:12, driver unknown

[    4.869391] davinci_mdio davinci_mdio.0: phy[19]: device 0:13, driver unknown

[    4.876944] davinci_mdio davinci_mdio.0: phy[20]: device 0:14, driver unknown

[    4.884525] davinci_mdio davinci_mdio.0: phy[21]: device 0:15, driver unknown

[    4.892106] davinci_mdio davinci_mdio.0: phy[22]: device 0:16, driver unknown

[    4.899687] davinci_mdio davinci_mdio.0: phy[23]: device 0:17, driver unknown

[    4.907239] davinci_mdio davinci_mdio.0: phy[24]: device 0:18, driver unknown

[    4.914818] davinci_mdio davinci_mdio.0: phy[25]: device 0:19, driver unknown

[    4.922398] davinci_mdio davinci_mdio.0: phy[26]: device 0:1a, driver unknown

[    4.929978] davinci_mdio davinci_mdio.0: phy[27]: device 0:1b, driver unknown

[    4.937531] davinci_mdio davinci_mdio.0: phy[28]: device 0:1c, driver unknown

[    4.945111] davinci_mdio davinci_mdio.0: phy[29]: device 0:1d, driver unknown

[    4.952691] davinci_mdio davinci_mdio.0: phy[30]: device 0:1e, driver unknown

[    4.960270] davinci_mdio davinci_mdio.0: phy[31]: device 0:1f, driver unknown

[    4.968410] malformed MAC address eth0: MAC 00:00:00:00:00:00

[    4.974758]  gadget: using random self ethernet address

[    4.980387]  gadget: using random host ethernet address

[    4.987380] usb0: MAC 52:c1:e2:70:ce:75

[    4.991629] usb0: HOST MAC 46:5a:41:50:fa:1b

[    4.996293]  gadget: Ethernet Gadget, version: Memorial Day 2008

[    5.002758]  gadget: g_ether ready

[    5.006403] musb-hdrc musb-hdrc.0: MUSB HDRC host driver

[    5.012166] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2

[    5.020350] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

[    5.027543] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    5.035231] usb usb2: Product: MUSB HDRC host driver

[    5.040519] usb usb2: Manufacturer: Linux 3.2.0-r12 musb-hcd

[    5.046510] usb usb2: SerialNumber: musb-hdrc.0

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

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

[    5.063503] i2c /dev entries driver

[    5.069777] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[    5.078803] omap4_aes_mod_init: loading AM33X AES driver

[    5.084961] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02

[    5.092616] omap4_aes_probe: probe() done

[    5.097427] omap4_sham_mod_init: loading AM33X SHA/MD5 driver

[    5.104065] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03

[    5.125668] omap4_sham_probe: probe() done

[    5.130863] oprofile: hardware counters not available

[    5.136220] oprofile: using timer interrupt.

[    5.141386] nf_conntrack version 0.5.0 (1936 buckets, 7744 max)

[    5.149013] ip_tables: (C) 2000-2006 Netfilter Core Team

[    5.154871] TCP cubic registered

[    5.160010] NET: Registered protocol family 10

[    5.167173] IPv6 over IPv4 tunneling driver

[    5.173727] NET: Registered protocol family 17

[    5.179112] Bridge firewalling registered

[    5.183520] Registering the dns_resolver key type

[    5.188601] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

[    5.196818] ThumbEE CPU extension supported.

[    5.201464] mux: Failed to setup hwmod io irq -22

[    5.210392] Power Management for AM33XX family

[    5.215188] clock: disabling unused clocks to save power

[    5.270210] Detected MACID=c8:a0:30:ab:a5:63

[    5.350944] UBIFS: recovery needed

[    5.526835] UBIFS: recovery completed

[    5.530807] UBIFS: mounted UBI device 0, volume 0, name "rootfs_a"

[    5.537359] UBIFS: file system size:   61583360 bytes (60140 KiB, 58 MiB, 485 LEBs)

[    5.545495] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)

[    5.553257] UBIFS: media format:       w4/r0 (latest is w4/r0)

[    5.559453] UBIFS: default compressor: lzo

[    5.563791] UBIFS: reserved for root:  0 bytes (0 KiB)

[    5.571299] VFS: Mounted root (ubifs filesystem) on device 0:13.

[    5.578264] Freeing init memory: 200K

init started: BusyBox v1.17.4 (2013-11-15 19:41:30 CET) starting pid 736, tty '': '/etc/init.d/rcS'

[    6.085143] UBIFS: recovery needed

[    6.258021] UBIFS: recovery completed

[    6.261998] UBIFS: mounted UBI device 0, volume 2, name "configuration"

[    6.269041] UBIFS: file system size:   109072384 bytes (106516 KiB, 104 MiB, 859 LEBs)

[    6.277423] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)

[    6.285184] UBIFS: media format:       w4/r0 (latest is w4/r0)

[    6.291382] UBIFS: default compressor: lzo

[    6.295721] UBIFS: reserved for root:  0 bytes (0 KiB)

------- User Space starts here! -------

Thanks and regards,

Oleg

  • I'm having the similar issue with AM335x + BCM5325.

    To bright the Ethernet connection back I have to use ifdown and ifup.

    Does anybody have any clue?

    ------------[ cut here ]------------
    [ 137.059219] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x240/0x260()
    [ 137.068115] NETDEV WATCHDOG: eth0 (cpsw): transmit queue 0 timed out
    [ 137.074806] Modules linked in:
    [ 137.078030] CPU: 0 PID: 0 Comm: swapper Not tainted 3.15.5+ #33
    [ 137.084294] [<c0013db4>] (unwind_backtrace) from [<c0011c3c>] (show_stack+0x10/0x14)
    [ 137.092477] [<c0011c3c>] (show_stack) from [<c003b120>] (warn_slowpath_common+0x68/0x88)
    [ 137.101018] [<c003b120>] (warn_slowpath_common) from [<c003b1d4>] (warn_slowpath_fmt+0x30/0x40)
    [ 137.110184] [<c003b1d4>] (warn_slowpath_fmt) from [<c067f550>] (dev_watchdog+0x240/0x260)
    [ 137.118825] [<c067f550>] (dev_watchdog) from [<c0045890>] (call_timer_fn+0x3c/0x108)
    [ 137.126999] [<c0045890>] (call_timer_fn) from [<c0045c38>] (run_timer_softirq+0x1b4/0x290)
    [ 137.135718] [<c0045c38>] (run_timer_softirq) from [<c003ed74>] (__do_softirq+0x90/0x284)
    [ 137.144234] [<c003ed74>] (__do_softirq) from [<c003f1b4>] (irq_exit+0x9c/0xe8)
    [ 137.151850] [<c003f1b4>] (irq_exit) from [<c000f6c0>] (handle_IRQ+0x34/0x84)
    [ 137.159289] [<c000f6c0>] (handle_IRQ) from [<c00085b8>] (omap3_intc_handle_irq+0x84/0x9c)
    [ 137.167919] [<c00085b8>] (omap3_intc_handle_irq) from [<c07747c0>] (__irq_svc+0x40/0x50)
    [ 137.176441] Exception stack(0xc0b41f58 to 0xc0b41fa0)
    [ 137.181754] 1f40: ffffffed 00000000
    [ 137.190363] 1f60: 00000000 00000000 c0b40000 00000000 00000000 c0b40000 c0b480b8 413fc082
    [ 137.198982] 1f80: c0bbe7d0 ffffffed 01000000 c0b41fa0 c000f814 c000f818 60070013 ffffffff
    [ 137.207595] [<c07747c0>] (__irq_svc) from [<c000f818>] (arch_cpu_idle+0x28/0x30)
    [ 137.215397] [<c000f818>] (arch_cpu_idle) from [<c0065dac>] (cpu_startup_entry+0xf8/0x320)
    [ 137.224016] [<c0065dac>] (cpu_startup_entry) from [<c0ad8a54>] (start_kernel+0x340/0x3a8)
    [ 137.232643] ---[ end trace 503bd9b73fde7606 ]---

    Thanks,

    Gordon

  • Is anything being done with regards to the ethernet interface such as ifconfig up/down commands when this problem happens?

    Do you have a similar setup as the earlier post with several PHYs?

    Could you post the boot sequence like the earlier post?

  • You have to run "ipdown eth0" and then "ipup eth0" to bring the ethenet connection back.

    The BCM5325 is an 5-port swith which is connected to the MII1 interface of AM335x in MII mode.

    As you can see in the boot sequence below, it recognizes 5 PHYs.

    Thanks,

    Gordon

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Initializing cgroup subsys cpuset

    [    0.000000] Initializing cgroup subsys cpu

    [ 0.000000] Initializing cgroup subsys cpuacct

    [    0.000000] Linux version 3.15.5+ (gordon@ecore) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #32 Tue  Jul 22 09:51:18 PDT 2014

    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

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

    [    0.000000] Machine model: TI AM335x Tetra2 Engine

    [    0.000000] Memory policy: Data cache writeback

    [    0.000000] CPU: All CPU(s) started in SVC mode.

    [    0.000000] AM335X ES2.1 (neon )

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

    [    0.000000] Kernel command line: console=ttyO0,115200n8 /dev/fb0 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait

    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

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

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    [    0.000000] allocated 524288 bytes of page_cgroup

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

    [    0.000000] Memory: 245164K/261120K available (7883K kernel code, 584K rwdata, 3184K rodata, 409K init, 906K bss, 15956K 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 : 0xd0800000 - 0xff000000   ( 744 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

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

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

    [    0.000000]       .text : 0xc0008000 - 0xc0ad718c   (11069 kB)

    [    0.000000]       .init : 0xc0ad8000 - 0xc0b3e430   ( 410 kB)

    [    0.000000]       .data : 0xc0b40000 - 0xc0bd21c8   ( 585 kB)

    [    0.000000]        .bss : 0xc0bd21c8 - 0xc0cb49e4   ( 907 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] Total of 128 interrupts on 1 active controller

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns

    [    0.000039] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000271] Console: colour dummy device 80x30

    [    0.000301] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)

    [    0.059247] pid_max: default: 32768 minimum: 301

    [    0.059350] Security Framework initialized

    [    0.059435] Yama: becoming mindful.

    [    0.059675] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.059689] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.060417] Initializing cgroup subsys memory

    [    0.060452] Initializing cgroup subsys devices

    [    0.060464] Initializing cgroup subsys freezer

    [    0.060476] Initializing cgroup subsys net_cls

    [    0.060485] Initializing cgroup subsys blkio

    [    0.060495] Initializing cgroup subsys perf_event

    [    0.060557] CPU: Testing write buffer coherency: ok

    [    0.060953] Setting up static identity map for 0x80779de0 - 0x80779e38

    [    0.066071] devtmpfs: initialized

    [    0.068062] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    0.077383] omap_hwmod: tptc0 using broken dt data from edma

    [    0.077491] omap_hwmod: tptc1 using broken dt data from edma

    [    0.077586] omap_hwmod: tptc2 using broken dt data from edma

    [    0.082116] omap_hwmod: debugss: _wait_target_disable failed

    [    0.140470] xor: measuring software checksum speed

    [    0.239282]    arm4regs  :   747.600 MB/sec

    [    0.339280]    8regs     :   584.400 MB/sec

    [    0.439281]    32regs    :   584.400 MB/sec

    [    0.539275]    neon      :  1089.200 MB/sec

    [    0.539286] xor: using function: neon (1089.200 MB/sec)

    [    0.539306] pinctrl core: initialized pinctrl subsystem

    [    0.539790] regulator-dummy: no parameters

    [    0.550530] NET: Registered protocol family 16

    [    0.551282] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.552218] cpuidle: using governor ladder

    [    0.552232] cpuidle: using governor menu

    [    0.561551] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [    0.562544] platform 49000000.edma: alias fck already exists

    [    0.562570] platform 49000000.edma: alias fck already exists

    [    0.562586] platform 49000000.edma: alias fck already exists

    [    0.563289] OMAP GPIO hardware version 0.1

    [    0.567410] platform 481cc000.d_can: alias fck already exists

    [    0.570986] omap-gpmc 50000000.gpmc: GPMC revision 6.0

    [    0.572700] No ATAGs?

    [    0.572720] hw-breakpoint: debug architecture 0x4 unsupported.

    [    0.573987] omap_init_mbox: hwmod doesn't have valid attrs

    [    0.749625] raid6: int32x1    126 MB/s

    [    0.919335] raid6: int32x2    163 MB/s

    [    1.089457] raid6: int32x4    169 MB/s

    [    1.259432] raid6: int32x8    167 MB/s

    [    1.429321] raid6: neonx1     863 MB/s

    [    1.599319] raid6: neonx2    1101 MB/s

    [    1.769300] raid6: neonx4    1171 MB/s

    [    1.939357] raid6: neonx8     716 MB/s

    [    1.939367] raid6: using algorithm neonx4 (1171 MB/s)

    [    1.939375] raid6: using intx1 recovery algorithm

    [    1.947359] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver

    [    1.950419] SCSI subsystem initialized

    [    1.950931] usbcore: registered new interface driver usbfs

    [    1.951027] usbcore: registered new interface driver hub

    [    1.951284] usbcore: registered new device driver usb

    [    1.954280] DCDC1: at 1500 mV

    [    1.955152] vdd_mpu: 925 <--> 1325 mV at 1100 mV

    [    1.955990] vdd_core: 925 <--> 1150 mV at 1100 mV

    [    1.956834] LDO1: at 1800 mV

    [    1.957646] LDO2: at 3300 mV

    [    1.959007] LDO3: 1800 mV

    [    1.959922] LDO4: at 3300 mV

    [    1.960452] tps65217 0-0024: TPS65217 ID 0xe version 1.2

    [    1.961075] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

    [    1.962293] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz

    [    1.962482] media: Linux media interface: v0.10

    [    1.962564] Linux video capture interface: v2.00

    [    1.962698] pps_core: LinuxPPS API ver. 1 registered

    [    1.962708] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    1.962742] PTP clock support registered

    [    1.963680] Advanced Linux Sound Architecture Driver Initialized.

    [    1.964402] NetLabel: Initializing

    [    1.964416] NetLabel:  domain hash size = 128

    [    1.964423] NetLabel:  protocols = UNLABELED CIPSOv4

    [    1.964496] NetLabel:  unlabeled traffic allowed by default

    [    1.964730] Switched to clocksource timer1

    [    2.011556] NET: Registered protocol family 2

    [    2.012334] TCP established hash table entries: 2048 (order: 1, 8192 bytes)

    [    2.012378] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    [    2.012413] TCP: Hash tables configured (established 2048 bind 2048)

    [    2.012491] TCP: reno registered

    [    2.012506] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    2.012529] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    2.012725] NET: Registered protocol family 1

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

    [    2.013218] RPC: Registered udp transport module.

    [    2.013225] RPC: Registered tcp transport module.

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

    [    2.013895] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available

    [    2.016063] futex hash table entries: 256 (order: -1, 3072 bytes)

    [    2.299841] VFS: Disk quotas dquot_6.5.2

    [    2.300101] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    [    2.302270] NFS: Registering the id_resolver key type

    [    2.302348] Key type id_resolver registered

    [    2.302358] Key type id_legacy registered

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

    [    2.302709] fuse init (API version 7.23)

    [    2.303269] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled

    [    2.305833] msgmni has been set to 478

    [    2.307264] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

    [    2.307423] io scheduler noop registered

    [    2.307435] io scheduler deadline registered

    [    2.307515] io scheduler cfq registered (default)

    [    2.311338] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

    [    2.313574] omap_uart 44e09000.serial: no wakeirq for uart0

    [    2.313986] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0

    [    3.133584] console [ttyO0] enabled

    [    3.137870] omap_uart 48024000.serial: no wakeirq for uart0

    [    3.144040] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2

    [    3.154347] omap_uart 481a6000.serial: no wakeirq for uart0

    [    3.160609] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 60, base_baud = 3000000) is a OMAP UART3

    [    3.170919] omap_uart 481a8000.serial: no wakeirq for uart0

    [    3.177152] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a OMAP UART4

    [    3.188553] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [    3.195828] [drm] Initialized drm 1.1.0 20060810

    [    3.202986] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xba

    [    3.209734] nand: Micron MT29F2G16ABBEAH4

    [    3.213954] nand: 256MiB, SLC, page size: 2048, OOB size: 64

    [    3.219926] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme

    [    3.225618] 9 ofpart partitions found on MTD device omap2-nand.0

    [    3.231935] Creating 9 MTD partitions on "omap2-nand.0":

    [    3.237554] 0x000000000000-0x000000020000 : "SPL1"

    [    3.244197] 0x000000020000-0x000000040000 : "SPL2"

    [    3.250612] 0x000000040000-0x000000060000 : "SPL3"

    [    3.256874] 0x000000060000-0x000000080000 : "SPL4"

    [    3.263102] 0x000000080000-0x000000240000 : "U-boot"

    [    3.270895] 0x000000240000-0x000000260000 : "device tree"

    [    3.277837] 0x000000260000-0x000000280000 : "environment"

    [    3.284713] 0x000000280000-0x000000780000 : "Kernel"

    [    3.295276] 0x000000780000-0x000010000000 : "File-System"

    [    3.508758] m25p80 spi1.0: mr25h256 (32 Kbytes)

    [    3.515386] vcan: Virtual CAN interface driver

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

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

    [    3.587719] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [    3.595489] rtc-pcf2127 1-0051: chip found, driver version 0.0.1

    [    3.603262] rtc-pcf2127 1-0051: low voltage detected, date/time is not reliable.

    [    3.611335] rtc-pcf2127 1-0051: rtc core: registered rtc-pcf2127 as rtc1

    [    3.618477] i2c /dev entries driver

    [    3.622657] IR Sharp protocol handler initialized

    [    3.627986] tmp102 0-0049: error reading config register

    [    3.633592] tmp102: probe of 0-0049 failed with error -121

    [    3.640514] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    3.648154] sdhci: Secure Digital Host Controller Interface driver

    [    3.654640] sdhci: Copyright(c) Pierre Ossman

    [    3.659953] 48060000.mmc supply vmmc not found, using dummy regulator

    [    3.666883] omap_hsmmc 48060000.mmc: could not set regulator OCR (-22)

    [    3.674292] omap_hsmmc 48060000.mmc: could not set regulator OCR (-22)

    [    3.715021] sdhci-pltfm: SDHCI platform and OF driver helper

    [    3.725553] ledtrig-cpu: registered to indicate activity on CPUs

    [    3.731977] hidraw: raw HID events driver (C) Jiri Kosina

    [    3.738935] usbcore: registered new interface driver usbhid

    [    3.744871] usbhid: USB HID core driver

    [    3.751008] oprofile: using arm/armv7

    [    3.755252] TCP: cubic registered

    [    3.758754] Initializing XFRM netlink socket

    [    3.763250] omap_hsmmc 48060000.mmc: exceeding card's volts

    [    3.769846] NET: Registered protocol family 10

    [    3.776816] mip6: Mobile IPv6

    [    3.779959] NET: Registered protocol family 17

    [    3.784664] NET: Registered protocol family 15

    [    3.789384] can: controller area network core (rev 20120528 abi 9)

    [    3.798025] NET: Registered protocol family 29

    [    3.802767] can: raw protocol (rev 20120528)

    [    3.807299] can: broadcast manager protocol (rev 20120528 t)

    [    3.813382] Key type dns_resolver registered

    [    3.817903] mpls_gso: MPLS GSO support

    [    3.823187] ThumbEE CPU extension supported.

    [    3.827777] Registering SWP/SWPB emulation handler

    [    3.832815] SmartReflex Class3 initialized

    [    3.837901] registered taskstats version 1

    [    3.845765] Btrfs loaded

    [    3.848598] Error: Driver 'tfp410' is already registered, aborting...

    [    3.856900] tilcdc 4830e000.lcdc: no encoders/connectors found

    [    3.863048] tilcdc 4830e000.lcdc: failed to initialize mode setting

    [    3.984762] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

    [    3.991185] davinci_mdio 4a101000.mdio: detected phy mask bfffffe0

    [    4.030441] libphy: 4a101000.mdio: probed

    [    4.034670] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Broadcom B53 (1)

    [    4.043955] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Broadcom B53 (1)

    [    4.053210] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver Broadcom B53 (1)

    [    4.062473] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver Broadcom B53 (1)

    [    4.071738] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver Broadcom B53 (1)

    [    4.080996] davinci_mdio 4a101000.mdio: phy[30]: device 4a101000.mdio:1e, driver unknown

    [    4.090117] platform 47401b00.usb-phy: Driver am335x-phy-driver requests probe deferral

    [    4.099227] Detected MACID = 1c:ba:8c:f8:a8:5d

    [    4.121818] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)

    [    4.130932] sr_init: No PMIC hook to init smartreflex

    [    4.136449] sr_init: platform driver register failed for SR

    [    4.142407] ### dt-test ### No testcase data in device tree; not running tests

    [    4.170982] ALSA device list:

    [    4.174123]   No soundcards found.

    [    4.177988] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral

    [    4.186523] Waiting for root device /dev/mmcblk0p2...

    [    4.222482] mmc0: host does not support reading read-only switch. assuming write-enable.

    [    4.233042] mmc0: new high speed SD card at address da4a

    [    4.239321] mmcblk0: mmc0:da4a SV02G 1.87 GiB

    [    4.245551]  mmcblk0: p1 p2

    [    4.416376] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

    [    4.425032] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.

    [    4.440288] devtmpfs: mounted

    [    4.444203] Freeing unused kernel memory: 408K (c0ad8000 - c0b3e000)

    INIT: version 2.88 booting

    Error opening /dev/fb0: No such file or directory

    Starting udev

    [    5.049264] udevd[100]: starting version 182

    [    7.888082] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    ERROR: could not open directory /lib/modules/3.15.5+: No such file or directory

    WARNING: -e needs -E or -F

    ERROR: could not open directory /lib/modules/3.15.5+: No such file or directory

    FATAL: could not search modules: No such file or directory

    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory

    bootlogd.

    [    8.225898] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered

    [    8.295654] random: dd urandom read with 94 bits of entropy available

    ALSA: Restoring mixer settings...

    /usr/sbin/alsactl: load_state:1696: No soundcards found...

    Configuring network interfaces... [    9.154701] net eth0: initializing cpsw version 1.12 (0)

    [    9.247491] b53_common: found switch: BCM5325, rev 0

    [    9.252767] net eth0: phy found : id is : 0x143bc30

    [    9.345127] net eth0: phy found : id is : 0x143bc30

    [    9.351521] net eth0: BQL enabled

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

    udhcpc (v1.20.2) started

    Sending discover...

    [   11.244902] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

    [   11.253168] cpsw 4a100000.ethernet eth0: Link is Up - Unsupported (update phy.c)/Half - flow control off

    [   11.263297] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    [   11.345314] cpsw 4a100000.ethernet eth0: Link is Down

    [   12.345396] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

    Sending discover...

    Sending select for 192.168.86.145...

    [   14.121773] random: nonblocking pool is initialized

    Lease of 192.168.86.145 obtained, lease time 86400

    /etc/udhcpc.d/50default: Adding DNS 192.168.86.1

    done.

    Tue Dec  5 09:36:00 UTC 2017

    INIT: Entering runlevel: 5

    Starting system message bus: dbus.

    UIM SYSFS Node Not Found

    Starting Dropbear SSH server: dropbear.

    Starting telnet daemon.

    Starting syslogd/klogd: done

    Starting thttpd.

    Starting Lighttpd Web Server: lighttpd.

    2017-12-05 09:36:01: (log.c.166) server started

    /

    Starting Matrix GUI application.

    ***************************************************************

    ***************************************************************

    NOTICE: This file system contains the followin GPLv3 packages:

            binutils-symlinks

            binutils

            gdbserver

    If you do not wish to distribute GPLv3 components please remove

    the above packages prior to distribution.  This can be done using

    the opkg remove command.  i.e.:

        opkg remove <package>

    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you

          will be notified of the dependent packages.  You should

          use the --force-removal-of-dependent-packages option to

          also remove the dependent packages as well

    ***************************************************************

    ***************************************************************

    Stopping Bootlog daemon: bootlogd.

    _____                    _____           _         _

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_

    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|

                  |___|                    |___|

    Arago Project

    http://arago-project.org am335x-evm ttyO0

    Arago 2013.12 am335x-evm ttyO0

    am335x-evm login:

  • Is there a chance you can move back to the 3.12 kernel from the 7.0 SDK? The 3.15 mainline kernel that you are using  at this time is not supported by TI. 

    So I want to make sure I understand, the if down/ifup is used to recover the network. The problem you are seeing is occurring in a steady state or  normal condition and is not being triggered as part of bringing the network up or down.

    Could you post the error message you are seeing?

  • FYI - error message - the wachdog is trigged somehow...

    ------------[ cut here ]------------
    [ 1156.021280] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:264 dev_watchdog+0x240/0x260()
    [ 1156.030195] NETDEV WATCHDOG: eth0 (cpsw): transmit queue 0 timed out
    [ 1156.036898] Modules linked in:
    [ 1156.040123] CPU: 0 PID: 0 Comm: swapper Tainted: G        W     3.15.5+ #32
    [ 1156.047500] [<c0013db4>] (unwind_backtrace) from [<c0011c3c>] (show_stack+0x10/0x14)
    [ 1156.055670] [<c0011c3c>] (show_stack) from [<c003b14c>] (warn_slowpath_common+0x68/0x88)
    [ 1156.064210] [<c003b14c>] (warn_slowpath_common) from [<c003b200>] (warn_slowpath_fmt+0x30/0x40)
    [ 1156.073404] [<c003b200>] (warn_slowpath_fmt) from [<c067fcb0>] (dev_watchdog+0x240/0x260)
    [ 1156.082032] [<c067fcb0>] (dev_watchdog) from [<c00458c0>] (call_timer_fn+0x3c/0x108)
    [ 1156.090188] [<c00458c0>] (call_timer_fn) from [<c0045c68>] (run_timer_softirq+0x1b4/0x290)
    [ 1156.098910] [<c0045c68>] (run_timer_softirq) from [<c003eda4>] (__do_softirq+0x90/0x284)
    [ 1156.107450] [<c003eda4>] (__do_softirq) from [<c003f1e4>] (irq_exit+0x9c/0xe8)
    [ 1156.115062] [<c003f1e4>] (irq_exit) from [<c000f6c0>] (handle_IRQ+0x34/0x84)
    [ 1156.122489] [<c000f6c0>] (handle_IRQ) from [<c00085b8>] (omap3_intc_handle_irq+0x84/0x9c)
    [ 1156.131105] [<c00085b8>] (omap3_intc_handle_irq) from [<c0775000>] (__irq_svc+0x40/0x50)
    [ 1156.139628] Exception stack(0xc0b41f58 to 0xc0b41fa0)
    [ 1156.144946] 1f40:                                                       ffffffed 00000000
    [ 1156.153565] 1f60: 00000000 00000000 c0b40000 00000000 00000000 c0b40000 c0b480b8 413fc082
    [ 1156.162182] 1f80: c0bbe7d0 ffffffed 01000000 c0b41fa0 c000f814 c000f818 60000013 ffffffff
    [ 1156.170796] [<c0775000>] (__irq_svc) from [<c000f818>] (arch_cpu_idle+0x28/0x30)
    [ 1156.178610] [<c000f818>] (arch_cpu_idle) from [<c0065e0c>] (cpu_startup_entry+0xf8/0x320)
    [ 1156.187225] [<c0065e0c>] (cpu_startup_entry) from [<c0ad8a54>] (start_kernel+0x340/0x3a8)
    [ 1156.195820] ---[ end trace 0357380fe7e9b306 ]---

  • Is it possible for you to switch to the 3.12 kernel in the TI SDK? I noticed that you are using a mainline kernel 3.15, this is not yet supported by TI.

    With the 3.12 there is a documented problem with taking the interface up/down using the ifconfig command. The problem that you are seeing is different. One being that are able to recover the link. Also the sequence that causes that problem does not seem to apply here. 

    Is there just one ethernet interface on the AM3335x?

  • I will try the 3.12 kernel.

    Yes, there is only one ethernet interface on the AM335x which is GMII1/MII1.

  • I've tried the 3.12 kernel in the TI SDK. It has the same issue of lost Ethernet connection.

    The Tracer is not enabled in the 3.12 Kernel Configuration so there is no error message.