Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDMI display issue #29

Open
neilyoung opened this issue Oct 23, 2019 · 135 comments
Open

HDMI display issue #29

neilyoung opened this issue Oct 23, 2019 · 135 comments

Comments

@neilyoung
Copy link

I'm having issues with the convenience image. HDMI is pretty much unreadable, since it is shifted left by 3-4 characters, top and bottom by several lines. Monitored on two BPI Zero M2 and with different monitors.

What can I do?

@neilyoung neilyoung changed the title HDMI display image HDMI display issue Oct 23, 2019
@avafinger
Copy link
Owner

Can you give me more information?

  • Monitor(s) in use, maker, and specifications
  • Any adapter or extension you are using?

Can you post a picture of the unreadable screen?
There is a chance you need to set a custom EDID but you need to identify which screen resolution your monitor(s) can handle.

For example, here: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.9
This is set to 1280x720@60.

@neilyoung
Copy link
Author

@avafinger Thanks for the quick follow up. Both are Samsung, consumer models.

Here a "screenshot". It has most likely be made with another image (Ubuntu 16.04 server), but the symptom is the same with the convenience image. The monitors report 1920x1080 @60 Hz.

Ohne Titel

@neilyoung
Copy link
Author

... and no adapter in use. Just the little mini-HDMI to HDMI adapter from a PIZW

@neilyoung
Copy link
Author

Excuse the dumb question: How could i make an image I could flash from the version you quoted?

@neilyoung
Copy link
Author

The shot has been taken from a Samsung UE45D6200

@avafinger
Copy link
Owner

Start with this Image:
https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.4

Regarding your issue, use the TV remote control to fix up:

  • Wrong setting
    IMG_20191023_183841

  • Correct setting
    IMG_20191023_183854

@neilyoung
Copy link
Author

Thanks. Will try and report. I think I already skimmed the TV settings and found nothing which worked. Will repeat.

@neilyoung
Copy link
Author

OK, following the link I was able to flash the image with Etcher. I was not able to follow this:

First thing you should do before you boot

Edit /etc/network/interfaces and change the portion with your SID and PSK

  allow-hotplug wlan0
  iface wlan0 inet dhcp
      wpa-ssid "your SID"
      wpa-psk "put here your ASCII password"

The SD is simply not readable from macOS after flashing. This happens with all BPI images I tested so far. It does not happen with e.g. regular Raspbian images.

MacOS complains, that the media could not be read by this computer. Hence I could not add Wifi support.

Anyway, I could make it run. My TV does not have such a setting, but a "Screen adaptation" setting, by which I could move the position of the display, so that it perfectly fits now. I plugged an USB ETH adapter and by this I'm ready now to make it a "real" Ubuntu :)

Thanks for your assistance!

@neilyoung
Copy link
Author

I noticed, that it needs several minutes to present the prompt. Meanwhile I already gave up several times. Any chance to come behind the reason?

Interestingly enough: It has an SSH server running by default... Nice.

@neilyoung
Copy link
Author

Here is the bootlog:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.5 (alex@svn) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP Mon Oct 7 21:22:23 -03 2019
[    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 256 MiB at 0x4dc00000
[    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] percpu: Embedded 15 pages/cpu s31244 r8192 d22004 u61440
[    0.000000] pcpu-alloc: s31244 r8192 d22004 u61440 alloc=15*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: console=ttyS0,115200 earlyprintk rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait fsck.repair=yes panic=10 no_console_suspend consoleblank=0 drm_leak_fbdev_smem=1
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241880K/524288K available (9216K kernel code, 328K rwdata, 1984K rodata, 1024K init, 269K bss, 20264K reserved, 262144K cma-reserved, 0K highmem)
[    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] random: get_random_bytes called from start_kernel+0x2f8/0x488 with crng_init=0
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000226] Console: colour dummy device 80x30
[    0.000276] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000288] pid_max: default: 32768 minimum: 301
[    0.000436] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000450] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001266] CPU: Testing write buffer coherency: ok
[    0.001750] CPU0: update cpu_capacity 1024
[    0.001762] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002331] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002469] rcu: Hierarchical SRCU implementation.
[    0.003058] smp: Bringing up secondary CPUs ...
[    0.013838] CPU1: update cpu_capacity 1024
[    0.013844] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024765] CPU2: update cpu_capacity 1024
[    0.024772] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035571] CPU3: update cpu_capacity 1024
[    0.035577] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035670] smp: Brought up 1 node, 4 CPUs
[    0.035695] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035701] CPU: All CPU(s) started in HYP mode.
[    0.035705] CPU: Virtualization extensions available.
[    0.036698] devtmpfs: initialized
[    0.043265] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043490] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.043517] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.052752] pinctrl core: initialized pinctrl subsystem
[    0.053979] NET: Registered protocol family 16
[    0.055745] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.056725] cpuidle: using governor menu
[    0.057069] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.057077] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.080815] SCSI subsystem initialized
[    0.081080] libata version 3.00 loaded.
[    0.081317] usbcore: registered new interface driver usbfs
[    0.081367] usbcore: registered new interface driver hub
[    0.081447] usbcore: registered new device driver usb
[    0.081711] pps_core: LinuxPPS API ver. 1 registered
[    0.081719] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.081740] PTP clock support registered
[    0.082134] Advanced Linux Sound Architecture Driver Initialized.
[    0.083496] clocksource: Switched to clocksource arch_sys_counter
[    0.083658] VFS: Disk quotas dquot_6.6.0
[    0.083736] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.091637] thermal_sys: Registered thermal governor 'fair_share'
[    0.091644] thermal_sys: Registered thermal governor 'bang_bang'
[    0.091658] thermal_sys: Registered thermal governor 'step_wise'
[    0.091664] thermal_sys: Registered thermal governor 'user_space'
[    0.091670] thermal_sys: Registered thermal governor 'power_allocator'
[    0.092295] NET: Registered protocol family 2
[    0.093104] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.093133] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.093184] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.093246] TCP: Hash tables configured (established 4096 bind 4096)
[    0.093376] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.093425] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.093772] NET: Registered protocol family 1
[    0.094441] RPC: Registered named UNIX socket transport module.
[    0.094454] RPC: Registered udp transport module.
[    0.094459] RPC: Registered tcp transport module.
[    0.094464] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.095236] Unpacking initramfs...
[    0.139202] Freeing initrd memory: 960K
[    0.141010] Initialise system trusted keyrings
[    0.141374] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.148780] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.150324] NFS: Registering the id_resolver key type
[    0.150367] Key type id_resolver registered
[    0.150373] Key type id_legacy registered
[    0.150388] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.150396] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.151385] fuse: init (API version 7.31)
[    0.151831] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.189446] Key type asymmetric registered
[    0.189461] Asymmetric key parser 'x509' registered
[    0.189519] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.189528] io scheduler mq-deadline registered
[    0.189535] io scheduler kyber registered
[    0.190609] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.195018] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.196839] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.249001] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.251395] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.252363] printk: console [ttyS0] disabled
[    0.272588] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A
[    0.960155] printk: console [ttyS0] enabled
[    0.964917] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    0.995597] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 44, base_baud = 1500000) is a U6_16550A
[    1.004730] serial serial0: tty port ttyS1 registered
[    1.032437] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.044336] libphy: Fixed MDIO Bus: probed
[    1.048666] CAN device driver interface
[    1.053143] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.058952] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.064930] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.072147] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.079389] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.084359] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.091138] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.096799] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.102622] libphy: stmmac: probed
[    1.106669] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    1.112876] libphy: mdio_mux: probed
[    1.116483] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    1.122832] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    1.129663] libphy: mdio_mux: probed
[    1.133772] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.140292] ehci-platform: EHCI generic platform driver
[    1.145726] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.151319] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.159475] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.193506] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.199789] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.208064] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.215287] usb usb1: Product: EHCI Host Controller
[    1.220159] usb usb1: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.225472] usb usb1: SerialNumber: 1c1a000.usb
[    1.230590] hub 1-0:1.0: USB hub found
[    1.234396] hub 1-0:1.0: 1 port detected
[    1.239259] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.245478] ohci-platform: OHCI generic platform driver
[    1.250873] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.257512] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.265467] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.337666] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    1.345949] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.353162] usb usb2: Product: Generic Platform OHCI controller
[    1.359092] usb usb2: Manufacturer: Linux 5.3.5 ohci_hcd
[    1.364411] usb usb2: SerialNumber: 1c1a400.usb
[    1.369439] hub 2-0:1.0: USB hub found
[    1.373223] hub 2-0:1.0: 1 port detected
[    1.378100] usbcore: registered new interface driver usb-storage
[    1.384228] usbcore: registered new interface driver ch341
[    1.389745] usbserial: USB Serial support registered for ch341-uart
[    1.396054] usbcore: registered new interface driver cp210x
[    1.401646] usbserial: USB Serial support registered for cp210x
[    1.407615] usbcore: registered new interface driver ftdi_sio
[    1.413377] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.420790] usbcore: registered new interface driver pl2303
[    1.426402] usbserial: USB Serial support registered for pl2303
[    1.433100] mousedev: PS/2 mouse device common for all mice
[    1.439486] sun6i-rtc 1f00000.rtc: registered as rtc0
[    1.444554] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.449248] i2c /dev entries driver
[    1.454546] thermal thermal_zone0: failed to read out thermal zone (-16)
[    1.461825] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.470351] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[    1.480942] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.516863] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.524862] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.554061] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.562407] ledtrig-cpu: registered to indicate activity on CPUs
[    1.568724] hidraw: raw HID events driver (C) Jiri Kosina
[    1.574552] usbcore: registered new interface driver usbhid
[    1.580135] usbhid: USB HID core driver
[    1.587092] Initializing XFRM netlink socket
[    1.587848] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.591383] NET: Registered protocol family 17
[    1.601359] mmc0: new high speed SDHC card at address 59b4
[    1.603852] can: controller area network core (rev 20170425 abi 9)
[    1.611144] mmcblk0: mmc0:59b4 SDU1  7.52 GiB 
[    1.615690] NET: Registered protocol family 29
[    1.621719]  mmcblk0: p1 p2
[    1.624458] can: raw protocol (rev 20170425)
[    1.629424] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.631494] can: broadcast manager protocol (rev 20170425 t)
[    1.638492] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.642644] can: netlink gateway (rev 20170425) max_hops=1
[    1.649612] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.654181] 9pnet: Installing 9P2000 support
[    1.661784] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.663396] Key type dns_resolver registered
[    1.672124] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    1.673320] Registering SWP/SWPB emulation handler
[    1.684003] Loading compiled-in X.509 certificates
[    1.699574] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.705217] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    1.713576] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    1.724299] random: fast init done
[    1.743505] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.749795] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.758068] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.765295] usb usb3: Product: EHCI Host Controller
[    1.765798] mmc1: new high speed SDIO card at address 0001
[    1.770168] usb usb3: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.780957] usb usb3: SerialNumber: 1c1b000.usb
[    1.786066] hub 3-0:1.0: USB hub found
[    1.789858] hub 3-0:1.0: 1 port detected
[    1.794557] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.800147] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    1.808177] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[    1.843508] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.849755] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.858029] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.865252] usb usb4: Product: EHCI Host Controller
[    1.870124] usb usb4: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.875439] usb usb4: SerialNumber: 1c1c000.usb
[    1.880459] hub 4-0:1.0: USB hub found
[    1.884258] hub 4-0:1.0: 1 port detected
[    1.888815] ehci-platform 1c1d000.usb: EHCI Host Controller
[    1.894423] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    1.902383] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[    1.933509] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    1.939739] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.948012] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.955238] usb usb5: Product: EHCI Host Controller
[    1.960109] usb usb5: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.965425] usb usb5: SerialNumber: 1c1d000.usb
[    1.970418] hub 5-0:1.0: USB hub found
[    1.974223] hub 5-0:1.0: 1 port detected
[    1.978784] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.985427] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    1.993405] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    2.067666] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.075939] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.083151] usb usb6: Product: Generic Platform OHCI controller
[    2.089081] usb usb6: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.094400] usb usb6: SerialNumber: 1c1b400.usb
[    2.099406] hub 6-0:1.0: USB hub found
[    2.103181] hub 6-0:1.0: 1 port detected
[    2.107785] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.114430] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.122382] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[    2.197655] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.205929] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.213141] usb usb7: Product: Generic Platform OHCI controller
[    2.219068] usb usb7: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.224386] usb usb7: SerialNumber: 1c1c400.usb
[    2.229385] hub 7-0:1.0: USB hub found
[    2.233161] hub 7-0:1.0: 1 port detected
[    2.237732] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    2.244374] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    2.252288] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[    2.327653] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.335928] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.343140] usb usb8: Product: Generic Platform OHCI controller
[    2.349068] usb usb8: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.354385] usb usb8: SerialNumber: 1c1d400.usb
[    2.359380] hub 8-0:1.0: USB hub found
[    2.363158] hub 8-0:1.0: 1 port detected
[    2.367840] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.378927] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.384691] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
[    2.392668] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    2.400936] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.408158] usb usb9: Product: MUSB HDRC host driver
[    2.413118] usb usb9: Manufacturer: Linux 5.3.5 musb-hcd
[    2.418435] usb usb9: SerialNumber: musb-hdrc.1.auto
[    2.423857] hub 9-0:1.0: USB hub found
[    2.427633] hub 9-0:1.0: 1 port detected
[    2.433749] sun6i-rtc 1f00000.rtc: setting system clock to 2019-10-08T17:02:59 UTC (1570554179)
[    2.442688] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.453594] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.460271] ALSA device list:
[    2.463339] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.463533]   No soundcards found.
[    2.471958] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    2.484891] Freeing unused kernel memory: 1024K
[    2.563940] Run /init as init process
[    2.793341] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.913553] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    3.129175] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36
[    3.137464] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.144638] usb 1-1: Product: USB2.0 Hub
[    3.163192] hub 1-1:1.0: USB hub found
[    3.180173] hub 1-1:1.0: 4 ports detected
[    3.503625] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[    3.666505] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice= 9.01
[    3.675217] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.682596] usb 1-1.2: Product: USB2.0 Hub
[    3.711500] hub 1-1.2:1.0: USB hub found
[    3.725243] hub 1-1.2:1.0: 4 ports detected
[    4.045111] NET: Registered protocol family 10
[    4.055367] usb 1-1.2.1: new low-speed USB device number 4 using ehci-platform
[    4.173060] Segment Routing with IPv6
[    4.220651] usb 1-1.2.1: New USB device found, idVendor=1c4f, idProduct=0002, bcdDevice= 1.10
[    4.229308] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.236811] usb 1-1.2.1: Product: USB Keyboard
[    4.241265] usb 1-1.2.1: Manufacturer: SIGMACHIP
[    4.269596] systemd[1]: systemd 242 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    4.292648] systemd[1]: Detected architecture arm.
[    4.298049] input: SIGMACHIP USB Keyboard as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:1C4F:0002.0001/input/input0
[    4.343132] systemd[1]: Set hostname to <bpi-m2z>.
[    4.350643] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[    4.385954] hid-generic 0003:1C4F:0002.0001: input,hidraw0: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-1c1a000.usb-1.2.1/input0
[    4.414057] input: SIGMACHIP USB Keyboard Consumer Control as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:1C4F:0002.0002/input/input1
[    4.518078] input: SIGMACHIP USB Keyboard System Control as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:1C4F:0002.0002/input/input2
[    4.544630] hid-generic 0003:1C4F:0002.0002: input,hidraw1: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-1c1a000.usb-1.2.1/input1
[    4.673559] usb 1-1.2.4: new low-speed USB device number 5 using ehci-platform
[    4.828674] usb 1-1.2.4: New USB device found, idVendor=1bcf, idProduct=0007, bcdDevice= 0.10
[    4.837311] usb 1-1.2.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    4.845709] usb 1-1.2.4: Product: USB Optical Mouse
[    4.849864] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    4.876300] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    4.882637] input: USB Optical Mouse as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.0/0003:1BCF:0007.0003/input/input3
[    4.914257] input: USB Optical Mouse as /devices/platform/soc/1c1a000.usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4:1.0/0003:1BCF:0007.0003/input/input4
[    4.943520] hid-generic 0003:1BCF:0007.0003: input,hiddev96,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-1c1a000.usb-1.2.4/input0
[    5.245979] systemd[1]: /lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    5.443482] systemd[1]: /etc/systemd/system/dhclient.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/dhclient.pid → /run/dhclient.pid; please update the unit file accordingly.
[    5.675472] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    5.690658] random: systemd: uninitialized urandom read (16 bytes read)
[    5.698605] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.733770] random: systemd: uninitialized urandom read (16 bytes read)
[    5.773766] random: systemd: uninitialized urandom read (16 bytes read)
[    6.578575] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    7.231078] systemd-journald[185]: Received request to flush runtime journal from PID 1
[    7.742062] cfg80211: failed to load regulatory.db
[    7.825392] mc: Linux media interface: v0.10
[    7.862497] videodev: Linux video capture interface: v2.00
[    7.928736] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    7.936306] sun4i-codec 1c22c00.codec: Failed to register our card
[    7.945611] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    7.953070] sun4i-codec 1c22c00.codec: Failed to register our card
[    8.038635] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    8.046148] sun4i-codec 1c22c00.codec: Failed to register our card
[    8.059132] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    8.060469] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    8.068009] sun4i-codec 1c22c00.codec: Failed to register our card
[    8.076305] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[    8.080847] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[    8.084944] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    8.092538] sun4i-codec 1c22c00.codec: Failed to register our card
[    8.131133] Registered IR keymap rc-empty
[    8.131300] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[    8.131488] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input5
[    8.135965] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[    8.137800] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[    8.138898] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    8.146472] sun4i-codec 1c22c00.codec: Failed to register our card
[    8.162672] mali: loading out-of-tree module taints kernel.
[    8.172727] Allwinner sunXi mali glue initialized
[    8.176265] Mali: 
[    8.176273] Found Mali GPU Mali-400 MP r1p1
[    8.184321] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present!
[    8.197441] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    8.203088] Mali: 
[    8.203096] 2+0 PP cores initialized
[    8.206399] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    8.207802] Mali: 
[    8.207807] Mali device driver loaded
[    8.256184] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer])
[    8.256742] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_platform_driver_exit [sun4i_tcon])
[    8.256901] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[    8.257929] Bluetooth: Core ver 2.22
[    8.258029] NET: Registered protocol family 31
[    8.258036] Bluetooth: HCI device and connection manager initialized
[    8.258070] Bluetooth: HCI socket layer initialized
[    8.258082] Bluetooth: L2CAP socket layer initialized
[    8.258125] Bluetooth: SCO socket layer initialized
[    8.258887] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    8.268150] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    8.269633] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[    8.269649] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.269652] [drm] No driver support for vblank timestamp query.
[    8.271821] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    8.302636] Bluetooth: HCI UART driver ver 2.3
[    8.302654] Bluetooth: HCI UART protocol H4 registered
[    8.302659] Bluetooth: HCI UART protocol BCSP registered
[    8.302664] Bluetooth: HCI UART protocol ATH3K registered
[    8.302956] Bluetooth: HCI UART protocol Intel registered
[    8.303174] Bluetooth: HCI UART protocol Broadcom registered
[    8.303180] Bluetooth: HCI UART protocol AG6XX registered
[    8.371656] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    8.508103] Bluetooth: hci0: BCM: chip id 94
[    8.510518] Bluetooth: hci0: BCM: features 0x2e
[    8.533968] Bluetooth: hci0: BCM43430A1
[    8.533995] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[    8.816758] Console: switching to colour frame buffer device 240x67
[    8.820617] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[    8.825777] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[    8.860717] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    8.987426] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[   12.136151] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0106
[   13.032178] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   13.642996] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[   13.643021] dwmac-sun8i 1c30000.ethernet eth0: phy: setting supported 00,00000000,000062cf advertising 00,00000000,000062cf
[   13.648170] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   13.648195] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   13.648207] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   13.648223] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   13.648245] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/Unknown/Unknown adv=00,00000000,000062cf pause=10 link=0 an=1
[   13.654210] dwmac-sun8i 1c30000.ethernet eth0: phy link up mii/100Mbps/Full
[   13.654226] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/100Mbps/Full adv=00,00000000,00000000 pause=0f link=1 an=0
[   13.654269] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   13.660920] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.358788] random: crng init done
[   22.358846] random: 7 urandom warning(s) missed due to ratelimiting
[   23.806143] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.483655] vcc3v0: disabling
[   32.483686] vcc5v0: disabling

@neilyoung
Copy link
Author

Anyway - what can be seen at the first or second glance: This distribution has been compiled with patience, love and accuracy. Well done, nice piece of work. Don't know, why I didn't find it by myself with the very first shot...

@avafinger
Copy link
Owner

I noticed, that it needs several minutes to present the prompt.

This usually indicates you have a poor or bad (quality) sd card, and you might have trouble in the near future. The best thing to do is buy a fast and good sd card.

Mac OS and Windows cannot read linux files without "special assistance".
You can edit the files with jed when you get in the shell command, like this:
sudo jed /etc/network/interfaces

@neilyoung
Copy link
Author

That’s a good hint. Is there any card you could recommend?

@neilyoung
Copy link
Author

Sorry accidentally closed issue

@neilyoung neilyoung reopened this Oct 24, 2019
@neilyoung
Copy link
Author

Right now I’m using a 32 GB Transcend

@neilyoung
Copy link
Author

neilyoung commented Oct 24, 2019

OK, I have flashed another card now. I'm wondering: The SSH server seems to NOT be enabled by default, after flashing, right? I supposed, this was the case, but now I guess it has been activated by update && upgrade. Would that be possible?

Other than that: Are you knowing, how I could enable the SPI interface? On an ordinary PI this could be done by raspi-config, but this is not possible here, I guess..

Thanks in advance.

EDIT: Update: The SSH server is running. After a couple of restarts it worked.

@neilyoung
Copy link
Author

Maybe it is of interest: This time I was using sudo apt-get dist-upgrade instead of upgrade as before. It worked with my first SD card attempt. Now both commands run into a problem:

ubuntu@bpi-m2z:~$ sudo apt-get update
[sudo] password for ubuntu: 
Get:1 http://ports.ubuntu.com/ubuntu-ports eoan InRelease [255 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports eoan-updates InRelease [88.4 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports eoan-security InRelease [88.4 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports eoan/restricted Sources [5532 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports eoan/multiverse Sources [186 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports eoan/universe Sources [9668 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports eoan/main Sources [833 kB]                                                                                
Get:8 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf Packages [932 kB]                                                                         
Get:9 http://ports.ubuntu.com/ubuntu-ports eoan/main Translation-en [505 kB]                                                                         
Get:10 http://ports.ubuntu.com/ubuntu-ports eoan/restricted armhf Packages [6780 B]                                                                  
Get:11 http://ports.ubuntu.com/ubuntu-ports eoan/restricted Translation-en [5196 B]                                                                  
Get:12 http://ports.ubuntu.com/ubuntu-ports eoan/universe armhf Packages [8539 kB]                                                                   
Get:13 http://ports.ubuntu.com/ubuntu-ports eoan/universe Translation-en [5198 kB]                                                                   
Get:14 http://ports.ubuntu.com/ubuntu-ports eoan/multiverse armhf Packages [122 kB]                                                                  
Get:15 http://ports.ubuntu.com/ubuntu-ports eoan/multiverse Translation-en [111 kB]                                                                  
Get:16 http://ports.ubuntu.com/ubuntu-ports eoan-updates/main armhf Packages [19.8 kB]                                                               
Get:17 http://ports.ubuntu.com/ubuntu-ports eoan-updates/main Translation-en [12.2 kB]                                                               
Get:18 http://ports.ubuntu.com/ubuntu-ports eoan-updates/restricted Translation-en [996 B]                                                           
Get:19 http://ports.ubuntu.com/ubuntu-ports eoan-updates/universe armhf Packages [5304 B]                                                            
Get:20 http://ports.ubuntu.com/ubuntu-ports eoan-updates/universe Translation-en [4572 B]                                                            
Get:21 http://ports.ubuntu.com/ubuntu-ports eoan-updates/multiverse Translation-en [632 B]                                                           
Get:22 http://ports.ubuntu.com/ubuntu-ports eoan-security/main armhf Packages [19.8 kB]                                                              
Get:23 http://ports.ubuntu.com/ubuntu-ports eoan-security/main Translation-en [12.2 kB]                                                              
Get:24 http://ports.ubuntu.com/ubuntu-ports eoan-security/restricted Translation-en [996 B]                                                          
Get:25 http://ports.ubuntu.com/ubuntu-ports eoan-security/universe armhf Packages [5304 B]                                                           
Get:26 http://ports.ubuntu.com/ubuntu-ports eoan-security/universe Translation-en [4572 B]                                                           
Get:27 http://ports.ubuntu.com/ubuntu-ports eoan-security/multiverse Translation-en [632 B]                                                          
Fetched 26.6 MB in 33s (799 kB/s)                                                                                                                    
Reading package lists... Done
ubuntu@bpi-m2z:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files distro-info-data gcc-9-base iproute2 libgcc1 libglib2.0-0 libglib2.0-data libnss-systemd libpam-systemd libpython3-stdlib
  libpython3.7-minimal libpython3.7-stdlib libstdc++6 libsystemd0 libudev1 python3 python3-minimal python3.7 python3.7-minimal sudo systemd
  systemd-sysv ubuntu-minimal udev
