VE1DX
Posts: 2
Joined: Tue Jan 21, 2020 8:37 pm

Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 8:54 pm

I have a booting problem with a Pi 4. I'm using SanDisk 32 GB SD cards, specifically the SanDisk Ultra microSDHC UHS-I. This morning I had both a PI3+ and a PI4 B (4 GB) both to the same level:

# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

# uname -a
Linux rhubarb 4.19.79-v7l+ #1273 SMP Fri Oct 11 18:23:45 BST 2019 armv7l GNU/Linux

I updated both using:

sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade

This updates the kernel (and many other packages) and the PI3+ works fine afterward:

# uname -a
Linux oatcake 4.19.93-v7+ #1290 SMP Fri Jan 10 16:39:50 GMT 2020 armv7l GNU/Linux

However, the PI B 4. after going through the motions of the upgrade, will not boot (either from a warm or cold start.) It sticks at the four Raspberry logos indefinitely. If I replace the SD card with a backup I made using the SD Copier on 17 December 2019, and it boots fine. It would appear the PI B 4 doesn't like the 10 Jan kernel, or something else that I'm missing is going on. This Pi B 4 runs 24/7 and has done so since I got it last fall. I don't think it's a heat issue as I have it in a FLIRC case, and its CPU temperature is between 42-44 C. I'm using a Cankit 12 V/3.5A power supply, and that seems more than adequate, so I doubt it's power related. It ran utilizing this same supply since last September, so I don't want to go down the "replace the power supply" road unless I run out of other things to try.

I have tried upgrading 3 times, and it always locks on boot, but is recoverable a backup SD made before the upgrade. I don't think it's firmware, although I did flash the firmware on 6 October because that was recommended as a way to keep it running a bit cooler:

# rpi-eeprom-update
BOOTLOADER: up-to-date
CURRENT: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
LATEST: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
VL805: up-to-date
CURRENT: 000137ab
LATEST: 000137ab

The reason I don't think it's firmware is that it runs fine with the #1273 Oct 11 kernel, and has done so for several months. Sadly, I can no longer apply updates.

Has anyone else encountered this, and if so, do you have a fix or workaround? Anything anyone can think of to nail this down would be appreciated. Thanks!

- Paul VE1DX

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6236
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 8:58 pm

Is there any overclocking in config.txt?

RonR
Posts: 1544
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 11:08 pm

ShiftPlusOne wrote:
Tue Jan 21, 2020 8:58 pm
Is there any overclocking in config.txt?
I appear to be victim of a similar failure. Following what looks a normal update/upgrade process, I get the following and can't boot afterwards (very vanilla system with no overclocking):

Code: Select all

Setting up libraspberrypi0 (1.20200114-1) ...
/var/lib/dpkg/info/libraspberrypi0.postinst: 6: /var/lib/dpkg/info/libraspberrypi0.postinst: ldconfig: Exec format error
dpkg: error processing package libraspberrypi0 (--configure):
 installed libraspberrypi0 package post-installation script subprocess returned error exit status 2
Setting up rpi-eeprom-images (3.1-1) ...
dpkg: dependency problems prevent configuration of libraspberrypi-doc:
 libraspberrypi-doc depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libraspberrypi-bin:
 libraspberrypi-bin depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libraspberrypi-dev:
 libraspberrypi-dev depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rpi-eeprom:
 rpi-eeprom depends on libraspberrypi-bin; however:
  Package libraspberrypi-bin is not configured yet.

dpkg: error processing package rpi-eeprom (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
 libraspberrypi0
 libraspberrypi-doc
 libraspberrypi-bin
 libraspberrypi-dev
 rpi-eeprom
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libraspberrypi0 (1.20200114-1) ...
/var/lib/dpkg/info/libraspberrypi0.postinst: 6: /var/lib/dpkg/info/libraspberrypi0.postinst: ldconfig: Exec format error
dpkg: error processing package libraspberrypi0 (--configure):
 installed libraspberrypi0 package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of libraspberrypi-doc:
 libraspberrypi-doc depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libraspberrypi-bin:
 libraspberrypi-bin depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libraspberrypi-dev:
 libraspberrypi-dev depends on libraspberrypi0 (= 1.20200114-1); however:
  Package libraspberrypi0 is not configured yet.

dpkg: error processing package libraspberrypi-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rpi-eeprom:
 rpi-eeprom depends on libraspberrypi-bin; however:
  Package libraspberrypi-bin is not configured yet.

dpkg: error processing package rpi-eeprom (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libraspberrypi0
 libraspberrypi-doc
 libraspberrypi-bin
 libraspberrypi-dev
 rpi-eeprom
E: Sub-process /usr/bin/dpkg returned an error code (1)

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6236
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 11:19 pm

RonR wrote: I appear to be victim of a similar failure. Following what looks a normal update/upgrade process, I get the following and can't boot afterwards (very vanilla system with no overclocking):
Your case looks like more like typical filesystem corruption.

RonR
Posts: 1544
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 11:26 pm

ShiftPlusOne wrote:
Tue Jan 21, 2020 11:19 pm
RonR wrote: I appear to be victim of a similar failure. Following what looks a normal update/upgrade process, I get the following and can't boot afterwards (very vanilla system with no overclocking):
Your case looks like more like typical filesystem corruption.

I was running fine before the apt update/upgrade.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6236
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Tue Jan 21, 2020 11:35 pm

Heavy IO (from a large upgrade like that) is when you'd expect to see it.

kdbeyk
Posts: 3
Joined: Thu Dec 03, 2015 5:22 pm

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Wed Jan 22, 2020 7:44 am

I had the same problem, until I read this:
ShiftPlusOne wrote:
Tue Jan 21, 2020 8:58 pm
Is there any overclocking in config.txt?
Yes. Fixed by commenting out those lines in config.txt. I know overclocking is "at my own risk", but you asked this right away, so I assume it was known this upgrade was incompatible with overclocking. Should I/could I have known this before update/upgrade?

Thanks for any info you can offer. :)

fruitoftheloom
Posts: 24037
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Wed Jan 22, 2020 7:57 am

Thinking outside the box is better than burying your head in the sand...

fruitoftheloom
Posts: 24037
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Wed Jan 22, 2020 7:59 am

kdbeyk wrote:
Wed Jan 22, 2020 7:44 am
I had the same problem, until I read this:
ShiftPlusOne wrote:
Tue Jan 21, 2020 8:58 pm
Is there any overclocking in config.txt?
Yes. Fixed by commenting out those lines in config.txt. I know overclocking is "at my own risk", but you asked this right away, so I assume it was known this upgrade was incompatible with overclocking. Should I/could I have known this before update/upgrade?

Thanks for any info you can offer. :)

https://www.raspberrypi.org/forums/view ... 8&t=262529

https://www.raspberrypi.org/forums/view ... 9&t=257394
Thinking outside the box is better than burying your head in the sand...

VE1DX
Posts: 2
Joined: Tue Jan 21, 2020 8:37 pm

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Wed Jan 22, 2020 5:01 pm

Thanks to everyone who replied. It's fixed. The following was in my /boot/config.txt

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
over_voltage=6
arm_freq=2000
gpu_freq=750

This morning I commented out the last three lines, removing the overclocking recommended by ShiftPlusOne. I also used apt instead of apt-get suggested by fruitoftheloom. It's patched up to date and humming along as it did before.

I'm pretty sure it was the overclocking, and apt is an improvement over apt-get.

Now for some soul searching. How did the overclocking become enabled? I've spent decades in the IT field, and overlocking is not something I typically ever do. However, when I first got the Pi 4 B, the cooling rumours were running rampant, and I tried various cases and fans. I temporarily overclocked it to get the heat up for testing, and forgot to put it back! Several months later, the most recent kernel pushed it beyond its limit. Which is why I never overclock computers . . . well, rarely. The key is to remember and put it back to the default speed.

Thank you, everyone. I probably would not have found this one quickly on my own.

Paul VE1DX

timb
Posts: 47
Joined: Mon Mar 04, 2013 8:09 pm

Re: Pi 4 won't boot after upgrade to Jan 10 (#1290) kernel

Wed Jan 22, 2020 6:05 pm

So I ran into the same issue. Turns out it was fixed by removing the gpu_freq=600 line (even setting it down to 525 still caused it to hang.)

The cpu_freq=1950 and over_voltage=4 settings still work fine, which indicates this is exclusively related to GPU overclocking.

Return to “Raspberry Pi OS”