Can-Inteface on BBB always run UP but not RUNNING

Hello,

i’m really new to BBB and the Can Cape but i’ve spent a lot of time figuring out what’s wrong with my BBB.
I have a cronjob for rebooting my BBB ever night and for some reasons
the can0 interface breaks – really randomly — but most of the time 1- 3 hours after the reboot.
And it goes to a state UP NOARP but no more RUNNING and i have really no glue why it happened …

Here are my log files:

uname -a
Linux rocon-g1 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux

~# tail -n 20 /var/log/dmesg
[ 0.894665] udevd[95]: starting version 175
[ 2.085953] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 3.220663] rtusb init rt2870 —>
[ 3.221070] usbcore: registered new interface driver rt2870
[ 3.398021] udevd[229]: starting version 175
[ 3.558274] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[ 4.456128] net eth0: initializing cpsw version 1.12 (0)
[ 4.458297] net eth0: phy found : id is : 0x7c0f1
[ 4.458315] libphy: PHY 4a101000.mdio:01 not found
[ 4.463348] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 4.489871] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4.709565] omap_rng 48310000.rng: base address of priv is -97452032
[ 4.718064] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 4.718382] CAN device driver interface
[ 4.739435] c_can_platform 481d0000.d_can: invalid resource
[ 4.745306] c_can_platform 481d0000.d_can: control memory is not used for raminit
[ 4.806488] c_can_platform 481d0000.d_can: c_can_platform device registered (regs=fa1d0000, irq=55)
[ 8.607005] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 8.607063] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.751138] c_can_platform 481d0000.d_can can0: setting BTR=1c0a BRPE=0001