24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 8192 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf base-files armhf 10.2ubuntu7 [60.2 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libnss-systemd armhf 242-7ubuntu3 [113 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf udev armhf 242-7ubuntu3 [1179 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libudev1 armhf 242-7ubuntu3 [68.4 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf systemd-sysv armhf 242-7ubuntu3 [9364 B]
Get:6 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libpam-systemd armhf 242-7ubuntu3 [117 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf systemd armhf 242-7ubuntu3 [3269 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libsystemd0 armhf 242-7ubuntu3 [239 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf python3-minimal armhf 3.7.5-1 [23.3 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf python3 armhf 3.7.5-1 [47.2 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf python3.7 armhf 3.7.5~rc1-2 [301 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf python3.7-minimal armhf 3.7.5~rc1-2 [1470 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libpython3.7-minimal armhf 3.7.5~rc1-2 [539 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libpython3.7-stdlib armhf 3.7.5~rc1-2 [1664 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libpython3-stdlib armhf 3.7.5-1 [6848 B]
Get:16 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf gcc-9-base armhf 9.2.1-9ubuntu2 [19.4 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libstdc++6 armhf 9.2.1-9ubuntu2 [451 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libgcc1 armhf 1:9.2.1-9ubuntu2 [37.4 kB]                                                 
Get:19 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf distro-info-data all 0.40ubuntu3 [4616 B]                                                
Get:20 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf iproute2 armhf 5.2.0-1ubuntu2 [784 kB]                                                   
Get:21 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libglib2.0-0 armhf 2.62.1-1 [1102 kB]                                                    
Get:22 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libglib2.0-data all 2.62.1-1 [5892 B]                                                    
Get:23 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf sudo armhf 1.8.27-1ubuntu4 [469 kB]                                                      
Get:24 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf ubuntu-minimal armhf 1.440 [2868 B]                                                      
Fetched 12.0 MB in 8s (1526 kB/s)                                                                                                                    
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 241.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 242.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 243.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 244.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 245.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 246.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 247.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 248.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 249.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 250.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 252.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 254.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 255.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 257.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 258.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 259.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 260.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 261.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 262.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 263.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 264.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 265.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 266.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 267.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 268.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 269.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 270.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 271.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 273.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 274.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 275.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 276.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 277.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 278.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 279.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 280.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 281.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 282.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 283.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 284.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 285.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 286.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 287.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 288.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 289.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 290.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 291.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 292.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 293.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 294.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 295.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 296.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 297.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 298.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 299.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 300.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 301.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 302.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 303.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 304.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 305.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 306.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 307.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 308.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 309.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 310.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 311.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 312.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 314.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 315.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 316.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 317.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 318.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 319.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 320.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 321.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 322.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 323.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 324.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 325.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 326.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 327.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 328.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 329.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 330.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 331.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 332.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 333.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 334.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 335.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 336.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 337.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 339.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 340.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 342.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 343.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 345.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 346.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 347.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 348.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 349.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 350.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 351.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 352.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 354.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 355.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 356.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 357.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 358.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 359.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 360.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 361.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 362.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 363.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 364.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 365.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 366.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 367.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 368.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 369.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 370.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 371.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 372.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 373.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 374.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 375.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 376.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 377.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 378.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 380.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 381.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 383.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 384.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 386.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 388.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 389.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 390.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 391.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 392.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 393.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 394.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 395.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 396.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 397.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 398.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 399.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 400.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 401.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 402.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 403.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 405.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 408.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 409.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 410.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 411.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 412.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 413.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 415.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 416.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 417.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 418.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 419.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 420.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 421.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 422.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 423.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 424.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 425.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 426.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 427.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 428.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 429.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 430.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 431.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 432.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 433.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 434.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 435.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 436.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 437.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 438.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 440.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 441.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 442.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 443.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 445.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 446.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 447.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 448.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 449.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 450.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 451.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 452.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 453.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 454.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 455.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 456.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 457.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 458.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 459.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 460.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 461.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 462.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 464.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 465.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 466.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 467.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 469.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 470.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 471.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 472.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 474.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 475.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 476.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 477.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 479.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 480.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 481.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 482.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 483.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 484.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 487.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 491.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 492.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 494.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 495.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 496.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 497.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 498.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 499.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 500.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 501.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 502.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 503.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 504.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 505.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 506.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 507.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 508.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 509.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 510.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 511.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 512.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 513.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 514.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 515.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 516.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 517.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 518.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 519.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 520.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 521.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 522.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 523.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 524.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 525.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 526.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 527.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 528.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 529.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 531.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 532.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 533.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 535.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 536.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 537.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 538.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 539.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 540.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 541.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 542.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 544.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 546.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 547.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 549.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 550.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 552.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 553.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 554.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 555.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 556.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 557.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 558.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 559.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 560.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 561.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 562.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 563.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 564.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 565.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 566.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 568.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 569.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 571.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 572.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 573.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 574.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 576.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 577.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 579.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 580.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 581.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 582.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 583.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 584.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 584.
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'init' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
ubuntu@bpi-m2z:~$ 

@avafinger
Copy link
Owner

EDIT: Update: The SSH server is running. After a couple of restarts it worked.

Change the file /etc/network/interfaces:

allow-hotplug wlan0

  iface wlan0 inet dhcp
      wpa-ssid "your SID"
      wpa-psk "put here your ASCII password"

to

auto wlan0

  iface wlan0 inet dhcp
      wpa-ssid "your SID"
      wpa-psk "put here your ASCII password"

Two possible things:

  • Your sd card is corrupt, if you removed power without doing a sudo shutdown -h now you have now a corrupt content. If that is the case you need to do an fsck (linux box)

  • Your sd card is fake

@neilyoung
Copy link
Author

Hmm. The SD card worked quite well in a couple of RPIs for now. Anyway: Removing the power w/o shutdown: I guess this is the ordinary use case of a PI, don't you agree ? :)

Thanks for the hints. Do you know how to enable SPI?

@neilyoung
Copy link
Author

I have made an fsck on my linux box: Nothing obvious, I would say...

decades@ubuntu:~/Documents$ sudo fsck -f /dev/sdc1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
boot: 19/25600 files (10.5% non-contiguous), 3495/25600 blocks
decades@ubuntu:~/Documents$ sudo fsck -f /dev/sdc2
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
rootfs: 20583/485760 files (0.2% non-contiguous), 203191/1940480 blocks
decades@ubuntu:~/Documents$ 

@neilyoung
Copy link
Author

Is there any way to test, if the SD is "sufficient" for the system?

@avafinger
Copy link
Owner

Sd card is clean, could be your PS. Try one with 5v and 2.5A.

To enable SPI you need to decompile the dtb , change the SPI node to "okay" and recompile.

@neilyoung
Copy link
Author

The PS is an original PI PS. I would exclude it.
As a matter of fact, meanwhile I cannot SSH at all, even though both interfaces are up and I can ping it (ETH and Wifi). No idea anymore. FS is clean, did another check right now.

Anything I could check, supposed I will make it again onto the box?

@neilyoung
Copy link
Author

Ah.. .now. 5 minutes after start - ssh prompt.

@neilyoung
Copy link
Author

Something in here?

ubuntu@bpi-m2z:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.5 (alex@svn) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP Mon Oct 7 21:22:23 -03 2019
[    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 256 MiB at 0x4dc00000
[    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] percpu: Embedded 15 pages/cpu s31244 r8192 d22004 u61440
[    0.000000] pcpu-alloc: s31244 r8192 d22004 u61440 alloc=15*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: console=ttyS0,115200 earlyprintk rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait fsck.repair=yes panic=10 no_console_suspend consoleblank=0 drm_leak_fbdev_smem=1
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241880K/524288K available (9216K kernel code, 328K rwdata, 1984K rodata, 1024K init, 269K bss, 20264K reserved, 262144K cma-reserved, 0K highmem)
[    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] random: get_random_bytes called from start_kernel+0x2f8/0x488 with crng_init=0
[    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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000213] Console: colour dummy device 80x30
[    0.000259] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000271] pid_max: default: 32768 minimum: 301
[    0.000412] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000425] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001197] CPU: Testing write buffer coherency: ok
[    0.001650] CPU0: update cpu_capacity 1024
[    0.001659] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002197] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002328] rcu: Hierarchical SRCU implementation.
[    0.002871] smp: Bringing up secondary CPUs ...
[    0.013620] CPU1: update cpu_capacity 1024
[    0.013627] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024503] CPU2: update cpu_capacity 1024
[    0.024509] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035277] CPU3: update cpu_capacity 1024
[    0.035283] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035371] smp: Brought up 1 node, 4 CPUs
[    0.035394] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035400] CPU: All CPU(s) started in HYP mode.
[    0.035404] CPU: Virtualization extensions available.
[    0.036359] devtmpfs: initialized
[    0.042763] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.042981] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.043007] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051494] pinctrl core: initialized pinctrl subsystem
[    0.052603] NET: Registered protocol family 16
[    0.054217] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.055239] cpuidle: using governor menu
[    0.055564] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.055572] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.078690] SCSI subsystem initialized
[    0.078927] libata version 3.00 loaded.
[    0.079159] usbcore: registered new interface driver usbfs
[    0.079208] usbcore: registered new interface driver hub
[    0.079285] usbcore: registered new device driver usb
[    0.079537] pps_core: LinuxPPS API ver. 1 registered
[    0.079546] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.079566] PTP clock support registered
[    0.079947] Advanced Linux Sound Architecture Driver Initialized.
[    0.081239] clocksource: Switched to clocksource arch_sys_counter
[    0.081393] VFS: Disk quotas dquot_6.6.0
[    0.081468] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.089201] thermal_sys: Registered thermal governor 'fair_share'
[    0.089208] thermal_sys: Registered thermal governor 'bang_bang'
[    0.089221] thermal_sys: Registered thermal governor 'step_wise'
[    0.089227] thermal_sys: Registered thermal governor 'user_space'
[    0.089233] thermal_sys: Registered thermal governor 'power_allocator'
[    0.089823] NET: Registered protocol family 2
[    0.090571] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.090599] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.090650] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.090712] TCP: Hash tables configured (established 4096 bind 4096)
[    0.090821] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.090866] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.091098] NET: Registered protocol family 1
[    0.091817] RPC: Registered named UNIX socket transport module.
[    0.091831] RPC: Registered udp transport module.
[    0.091836] RPC: Registered tcp transport module.
[    0.091842] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.092580] Unpacking initramfs...
[    0.135288] Freeing initrd memory: 960K
[    0.137016] Initialise system trusted keyrings
[    0.137331] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.144581] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.146049] NFS: Registering the id_resolver key type
[    0.146091] Key type id_resolver registered
[    0.146097] Key type id_legacy registered
[    0.146112] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.146119] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.147082] fuse: init (API version 7.31)
[    0.147517] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.183690] Key type asymmetric registered
[    0.183707] Asymmetric key parser 'x509' registered
[    0.183821] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.183831] io scheduler mq-deadline registered
[    0.183838] io scheduler kyber registered
[    0.184925] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.189189] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.190943] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.243802] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.246109] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.247010] printk: console [ttyS0] disabled
[    0.267262] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A
[    0.954881] printk: console [ttyS0] enabled
[    0.959608] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    0.990301] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 44, base_baud = 1500000) is a U6_16550A
[    0.999435] serial serial0: tty port ttyS1 registered
[    1.027135] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.038852] libphy: Fixed MDIO Bus: probed
[    1.043221] CAN device driver interface
[    1.047691] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.053496] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.059406] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.066643] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.073866] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.078826] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.085614] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.091278] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.097088] libphy: stmmac: probed
[    1.101076] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    1.107288] libphy: mdio_mux: probed
[    1.110877] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    1.117243] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    1.124083] libphy: mdio_mux: probed
[    1.128131] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.134679] ehci-platform: EHCI generic platform driver
[    1.140100] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.145710] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.153844] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.181253] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.187534] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.195810] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.203037] usb usb1: Product: EHCI Host Controller
[    1.207909] usb usb1: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.213223] usb usb1: SerialNumber: 1c1a000.usb
[    1.218333] hub 1-0:1.0: USB hub found
[    1.222143] hub 1-0:1.0: 1 port detected
[    1.226967] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.233183] ohci-platform: OHCI generic platform driver
[    1.238567] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.245208] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.253162] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.325422] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    1.333702] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.340915] usb usb2: Product: Generic Platform OHCI controller
[    1.346842] usb usb2: Manufacturer: Linux 5.3.5 ohci_hcd
[    1.352158] usb usb2: SerialNumber: 1c1a400.usb
[    1.357174] hub 2-0:1.0: USB hub found
[    1.360951] hub 2-0:1.0: 1 port detected
[    1.365806] usbcore: registered new interface driver usb-storage
[    1.371938] usbcore: registered new interface driver ch341
[    1.377454] usbserial: USB Serial support registered for ch341-uart
[    1.383758] usbcore: registered new interface driver cp210x
[    1.389346] usbserial: USB Serial support registered for cp210x
[    1.395313] usbcore: registered new interface driver ftdi_sio
[    1.401074] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.408483] usbcore: registered new interface driver pl2303
[    1.414092] usbserial: USB Serial support registered for pl2303
[    1.420765] mousedev: PS/2 mouse device common for all mice
[    1.427124] sun6i-rtc 1f00000.rtc: registered as rtc0
[    1.432190] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.436877] i2c /dev entries driver
[    1.442109] thermal thermal_zone0: failed to read out thermal zone (-16)
[    1.449366] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.457832] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[    1.468410] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.504277] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.512209] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.541392] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.549650] ledtrig-cpu: registered to indicate activity on CPUs
[    1.555942] hidraw: raw HID events driver (C) Jiri Kosina
[    1.561747] usbcore: registered new interface driver usbhid
[    1.566027] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.567312] usbhid: USB HID core driver
[    1.570248] Initializing XFRM netlink socket
[    1.577100] mmc0: Problem switching card into high-speed mode!
[    1.579181] NET: Registered protocol family 17
[    1.583575] mmc0: new SDHC card at address 0001
[    1.589278] can: controller area network core (rev 20170425 abi 9)
[    1.595187] mmcblk0: mmc0:0001 00000 14.9 GiB 
[    1.598390] NET: Registered protocol family 29
[    1.606836]  mmcblk0: p1 p2
[    1.608913] can: raw protocol (rev 20170425)
[    1.616150] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.620407] can: broadcast manager protocol (rev 20170425 t)
[    1.627396] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.631566] can: netlink gateway (rev 20170425) max_hops=1
[    1.638521] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.643066] 9pnet: Installing 9P2000 support
[    1.650694] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.652316] Key type dns_resolver registered
[    1.662240] Registering SWP/SWPB emulation handler
[    1.667628] Loading compiled-in X.509 certificates
[    1.682830] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.688434] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    1.696709] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    1.705612] random: fast init done
[    1.731247] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.737535] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.745810] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.748196] mmc1: new high speed SDIO card at address 0001
[    1.753040] usb usb3: Product: EHCI Host Controller
[    1.753047] usb usb3: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.768704] usb usb3: SerialNumber: 1c1b000.usb
[    1.773796] hub 3-0:1.0: USB hub found
[    1.777588] hub 3-0:1.0: 1 port detected
[    1.782254] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.787842] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    1.795846] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[    1.831249] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.837490] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.845763] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.852988] usb usb4: Product: EHCI Host Controller
[    1.857860] usb usb4: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.863177] usb usb4: SerialNumber: 1c1c000.usb
[    1.868180] hub 4-0:1.0: USB hub found
[    1.871974] hub 4-0:1.0: 1 port detected
[    1.876540] ehci-platform 1c1d000.usb: EHCI Host Controller
[    1.882140] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    1.890080] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[    1.921253] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    1.927478] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.935749] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.942975] usb usb5: Product: EHCI Host Controller
[    1.947847] usb usb5: Manufacturer: Linux 5.3.5 ehci_hcd
[    1.953162] usb usb5: SerialNumber: 1c1d000.usb
[    1.958141] hub 5-0:1.0: USB hub found
[    1.961943] hub 5-0:1.0: 1 port detected
[    1.966489] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.973137] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    1.981088] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    2.055398] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.063671] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.070883] usb usb6: Product: Generic Platform OHCI controller
[    2.076815] usb usb6: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.082134] usb usb6: SerialNumber: 1c1b400.usb
[    2.087119] hub 6-0:1.0: USB hub found
[    2.090903] hub 6-0:1.0: 1 port detected
[    2.095474] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.102117] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.110065] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[    2.185401] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.193676] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.200888] usb usb7: Product: Generic Platform OHCI controller
[    2.206816] usb usb7: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.212134] usb usb7: SerialNumber: 1c1c400.usb
[    2.217110] hub 7-0:1.0: USB hub found
[    2.220885] hub 7-0:1.0: 1 port detected
[    2.225434] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    2.232085] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    2.239985] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[    2.315390] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.323665] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.330877] usb usb8: Product: Generic Platform OHCI controller
[    2.336804] usb usb8: Manufacturer: Linux 5.3.5 ohci_hcd
[    2.342122] usb usb8: SerialNumber: 1c1d400.usb
[    2.347091] hub 8-0:1.0: USB hub found
[    2.350865] hub 8-0:1.0: 1 port detected
[    2.355499] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.366576] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.372331] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
[    2.380301] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    2.388568] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.395790] usb usb9: Product: MUSB HDRC host driver
[    2.400749] usb usb9: Manufacturer: Linux 5.3.5 musb-hcd
[    2.406067] usb usb9: SerialNumber: musb-hdrc.1.auto
[    2.411481] hub 9-0:1.0: USB hub found
[    2.415257] hub 9-0:1.0: 1 port detected
[    2.421265] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:00:07 UTC (7)
[    2.429436] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.440225] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.446956] ALSA device list:
[    2.450023] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.458657] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    2.461282]   No soundcards found.
[    2.471662] Freeing unused kernel memory: 1024K
[    2.541695] Run /init as init process
[    2.785687] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.891372] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    3.114683] usb 1-1: New USB device found, idVendor=0b95, idProduct=772b, bcdDevice= 0.01
[    3.122957] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.130154] usb 1-1: Product: AX88772B
[    3.133985] usb 1-1: Manufacturer: ASIX Elec. Corp.
[    3.138876] usb 1-1: SerialNumber: 24EEC0
[    4.345430] systemd[1]: System time before build time, advancing clock.
[    4.604818] NET: Registered protocol family 10
[    4.734163] Segment Routing with IPv6
[    4.821445] systemd[1]: systemd 242 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    4.848966] systemd[1]: Detected architecture arm.
[    4.914582] systemd[1]: Set hostname to <bpi-m2z>.
[    4.922213] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[    5.621879] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    5.640204] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.098595] systemd[1]: /lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    6.255000] systemd[1]: /etc/systemd/system/dhclient.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/dhclient.pid → /run/dhclient.pid; please update the unit file accordingly.
[    6.482045] random: systemd: uninitialized urandom read (16 bytes read)
[    6.489974] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.529394] random: systemd: uninitialized urandom read (16 bytes read)
[    6.537029] systemd[1]: Reached target Remote File Systems.
[    6.618552] random: systemd: uninitialized urandom read (16 bytes read)
[    7.471183] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    8.222943] systemd-journald[188]: Received request to flush runtime journal from PID 1
[    8.850145] cfg80211: failed to load regulatory.db
[    8.990881] mc: Linux media interface: v0.10
[    9.095992] videodev: Linux video capture interface: v2.00
[    9.151770] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    9.159203] sun4i-codec 1c22c00.codec: Failed to register our card
[    9.276085] Bluetooth: Core ver 2.22
[    9.276182] NET: Registered protocol family 31
[    9.276187] Bluetooth: HCI device and connection manager initialized
[    9.276214] Bluetooth: HCI socket layer initialized
[    9.276223] Bluetooth: L2CAP socket layer initialized
[    9.276245] Bluetooth: SCO socket layer initialized
[    9.287986] mali: loading out-of-tree module taints kernel.
[    9.299946] Allwinner sunXi mali glue initialized
[    9.302915] Mali: 
[    9.302923] Found Mali GPU Mali-400 MP r1p1
[    9.303760] Mali: 
[    9.303767] 2+0 PP cores initialized
[    9.305427] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    9.312938] sun4i-codec 1c22c00.codec: Failed to register our card
[    9.315377] Mali: 
[    9.315381] Mali device driver loaded
[    9.349334] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    9.356941] sun4i-codec 1c22c00.codec: Failed to register our card
[    9.372499] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    9.373714] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    9.381149] sun4i-codec 1c22c00.codec: Failed to register our card
[    9.391357] Bluetooth: HCI UART driver ver 2.3
[    9.391373] Bluetooth: HCI UART protocol H4 registered
[    9.391377] Bluetooth: HCI UART protocol BCSP registered
[    9.391381] Bluetooth: HCI UART protocol ATH3K registered
[    9.391804] Bluetooth: HCI UART protocol Intel registered
[    9.392015] Bluetooth: HCI UART protocol Broadcom registered
[    9.392021] Bluetooth: HCI UART protocol AG6XX registered
[    9.392676] Registered IR keymap rc-empty
[    9.392813] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[    9.392977] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
[    9.394659] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[    9.396778] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[    9.398453] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[    9.406006] sun4i-codec 1c22c00.codec: Failed to register our card
[    9.419988] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[    9.424682] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present!
[    9.438397] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[    9.438509] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    9.440504] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    9.462520] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer])
[    9.464409] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_platform_driver_exit [sun4i_tcon])
[    9.464511] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[    9.465691] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    9.466516] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    9.466938] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[    9.466960] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    9.466965] [drm] No driver support for vblank timestamp query.
[    9.467431] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    9.467521] [drm] Cannot find any crtc or sizes
[    9.468323] [drm] Cannot find any crtc or sizes
[    9.575888] Bluetooth: hci0: BCM: chip id 94
[    9.578201] Bluetooth: hci0: BCM: features 0x2e
[    9.601585] Bluetooth: hci0: BCM43430A1
[    9.601610] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[    9.625709] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    9.668526] asix 1-1:1.0 eth1: register 'asix' at usb-1c1a000.usb-1, ASIX AX88772B USB 2.0 Ethernet, 00:50:b6:24:ee:c0
[    9.668786] usbcore: registered new interface driver asix
[   10.040260] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[   10.044996] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[   10.065312] asix 1-1:1.0 enx0050b624eec0: renamed from eth1
[   10.088340] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[   13.283876] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0106
[   14.583144] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   15.707726] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[   15.707758] dwmac-sun8i 1c30000.ethernet eth0: phy: setting supported 00,00000000,000062cf advertising 00,00000000,000062cf
[   15.727735] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   15.727762] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   15.727773] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   15.727791] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   15.727819] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/Unknown/Unknown adv=00,00000000,000062cf pause=10 link=0 an=1
[   15.728883] dwmac-sun8i 1c30000.ethernet eth0: phy link down mii/Unknown/Unknown
[   16.069016] IPv6: ADDRCONF(NETDEV_CHANGE): enx0050b624eec0: link becomes ready
[   16.073295] asix 1-1:1.0 enx0050b624eec0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   30.268814] random: crng init done
[   30.268841] random: 7 urandom warning(s) missed due to ratelimiting
[   32.481393] vcc3v0: disabling
[   32.481430] vcc5v0: disabling
[   53.593285] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  218.171947] Adding 2097148k swap on /var/swap.  Priority:-2 extents:9 across:2564096k SS
ubuntu@bpi-m2z:~$ 

