atop 2.x compatiblity with current sunxi linux kernels

As usual there there plenty of updated kernels available at: https://dl.danand.de/cubieboard/experiments/

Quite interesting is the latest set, which works fine with atop 2.2.x ( atopacctd to be exact). If you plan to upgrade to Ubuntu Zesty and you currently use atop, please update your kernel to one of the following packages or ensure that CONFIG_BSD_PROCESS_ACCT is activated:

# sudo gzip -dc /proc/config.gz |grep CONFIG_BSD_PROCESS_ACCT
 CONFIG_BSD_PROCESS_ACCT=y
 CONFIG_BSD_PROCESS_ACCT_V3=y

It’s activated and tested in:

4.4.69-a:
https://dl.danand.de/cubieboard/experiments/4.4.69-a.tgz

4.9.29-a:
https://dl.danand.de/cubieboard/experiments/4.9.29-a.tgz

4.10.17-a:
https://dl.danand.de/cubieboard/experiments/4.10.17-a.tgz

4.11.2-a:
https://dl.danand.de/cubieboard/experiments/4.11.2-a.tgz

4.12-Release-Candidate2-a:
https://dl.danand.de/cubieboard/experiments/4.12-rc2-a.tgz

They all run sucessfully on my Cubieboard A20, Cubietruck A20 and Banana PI A20

 

booting up Kernel 3.18.0 on Cubieboard A20

U-Boot 2015.01-rc3-00069-gfc9b0b8-dirty (Dec 12 2014 - 06:02:51) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
I2C: ready
DRAM: 1016 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
Reserved 8192kB of RAM for Framebuffer.
HDMI connected.
Setting up a 1024x768 console.
In: serial
Out: vga
Err: vga
SCSI: SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 
Net: dwmac.1c50000
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 4 USB Device(s) found
 scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0...
Found U-Boot script /boot.scr
reading /boot.scr
303 bytes read in 22 ms (12.7 KiB/s)
## Executing script at 43100000
reading uImage
3390112 bytes read in 203 ms (15.9 MiB/s)
reading sun7i-a20-cubieboard2.dtb
22767 bytes read in 38 ms (585 KiB/s)
## Booting kernel from Legacy Image at 46000000 ...
 Image Name: Linux-3.18.0-31436-gaacb9d5
 Image Type: ARM Linux Kernel Image (uncompressed)
 Data Size: 3390048 Bytes = 3.2 MiB
 Load Address: 40008000
 Entry Point: 40008000
 Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
 Booting using the fdt blob at 0x49000000
 Loading Kernel Image ... OK
 Loading Device Tree to 4fff7000, end 4ffff8ee ... OK
