User avatar
minos
Posts: 68
Joined: Sun Mar 17, 2013 1:31 am

rpi-update : crash before end

Sat Oct 22, 2016 10:45 pm

Hey!

May be it's due to an old SD card fsck fix...? But system is running fine !

When trying to rpi-update, it's when trying to write the new firmware, got this line :

Code: Select all

/usr/bin/rpi-update : ligne 74 : 1976 instruction non permise depmod -b "${ROOT_PATH}" -a "${BASEDIR}"
(the number 1976 is not always the same number on each test...)

No way to update the firmware, rpi-update has crashed...

If someone konws how to fix it... I really don't know where to give those informations about ROOT_PATH + BASEDIR... :s
Many thx for your help :)

User avatar
fruitoftheloom
Posts: 15115
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: rpi-update : crash before end

Sun Oct 23, 2016 9:05 am

In Raspbian Wheezy, which is end of life, the only way to update the kernel / firmware is:

Code: Select all

sudo rpi-update

In Raspbian Jessie rpi-update is not required, unless advised to fix a specific issue, the kernel /firmware is updated by:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
or

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C ARM32 SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

User avatar
minos
Posts: 68
Joined: Sun Mar 17, 2013 1:31 am

Re: rpi-update : crash before end

Sun Oct 23, 2016 9:30 am

Thx for your answer!

But I think I'm not sure about that... I see on a new Raspbian install on another RPi, kernel 4.4.21 is given with the latest jessie-lite.img
everything is update/dist-upgrade, then with rpî-update the firmware was updated to 4.4.26
So for me, rpi-update is needed today ;)

On this other install, after the rpi-update :
uname -a
Linux rasp2retro 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l GNU/Linux

User avatar
DougieLawson
Posts: 30470
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: rpi-update : crash before end

Sun Oct 23, 2016 9:36 am

That's because the 4.4.26 kernel and the firmware changes that go with it have not been fully tested. Some time in the future the RPF folks will roll-up the new kernel/firmware into the apt-get package.

For most users, with general purpose needs they should NEVER run sudo rpi-update. There's too much risk of destroying their machines. Leave it for the experts and specialists to run with the stuff from the leading edge (including things like the USB / PXE booting).
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

User avatar
minos
Posts: 68
Joined: Sun Mar 17, 2013 1:31 am

Re: rpi-update : crash before end

Tue Oct 25, 2016 12:52 pm

That's why I was motivated to upgrade to a newer fixed kernel, with rpi-update :p
(Dirty Cow!)

viewtopic.php?f=66&t=163434

RPi v1 : Linux 4.4.26+ #915 Thu Oct 20 17:02:14 BST 2016 armv6l GNU/Linux
RPi v2 : Linux 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l GNU/Linux

rpi-update is still bugged on the RPi v2, the package raspberrypi-kernel was installed during the last dist-upgrade.
Is it ok ? no more Dirty Cow on this RPi ??

Thx ;)

User avatar
DougieLawson
Posts: 30470
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: rpi-update : crash before end

Tue Oct 25, 2016 8:36 pm

If you run sudo apt-get update && sudo apt-get -y dist-upgrade you'll get the 4.4.26+ kernel (which includes the Dirty COW fix).
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

User avatar
minos
Posts: 68
Joined: Sun Mar 17, 2013 1:31 am

Re: rpi-update : crash before end

Wed Oct 26, 2016 6:45 am

Thx Dougie for this confirmation ;)

User avatar
DougieLawson
Posts: 30470
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: rpi-update : crash before end

Wed Oct 26, 2016 9:52 am

Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

User avatar
minos
Posts: 68
Joined: Sun Mar 17, 2013 1:31 am

Re: rpi-update : crash before end

Wed Oct 26, 2016 6:34 pm

Nice, it's ok now ;)

Don't want the RPis to make some dirty milk... :p


Oops... sry... [closed]

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 8 guests