@avafinger
Copy link
Owner

Adding 2097148k swap on /var/swap. Priority:-2 extents:9 across:256409

I think you are running out of memory.
Don't use swap, use zram

It took 53 seconds to get wlan0 up.
You have to be careful when using eth1 and wlan0 (if enabled) at the same time. I think this may be delaying the board, choose one of the two or comment out the wlan interface and see the timings again and vice-versa.

Here is the timings you should expect:

[   12.136151] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0106
[   13.032178] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   13.642996] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[   13.643021] dwmac-sun8i 1c30000.ethernet eth0: phy: setting supported 00,00000000,000062cf advertising 00,00000000,000062cf
[   13.648170] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   13.648195] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   13.648207] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   13.648223] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   13.648245] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/Unknown/Unknown adv=00,00000000,000062cf pause=10 link=0 an=1
[   13.654210] dwmac-sun8i 1c30000.ethernet eth0: phy link up mii/100Mbps/Full
[   13.654226] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/100Mbps/Full adv=00,00000000,00000000 pause=0f link=1 an=0
[   13.654269] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   13.660920] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.358788] random: crng init done
[   22.358846] random: 7 urandom warning(s) missed due to ratelimiting
[   23.806143] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.483655] vcc3v0: disabling
[   32.483686] vcc5v0: disabling

@neilyoung
Copy link
Author

Cool. Thanks for the analysis. Yes, I have added a swap file since I need to compile a VERY big project. Never used zram before, will check. The swap partition is just temporary, will remove it later.

I guess, your memory hypothesis is right. With my first attempts I was monitoring the behaviour with htop. I noticed, that the CPU load was pretty low, but the memory load was "over the top".

Will keep you posted, how it goes with zram.

@neilyoung
Copy link
Author

You are right. It's alive again. Don't ask me why. Other than that: Since I followed your suggestion and flashed a 4.20 kernel: Could that kernel update work at all?

@avafinger
Copy link
Owner

Kernel 4.20 is for the Ubuntu XENIAL.
Kernel 5.3.5 >= are for Ubuntu EOAN.
I don't think it will work.

While you are at Kernel 4.20 try to upgrade to https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.3

@neilyoung
Copy link
Author

That may have been the problem yesterday. Report follows.

@neilyoung
Copy link
Author

neilyoung commented Oct 27, 2019

OK, I have now applied the 5.3.4 kernel update successfully to the 4.20 base installation and also enabled zram again in favour of the ordinary swap thing. Is there any bigger advantage of the new kernel compared to the default installation? As far as I remember you wanted to provide this:

