[Arm-dev] Bananapi / Kernel 4.4.26-201

Mon Jan 16 16:41:12 UTC 2017
Nicolas Repentin <nicolas at shivaserv.fr>

Hello

Thanks.

I don't know why but on my side the 4.4.12 was installed by 4.4.26. Will 
try to remove it after booting on 4.4.26.

The only repo I got with standard repos is my own, but is not enabled by 
default.

I have updated my extlinux.conf and it's working. Before I had added the 
new kernel in the configuration, but even modifying the "menu autoboot 
centos" to point to the newer kernel it was'nt working.

When I try to remove the 4.4.12 Kernel :

[root at atlas nicolas]# yum remove kernel*4.4.12*
Modules complémentaires chargés : fastestmirror
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet kernel-core.armv7hl 0:4.4.12-301.el7 sera effacé
--> Traitement de la dépendance : xorg-x11-drv-vmmouse >= 14.0.0 pour le 
paquet : kernel-4.4.26-201.el7.armv7hl
--> Lancement de la transaction de test
---> Le paquet kernel.armv7hl 0:4.4.26-201.el7 sera effacé
--> Résolution des dépendances terminée

Dépendances résolues

================================================================================================================================================================================
  Package Architecture Version 
Dépôt                                       Taille
================================================================================================================================================================================
Suppression :
  kernel-core armv7hl 4.4.12-301.el7 
@centos-kernel                               80 M
Suppression pour dépendances :
  kernel armv7hl 4.4.26-201.el7 
@centos-kernel                              0.0

Résumé de la transaction
================================================================================================================================================================================
Supprimer  1 Paquet (+1 Paquet en dépendance)

Taille d'installation : 80 M



He wants to remove 4.4.26 too....


Thanks :)



Le 15/01/2017 à 17:22, Michael Schumacher a écrit :
> 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
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev