Hi
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel.
Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..".
The last time I success to install it, it's not very stable...
So if someone got feedback, or feedback about any card on an uptodate kernel ? Thanks
Nicolas
Can you tell me too, what is it really used for boot loader ?
I got in /boot, the extlinux folder (which is not updated by package update), and a loader folder.
Le 22/08/2017 à 17:48, Nicolas a écrit :
Hi
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel.
Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..".
The last time I success to install it, it's not very stable...
So if someone got feedback, or feedback about any card on an uptodate kernel ?
Thanks
Nicolas
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 22-08-17 19:22, Nicolas Repentin wrote:
Can you tell me too, what is it really used for boot loader ?
I got in /boot, the extlinux folder (which is not updated by package update), and a loader folder.
I think it uses U-Boot. Upstream version at: http://www.denx.de/wiki/U-Boot
HTH, Patrick
Yes it is. But after uboot it must be calling some files on /boot. I think it's all on extlinux folder. I got success to start 4.9 kernel. Hope it will be stable.
Le 22 août 2017 20:49:48 GMT+02:00, Patrick Laimbock patrick@laimbock.com a écrit :
On 22-08-17 19:22, Nicolas Repentin wrote:
Can you tell me too, what is it really used for boot loader ?
I got in /boot, the extlinux folder (which is not updated by package update), and a loader folder.
I think it uses U-Boot. Upstream version at: http://www.denx.de/wiki/U-Boot
HTH, Patrick _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel.
Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..".
The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
best regards --- Michael Schumacher
Hi,
Actually my /boot is 500MB and it's quite small yes...i got 60MB left :p
I don't know what was the previous problem but this time it's installed..
Le 22 août 2017 21:36:27 GMT+02:00, Michael Schumacher michael.schumacher@pamas.de a écrit :
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel.
Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..".
The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
best regards
Michael Schumacher
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello
So after less than one day, I got my freezes.
I just have to write something on my sata drive and the bananapi reboots with watchdog.
Do you know how I can have some logs or debug info? Because it's reset by watchdog I got nothing on logs :s Nicolas 22 août 2017 21:39 "Nicolas Repentin" a écrit: Hi,
Actually my /boot is 500MB and it's quite small yes...i got 60MB left :p
I don't know what was the previous problem but this time it's installed.. Le 22 août 2017 21:36:27 GMT+02:00, Michael Schumacher a écrit : Nicolas, Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable... looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue. best regards --- Michael Schumacher ------------------------------------ Arm-dev mailing list Arm-dev@centos.org (mailto:Arm-dev@centos.org) https://lists.centos.org/mailman/listinfo/arm-dev (https://lists.centos.org/mailman/listinfo/arm-dev) -- Nicolas
On 23-08-17 09:20, Nicolas wrote:
Hello
So after less than one day, I got my freezes.
I just have to write something on my sata drive and the bananapi reboots with watchdog.
When I first got my Cubietruck with SSD I had freezes too. I solved it by booting the kernel with:
libata.force=1.5G,noncq libata.dma=0
(so add that to the 'append' line in /boot/extlinux/extlinux.conf)
Also make sure the power supply provides enough power.
Do you know how I can have some logs or debug info? Because it's reset by watchdog I got nothing on logs :s
Maybe use rsyslog to log the kernel messages to another box?
HTH, Patrick
On 08/23/2017 12:16 PM, Patrick Laimbock wrote:
On 23-08-17 09:20, Nicolas wrote:
Hello
So after less than one day, I got my freezes.
I just have to write something on my sata drive and the bananapi reboots with watchdog.
When I first got my Cubietruck with SSD I had freezes too. I solved it by booting the kernel with:
libata.force=1.5G,noncq libata.dma=0
(so add that to the 'append' line in /boot/extlinux/extlinux.conf)
Also make sure the power supply provides enough power.
Start with that ^^ power is a bitch. and make sure the cable you use ( between power supply and pi ) is thick enough. It's amazing how much a good cable counts. I had an issue once, the power supply was juicy enough but the cable was thin and a bit too long. The voltage drop made the whole system unstable. Problem solved by replacing the cable that came with the power supply with a thicker one.
Do you know how I can have some logs or debug info? Because it's reset by watchdog I got nothing on logs :s
Maybe use rsyslog to log the kernel messages to another box?
On 08/23/2017 05:16 AM, Patrick Laimbock wrote:
On 23-08-17 09:20, Nicolas wrote:
Hello
So after less than one day, I got my freezes.
I just have to write something on my sata drive and the bananapi reboots with watchdog.
When I first got my Cubietruck with SSD I had freezes too. I solved it by booting the kernel with:
libata.force=1.5G,noncq libata.dma=0
(so add that to the 'append' line in /boot/extlinux/extlinux.conf)
Also make sure the power supply provides enough power.
I use to have this with a 2A power supply. I use 3A now...
Do you know how I can have some logs or debug info? Because it's reset by watchdog I got nothing on logs :s
Maybe use rsyslog to log the kernel messages to another box?
HTH, Patrick _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/22/2017 03:39 PM, Nicolas Repentin wrote:
Hi,
Actually my /boot is 500MB and it's quite small yes...i got 60MB left :p
It is just fine with a little housekeeping.
I don't know what was the previous problem but this time it's installed..
Le 22 août 2017 21:36:27 GMT+02:00, Michael Schumacher michael.schumacher@pamas.de a écrit :
Nicolas, Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable... looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue. best regards --- Michael Schumacher ------------------------------------------------------------------------ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Nicolas
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
RM> On 08/22/2017 03:39 PM, Nicolas Repentin wrote: RM> RM> Actually my /boot is 500MB and it's quite small yes...i got 60MB left :p RM> RM> It is just fine with a little housekeeping. RM> RM> I don't know what was the previous problem but this time it's installed..
I could reproduce the problem easily at that time. With a second shell you could observe the partition fill up while the update process ran. As soon as the partition was full, yum removed all temporary files and the partition looked like before. But the update process itself that produced quite a lot of files was certainly the reason for the failing update. I don't know why it happened at that kernel update and not at others, but it could happen again, so I think increasing the boot partition would be the best solution.
best regards --- Michael Schumacher
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
On 31/08/17 14:34, Robert Moskowitz wrote:
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
Welcome to OSS ! "submit patch" [TM] :-)
WRT larger /boot partition, that's fixable in the templates used by the tool that will generate new images, but of course that will not fix the issue for people using previous images.
On 08/31/2017 10:09 AM, Fabian Arrotin wrote:
On 31/08/17 14:34, Robert Moskowitz wrote:
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
Welcome to OSS ! "submit patch" [TM] :-)
To do that I would have to:
Know what files are related to a kernel Know how to identify the oldest kernel, or rather which kernels are the older of N kernels. Know how to, in a script, parameterize the selection of a kernel and all its files
And I come up empty on all the above. I can write simple scripts, and Professor Goggle is good at giving me short lessons to, at times, expand my horizons.
But this is not something I am going to tackle. I will just put up with things as they are.
WRT larger /boot partition, that's fixable in the templates used by the tool that will generate new images, but of course that will not fix the issue for people using previous images.
And, for the most part, when I lay down an image on a HD, I use gparted on my notebook to expand both the root and the boot partitions. For some reason, on ONE system I did not increase the boot partition...
Bob
On 09/01/17 00:30, Robert Moskowitz wrote:
On 08/31/2017 10:09 AM, Fabian Arrotin wrote:
On 31/08/17 14:34, Robert Moskowitz wrote:
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
Welcome to OSS ! "submit patch" [TM] :-)
To do that I would have to:
Know what files are related to a kernel Know how to identify the oldest kernel, or rather which kernels are the older of N kernels. Know how to, in a script, parameterize the selection of a kernel and all its files
And I come up empty on all the above. I can write simple scripts, and Professor Goggle is good at giving me short lessons to, at times, expand my horizons.
But this is not something I am going to tackle. I will just put up with things as they are.
I guess it is a bit easier than that, we have a package manager for this!
find the installed kernel packages and remove the ones you don't want any more. If you always want only x kernels installed, have a look at "installonly_limit" in yum.conf
Not sure which kernel we're talking about, but if this is the raspberry rpm, there used to be a 'post' script in the rpm what makes a initrd file after install. these initrd things are not used during boot (on a raspberry at least). Removing those will also save you ~ 25M per kernel version. better yet, adjust the spec file to not make them :)
Jacco
On 08/31/2017 07:50 PM, Jacco Ligthart wrote:
On 09/01/17 00:30, Robert Moskowitz wrote:
On 08/31/2017 10:09 AM, Fabian Arrotin wrote:
On 31/08/17 14:34, Robert Moskowitz wrote:
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
Welcome to OSS ! "submit patch" [TM] :-)
To do that I would have to:
Know what files are related to a kernel Know how to identify the oldest kernel, or rather which kernels are the older of N kernels. Know how to, in a script, parameterize the selection of a kernel and all its files
And I come up empty on all the above. I can write simple scripts, and Professor Goggle is good at giving me short lessons to, at times, expand my horizons.
But this is not something I am going to tackle. I will just put up with things as they are.
I guess it is a bit easier than that, we have a package manager for this!
find the installed kernel packages and remove the ones you don't want any more. If you always want only x kernels installed, have a look at "installonly_limit" in yum.conf
Not sure which kernel we're talking about, but if this is the raspberry rpm, there used to be a 'post' script in the rpm what makes a initrd file after install. these initrd things are not used during boot (on a raspberry at least). Removing those will also save you ~ 25M per kernel version. better yet, adjust the spec file to not make them :)
Jacco,
You may remember that I am the Cubieboard guy from back when I was using RSEL6. :)
On the Cubieboard Centos7 image, that can be altered once installed for other uboots (but you have to get the other uboots from an existing install), kernels are easier than on RPi. Or at least I seem to recall a message about this.
Perhaps by Centos8, 64 bit ARM will be affordable.
Bob
On 08/31/2017 07:50 PM, Jacco Ligthart wrote:
On 09/01/17 00:30, Robert Moskowitz wrote:
On 08/31/2017 10:09 AM, Fabian Arrotin wrote:
On 31/08/17 14:34, Robert Moskowitz wrote:
On 08/22/2017 03:36 PM, Michael Schumacher wrote:
Nicolas,
Does someone use a bananapi on centos ? I'm using it for a long time, and I'm still on 4.2 kernel. Every time I try to install a newer I got a lot of errors during install, or yum get stuck on "cleaning..". The last time I success to install it, it's not very stable...
looks like you ran into the problem with a too small /boot partition. I had that problem too. Increasing the size of the /boot partition to about 10G solves the problem. This is a problem of the Centos installation image. I believe Robert had the same issue.
Catching up. Was off on another project, writing a guide to build an ECDSA PKI....
Yes, I hit the out of space.
What we need is for someone to fix the update-boot script to rip out old kernels. We are use to this with the mainline platforms. We should get it here. Also Fedora-arm has it...
Bob
Welcome to OSS ! "submit patch" [TM] :-)
To do that I would have to:
Know what files are related to a kernel Know how to identify the oldest kernel, or rather which kernels are the older of N kernels. Know how to, in a script, parameterize the selection of a kernel and all its files
And I come up empty on all the above. I can write simple scripts, and Professor Goggle is good at giving me short lessons to, at times, expand my horizons.
But this is not something I am going to tackle. I will just put up with things as they are.
I guess it is a bit easier than that, we have a package manager for this!
find the installed kernel packages and remove the ones you don't want any more. If you always want only x kernels installed, have a look at "installonly_limit" in yum.conf
I just checked and it is set to 5 for the Cubieboard image. And this is too high for that 500MB boot partition, it seems.
I would recommend everyone turn it down to 3, as Fabian has been doing well with kernels.... :)
Not sure which kernel we're talking about, but if this is the raspberry rpm, there used to be a 'post' script in the rpm what makes a initrd file after install. these initrd things are not used during boot (on a raspberry at least). Removing those will also save you ~ 25M per kernel version. better yet, adjust the spec file to not make them :)
Jacco _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev