avafinger / bananapi-zero-ubuntu-base-minimal

BananaPi M2 Zero - Ubuntu Focal Base Minimal Image (Experimental) - U-Boot 2017.09 / Kernel 4.18.y / Kernel 4.19.y / Kernel 4.20.y / Kernel 5.3.y / Kernel 5.6.y / Kernel 5.7.y / Kernel 5.11.y
88 stars 17 forks source link

Stability issues with latest release #19

Open amazingproducer opened 5 years ago

amazingproducer commented 5 years ago

I've been trying to use this project since it has ethernet support, but it seems to crash horribly after about a day of use. By horribly, I mean that it won't turn back on when I reset it. Here's some output from the serial port during the last event:

[Jun11 07:11] Booting Linux on physical CPU 0x0
[  +0.000000] Linux version 4.20.0-m2z-otg-gadget (alex@svn) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #1 SMP Fri Dec 28 09:38:17 -02 2018
[  +0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[  +0.000000] CPU: div instructions available: patching division code
[  +0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[  +0.000000] OF: fdt: Machine model: Banana Pi M2 Zero
[  +0.000000] Memory policy: Data cache writealloc
[  +0.000000] cma: Reserved 128 MiB at 0x55c00000
[  +0.000000] On node 0 totalpages: 131072
[  +0.000000]   Normal zone: 1024 pages used for memmap
[  +0.000000]   Normal zone: 0 pages reserved
[  +0.000000]   Normal zone: 131072 pages, LIFO batch:31
[  +0.000000] psci: probing for conduit method from DT.
[  +0.000000] psci: Using PSCI v0.1 Function IDs from DT
[  +0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[  +0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s35020 r8192 d22324 u65536
[  +0.000000] pcpu-alloc: s35020 r8192 d22324 u65536 alloc=16*4096
[  +0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[  +0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[  +0.000000] Kernel command line: 
[  +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] Memory: 374204K/524288K available (8192K kernel code, 341K rwdata, 1960K rodata, 1024K init, 268K bss, 19012K reserved, 131072K cma-reserved, 0K highmem)
[  +0.000000] Virtual kernel memory layout:
                  vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                  fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                  vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                  lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                  pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                  modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                    .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
                    .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                    .data : 0x(ptrval) - 0x(ptrval)   ( 342 kB)
                     .bss : 0x(ptrval) - 0x(ptrval)   ( 269 kB)
[  +0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[  +0.000000] rcu: Hierarchical RCU implementation.
[  +0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[  +0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[  +0.000000] GIC: Using split EOI/Deactivate mode
[  +0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[  +0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[  +0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[  +0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[  +0.000012] Switching to timer-based delay loop, resolution 41ns
[  +0.000185] Console: colour dummy device 80x30
[  +0.000378] printk: console [tty0] enabled
[  +0.000048] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[  +0.000025] pid_max: default: 32768 minimum: 301
[  +0.000154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[  +0.000024] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[  +0.000733] CPU: Testing write buffer coherency: ok
[  +0.000437] CPU0: update cpu_capacity 1024
[  +0.000025] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[  +0.000530] Setting up static identity map for 0x40100000 - 0x40100060
[  +0.000154] rcu: Hierarchical SRCU implementation.
[  +0.000718] smp: Bringing up secondary CPUs ...
[  +0.010756] CPU1: update cpu_capacity 1024
[  +0.000007] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[  +0.010835] CPU2: update cpu_capacity 1024
[  +0.000006] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[  +0.010754] CPU3: update cpu_capacity 1024
[  +0.000007] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[  +0.000078] smp: Brought up 1 node, 4 CPUs
[  +0.000082] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[  +0.000014] CPU: All CPU(s) started in HYP mode.
[  +0.000011] CPU: Virtualization extensions available.
[  +0.000956] devtmpfs: initialized
[  +0.005984] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[  +0.000239] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[  +0.000039] futex hash table entries: 1024 (order: 4, 65536 bytes)
[  +0.004468] pinctrl core: initialized pinctrl subsystem
[  +0.001054] NET: Registered protocol family 16
[  +0.001461] DMA: preallocated 256 KiB pool for atomic coherent allocations
[  +0.000905] cpuidle: using governor menu
[  +0.000169] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[  +0.000023] hw-breakpoint: maximum watchpoint size is 8 bytes.
[  +0.017630] SCSI subsystem initialized
[  +0.000263] libata version 3.00 loaded.
[  +0.000210] usbcore: registered new interface driver usbfs
[  +0.000064] usbcore: registered new interface driver hub
[  +0.000090] usbcore: registered new device driver usb
[  +0.000299] pps_core: LinuxPPS API ver. 1 registered
[  +0.000017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[  +0.000033] PTP clock support registered
[  +0.000392] Advanced Linux Sound Architecture Driver Initialized.
[  +0.001057] clocksource: Switched to clocksource arch_sys_counter
[  +0.000146] VFS: Disk quotas dquot_6.6.0
[  +0.000077] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[  +0.007872] NET: Registered protocol family 2
[  +0.000960] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[  +0.000052] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[  +0.000060] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[  +0.000070] TCP: Hash tables configured (established 4096 bind 4096)
[  +0.000113] UDP hash table entries: 256 (order: 1, 8192 bytes)
[  +0.000054] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[  +0.000246] NET: Registered protocol family 1
[  +0.000600] RPC: Registered named UNIX socket transport module.
[  +0.000026] RPC: Registered udp transport module.
[  +0.000012] RPC: Registered tcp transport module.
[  +0.000012] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  +0.000719] Unpacking initramfs...
[  +0.042834] Freeing initrd memory: 960K
[  +0.001530] Initialise system trusted keyrings
[  +0.000357] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[  +0.007046] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[  +0.001438] NFS: Registering the id_resolver key type
[  +0.000050] Key type id_resolver registered
[  +0.000013] Key type id_legacy registered
[  +0.000021] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[  +0.000016] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  +0.000857] fuse init (API version 7.28)
[  +0.000437] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[  +0.008541] Key type asymmetric registered
[  +0.000040] Asymmetric key parser 'x509' registered
[  +0.000096] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[  +0.000024] io scheduler noop registered
[  +0.000013] io scheduler deadline registered
[  +0.000233] io scheduler cfq registered (default)
[  +0.000020] io scheduler mq-deadline registered
[  +0.000014] io scheduler kyber registered
[  +0.001014] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[  +0.004226] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[  +0.001789] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[  +0.048033] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[  +0.022598] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[  +0.697098] printk: console [ttyS0] enabled
[  +0.025327] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 45, base_baud = 1500000) is a U6_16550A
[  +0.027682] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc095588c)
[  +0.007166] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc095295c)
[  +0.007733] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[  +0.008953] sun8i-dw-hdmi 1ee0000.hdmi: Linked as a consumer to regulator.0
[  +0.007783] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[  +0.009940] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[  +0.007778] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0955234)
[  +0.006796] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  +0.006634] [drm] No driver support for vblank timestamp query.
[  +0.005996] [drm] Cannot find any crtc or sizes
[  +0.005064] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[  +0.010385] libphy: Fixed MDIO Bus: probed
[  +0.004345] CAN device driver interface
[  +0.004508] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[  +0.005814] dwmac-sun8i 1c30000.ethernet: No regulator found
[  +0.006000] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[  +0.007255] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[  +0.007235] dwmac-sun8i 1c30000.ethernet: COE Type 2
[  +0.004966] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[  +0.006799] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[  +0.005660] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[  +0.005808] libphy: stmmac: probed
[  +0.004000] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[  +0.006317] libphy: mdio_mux: probed
[  +0.003600] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[  +0.006377] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[  +0.006858] libphy: mdio_mux: probed
[  +0.004080] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  +0.006554] ehci-platform: EHCI generic platform driver
[  +0.005407] ehci-platform 1c1a000.usb: EHCI Host Controller
[  +0.005617] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[  +0.008176] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[  +0.038045] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[  +0.006281] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[  +0.008287] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007238] usb usb1: Product: EHCI Host Controller
[  +0.004878] usb usb1: Manufacturer: Linux 4.20.0-m2z-otg-gadget ehci_hcd
[  +0.006709] usb usb1: SerialNumber: 1c1a000.usb
[  +0.005064] hub 1-0:1.0: USB hub found
[  +0.003817] hub 1-0:1.0: 1 port detected
[  +0.004776] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[  +0.006244] ohci-platform: OHCI generic platform driver
[  +0.005393] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[  +0.006651] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[  +0.007944] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[  +0.070866] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[  +0.008297] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007223] usb usb2: Product: Generic Platform OHCI controller
[  +0.005935] usb usb2: Manufacturer: Linux 4.20.0-m2z-otg-gadget ohci_hcd
[  +0.006715] usb usb2: SerialNumber: 1c1a400.usb
[  +0.005017] hub 2-0:1.0: USB hub found
[  +0.003807] hub 2-0:1.0: 1 port detected
[  +0.004806] usbcore: registered new interface driver cdc_acm
[  +0.005681] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[  +0.008055] usbcore: registered new interface driver usblp
[  +0.005532] usbcore: registered new interface driver cdc_wdm
[  +0.005754] usbcore: registered new interface driver usb-storage
[  +0.006101] usbcore: registered new interface driver ch341
[  +0.005530] usbserial: USB Serial support registered for ch341-uart
[  +0.006298] usbcore: registered new interface driver cp210x
[  +0.005614] usbserial: USB Serial support registered for cp210x
[  +0.005976] usbcore: registered new interface driver ftdi_sio
[  +0.005768] usbserial: USB Serial support registered for FTDI USB Serial Device
[  +0.007422] usbcore: registered new interface driver pl2303
[  +0.005606] usbserial: USB Serial support registered for pl2303
[  +0.006685] mousedev: PS/2 mouse device common for all mice
[  +0.006276] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[  +0.006795] sun6i-rtc 1f00000.rtc: RTC enabled
[  +0.004689] i2c /dev entries driver
[  +0.005741] thermal thermal_zone0: failed to read out thermal zone (-16)
[  +0.007361] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[  +0.009084] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[  +0.032387] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[  +0.007347] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[  +0.007051] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[  +0.029230] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[  +0.008430] ledtrig-cpu: registered to indicate activity on CPUs
[  +0.006300] hidraw: raw HID events driver (C) Jiri Kosina
[  +0.005813] usbcore: registered new interface driver usbhid
[  +0.005595] usbhid: USB HID core driver
[  +0.006534] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[  +0.002084] mmc0: host does not support reading read-only switch, assuming write-enable
[  +0.005367] sun4i-codec 1c22c00.codec: Failed to register our card
[  +0.013992] mmc0: new high speed SDHC card at address aaaa
[  +0.001819] Initializing XFRM netlink socket
[  +0.005227] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[  +0.002991] NET: Registered protocol family 17
[  +0.004802] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[  +0.004123] can: controller area network core (rev 20170425 abi 9)
[  +0.007186] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  +0.004574] NET: Registered protocol family 29
[  +0.005601]  mmcblk0: p1 p2
[  +0.004290] can: raw protocol (rev 20170425)
[  +0.004848] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  +0.002242] can: broadcast manager protocol (rev 20170425 t)
[  +0.008158] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[  +0.002985] can: netlink gateway (rev 20170425) max_hops=1
[  +0.008758] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[  +0.003044] rfkill_gpio rfkill_bt: sunxi-bt device registered.
[  +0.010784] 9pnet: Installing 9P2000 support
[  +0.004342] Key type dns_resolver registered
[  +0.004291] Registering SWP/SWPB emulation handler
[  +0.005368] Loading compiled-in X.509 certificates
[  +0.012463] cam: supplied by vcc5v0
[  +0.004261] cam-avdd: supplied by cam
[  +0.003756] cam-dovdd: supplied by cam
[  +0.003793] cam-dvdd: supplied by cam
[  +0.001356] random: fast init done
[  +0.003762] ehci-platform 1c1b000.usb: EHCI Host Controller
[  +0.007560] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[  +0.008326] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[  +0.023535] mmc1: new high speed SDIO card at address 0001
[  +0.009715] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[  +0.006285] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[  +0.008287] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007237] usb usb3: Product: EHCI Host Controller
[  +0.004879] usb usb3: Manufacturer: Linux 4.20.0-m2z-otg-gadget ehci_hcd
[  +0.006712] usb usb3: SerialNumber: 1c1b000.usb
[  +0.005063] hub 3-0:1.0: USB hub found
[  +0.003807] hub 3-0:1.0: 1 port detected
[  +0.004712] ehci-platform 1c1c000.usb: EHCI Host Controller
[  +0.005624] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[  +0.008006] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[  +0.029378] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[  +0.006247] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[  +0.008286] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007235] usb usb4: Product: EHCI Host Controller
[  +0.004879] usb usb4: Manufacturer: Linux 4.20.0-m2z-otg-gadget ehci_hcd
[  +0.006712] usb usb4: SerialNumber: 1c1c000.usb
[  +0.005016] hub 4-0:1.0: USB hub found
[  +0.003803] hub 4-0:1.0: 1 port detected
[  +0.004618] ehci-platform 1c1d000.usb: EHCI Host Controller
[  +0.005631] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[  +0.007983] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[  +0.029592] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[  +0.006236] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[  +0.008282] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007237] usb usb5: Product: EHCI Host Controller
[  +0.004879] usb usb5: Manufacturer: Linux 4.20.0-m2z-otg-gadget ehci_hcd
[  +0.006712] usb usb5: SerialNumber: 1c1d000.usb
[  +0.005022] hub 5-0:1.0: USB hub found
[  +0.003804] hub 5-0:1.0: 1 port detected
[  +0.004593] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[  +0.006659] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[  +0.007972] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[  +0.018675] [drm] Cannot find any crtc or sizes
[  +0.054086] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[  +0.008291] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007224] usb usb6: Product: Generic Platform OHCI controller
[  +0.005936] usb usb6: Manufacturer: Linux 4.20.0-m2z-otg-gadget ohci_hcd
[  +0.006714] usb usb6: SerialNumber: 1c1b400.usb
[  +0.005001] hub 6-0:1.0: USB hub found
[  +0.003806] hub 6-0:1.0: 1 port detected
[  +0.004624] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[  +0.006665] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[  +0.007967] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[  +0.073755] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[  +0.008289] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007223] usb usb7: Product: Generic Platform OHCI controller
[  +0.005937] usb usb7: Manufacturer: Linux 4.20.0-m2z-otg-gadget ohci_hcd
[  +0.006714] usb usb7: SerialNumber: 1c1c400.usb
[  +0.004976] hub 7-0:1.0: USB hub found
[  +0.003806] hub 7-0:1.0: 1 port detected
[  +0.004605] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[  +0.006661] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[  +0.007960] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[  +0.073833] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[  +0.008288] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007224] usb usb8: Product: Generic Platform OHCI controller
[  +0.005938] usb usb8: Manufacturer: Linux 4.20.0-m2z-otg-gadget ohci_hcd
[  +0.006713] usb usb8: SerialNumber: 1c1d400.usb
[  +0.004963] hub 8-0:1.0: USB hub found
[  +0.003797] hub 8-0:1.0: 1 port detected
[  +0.004697] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[  +0.010785] usb_phy_generic usb_phy_generic.3.auto: Linked as a consumer to regulator.0
[  +0.008327] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[  +0.005778] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[  +0.008000] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[  +0.008290] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.007237] usb usb9: Product: MUSB HDRC host driver
[  +0.004966] usb usb9: Manufacturer: Linux 4.20.0-m2z-otg-gadget musb-hcd
[  +0.006711] usb usb9: SerialNumber: musb-hdrc.4.auto
[  +0.005420] hub 9-0:1.0: USB hub found
[  +0.003788] hub 9-0:1.0: 1 port detected
[  +0.004606] cpu cpu0: Linked as a consumer to regulator.8
[  +0.005485] cpu cpu0: Dropping the link to regulator.8
[  +0.005338] cpu cpu0: Linked as a consumer to regulator.8
[  +0.007124] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory
[  +0.010001] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[  +0.008905] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:04:49 UTC (289)
[  +0.010647] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  +0.011281] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  +0.008900] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[  +0.004798] vcc3v0: disabling
[  +0.004059] platform regulatory.0: Falling back to syfs fallback for: regulatory.db
[  +0.002943] vcc5v0: disabling
[  +0.010639] cam-avdd: disabling
[  +0.003158] cam-dovdd: disabling
[  +0.003231] cam-dvdd: disabling
[  +0.003148] ALSA device list:
[  +0.002980]   #0: H3 Audio Codec
[  +0.005087] Freeing unused kernel memory: 1024K
[  +0.054317] Run /init as init process
[  +0.231696] EXT4-fs (mmcblk0p2): recovery complete
[  +0.004853] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[  +0.572025] systemd[1]: System time before build time, advancing clock.
[  +0.143293] NET: Registered protocol family 10
[  +0.081845] Segment Routing with IPv6
[  +0.064631] random: systemd: uninitialized urandom read (16 bytes read)
[  +0.021710] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[  +0.018840] systemd[1]: Detected architecture arm.
[  +0.050929] systemd[1]: Set hostname to <tengu>.
[  +0.118331] random: systemd: uninitialized urandom read (16 bytes read)
[  +0.015771] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[  +0.487093] systemd[1]: Listening on udev Kernel Socket.
[  +0.038089] systemd[1]: Listening on Journal Socket.
[  +0.029711] systemd[1]: Created slice User and Session Slice.
[  +0.021155] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  +0.023346] systemd[1]: Reached target Remote File Systems (Pre).
[  +0.018129] systemd[1]: Reached target Remote File Systems.
[  +0.037371] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  +0.266723] g_serial gadget: Gadget Serial v2.4
[  +0.004635] g_serial gadget: g_serial ready
[  +0.047418] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[  +0.171925] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[  +0.008912] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.clm_blob failed with error -2
[  +0.010232] brcmfmac mmc1:0001:1: Falling back to syfs fallback for: brcm/brcmfmac43430-sdio.clm_blob
[  +0.205455] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  +1.199776] systemd-journald[193]: Received request to flush runtime journal from PID 1
[  +0.115582] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[  +0.009788] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Mar 30 2016 11:30:56 version 7.45.77.h8.4 FWID 01-ee8a6268
[  +0.205359] cfg80211: failed to load regulatory.db
[  +0.295040] mali: loading out-of-tree module taints kernel.
[  +0.010071] Allwinner sunXi mali glue initialized
[  +0.005347] Mali: 
[  +0.000010] Found Mali GPU Mali-400 MP r1p1
[  +0.015012] Registered IR keymap rc-empty
[  +0.000177] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[  +0.000436] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
[  +0.005172] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[  +0.000860] Mali: 
[  +0.000007] 2+0 PP cores initialized
[  +0.000925] Mali: 
[  +0.000005] Mali device driver loaded
[  +0.005708] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[  +0.041435] media: Linux media interface: v0.10
[  +0.035478] videodev: Linux video capture interface: v2.00
[  +0.020985] ov5640 2-003c: Linked as a consumer to regulator.5
[  +0.000072] ov5640 2-003c: Linked as a consumer to regulator.6
[  +0.000059] ov5640 2-003c: Linked as a consumer to regulator.4
[  +0.037896] ov5640 2-003c: ov5640_read_reg: error: reg=300a
[  +0.005654] ov5640 2-003c: ov5640_check_chip_id: failed to read chip identifier
[  +0.009903] ov5640 2-003c: Dropping the link to regulator.5
[  +0.000094] ov5640 2-003c: Dropping the link to regulator.6
[  +0.000052] ov5640 2-003c: Dropping the link to regulator.4
[  +0.216820] EXT4-fs (mmcblk0p1): recovery complete
[  +0.000031] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[  +1.260009] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL)
[  +0.007258] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[  +0.000056] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[  +0.000025] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[  +0.000764] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  +1.053365] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  +0.001078] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  +2.509486] FS-Cache: Loaded
[  +0.049273] FS-Cache: Netfs 'cifs' registered for caching
[  +0.000622] Key type cifs.spnego registered
[  +0.000023] Key type cifs.idmap registered
[  +0.001374] CIFS: Attempting to mount //192.168.1.1/monitor
[Jun11 07:13] random: crng init done
[  +0.000278] random: 7 urandom warning(s) missed due to ratelimiting
[Jun11 07:53] hrtimer: interrupt took 1097645 ns
[Jun11 10:55] CIFS VFS: Server 192.168.1.1 has not responded in 120 seconds. Reconnecting...
[Jun11 11:34] CIFS VFS: Server 192.168.1.1 has not responded in 120 seconds. Reconnecting...
[Jun11 22:03] CIFS VFS: Send error in SessSetup = -11
[75457.784059] Unable to handle kernel paging request at virtual address c073e608
[75457.791330] pgd = 8efc5a1b
[75457.794042] [c073e608] *pgd=4061940e(bad)
[75457.798064] Internal error: Oops: 80d [#1] SMP ARM
[75457.802855] Modules linked in: md4 nls_iso8859_1 cifs fscache ov5640 v4l2_fwnode v4l2_common videodev media sunxi_cir mali(O) brcmfmac brcmutil g_serial ipv6
[75457.816965] CPU: 0 PID: 7946 Comm: av5:jubei Tainted: G           O      4.20.0-m2z-otg-gadget #1
[75457.825832] Hardware name: Allwinner sun8i Family
[75457.830551] PC is at _test_and_set_bit+0x30/0x4c
[75457.835173] LR is at queue_work_on+0x24/0x4c
[75457.839442] pc : [<c08dd808>]    lr : [<c0132fa4>]    psr: 60010193
[75457.845706] sp : ce2c3df4  ip : 00000000  fp : 000011fd
[75457.850930] r10: 8e2237ac  r9 : 00000020  r8 : 00000002
[75457.856154] r7 : d49be630  r6 : 00000002  r5 : a0010113  r4 : c073e608
[75457.862679] r3 : 00000001  r2 : e92d4011  r1 : c073e608  r0 : 00000000
[75457.869206] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[75457.876427] Control: 10c5387d  Table: 54a9406a  DAC: 00000051
[75457.882173] Process av5:jubei (pid: 7946, stack limit = 0x7d628116)
[75457.888438] Stack: (0xce2c3df4 to 0xce2c4000)
[75457.892798] 3de0:                                              d49be540 dea23e40 c0d04d08
[75457.900977] 3e00: 00000002 c0499c78 d49be540 c07c1c30 89f618e5 000044a0 00000130 c0743948
[75457.909157] 3e20: 00000200 00000002 00000000 00000000 7ca37222 02b59f0c 00000000 00041400
[75457.917336] 3e40: 00003cd2 d49be540 77503327 d49be5a4 d49be540 c0c5a400 c0d04d08 1ef0f000
[75457.925515] 3e60: c0d03080 c07c4078 77503327 d49be5b0 d49be5a4 d49be540 d49be5b0 c07c6024
[75457.933694] 3e80: d49be840 c07c60ac ffffe000 00000100 c07c607c 00000000 c0c5a400 c017a408
[75457.941874] 3ea0: 000044a0 ffffffff dfb69400 ce2c3ed4 00000200 c017a510 ce2c3ed0 dfb69400
[75457.950053] 3ec0: ce2c3ed0 c0d03d00 c0c5a400 c017a7cc dfb6a588 00000000 00000000 7fffffff
[75457.958232] 3ee0: 7fffffff dfb6a500 dfb6a500 20010193 00000003 00041400 00000020 00000001
[75457.966411] 3f00: c0d03084 ffffe000 00000100 c0d03080 40000001 c0102208 dfb6a650 dfb6a630
[75457.974590] 3f20: 8e2168fa c0c56338 c0c5d9c0 0000000a c0a27e88 c0c562c8 0072adf7 c0d03d00
[75457.982770] 3f40: c0901a3c 00400040 00000010 c0c5d978 00000013 00000000 00000000 df40c000
[75457.990949] 3f60: e0803000 00000010 00000010 c0121b00 c0c5d978 c0166f9c c0d05114 c0d1a9d0
[75457.999129] 3f80: e080200c e0802000 ce2c3fb0 c04b1f5c b5fdfdd4 60010030 ffffffff 10c5387d
[75458.007308] 3fa0: 10c5387d a09fe8fc 00000010 c0101db0 a09fe8cc ad686b40 ad63044c 00000001
[75458.015487] 3fc0: a09fe8cc 00000000 00000000 ad6073e4 00000004 a09fe8fc 00000010 00000010
[75458.023666] 3fe0: 00005000 a09fe8a0 b5fe17ad b5fdfdd4 60010030 ffffffff 00000000 00000000
[75458.031858] [<c08dd808>] (_test_and_set_bit) from [<c0132fa4>] (queue_work_on+0x24/0x4c)
[75458.039956] [<c0132fa4>] (queue_work_on) from [<d49be540>] (0xd49be540)
[75458.046574] Code: f591f000 e1912f9f e0120003 01822003 (e181cf92) 
[75458.052670] ---[ end trace 8ae3c577c4edc8ef ]---
[75458.057288] Kernel panic - not syncing: Fatal exception in interrupt
[75458.063659] CPU3: stopping
[75458.066381] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D    O      4.20.0-m2z-otg-gadget #1
[75458.074989] Hardware name: Allwinner sun8i Family
[75458.079707] [<c010e87c>] (unwind_backtrace) from [<c010b978>] (show_stack+0x10/0x14)
[75458.087456] [<c010b978>] (show_stack) from [<c08de9ec>] (dump_stack+0x88/0x9c)
[75458.094684] [<c08de9ec>] (dump_stack) from [<c010dabc>] (handle_IPI+0x1c4/0x1e4)
[75458.102086] [<c010dabc>] (handle_IPI) from [<c04b1f9c>] (gic_handle_irq+0x8c/0x90)
[75458.109663] [<c04b1f9c>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[75458.117144] Exception stack(0xdf489f60 to 0xdf489fa8)
[75458.122199] 9f60: 00000000 017a2b94 dfb9d5e0 c0117960 ffffe000 c0d04d30 c0d04d74 00000008
[75458.130378] 9f80: 00000000 c0d04d08 c0c5d330 00000000 df75bc64 df489fb0 c01089fc c0108a00
[75458.138553] 9fa0: 600f0013 ffffffff
[75458.142051] [<c0101a0c>] (__irq_svc) from [<c0108a00>] (arch_cpu_idle+0x38/0x3c)
[75458.149456] [<c0108a00>] (arch_cpu_idle) from [<c01453b0>] (do_idle+0x224/0x25c)
[75458.156857] [<c01453b0>] (do_idle) from [<c0145684>] (cpu_startup_entry+0x18/0x1c)
[75458.164429] [<c0145684>] (cpu_startup_entry) from [<4010244c>] (0x4010244c)
[75459.105314] SMP: failed to stop secondary CPUs
[75459.109763] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
amazingproducer commented 5 years ago

It just crashed after several hours of running the motion server - but since I was logging to ram, I don't have the output. I'll try monitor the serial port more diligently.

amazingproducer commented 5 years ago

I've continued testing, and had some failures with motion - but not as catastrophic as the original failures. After rebooting, the device resumed normal function. I suspect at this point, any additional issues I'm experiencing are unrelated to the new release.

Thanks for maintaining this project; it's really useful for the bandwidth-constrained hobbyist - and thanks for helping me with this issue.

avafinger commented 5 years ago

@amazingproducer

Mainline Kernel 5.3.0-rc3 has been released

Maybe there is some improvement on the CIFS side, you can check if works better for you.

avafinger commented 5 years ago

@amazingproducer

Mainline Kernel 5.3.0-rc7 has been released and deb package installs has been tested and ok.. Sorry for the broken rc6 install.

amazingproducer commented 5 years ago

I'll try it out as soon as I can. Thanks!