tail -n 100 /var/log/kern.log
Mar 2 22:40:00 rocon-g1 kernel: [ 0.832271] Detected MACID = 6c:ec:eb:ad:9c:1b
Mar 2 22:40:00 rocon-g1 kernel: [ 0.832369] cpsw 4a100000.ethernet: NAPI disabled
Mar 2 22:40:00 rocon-g1 kernel: [ 0.833356] mmc1: BKOPS_EN bit is not set
Mar 2 22:40:00 rocon-g1 kernel: [ 0.834006] omap_rtc 44e3e000.rtc: setting system clock to 2015-03-02 21:39:44 UTC (1425332384)
Mar 2 22:40:00 rocon-g1 kernel: [ 0.839134] ALSA device list:
Mar 2 22:40:00 rocon-g1 kernel: [ 0.839155] No soundcards found.
Mar 2 22:40:00 rocon-g1 kernel: [ 0.839759] Freeing init memory: 244K
Mar 2 22:40:00 rocon-g1 kernel: [ 0.840944] mmc1: new high speed MMC card at address 0001
Mar 2 22:40:00 rocon-g1 kernel: [ 0.842742] mmcblk0: mmc1:0001 MMC04G 3.65 GiB
Mar 2 22:40:00 rocon-g1 kernel: [ 0.844333] mmcblk0boot0: mmc1:0001 MMC04G partition 1 1.00 MiB
Mar 2 22:40:00 rocon-g1 kernel: [ 0.846129] mmcblk0boot1: mmc1:0001 MMC04G partition 2 1.00 MiB
Mar 2 22:40:00 rocon-g1 kernel: [ 0.848888] mmcblk0: p1
Mar 2 22:40:00 rocon-g1 kernel: [ 0.850706] mmcblk0boot1: unknown partition table
Mar 2 22:40:00 rocon-g1 kernel: [ 0.852162] mmcblk0boot0: unknown partition table
Mar 2 22:40:00 rocon-g1 kernel: [ 2.085953] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
Mar 2 22:40:00 rocon-g1 kernel: [ 3.220663] rtusb init rt2870 —>
Mar 2 22:40:00 rocon-g1 kernel: [ 3.221070] usbcore: registered new interface driver rt2870
Mar 2 22:40:00 rocon-g1 kernel: [ 3.558274] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
Mar 2 22:40:00 rocon-g1 kernel: [ 4.456128] net eth0: initializing cpsw version 1.12 (0)
Mar 2 22:40:00 rocon-g1 kernel: [ 4.458297] net eth0: phy found : id is : 0x7c0f1
Mar 2 22:40:00 rocon-g1 kernel: [ 4.458315] libphy: PHY 4a101000.mdio:01 not found
Mar 2 22:40:00 rocon-g1 kernel: [ 4.463348] net eth0: phy 4a101000.mdio:01 not found on slave 1
Mar 2 22:40:00 rocon-g1 kernel: [ 4.489871] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 2 22:40:00 rocon-g1 kernel: [ 4.709565] omap_rng 48310000.rng: base address of priv is -97452032
Mar 2 22:40:00 rocon-g1 kernel: [ 4.718064] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
Mar 2 22:40:00 rocon-g1 kernel: [ 4.718382] CAN device driver interface
Mar 2 22:40:00 rocon-g1 kernel: [ 4.739435] c_can_platform 481d0000.d_can: invalid resource
Mar 2 22:40:00 rocon-g1 kernel: [ 4.745306] c_can_platform 481d0000.d_can: control memory is not used for raminit
Mar 2 22:40:00 rocon-g1 kernel: [ 4.806488] c_can_platform 481d0000.d_can: c_can_platform device registered (regs=fa1d0000, irq=55)
Mar 2 22:40:00 rocon-g1 kernel: [ 8.607005] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
Mar 2 22:40:00 rocon-g1 kernel: [ 8.607063] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 2 22:40:00 rocon-g1 kernel: [ 15.751138] c_can_platform 481d0000.d_can can0: setting BTR=1c0a BRPE=0001
Mar 2 22:40:00 rocon-g1 systemd-logind[485]: New seat seat0.
Mar 2 22:40:01 rocon-g1 kernel: [ 17.434654] gadget: using random self ethernet address
Mar 2 22:40:01 rocon-g1 kernel: [ 17.435453] usb0: MAC b2:38:3f:ad:f8:ed
Mar 2 22:40:01 rocon-g1 kernel: [ 17.435465] usb0: HOST MAC 6c:ec:eb:ad:9c:1d
Mar 2 22:40:01 rocon-g1 kernel: [ 17.438658] gadget: Ethernet Gadget, version: Memorial Day 2008
Mar 2 22:40:01 rocon-g1 kernel: [ 17.438689] gadget: g_ether ready
Mar 2 22:40:01 rocon-g1 kernel: [ 17.438732] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441140] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441180] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441252] usb usb2: default language 0x0409
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441284] usb usb2: udev 1, busnum 2, minor = 128
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441296] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441307] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441317] usb usb2: Product: MUSB HDRC host driver
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441327] usb usb2: Manufacturer: Linux 3.8.13-bone70 musb-hcd
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441336] usb usb2: SerialNumber: musb-hdrc.0.auto
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441812] usb usb2: usb_probe_device
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441828] usb usb2: configuration #1 chosen from 1 choice
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441869] usb usb2: adding 2-0:1.0 (config #1, interface 0)
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441984] hub 2-0:1.0: usb_probe_interface
Mar 2 22:40:01 rocon-g1 kernel: [ 17.441996] hub 2-0:1.0: usb_probe_interface - got id
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442015] hub 2-0:1.0: USB hub found
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442048] hub 2-0:1.0: 1 port detected
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442058] hub 2-0:1.0: standalone hub
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442066] hub 2-0:1.0: individual port power switching
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442076] hub 2-0:1.0: no over-current protection
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442084] hub 2-0:1.0: Single TT
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442094] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442104] hub 2-0:1.0: power on to power good time: 10ms
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442126] hub 2-0:1.0: local power source is good
Mar 2 22:40:01 rocon-g1 kernel: [ 17.442187] hub 2-0:1.0: enabling power on all ports
Mar 2 22:40:01 rocon-g1 kernel: [ 17.542194] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
Mar 2 22:40:01 rocon-g1 kernel: [ 17.542278] hub 2-0:1.0: hub_suspend
Mar 2 22:40:01 rocon-g1 kernel: [ 17.542306] usb usb2: bus auto-suspend, wakeup 1
Mar 2 22:40:01 rocon-g1 kernel: [ 17.628100] CAUTION: musb: Babble Interrupt Occurred
Mar 2 22:40:01 rocon-g1 kernel: [ 17.743478] CAUTION: musb: Babble Interrupt Occurred
Mar 2 22:40:01 rocon-g1 kernel: [ 17.872072] gadget: high-speed config #1: CDC Ethernet (ECM)
Mar 2 22:40:07 rocon-g1 kernel: [ 23.909734] can: controller area network core (rev 20120528 abi 9)
Mar 2 22:40:07 rocon-g1 kernel: [ 23.909859] NET: Registered protocol family 29
Mar 2 22:40:07 rocon-g1 kernel: [ 23.934246] can: raw protocol (rev 20120528)
Aug 5 11:24:28 rocon-g1 kernel: [ 26.282996] bone-capemgr bone_capemgr.9: part_number ‘bspm_P8_12_f’, version ‘N/A’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.283074] bone-capemgr bone_capemgr.9: slot #7: generic override
Aug 5 11:24:28 rocon-g1 kernel: [ 26.283091] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7
Aug 5 11:24:28 rocon-g1 kernel: [ 26.283108] bone-capemgr bone_capemgr.9: slot #7: ‘Override Board Name,00A0,Override Manuf,bspm_P8_12_f’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.283204] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'bspm_P8_12_f-00A0.dtbo
Aug 5 11:24:28 rocon-g1 kernel: [ 26.283219] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware ‘bspm_P8_12_f-00A0.dtbo’ for board-name ‘Override Board Name’, version ‘00A0’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.285292] bone-capemgr bone_capemgr.9: slot #7: dtbo ‘bspm_P8_12_f-00A0.dtbo’ loaded; converting to live tree
Aug 5 11:24:28 rocon-g1 kernel: [ 26.285507] bone-capemgr bone_capemgr.9: slot #7: #2 overlays
Aug 5 11:24:28 rocon-g1 kernel: [ 26.290485] bone-capemgr bone_capemgr.9: slot #7: Applied #2 overlays.
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320020] bone-capemgr bone_capemgr.9: part_number ‘bspm_P8_15_f’, version ‘N/A’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320190] bone-capemgr bone_capemgr.9: slot #8: generic override
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320209] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 8
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320226] bone-capemgr bone_capemgr.9: slot #8: ‘Override Board Name,00A0,Override Manuf,bspm_P8_15_f’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320315] bone-capemgr bone_capemgr.9: slot #8: Requesting part number/version based 'bspm_P8_15_f-00A0.dtbo
Aug 5 11:24:28 rocon-g1 kernel: [ 26.320331] bone-capemgr bone_capemgr.9: slot #8: Requesting firmware ‘bspm_P8_15_f-00A0.dtbo’ for board-name ‘Override Board Name’, version ‘00A0’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.322347] bone-capemgr bone_capemgr.9: slot #8: dtbo ‘bspm_P8_15_f-00A0.dtbo’ loaded; converting to live tree
Aug 5 11:24:28 rocon-g1 kernel: [ 26.322577] bone-capemgr bone_capemgr.9: slot #8: #2 overlays
Aug 5 11:24:28 rocon-g1 kernel: [ 26.327641] bone-capemgr bone_capemgr.9: slot #8: Applied #2 overlays.
Aug 5 11:24:28 rocon-g1 kernel: [ 26.339887] bone-capemgr bone_capemgr.9: part_number ‘bspm_P8_16_f’, version ‘N/A’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.339964] bone-capemgr bone_capemgr.9: slot #9: generic override
Aug 5 11:24:28 rocon-g1 kernel: [ 26.340035] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 9
Aug 5 11:24:28 rocon-g1 kernel: [ 26.340053] bone-capemgr bone_capemgr.9: slot #9: ‘Override Board Name,00A0,Override Manuf,bspm_P8_16_f’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.340189] bone-capemgr bone_capemgr.9: slot #9: Requesting part number/version based 'bspm_P8_16_f-00A0.dtbo
Aug 5 11:24:28 rocon-g1 kernel: [ 26.340206] bone-capemgr bone_capemgr.9: slot #9: Requesting firmware ‘bspm_P8_16_f-00A0.dtbo’ for board-name ‘Override Board Name’, version ‘00A0’
Aug 5 11:24:28 rocon-g1 kernel: [ 26.342982] bone-capemgr bone_capemgr.9: slot #9: dtbo ‘bspm_P8_16_f-00A0.dtbo’ loaded; converting to live tree
Aug 5 11:24:28 rocon-g1 kernel: [ 26.343211] bone-capemgr bone_capemgr.9: slot #9: #2 overlays
Aug 5 11:24:28 rocon-g1 kernel: [ 26.345541] bone-capemgr bone_capemgr.9: slot #9: Applied #2 overlays.
Aug 5 11:25:29 rocon-g1 systemd[1]: Startup finished in 2s 469ms 390us (kernel) + 1min 24s 760ms 606us (userspace) = 1min 27s 229ms 996us.

Maybe something with the comunication went wrong and there could be somerhwere a memory overflow or something like that.
Hope someone has an idea…