A server Image
This Image has a portion of the memory reserved for the mali for the OpenGLES.
You can get a better performance using this CMA reserved memory for applications.
I will try to build a Server Image this week-end (or tonight), then you give another try..

I suppose, the 5.3.4 kernel deb is not what you meant, right?

I also applied the dtb patch in order to enable SPI and disable BT, but I'm not sure, if it works. Can you see that from the attached dmesg log?

Click to expand
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.3.4 (alex@svn) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #1 SMP Sun Oct 6 15:17:18 -03 2019
[    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 256 MiB at 0x4dc00000
[    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] percpu: Embedded 16 pages/cpu s35340 r8192 d22004 u65536
[    0.000000] pcpu-alloc: s35340 r8192 d22004 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: console=ttyS0,115200 earlyprintk rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait fsck.repair=yes panic=10 no_console_suspend consoleblank=0 drm_leak_fbdev_smem=1
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241864K/524288K available (9216K kernel code, 328K rwdata, 1984K rodata, 1024K init, 269K bss, 20280K reserved, 262144K cma-reserved, 0K highmem)
[    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] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000215] Console: colour dummy device 80x30
[    0.000261] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000273] pid_max: default: 32768 minimum: 301
[    0.000417] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000430] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001196] CPU: Testing write buffer coherency: ok
[    0.001651] CPU0: update cpu_capacity 1024
[    0.001662] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002193] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002323] rcu: Hierarchical SRCU implementation.
[    0.002862] smp: Bringing up secondary CPUs ...
[    0.013612] CPU1: update cpu_capacity 1024
[    0.013619] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024487] CPU2: update cpu_capacity 1024
[    0.024493] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035253] CPU3: update cpu_capacity 1024
[    0.035259] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035349] smp: Brought up 1 node, 4 CPUs
[    0.035372] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035378] CPU: All CPU(s) started in HYP mode.
[    0.035383] CPU: Virtualization extensions available.
[    0.036325] devtmpfs: initialized
[    0.042789] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043024] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.043049] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051514] pinctrl core: initialized pinctrl subsystem
[    0.052620] NET: Registered protocol family 16
[    0.054153] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.055201] cpuidle: using governor menu
[    0.055525] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.055534] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.078670] SCSI subsystem initialized
[    0.078935] libata version 3.00 loaded.
[    0.079149] usbcore: registered new interface driver usbfs
[    0.079206] usbcore: registered new interface driver hub
[    0.079285] usbcore: registered new device driver usb
[    0.079527] pps_core: LinuxPPS API ver. 1 registered
[    0.079535] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.079556] PTP clock support registered
[    0.079952] Advanced Linux Sound Architecture Driver Initialized.
[    0.081266] clocksource: Switched to clocksource arch_sys_counter
[    0.081416] VFS: Disk quotas dquot_6.6.0
[    0.081493] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.089250] thermal_sys: Registered thermal governor 'fair_share'
[    0.089258] thermal_sys: Registered thermal governor 'bang_bang'
[    0.089271] thermal_sys: Registered thermal governor 'step_wise'
[    0.089277] thermal_sys: Registered thermal governor 'user_space'
[    0.089283] thermal_sys: Registered thermal governor 'power_allocator'
[    0.089856] NET: Registered protocol family 2
[    0.090615] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.090644] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.090695] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.090756] TCP: Hash tables configured (established 4096 bind 4096)
[    0.090867] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.090913] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.091144] NET: Registered protocol family 1
[    0.091814] RPC: Registered named UNIX socket transport module.
[    0.091825] RPC: Registered udp transport module.
[    0.091830] RPC: Registered tcp transport module.
[    0.091835] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.092571] Unpacking initramfs...
[    0.135283] Freeing initrd memory: 960K
[    0.137025] Initialise system trusted keyrings
[    0.137371] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.144678] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.146177] NFS: Registering the id_resolver key type
[    0.146217] Key type id_resolver registered
[    0.146224] Key type id_legacy registered
[    0.146240] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.146247] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.147199] fuse: init (API version 7.31)
[    0.147630] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.185446] Key type asymmetric registered
[    0.185463] Asymmetric key parser 'x509' registered
[    0.185576] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.185587] io scheduler mq-deadline registered
[    0.185594] io scheduler kyber registered
[    0.186682] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.190963] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.192809] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.245698] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.248014] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.248898] printk: console [ttyS0] disabled
[    0.269144] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    0.956760] printk: console [ttyS0] enabled
[    0.961526] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    0.992212] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.001348] serial serial0: tty port ttyS1 registered
[    1.027165] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.038604] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    1.049966] libphy: Fixed MDIO Bus: probed
[    1.054325] CAN device driver interface
[    1.058772] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.064572] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.070458] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.077695] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.084918] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.089878] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.096672] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.102336] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.108153] libphy: stmmac: probed
[    1.112185] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    1.118386] libphy: mdio_mux: probed
[    1.122004] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    1.128354] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    1.135212] libphy: mdio_mux: probed
[    1.139266] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.145815] ehci-platform: EHCI generic platform driver
[    1.151230] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.156847] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.164992] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.191282] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.197585] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.205862] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.213084] usb usb1: Product: EHCI Host Controller
[    1.217956] usb usb1: Manufacturer: Linux 5.3.4 ehci_hcd
[    1.223270] usb usb1: SerialNumber: 1c1a000.usb
[    1.228354] hub 1-0:1.0: USB hub found
[    1.232155] hub 1-0:1.0: 1 port detected
[    1.236941] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.243152] ohci-platform: OHCI generic platform driver
[    1.248553] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.255195] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.263123] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.335435] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    1.343716] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.350929] usb usb2: Product: Generic Platform OHCI controller
[    1.356854] usb usb2: Manufacturer: Linux 5.3.4 ohci_hcd
[    1.362171] usb usb2: SerialNumber: 1c1a400.usb
[    1.367162] hub 2-0:1.0: USB hub found
[    1.370937] hub 2-0:1.0: 1 port detected
[    1.375822] usbcore: registered new interface driver usb-storage
[    1.381940] usbcore: registered new interface driver ch341
[    1.387447] usbserial: USB Serial support registered for ch341-uart
[    1.393751] usbcore: registered new interface driver cp210x
[    1.399339] usbserial: USB Serial support registered for cp210x
[    1.405304] usbcore: registered new interface driver ftdi_sio
[    1.411066] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.418475] usbcore: registered new interface driver pl2303
[    1.424094] usbserial: USB Serial support registered for pl2303
[    1.430739] mousedev: PS/2 mouse device common for all mice
[    1.437110] sun6i-rtc 1f00000.rtc: registered as rtc0
[    1.442177] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.446867] i2c /dev entries driver
[    1.452120] thermal thermal_zone0: failed to read out thermal zone (-16)
[    1.459367] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.467828] sun8i-h3-r-pinctrl 1f02c00.pinctrl: 1f02c00.pinctrl supply vcc-pl not found, using dummy regulator
[    1.478431] sun8i-h3-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.514279] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.522228] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    1.551416] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.559684] ledtrig-cpu: registered to indicate activity on CPUs
[    1.565984] hidraw: raw HID events driver (C) Jiri Kosina
[    1.571781] usbcore: registered new interface driver usbhid
[    1.576171] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.577347] usbhid: USB HID core driver
[    1.580298] Initializing XFRM netlink socket
[    1.587385] mmc0: new high speed SDHC card at address 59b4
[    1.589220] NET: Registered protocol family 17
[    1.594945] mmcblk0: mmc0:59b4 USDU1 7.51 GiB 
[    1.599026] can: controller area network core (rev 20170425 abi 9)
[    1.605204]  mmcblk0: p1 p2
[    1.607981] NET: Registered protocol family 29
[    1.616880] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.621330] can: raw protocol (rev 20170425)
[    1.628300] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.631065] can: broadcast manager protocol (rev 20170425 t)
[    1.638043] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.642215] can: netlink gateway (rev 20170425) max_hops=1
[    1.650370] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.653716] 9pnet: Installing 9P2000 support
[    1.662969] Key type dns_resolver registered
[    1.667459] Registering SWP/SWPB emulation handler
[    1.672853] Loading compiled-in X.509 certificates
[    1.688026] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.693671] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    1.701935] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
[    1.706915] random: fast init done
[    1.731268] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.737553] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.745827] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.750176] mmc1: new high speed SDIO card at address 0001
[    1.753055] usb usb3: Product: EHCI Host Controller
[    1.753062] usb usb3: Manufacturer: Linux 5.3.4 ehci_hcd
[    1.768720] usb usb3: SerialNumber: 1c1b000.usb
[    1.773822] hub 3-0:1.0: USB hub found
[    1.777607] hub 3-0:1.0: 1 port detected
[    1.782281] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.787869] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    1.795880] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[    1.831276] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.837517] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.845791] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.853014] usb usb4: Product: EHCI Host Controller
[    1.857886] usb usb4: Manufacturer: Linux 5.3.4 ehci_hcd
[    1.863201] usb usb4: SerialNumber: 1c1c000.usb
[    1.868207] hub 4-0:1.0: USB hub found
[    1.871997] hub 4-0:1.0: 1 port detected
[    1.876564] ehci-platform 1c1d000.usb: EHCI Host Controller
[    1.882168] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    1.890105] ehci-platform 1c1d000.usb: irq 33, io mem 0x01c1d000
[    1.921276] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    1.927503] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    1.935777] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.943001] usb usb5: Product: EHCI Host Controller
[    1.947874] usb usb5: Manufacturer: Linux 5.3.4 ehci_hcd
[    1.953188] usb usb5: SerialNumber: 1c1d000.usb
[    1.958169] hub 5-0:1.0: USB hub found
[    1.961971] hub 5-0:1.0: 1 port detected
[    1.966524] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.973169] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    1.981127] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
[    2.055437] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.063712] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.070924] usb usb6: Product: Generic Platform OHCI controller
[    2.076851] usb usb6: Manufacturer: Linux 5.3.4 ohci_hcd
[    2.082170] usb usb6: SerialNumber: 1c1b400.usb
[    2.087162] hub 6-0:1.0: USB hub found
[    2.090945] hub 6-0:1.0: 1 port detected
[    2.095518] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.102159] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.110104] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[    2.185424] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.193696] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.200909] usb usb7: Product: Generic Platform OHCI controller
[    2.206838] usb usb7: Manufacturer: Linux 5.3.4 ohci_hcd
[    2.212155] usb usb7: SerialNumber: 1c1c400.usb
[    2.217133] hub 7-0:1.0: USB hub found
[    2.220908] hub 7-0:1.0: 1 port detected
[    2.225464] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    2.232112] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    2.240021] ohci-platform 1c1d400.usb: irq 34, io mem 0x01c1d400
[    2.315419] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.03
[    2.323693] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.330905] usb usb8: Product: Generic Platform OHCI controller
[    2.336832] usb usb8: Manufacturer: Linux 5.3.4 ohci_hcd
[    2.342142] usb usb8: SerialNumber: 1c1d400.usb
[    2.347125] hub 8-0:1.0: USB hub found
[    2.350898] hub 8-0:1.0: 1 port detected
[    2.355572] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    2.366644] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.372412] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
[    2.380386] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[    2.388653] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.395875] usb usb9: Product: MUSB HDRC host driver
[    2.400834] usb usb9: Manufacturer: Linux 5.3.4 musb-hcd
[    2.406152] usb usb9: SerialNumber: musb-hdrc.1.auto
[    2.411574] hub 9-0:1.0: USB hub found
[    2.415349] hub 9-0:1.0: 1 port detected
[    2.421363] sun6i-rtc 1f00000.rtc: setting system clock to 2019-10-27T19:15:10 UTC (1572203710)
[    2.430295] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.441141] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.447855] ALSA device list:
[    2.450914] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.451306]   No soundcards found.
[    2.459536] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    2.481941] Freeing unused kernel memory: 1024K
[    2.522176] Run /init as init process
[    2.698388] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.903179] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    3.122289] usb 1-1: New USB device found, idVendor=03e7, idProduct=2150, bcdDevice= 0.01
[    3.132034] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.139588] usb 1-1: Product: Movidius MA2X5X
[    3.145009] usb 1-1: Manufacturer: Movidius Ltd.
[    3.151145] usb 1-1: SerialNumber: 03e72150
[    3.624900] NET: Registered protocol family 10
[    3.706634] Segment Routing with IPv6
[    3.728730] random: systemd: uninitialized urandom read (16 bytes read)
[    3.743474] 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)
[    3.822499] systemd[1]: Detected architecture arm.
[    3.974518] systemd[1]: Set hostname to <bpi-m2z>.
[    4.020241] random: systemd: uninitialized urandom read (16 bytes read)
[    4.117031] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
[    4.649459] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.681700] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.721532] systemd[1]: Reached target Swap.
[    4.752730] systemd[1]: Reached target Remote File Systems (Pre).
[    4.791527] systemd[1]: Reached target Remote File Systems.
[    4.869833] systemd[1]: Created slice System Slice.
[    4.931816] systemd[1]: Created slice User and Session Slice.
[    5.658037] g_serial gadget: Gadget Serial v2.4
[    5.662623] g_serial gadget: g_serial ready
[    5.693795] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    5.726325] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt failed with error -2
[    5.738182] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt
[    5.746552] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    5.768456] Bluetooth: Core ver 2.22
[    5.772242] NET: Registered protocol family 31
[    5.776689] Bluetooth: HCI device and connection manager initialized
[    5.784233] Bluetooth: HCI socket layer initialized
[    5.790549] Bluetooth: L2CAP socket layer initialized
[    5.801392] Bluetooth: SCO socket layer initialized
[    5.827086] Bluetooth: HCI UART driver ver 2.3
[    5.831604] Bluetooth: HCI UART protocol H4 registered
[    5.836738] Bluetooth: HCI UART protocol BCSP registered
[    5.842089] Bluetooth: HCI UART protocol ATH3K registered
[    5.851600] Bluetooth: HCI UART protocol Intel registered
[    5.863442] Bluetooth: HCI UART protocol Broadcom registered
[    5.869321] Bluetooth: HCI UART protocol AG6XX registered
[    5.933345] Bluetooth: RFCOMM TTY layer initialized
[    5.939646] Bluetooth: RFCOMM socket layer initialized
[    5.950083] Bluetooth: RFCOMM ver 1.11
[    6.058690] Bluetooth: hci0: BCM: chip id 94
[    6.065440] Bluetooth: hci0: BCM: features 0x2e
[    6.093408] Bluetooth: hci0: BCM43430A1
[    6.097280] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[    6.104069] bluetooth hci0: Direct firmware load for brcm/BCM43430A1.hcd failed with error -2
[    6.112669] bluetooth hci0: Falling back to sysfs fallback for: brcm/BCM43430A1.hcd
[    6.853397] systemd-journald[187]: Received request to flush runtime journal from PID 1
[    7.116395] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    7.153502] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available
[    7.159906] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Mar 30 2016 11:30:56 version 7.45.77.h8.4 FWID 01-ee8a6268
[    7.183589] cfg80211: failed to load regulatory.db
[   32.481691] vcc3v0: disabling
[   32.481751] vcc5v0: disabling
[   69.604908] Bluetooth: hci0: BCM: Patch brcm/BCM43430A1.hcd not found
[   69.921745] mc: Linux media interface: v0.10
[   69.938396] videodev: Linux video capture interface: v2.00
[   69.988636] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[   70.015478] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[   70.040830] sun4i-codec 1c22c00.codec: ASoC: codec-analog@1f015c0 not registered
[   70.048428] sun4i-codec 1c22c00.codec: Failed to register our card
[   70.078692] mali: loading out-of-tree module taints kernel.
[   70.099620] Allwinner sunXi mali glue initialized
[   70.099829] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present!
[   70.103799] Mali: 
[   70.103808] Found Mali GPU Mali-400 MP r1p1
[   70.146672] Registered IR keymap rc-empty
[   70.146962] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[   70.147344] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
[   70.149308] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[   70.161503] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[   70.163237] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[   70.163656] Mali: 
[   70.163662] 2+0 PP cores initialized
[   70.164888] Mali: 
[   70.164895] Mali device driver loaded
[   70.165766] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[   70.189952] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer])
[   70.190663] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_platform_driver_exit [sun4i_tcon])
[   70.190831] sun8i-dw-hdmi 1ee0000.hdmi: 1ee0000.hdmi supply hvcc not found, using dummy regulator
[   70.193864] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[   70.195261] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[   70.195815] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_drm_hdmi])
[   70.195829] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   70.195834] [drm] No driver support for vblank timestamp query.
[   70.200274] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[   70.200543] [drm] Cannot find any crtc or sizes
[   70.330677] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[   70.651655] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   71.204554] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[   71.204579] dwmac-sun8i 1c30000.ethernet eth0: phy: setting supported 00,00000000,000062cf advertising 00,00000000,000062cf
[   71.228895] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   71.228935] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   71.228955] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   71.228976] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   71.229020] dwmac-sun8i 1c30000.ethernet eth0: phylink_mac_config: mode=phy/mii/Unknown/Unknown adv=00,00000000,000062cf pause=10 link=0 an=1
[   71.230076] dwmac-sun8i 1c30000.ethernet eth0: phy link down mii/Unknown/Unknown
[   71.793525] zram: Added device: zram0
[   71.795202] zram: Added device: zram1
[   71.796386] zram: Added device: zram2
[   71.797528] zram: Added device: zram3
[   71.897790] zram0: detected capacity change from 0 to 64770048
[   72.091355] Adding 63248k swap on /dev/zram0.  Priority:5 extents:1 across:63248k SS
[   72.093579] zram1: detected capacity change from 0 to 64770048
[   72.180746] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   72.180760] Bluetooth: BNEP filters: protocol multicast
[   72.180788] Bluetooth: BNEP socket layer initialized
[   72.181829] Adding 63248k swap on /dev/zram1.  Priority:5 extents:1 across:63248k SS
[   72.185898] zram2: detected capacity change from 0 to 64770048
[   72.261320] Adding 63248k swap on /dev/zram2.  Priority:5 extents:1 across:63248k SS
[   72.263128] zram3: detected capacity change from 0 to 64770048
[   72.424355] Adding 63248k swap on /dev/zram3.  Priority:5 extents:1 across:63248k SS
[   73.115206] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   96.361696] usb 1-1: USB disconnect, device number 2
[   96.946021] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   97.147888] usb 1-1: New USB device found, idVendor=8087, idProduct=0b37, bcdDevice=ff.ff
[   97.147906] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   97.147916] usb 1-1: Product: Intel(R) RealSense(TM) Tracking Camera T265
[   97.147926] usb 1-1: Manufacturer: Intel(R) Corporation
[   97.147936] usb 1-1: SerialNumber: 9291221101120000
[  149.641298] random: crng init done
[  149.641319] random: 7 urandom warning(s) missed due to ratelimiting