Cannot setup simplefb: node not found
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.18.0-31436-gaacb9d5 (daniel@danand.de) (gcc version 4.9.1 (Ubuntu/Linaro 4.9.1-16ubuntu6)4
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Cubietech Cubieboard2
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] PERCPU: Embedded 10 pages/cpu @eefdf000 s8384 r8192 d24384 u40960
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258576
[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait pa0
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1024460K/1040384K available (4674K kernel code, 229K rwdata, 1348K rodata, 264K init, 255K bss, 1)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05e9cf0 (6024 kB)
[ 0.000000] .init : 0xc05ea000 - 0xc062c000 ( 264 kB)
[ 0.000000] .data : 0xc062c000 - 0xc0665440 ( 230 kB)
[ 0.000000] .bss : 0xc0665440 - 0xc06a5264 ( 256 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[ 0.000021] Switching to timer-based delay loop, resolution 41ns
[ 0.000299] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[ 0.000429] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns
[ 0.000610] Console: colour dummy device 80x30
[ 0.000974] console [tty0] enabled
[ 0.001004] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001030] pid_max: default: 32768 minimum: 301
[ 0.001164] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001185] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001761] CPU: Testing write buffer coherency: ok
[ 0.002067] /cpus/cpu@0 missing clock-frequency property
[ 0.002095] /cpus/cpu@1 missing clock-frequency property
[ 0.002115] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002306] Setting up static identity map for 0x404756e8 - 0x40475740
[ 0.003643] CPU1: Booted secondary processor
[ 0.003691] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.003767] Brought up 2 CPUs
[ 0.003815] SMP: Total of 2 processors activated.
[ 0.003827] CPU: All CPU(s) started in HYP mode.
[ 0.003839] CPU: Virtualization extensions available.
[ 0.004518] devtmpfs: initialized
[ 0.008329] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.008871] pinctrl core: initialized pinctrl subsystem
[ 0.009296] regulator-dummy: no parameters
[ 0.014578] NET: Registered protocol family 16
[ 0.014991] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.043748] cpuidle: using governor ladder
[ 0.073760] cpuidle: using governor menu
[ 0.078086] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.078122] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.086064] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0,e
[ 0.086121] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral
[ 0.086161] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pine
[ 0.086189] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral
[ 0.086223] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pine
[ 0.086250] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral
[ 0.086450] vcc3v0: 3000 mV 
[ 0.086661] vcc3v3: 3300 mV 
[ 0.086869] vcc5v0: 5000 mV 
[ 0.087432] SCSI subsystem initialized
[ 0.087989] usbcore: registered new interface driver usbfs
[ 0.088080] usbcore: registered new interface driver hub
[ 0.088152] usbcore: registered new device driver usb
[ 0.088307] pps_core: LinuxPPS API ver. 1 registered
[ 0.088323] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.088363] PTP clock support registered
[ 0.089359] Switched to clocksource arch_sys_counter
[ 0.098515] NET: Registered protocol family 2
[ 0.099148] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.099252] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.099433] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.099542] TCP: reno registered
[ 0.099564] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.099633] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.099886] NET: Registered protocol family 1
[ 0.100287] RPC: Registered named UNIX socket transport module.
[ 0.100314] RPC: Registered udp transport module.
[ 0.100327] RPC: Registered tcp transport module.
[ 0.100339] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.101106] kvm [1]: interrupt-controller@1c84000 IRQ25
[ 0.101360] kvm [1]: timer IRQ27
[ 0.101391] kvm [1]: Hyp mode initialized successfully
[ 0.101924] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.103008] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.111000] zpool: loaded
[ 0.111039] zbud: loaded
[ 0.114545] NFS: Registering the id_resolver key type
[ 0.114632] Key type id_resolver registered
[ 0.114646] Key type id_legacy registered
[ 0.114722] ntfs: driver 2.1.31 [Flags: R/W].
[ 0.116274] bounce: pool size: 64 pages
[ 0.116552] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.116584] io scheduler noop registered
[ 0.116603] io scheduler deadline registered
[ 0.116647] io scheduler cfq registered (default)
[ 0.116955] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral
[ 0.119245] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.119807] xenfs: not registering filesystem on non-xen platform
[ 0.173351] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.176417] console [ttyS0] disabled
[ 0.196621] dw-apb-uart 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[ 0.859818] console [ttyS0] enabled
[ 0.864633] zram: Created 1 device(s) ...
[ 0.869493] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral
[ 0.876806] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 0.886087] stmmaceth 1c50000.ethernet: no regulator found
[ 0.891684] stmmaceth 1c50000.ethernet: no reset control found
[ 0.897523] Ring mode enabled
[ 0.900593] No HW DMA feature register supported
[ 0.905122] Normal descriptors
[ 0.908451] TX Checksum insertion supported
[ 0.916615] libphy: stmmac: probed
[ 0.920065] eth0: PHY ID 00008201 at 1 IRQ POLL (stmmac-0:01) active
[ 0.926591] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.933145] ehci-platform: EHCI generic platform driver
[ 0.938546] platform 1c14000.usb: Driver ehci-platform requests probe deferral
[ 0.945878] platform 1c1c000.usb: Driver ehci-platform requests probe deferral
[ 0.953213] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.959440] ohci-platform: OHCI generic platform driver
[ 0.964786] platform 1c14400.usb: Driver ohci-platform requests probe deferral
[ 0.972100] platform 1c1c400.usb: Driver ohci-platform requests probe deferral
[ 0.979492] usbcore: registered new interface driver uas
[ 0.984880] usbcore: registered new interface driver usb-storage
[ 0.990945] usbcore: registered new interface driver ums-alauda
[ 0.996916] usbcore: registered new interface driver ums-cypress
[ 1.002971] usbcore: registered new interface driver ums-datafab
[ 1.009015] usbcore: registered new interface driver ums_eneub6250
[ 1.015245] usbcore: registered new interface driver ums-freecom
[ 1.021311] usbcore: registered new interface driver ums-isd200
[ 1.027274] usbcore: registered new interface driver ums-jumpshot
[ 1.033417] usbcore: registered new interface driver ums-karma
[ 1.039289] usbcore: registered new interface driver ums-onetouch
[ 1.045461] usbcore: registered new interface driver ums-realtek
[ 1.051519] usbcore: registered new interface driver ums-sddr09
[ 1.057478] usbcore: registered new interface driver ums-sddr55
[ 1.063448] usbcore: registered new interface driver ums-usbat
[ 1.069903] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[ 1.076705] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 1.081257] i2c /dev entries driver
[ 1.089978] axp20x 0-0034: AXP20X driver loaded
[ 1.095865] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.104412] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 1.110383] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.149628] sunxi-mmc 1c0f000.mmc: base:0xf00ba000 irq:64
[ 1.155953] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.162127] usbcore: registered new interface driver usbhid
[ 1.167725] usbhid: USB HID core driver
[ 1.172219] TCP: cubic registered
[ 1.175577] NET: Registered protocol family 17
[ 1.180190] Key type dns_resolver registered
[ 1.184654] Registering SWP/SWPB emulation handler
[ 1.192012] ahci-5v: 5000 mV 
[ 1.195421] usb1-vbus: 5000 mV 
[ 1.198897] usb2-vbus: 5000 mV 
[ 1.239250] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.251609] mmc0: new high speed SDHC card at address aaaa
[ 1.257582] mmcblk0: mmc0:aaaa SU16G 14.8 GiB 
[ 1.263636] mmcblk0: p1 p2 p3
[ 1.269492] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 1.277039] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 1.284234] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 1.293214] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc 
[ 1.302558] scsi host0: ahci_platform
[ 1.306605] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[ 1.314931] ehci-platform 1c14000.usb: EHCI Host Controller
[ 1.320571] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 1.328434] ehci-platform 1c14000.usb: irq 71, io mem 0x01c14000
[ 1.349383] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 1.355746] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.362566] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.369803] usb usb1: Product: EHCI Host Controller
[ 1.374683] usb usb1: Manufacturer: Linux 3.18.0-31436-gaacb9d5 ehci_hcd
[ 1.381394] usb usb1: SerialNumber: 1c14000.usb
[ 1.386672] hub 1-0:1.0: USB hub found
[ 1.390524] hub 1-0:1.0: 1 port detected
[ 1.395152] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 1.400798] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 1.408674] ehci-platform 1c1c000.usb: irq 72, io mem 0x01c1c000
[ 1.429372] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 1.435734] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.442557] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.449796] usb usb2: Product: EHCI Host Controller
[ 1.454677] usb usb2: Manufacturer: Linux 3.18.0-31436-gaacb9d5 ehci_hcd
[ 1.461388] usb usb2: SerialNumber: 1c1c000.usb
[ 1.466639] hub 2-0:1.0: USB hub found
[ 1.470487] hub 2-0:1.0: 1 port detected
[ 1.475098] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 1.481779] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 1.489675] ohci-platform 1c14400.usb: irq 96, io mem 0x01c14400
[ 1.553595] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.560423] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.567651] usb usb3: Product: Generic Platform OHCI controller
[ 1.573583] usb usb3: Manufacturer: Linux 3.18.0-31436-gaacb9d5 ohci_hcd
[ 1.580296] usb usb3: SerialNumber: 1c14400.usb
[ 1.585549] hub 3-0:1.0: USB hub found
[ 1.589406] hub 3-0:1.0: 1 port detected
[ 1.594023] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 1.600710] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 1.608581] ohci-platform 1c1c400.usb: irq 97, io mem 0x01c1c400
[ 1.649384] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.673595] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.680423] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.687650] usb usb4: Product: Generic Platform OHCI controller
[ 1.693584] usb usb4: Manufacturer: Linux 3.18.0-31436-gaacb9d5 ohci_hcd
[ 1.700301] usb usb4: SerialNumber: 1c1c400.usb
[ 1.705583] hub 4-0:1.0: USB hub found
[ 1.709433] hub 4-0:1.0: 1 port detected
[ 1.713916] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-01 00:01:45 UTC (105)
[ 1.725974] vcc5v0: disabling
[ 1.728982] vcc3v0: disabling
[ 1.767067] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.775276] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.789958] devtmpfs: mounted
[ 1.793241] Freeing unused kernel memory: 264K (c05ea000 - c062c000)
[ 1.799459] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 1.950152] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101
[ 1.956938] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.964133] usb 2-1: Product: USB 2.0 Hub
[ 1.969127] hub 2-1:1.0: USB hub found
[ 1.973133] hub 2-1:1.0: 4 ports detected
[ 2.230359] random: init urandom read with 6 bits of entropy available
[ 2.269812] usb 2-1.3: new low-speed USB device number 3 using ehci-platform
[ 2.297000] init: Failed to spawn ureadahead main process: unable to execute: No such file or directory
[ 2.405694] usb 2-1.3: New USB device found, idVendor=046a, idProduct=0023
[ 2.412748] usb 2-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.432632] input: HID 046a:0023 as /devices/soc@01c00000/1c1c000.usb/usb2/2-1/2-1.3/2-1.3:1.0/0003:046A:0023.0001/in0
[ 2.444917] cherry 0003:046A:0023.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 046a:0023] on usb-1c1c000.usb-1.3/0
[ 2.462705] init: plymouth-upstart-bridge main process (61) terminated with status 1
[ 2.463159] input: HID 046a:0023 as /devices/soc@01c00000/1c1c000.usb/usb2/2-1/2-1.3/2-1.3:1.1/0003:046A:0023.0002/in1
[ 2.463514] cherry 0003:046A:0023.0002: input,hidraw1: USB HID v1.11 Device [HID 046a:0023] on usb-1c1c000.usb-1.3/in1
[ 2.493259] init: plymouth-upstart-bridge main process ended, respawning
[ 2.539694] usb 2-1.4: new low-speed USB device number 4 using ehci-platform
[ 2.676285] usb 2-1.4: New USB device found, idVendor=046d, idProduct=c046
[ 2.683357] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.690797] usb 2-1.4: Product: USB Optical Mouse
[ 2.695558] usb 2-1.4: Manufacturer: Logitech
[ 2.708231] input: Logitech USB Optical Mouse as /devices/soc@01c00000/1c1c000.usb/usb2/2-1/2-1.4/2-1.4:1.0/0003:046D2
[ 2.733772] hid-generic 0003:046D:C046.0003: input,hidraw2: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb-10
[ 3.056565] init: cgmanager main process (115) terminated with status 127
[ 3.065430] init: cgmanager main process ended, respawning
 * Starting Mount filesystems on boot[ OK ]
 * Starting Signal sysvinit that the rootfs is mounted[ OK ]
 * Starting Fix-up sensitive /proc filesystem entries[ OK ]
 * Starting Populate /dev filesystem[ OK ]
 * Stopping Fix-up sensitive /proc filesystem entries[ OK ]
 * Stopping Populate /dev filesystem[ OK ]
 * Starting Fix-up /sys/kernel/debug filesystem[ OK ]
 * Stopping Fix-up /sys/kernel/debug filesystem[ OK ]
 * Starting Clean /tmp directory[ OK ]
 * Starting Populate and link to /run filesystem[ OK ]
 * Stopping Clean /tmp directory[ OK ]
 * Starting cgroup management daemon[ OK ]
 * Stopping Populate and link to /run filesystem[ OK ]
 * Stopping Track if upstart is running in a container[ OK ]
 * Stopping cgroup management proxy[ OK ]
 * Starting Initialize or finalize resolvconf[ OK ]
 * Starting set console keymap[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Signal sysvinit that virtual filesystems are mounted[ OK ]
 * Starting Bridge udev events into upstart[ OK ]
 * Stopping set console keymap[ OK ]
 * Starting Signal sysvinit that local filesystems are mounted[ OK ]
 * Starting device node and kernel event manager[ OK ]
 * Starting Signal sysvinit that remote filesystems are mounted[ OK ]
 * Starting load modules from /etc/modules[ OK ]
 * Starting log initial device creation[ OK ]
 * Starting cold plug devices[ OK ]
 * Starting NFSv4 id <-> name mapper[fail]
 * Starting flush early job output to logs[ OK ]
 * Starting Load gator driver module and launch gator daemon[ OK ]
 * Starting D-Bus system message bus[ OK ]
 * Starting Load gator driver module and launch gator daemon[fail]
 * Stopping Mount filesystems on boot[ OK ]
 * Stopping load modules from /etc/modules[ OK ]
 * Stopping flush early job output to logs[ OK ]
 * Stopping rpcsec_gss daemon[ OK ]
 * Starting system logging daemon[ OK ]
 * Starting mDNS/DNS-SD daemon[ OK ]
 * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
 * Stopping cold plug devices[ OK ]
 * Stopping log initial device creation[ OK ]
 * Starting load fallback graphics devices[ OK ]
 * Starting configure network device security[ OK ]
 * Stopping Reload cups, upon starting avahi-daemon to make sure remote queues are populated[ OK ]
 * Starting configure network device security[ OK ]
 * Starting configure network device security[ OK ]
 * Starting configure network device security[ OK ]
 * Starting save udev log and update rules[ OK ]
 * Starting Uncomplicated firewall[ OK ]
 * Starting configure network device[ OK ]
 * Stopping load fallback graphics devices[ OK ]
 * Starting Mount network filesystems[ OK ]
 * Starting Upstart job to start rpcbind on boot only[ OK ]
 * Starting userspace bootsplash[ OK ]
 * Starting Failsafe Boot Delay[ OK ]
 * Stopping Upstart job to start rpcbind on boot only[ OK ]
 * Stopping userspace bootsplash[ OK ]
 * Starting Send an event to indicate plymouth is up[ OK ]
 * Starting SMB/CIFS File Server[ OK ]
 * Stopping Mount network filesystems[ OK ]
 * Stopping Send an event to indicate plymouth is up[ OK ]
 * Starting configure virtual network devices[ OK ]
 * Starting RPC portmapper replacement[ OK ]
 * Stopping Failsafe Boot Delay[ OK ]
 * Starting Pre-cache and pre-load apparmor profiles[ OK ]
 * Stopping Pre-cache and pre-load apparmor profiles[ OK ]
 * Starting System V initialisation compatibility[ OK ]
 * Starting configure network device[ OK ]
 * Starting Bridge socket events into upstart[ OK ]
 * Starting Bridge file events into upstart[ OK ]
 * Stopping System V initialisation compatibility[ OK ]
 * Starting System V runlevel compatibility[ OK ]
 * Starting save kernel messages[ OK ]
 * Starting deferred execution scheduler[ OK ]
* Starting regular background program processing daemon[ OK ]
 * Starting CPU interrupts balancing daemon[ OK ]
 * Starting cups-browsed - Bonjour remote printer browsing daemon[ OK ]
 * Restoring resolver state... * Starting OpenSSH server[ OK ]
[ OK ]
Last login: Thu Jan 1 01:00:44 CET 1970 on tty1
Welcome to Ubuntu 14.10 (GNU/Linux 3.18.0-31436-gaacb9d5 armv7l)
* Documentation: https://help.ubuntu.com/
 * Stopping save kernel messages[ OK ]
Starting syncthiing for linaro
[ OK ]rting uuid generator uuidd 
Starting MySQL Server[ OK ]
 * Stopping OpenSSH server[ OK ]
 * Starting OpenSSH server[ OK ]
 * 
 * Starting configure network device[ OK ]
 * Starting Mount network filesystems[ OK ]
 * Stopping Mount network filesystems[ OK ]
 * Starting Samba Winbind[ OK ]
 * Starting NetBIOS name server[ OK ]
 * Not starting internet superserver: no services enabled
start: Job is already running: nmbd
[ OK ]rting DLNA/UPnP-AV media server minidlna 
 * Stopping System V runlevel compatibility[ OK ]
root@cubieNAS:~#

Linux Kernel 3.4.105 for Allwinner A20

Updated the Cubieboard/Cubietruck Kernel image again based on the Linux Kernel 3.4.105.
Additional I added XOR support to cgroups (for systemd 216)
Added MALI R4P0 support (see: https://github.com/libretro/RetroArch/blob/master/README-mali_fbdev_r4p0.md )

You can get the kernel tarball at: http://dl.danand.de/cubieboard/ or the source at https://github.com/dan-and/linux-sunxi

 

 

Linux Kernel 3.4.99 for Allwinner A20 (updated)

Again an update to the Linux Kernel 3.4.99.

a: There are a few addons/fixes in USB-Devices (cp210x  could be interesting) as well as an Ext4 fix.
b: Updated the Kernel tarball again with TPM_Atmel module, Performance tweaks and hardware encryption support.

Checkout: Dan-And’s GitHub  for the Sourcecode or dl.danand.de for the binary tar ball.

 

LZ4/LZO Security Issue in Linux-Kernel and Cubieboard/Cubietruck

The current updates in the linux kernels are mostly based on following issue:

http://www.openwall.com/lists/oss-security/2014/06/26/31

The LZO and LZ4 compression routines in the Kernel have been fixed with Kernel 3.4.95 , which I have already merged into the cubieboard kernel sources ( https://github.com/dan-and/linux-sunxi ) and created the binaries ( http://dl.danand.de/ )

However, also U-Boot should be updated, so there will be more work to do.