[Arm-dev] Bananapi / Kernel 4.4.26-201

Sun Jan 15 16:22:24 UTC 2017
Michael Schumacher <michael.schumacher at pamas.de>

Hi Nicolas,

> I did the increase of /boot too. Do you have the 4.4.12 kernel too?
> It was installed as a dependancy for 4.4.26. 

no, actually I went straight from 4.2.3-200 to 4.4.26-201. I double
checked yum.log, but there is no intermediate step.

>>less yum.log-20170101 | grep kernel
>>Dec 03 09:35:47 Installed: kernel-tools-libs-4.2.3-200.el7.armv7hl
>>Dec 03 09:36:52 Installed: kernel-tools-4.2.3-200.el7.armv7hl
>>Dec 03 09:38:11 Installed: kernel-core-4.2.3-200.el7.armv7hl
>>Dec 03 09:38:26 Installed: kernel-modules-4.2.3-200.el7.armv7hl
>>Dec 03 09:38:26 Installed: kernel-4.2.3-200.el7.armv7hl
>>Nov 17 17:51:03 Installed: kernel-headers-4.4.26-201.el7.armv7hl
>>Nov 17 19:05:19 Updated: kernel-tools-libs-4.4.26-201.el7.armv7hl
>>Nov 17 19:06:03 Installed: kernel-core-4.4.26-201.el7.armv7hl
>>Nov 17 19:06:26 Installed: kernel-modules-4.4.26-201.el7.armv7hl
>>Nov 17 19:06:27 Installed: kernel-4.4.26-201.el7.armv7hl
>>Nov 17 19:06:27 Updated: kernel-tools-4.4.26-201.el7.armv7hl

btw. This is Dec 03 2015 and Nov 17 2016 :-)

> Can you share your /boot/extlinux/extlinux.conf file?

sure! Here it is..

---8<---
#Created by RootFS Build Factory
ui menu.c32
menu autoboot centos
menu title centos Options
#menu hidden
timeout 60
totaltimeout 600
label centos
        kernel /vmlinuz-4.4.26-201.el7.armv7hl
        append enforcing=0 root=UUID=9359b607-7331-40ef-98d7-556faebff04d
        fdtdir /dtb-4.4.26-201.el7.armv7hl
        initrd /initramfs-4.4.26-201.el7.armv7hl.img
---8<---

See the content of my /boot directory. Both kernels are still there...

---8<---
 ls -l --block-size=k
total 206192K
drwxr-xr-x. 5 root root     1K Nov 17 20:15 38f5ec9e217b471e8adee477d933f640
-rw-------. 1 root root  2812K Nov 26  2015 System.map-4.2.3-200.el7.armv7hl
-rw-------. 1 root root  2879K Oct 23 02:06 System.map-4.4.26-201.el7.armv7hl
-rw-r--r--. 1 root root     1K Jun  4  2016 boot.scr
-rw-r--r--. 1 root root   168K Nov 26  2015 config-4.2.3-200.el7.armv7hl
-rw-r--r--. 1 root root   173K Oct 23 02:06 config-4.4.26-201.el7.armv7hl
drwxr-xr-x. 2 root root    15K Dec  3  2015 dtb-4.2.3-200.el7.armv7hl
drwxr-xr-x. 2 root root    17K Nov 17 20:05 dtb-4.4.26-201.el7.armv7hl
drwxr-xr-x. 2 root root     1K Nov 17 20:26 extlinux
drwxr-xr-x. 2 root root     1K Jan  1  1970 grub
-rw-r--r--. 1 root root 34167K Nov 17 20:14 initramfs-0-rescue-38f5ec9e217b471e8adee477d933f640.img
-rw-r--r--. 1 root root 34105K Dec  3  2015 initramfs-4.2.3-200.el7.armv7hl.img
-rw-r--r--. 1 root root 33681K Nov 17 20:10 initramfs-4.4.26-201.el7.armv7hl.img
-rw-r--r--. 1 root root   593K Dec 18 18:09 initrd-plymouth.img
-rw-r--r--. 1 root root     1K Nov 17 20:11 klist.txt
drwxr-xr-x. 3 root root     1K Dec  3  2015 loader
drwx------. 2 root root    12K Dec  3  2015 lost+found
-rw-r--r--. 1 root root  5906K Nov 17 20:11 uImage
-rw-r--r--. 1 root root  5906K Nov 17 20:11 uImage-4.4.26-201.el7.armv7hl
-rw-r--r--. 1 root root 33681K Nov 17 20:11 uInitrd
-rw-r--r--. 1 root root 33681K Nov 17 20:11 uInitrd-4.4.26-201.el7.armv7hl
-rwxr-xr-x. 1 root root  5906K Nov 17 20:15 vmlinuz-0-rescue-38f5ec9e217b471e8adee477d933f640
-rwxr-xr-x. 1 root root  5729K Nov 26  2015 vmlinuz-4.2.3-200.el7.armv7hl
-rwxr-xr-x. 1 root root  5906K Oct 23 02:06 vmlinuz-4.4.26-201.el7.armv7hl
---8<---

One thing I like with these tiny machines is that you can easily make
a snapshot by simply copying the content of the SD-card to a second
machine. Pretty simple and foolproof if something goes wrong :-)

> It seems it's not all correctly updated on my side :s

Are you using the same repos? See below:

---8<---
grep enabled /etc/yum.repos.d/*
/etc/yum.repos.d/CentOS-Base.repo:enabled=1
/etc/yum.repos.d/CentOS-Base.repo:enabled=1
/etc/yum.repos.d/CentOS-Base.repo:enabled=1
/etc/yum.repos.d/CentOS-Base.repo:enabled=0
/etc/yum.repos.d/CentOS-CR.repo:enabled=0
/etc/yum.repos.d/CentOS-Debuginfo.repo:enabled=0
/etc/yum.repos.d/CentOS-Sources.repo:enabled=0
/etc/yum.repos.d/CentOS-Sources.repo:enabled=0
/etc/yum.repos.d/CentOS-Sources.repo:enabled=0
/etc/yum.repos.d/CentOS-Sources.repo:enabled=0
/etc/yum.repos.d/CentOS-Testing.repo:enabled=0
/etc/yum.repos.d/CentOS-Testing.repo:enabled=0
/etc/yum.repos.d/CentOS-Vault.repo:enabled=0
/etc/yum.repos.d/CentOS-Vault.repo:enabled=0
/etc/yum.repos.d/CentOS-Vault.repo:enabled=0
/etc/yum.repos.d/CentOS-Vault.repo:enabled=0
/etc/yum.repos.d/CentOS-Vault.repo:enabled=0
/etc/yum.repos.d/CentOS-armhfp-kernel.repo:enabled=1
/etc/yum.repos.d/CentOS-fasttrack.repo:enabled=0
---8<---

best regards,
Michael