The T265 is working fine. The 15 m load (htop) is about 2 - 2.6, I'm achieving the frame (pose) rate I need and the chip's temperature is between 40 and 45 degrees C.

EDIT: At least an spidev exists:

crw------- 1 root root 153, 0 Oct 27 19:16 /dev/spidev0.0

Thanks

@avafinger
Copy link
Owner

Here is Kernel 5.3.7-server for Ubuntu 16.04 if you want to test it:

https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.7

@neilyoung
Copy link
Author

Cool Thanks. Will test. Would that be the way? Install 4.20 first, then 5.3.7-server on top?

@avafinger
Copy link
Owner

yes

@neilyoung
Copy link
Author

neilyoung commented Oct 27, 2019

Works, but what is the advantage? The memory footprint seems to be smaller and the 15 min htop load value is surprisingly < 2 (whereas the current and the 5 min values are above). Maybe this will change within the next 15 minutes.

The BT log looks similar, so I suppose, I was not able to disable BT with my dtb compilation last time.

EDIT: Since I didn't patch the device tree there is no spidev. At least this seemed to have worked.

@neilyoung
Copy link
Author

It takes 1:45 min until my script runs. Is there any chance to speed up the start?

@neilyoung
Copy link
Author

Hello? :)

@avafinger
Copy link
Owner

Please, use sudo htop and monitor which process is taken so long. Order it with %cpou usage.
Usually, ubuntu tries to update the packages automatically every boot. I can't remember if i disabled it or not.

Put your script here as code here ou publish it somewhere we can access it, so anyone can have a look at and give some advice.

@avafinger
Copy link
Owner

Just in case:

sudo apt-get remove --purge unattended-upgrades

@neilyoung
Copy link
Author

Thanks. unattended-upgrades wasn't installed.

Please, use sudo htop and monitor which process is taken so long

Is it possible to monitor the startup by this?

@neilyoung
Copy link
Author

Found another command:

ubuntu@bpi-m2z:~/intelrealsense$ systemd-analyze blame
     1min 5.721s dev-mmcblk0p2.device
          8.270s networking.service
          1.409s console-setup.service
          1.356s dphys-swapfile.service
          1.067s systemd-logind.service
          1.050s bluetooth.service
          1.020s ondemand.service
           954ms resolvconf.service
           840ms alsa-restore.service
           832ms systemd-udev-trigger.service
           818ms systemd-user-sessions.service
           765ms dev-mqueue.mount
           761ms kmod-static-nodes.service
           743ms zram-config.service
           723ms keyboard-setup.service
           689ms sys-kernel-debug.mount
           577ms rsyslog.service
           573ms user@1000.service
           545ms systemd-journald.service
           510ms systemd-modules-load.service
           470ms systemd-remount-fs.service
           439ms systemd-journal-flush.service
           438ms ssh.service
           367ms dev-zram0.device
           350ms dev-zram1.device
           319ms systemd-random-seed.service
           275ms systemd-sysctl.service
           260ms systemd-tmpfiles-setup-dev.service
           212ms sys-kernel-config.mount
           202ms systemd-fsck@dev-mmcblk0p1.service
           192ms dev-zram3.device
           152ms hostapd.service
           151ms dev-zram2.device
           138ms systemd-update-utmp.service
           133ms systemd-rfkill.service
           115ms sys-fs-fuse-connections.mount
           107ms setvtrgb.service
           103ms systemd-update-utmp-runlevel.service
           103ms systemd-udevd.service
           102ms rc-local.service
            94ms systemd-tmpfiles-setup.service
            61ms ureadahead-stop.service
            39ms systemd-timesyncd.service
            36ms boot.mount

dev-mmcblk0p2.device is the file system check, isn't it? OK, I don't need that, if I would manage to make the SD file system r/o. There are some tutorials out, how to achieve that with Raspbian. Do you know by chance, what to do here?

@avafinger
Copy link
Owner

Try this (search internet how to do this):

  • decompile the file /boot/bpi-m2-zero_boot.cmd
  • remove fsck.repair=${fsck.repair}
  • recompile it

Boot with this new configuration and check the times again, also:

systemd-analyze time
Startup finished in 1.785s (kernel) + 8.920s (userspace) = 10.705s
graphical.target reached after 8.390s in userspace

Ask yourself why you have 1min 5.721s to fsck your sd card.

@neilyoung
Copy link
Author

Ask yourself why you have 1min 5.721s to fsck your sd card.

I did. Got no answer so far. What do you mean by that? It is a brand new, non-cheap 8 GB SD card. What else do you need? I don't have a golden card for this device :)

Other than that: As far as I know linux an fsck is only done after an unexpected power down. Even if I shutdown -h now the same procedure starts at next boot.

@neilyoung
Copy link
Author

Nobody knows about how to decompile that file. I think I'm giving up with the Banana and return to the PI again. Thanks for helping

@avafinger
Copy link
Owner

Recompile with:

cd /media/alex/boot/

sudo mkimage -C none -A arm -T script -d bpi-m2-zero_boot.cmd bpi-m2-zero_boot.scr

@neilyoung
Copy link
Author

I was looking for decompiling first... No hint

@avafinger
Copy link
Owner

For reference, a good sd card (mine) :

ubuntu@bpi-m2z:~$ systemd-analyze blame
          6.129s dev-mmcblk0p2.device
          2.872s systemd-rfkill.service
          2.780s networking.service
          2.217s apt-daily.service
          1.685s console-setup.service
          1.444s apt-daily-upgrade.service
          1.350s systemd-logind.service
           983ms zram-config.service
           902ms ondemand.service
           858ms systemd-user-sessions.service
           790ms systemd-udev-trigger.service
           553ms resolvconf.service
           505ms user@1000.service
           471ms keyboard-setup.service
           469ms alsa-restore.service
           467ms systemd-journald.service
           448ms kmod-static-nodes.service
           424ms sys-kernel-debug.mount
           406ms ssh.service
           387ms systemd-modules-load.service
           386ms systemd-remount-fs.service
           375ms motd-news.service
           354ms systemd-sysctl.service


ubuntu@bpi-m2z:~$ systemd-analyze time 
Startup finished in 3.296s (kernel) + 12.148s (userspace) = 15.445s

You can get a faster card > 8GB and expand it to have full size.

@neilyoung
Copy link
Author

Nice. No fsck. Still don't know, how to decompile yet. What kind of card is that? Type? Brand?

@avafinger
Copy link
Owner

avafinger commented Nov 1, 2019

You just need to compile the file (sorry if i wrote to decompile, i am busy doing things in parallel here, no free time...).
Just edit and change the file bpi-m2-zero_boot.cmd and recompile to bpi-m2-zero_boot.scr
sudo mkimage -C none -A arm -T script -d bpi-m2-zero_boot.cmd bpi-m2-zero_boot.scr

The reference i gave you is for the 16GB Sandisk Ultra 45 MB/s. Running Ubuntu 16.04, no BT, with eth0 and wlan0.
Here is for the 8GB (dirt and cheap, no brand, possibly Chinese), with everything enabled.

Welcome to Ubuntu 19.10 (GNU/Linux 5.3.7 armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Last login: Sun Oct 20 21:29:08 2019
ubuntu@bpi-m2z:~$ systemd-analyze blame
          8.581s ssh.service
          7.703s apt-daily.service
          6.944s dev-mmcblk0p2.device
          6.168s man-db.service
          5.407s zram-config.service
          3.883s apt-daily-upgrade.service
          3.076s networkd-dispatcher.service
          2.643s networking.service
          2.498s fstrim.service
          2.204s logrotate.service
          2.191s e2scrub_reap.service
          2.089s snapd.service
          2.049s e2scrub_all.service
          2.026s ifupdown-pre.service
          1.310s systemd-logind.service
          1.286s user@1000.service
          1.146s bluetooth.service
          1.016s wpa_supplicant.service
           948ms systemd-udev-trigger.service
           784ms dhclient.service
           765ms systemd-resolved.service
           764ms resolvconf-pull-resolved.service
           706ms motd-news.service
ubuntu@bpi-m2z:~$ uname -0ra
uname: invalid option -- '0'
Try 'uname --help' for more information.
ubuntu@bpi-m2z:~$ uname -ra
Linux bpi-m2z 5.3.7 #2 SMP Sun Oct 20 17:32:54 -03 2019 armv7l armv7l armv7l GNU/Linux
ubuntu@bpi-m2z:~$ systemd-analyze time
Startup finished in 3.949s (kernel) + 22.376s (userspace) = 26.325s 
graphical.target reached after 22.292s in userspace
ubuntu@bpi-m2z:~$ df -lh
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p2  7.2G  1.3G  5.6G  19% /
devtmpfs        119M     0  119M   0% /dev
tmpfs           248M     0  248M   0% /dev/shm
tmpfs            50M  2.8M   47M   6% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           248M     0  248M   0% /sys/fs/cgroup
/dev/mmcblk0p1   93M   13M   74M  15% /boot
tmpfs            50M  4.0K   50M   1% /run/user/1000
ubuntu@bpi-m2z:~$ 

Do you have a linux box?
I will take a picture of the cards here...

@neilyoung
Copy link
Author

Thanks. Yes I have a linux box. Will change and compile. I also have a SanDisk Ultra microSDHC UHS-I 32 GB here. Sufficient?

@avafinger
Copy link
Owner

Yes, check the picture.
Flash the Image with this instruction and then upgrade to the latest kernel (XENIAL).
With this steps you get all the 32GB.

Here is the 16GB and the dirt and cheap 8GB with the best and cheapest 32 GB i found here.

IMG_20191101_095534

@neilyoung
Copy link
Author

yes, exactly the same here. Not the one which needs 1.5 min, but on the desk and in use soon.

Do you have any information (not now necessarily if you are busy), how to make the filesystem read only?

@avafinger
Copy link
Owner

avafinger commented Nov 1, 2019

Forgot to link the instructions: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v15

Unfortunately, i don't have experience with RO fs. But i think you should use Ubuntu 16.04, remove the unnecessary services (bt, journaling, and the annoying ubuntu default services you can get better results than this). Don't forget to update the u-boot to get rid of the 3 seconds wait at boot time.

@neilyoung
Copy link
Author

:) No you didn't forget. We had that 200 posts up already :) I know about. Thanks

@neilyoung
Copy link
Author

The ETH and SSH resistance of this image is really impressive. I'm now at the at least 6th fresh installation and it is nearly impossible to have a headless startup "out of the box". Very strange...

@neilyoung
Copy link
Author

After the second flash it works better now:

ubuntu@bpi-m2z:~$ systemd-analyze blame
          9.231s networking.service
          3.047s dev-mmcblk0p2.device
          1.853s console-setup.service
          1.335s systemd-logind.service
          1.086s ondemand.service
           928ms alsa-restore.service
           832ms zram-config.service
           791ms rsyslog.service
           779ms systemd-user-sessions.service
           741ms systemd-udev-trigger.service
           516ms resolvconf.service
           488ms keyboard-setup.service
           419ms ssh.service
           343ms systemd-modules-load.service
           335ms dev-zram1.device
           320ms sys-kernel-debug.mount
           318ms systemd-journald.service
           311ms dev-zram3.device
           306ms systemd-journal-flush.service
           305ms kmod-static-nodes.service
           304ms sys-kernel-config.mount
           299ms systemd-tmpfiles-setup.service
           276ms systemd-sysctl.service
           259ms dev-zram2.device
           253ms systemd-remount-fs.service
           244ms sys-fs-fuse-connections.mount
           230ms dev-mqueue.mount
           217ms systemd-random-seed.service
           214ms systemd-fsck@dev-mmcblk0p1.service
           202ms systemd-tmpfiles-setup-dev.service
           191ms dev-zram0.device
           159ms systemd-update-utmp.service
           113ms hostapd.service
            90ms systemd-update-utmp-runlevel.service
            83ms rc-local.service
            77ms systemd-udevd.service
            69ms setvtrgb.service
            56ms systemd-timesyncd.service
            42ms boot.mount
            30ms systemd-rfkill.service

About 15 s up to the SSH prompt. Not too bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants