Twell
Posts: 3
Joined: Sun Jun 02, 2019 12:07 pm

Re: Moving Linux kernel to 4.19

Mon Jun 03, 2019 10:44 am

Thanks you very much!
But if you would suggest me a simple check, who would it be?

deemon
Posts: 2
Joined: Wed Jun 05, 2019 10:16 pm

Re: Moving Linux kernel to 4.19

Thu Jun 06, 2019 12:12 am

Code: Select all

[email protected]:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13545  100 13545    0     0  50063      0 --:--:-- --:--:-- --:--:-- 50166
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.14.83v7-aufs
#############################################################
WARNING: This update bumps to rpi-4.19.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931
##############################################################
Would you like to proceed? (y/N)
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    401      0 --:--:-- --:--:-- --:--:--   401
100 58.9M  100 58.9M    0     0  2472k      0  0:00:24  0:00:24 --:--:-- 2973k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.19.46+
 *** depmod 4.19.46-v7+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 10854879f58a7cc8dbe8ad442b71daa81427e712
 *** A reboot is needed to activate the new firmware
[email protected]:~ $ sudo reboot
AND after reboot 0 of the 4 USB ports and ethernet port worked (everything else seems to work, shows image even when connected to monitor, just can't log into it because no mouse/keyboard and can't SSH either cause no network)! Same with several other reboots. So kind of borked my Pi / current SD card image.

Ethered/flashed newest Raspbian image to another SD card and after booting it up the USB ports and ETH are working again. No idea how to save my other SD card data though.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.19

Fri Jun 07, 2019 12:25 pm

*** Backing up modules 4.14.83v7-aufs
Are you using berryboot or some other custom kernel?
rpi-update is designed for updating the raspbian kernel. It is not designed for custom kernel builds.

riavfbip
Posts: 2
Joined: Fri Jun 07, 2019 1:41 pm

Re: Moving Linux kernel to 4.19

Fri Jun 07, 2019 2:02 pm

Hi,

Would it be possible to enable in further updates to kernel 4.19 CAKE packet scheduler?

Code: Select all

# find /lib/modules/ | grep -c sch_cake
0
# uname -r
4.19.42-v7+

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.19

Fri Jun 07, 2019 6:21 pm

riavfbip wrote:
Fri Jun 07, 2019 2:02 pm
Would it be possible to enable in further updates to kernel 4.19 CAKE packet scheduler?
For feature requests create and issue here: https://github.com/raspberrypi/linux/issues
Including links or test results that show the benefits will help.

User avatar
kozman
Posts: 51
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.19

Wed Jun 12, 2019 3:20 pm

A little off-topic but I was just reading that Buster will push out on July 6th (https://wiki.debian.org/ReleasePartyBuster) if no showstopper bugs are found. Very excited to see how much benefit Raspbian will reap from the new release.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23366
Joined: Sat Jul 30, 2011 7:41 pm

Re: Moving Linux kernel to 4.19

Wed Jun 12, 2019 3:40 pm

kozman wrote:
Wed Jun 12, 2019 3:20 pm
A little off-topic but I was just reading that Buster will push out on July 6th (https://wiki.debian.org/ReleasePartyBuster) if no showstopper bugs are found. Very excited to see how much benefit Raspbian will reap from the new release.
Very off topic, please use the buster thread. viewtopic.php?f=66&t=242062
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
kozman
Posts: 51
Joined: Tue Sep 11, 2018 3:40 pm

Re: Moving Linux kernel to 4.19

Wed Jun 12, 2019 3:41 pm

jamesh wrote:
Wed Jun 12, 2019 3:40 pm
kozman wrote:
Wed Jun 12, 2019 3:20 pm
A little off-topic but I was just reading that Buster will push out on July 6th (https://wiki.debian.org/ReleasePartyBuster) if no showstopper bugs are found. Very excited to see how much benefit Raspbian will reap from the new release.
Very off topic, please use the buster thread. viewtopic.php?f=66&t=242062
Apologies. Posted to the right thread.

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: Moving Linux kernel to 4.19

Thu Jun 20, 2019 2:11 pm

riavfbip wrote:
Fri Jun 07, 2019 2:02 pm
Hi,

Would it be possible to enable in further updates to kernel 4.19 CAKE packet scheduler?

Code: Select all

# find /lib/modules/ | grep -c sch_cake
0
# uname -r
4.19.42-v7+
I have a little bit info about CAKE.

I've just tried to compile the CAKE module myself. The module itself could be cooked.

However, I still can't use CAKE. Beacuse the iproute2 package can not recognize CAKE. The "tc" command would complain about "unknown qdisc, hance options can not be parsed".

As a traffic shaper, CAKE must be the bottleneck of the network path. So at least, I need to pass a "bandwidth" option to it. Without "tc" command, this can't be done.

So I guess I need to compile iproute2 or I would wait until Raspbian Buster, which would have a newer iproute2 package.

EDIT one hour later: Compiling iproute2 is easy! I'm with CAKE now. HAPPY HACKING.

HypnoToad
Posts: 68
Joined: Thu Dec 11, 2014 6:00 pm

Re: Moving Linux kernel to 4.19

Thu Jun 20, 2019 11:39 pm

Is there any change of having the Edimax EW-7811Un USB wifi adaptor work in the 4.19.x kernel?

It used to work OK in older kernels but I 4.19 I get a Kernel Panic.

I had a serial console cable connected at the time so the dump is here if it helps:

https://paste2.org/abJzkwHw

As soon as I switch to another Wifi adaptor, no more kernel panic, but the speed/range of the Edimax was better.

cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.19

Fri Jun 21, 2019 1:15 am

HypnoToad wrote:
Thu Jun 20, 2019 11:39 pm
Is there any change of having the Edimax EW-7811Un USB wifi adaptor work in the 4.19.x kernel?
no problem here, just blacklist rtl8192cu and use 8192cu module.

HypnoToad
Posts: 68
Joined: Thu Dec 11, 2014 6:00 pm

Re: Moving Linux kernel to 4.19

Fri Jun 21, 2019 3:51 pm

cjan wrote:
Fri Jun 21, 2019 1:15 am
HypnoToad wrote:
Thu Jun 20, 2019 11:39 pm
Is there any change of having the Edimax EW-7811Un USB wifi adaptor work in the 4.19.x kernel?
no problem here, just blacklist rtl8192cu and use 8192cu module.
Ok thanks, I'll look up how to do this and give it a try. :)

verkerkbr
Posts: 25
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.19

Mon Jun 24, 2019 3:54 pm

Just updated the kernel with rpi-update. I had allready version 4.19.50. Now there is another update called 4.19.50. After the updating the Pi 3b+ did not start. This is the first time an update does not work.

Tried it with another SD card copy. Same result, Pi did not start after the kernel update.

No idea about the cause of this problem.

Otherwise the version 4.19.50 (The first one of course) works very well with the VC4 OpenGL driver (full).

Regards,

Bram

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

Re: Moving Linux kernel to 4.19

Mon Jun 24, 2019 4:36 pm

verkerkbr wrote:
Mon Jun 24, 2019 3:54 pm
Just updated the kernel with rpi-update. I had allready version 4.19.50. Now there is another update called 4.19.50. After the updating the Pi 3b+ did not start. This is the first time an update does not work.

Tried it with another SD card copy. Same result, Pi did not start after the kernel update.

No idea about the cause of this problem.

Otherwise the version 4.19.50 (The first one of course) works very well with the VC4 OpenGL driver (full).

Regards,

Bram

Maybe start afresh with the just released Raspbian Buster which has Kernel 4.19.50 by default ????

https://www.raspberrypi.org/downloads/raspbian/
Retired disgracefully.....

verkerkbr
Posts: 25
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.19

Mon Jun 24, 2019 5:38 pm

The kernel 4.19.50 works very well.

It is the latest update also called 4.19.50 that gives the problem with not starting the Pi3b+

Bram

Waiting now for the Pi 4.

cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 4:25 am

latest update tag 4.19.55, Rpi2B won't boot.

verkerkbr
Posts: 25
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 8:05 am

Same problem here on a RPI 3B+ with the latest kernel update to 4.19.55.

Boot problem not solved.

Bram

cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 8:23 am

cjan wrote:
Tue Jun 25, 2019 4:25 am
latest update tag 4.19.55, Rpi2B won't boot.
in Buster.img RELEASE note say,
* Boot partition size set to 256M

so, does old /boot 100M no space, cause the problem?

Twell
Posts: 3
Joined: Sun Jun 02, 2019 12:07 pm

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 11:18 am

verkerkbr wrote:
Tue Jun 25, 2019 8:05 am
Same problem here on a RPI 3B+ with the latest kernel update to 4.19.55.

Boot problem not solved.

Bram
Really ? We must find what really happens!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23366
Joined: Sat Jul 30, 2011 7:41 pm

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 11:22 am

Are all these failures after using rpi-update? We do not recommend using that at all nowadays, and haven't for years. Use apt update to get recent but released and stable firmware and kernel.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 12:21 pm

jamesh wrote:
Tue Jun 25, 2019 11:22 am
Are all these failures after using rpi-update? We do not recommend using that at all nowadays, and haven't for years. Use apt update to get recent but released and stable firmware and kernel.
are you kidding? so what is this thread purpose, @dom asked people to test, right?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 12:22 pm

cjan wrote:
Tue Jun 25, 2019 4:25 am
latest update tag 4.19.55, Rpi2B won't boot.
Is start.elf present? There was a bug in rpi-update that should be fixed now.
Add start_x=1 to config.txt and see if it boots.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 12:26 pm

cjan wrote:
Tue Jun 25, 2019 12:21 pm
jamesh wrote:
Tue Jun 25, 2019 11:22 am
Are all these failures after using rpi-update? We do not recommend using that at all nowadays, and haven't for years. Use apt update to get recent but released and stable firmware and kernel.
are you kidding? so what is this thread purpose, @dom asked people to test, right?
@jamesh if *everyone* waits for apt kernel/firmware then they will be as untested as rpi-update firmware/kernel.

We need people to test rpi-update kernels/firmwares to spot problems early on.
So thank you to testers who do test these builds.

Obviously people testing these builds should be aware that there may be regressions,
and either have a backup or test on a non-critical Pi.

verkerkbr
Posts: 25
Joined: Mon Sep 10, 2018 9:17 pm

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 1:09 pm

Just added start_x=1 to the config.txt and then updated to 4.19.55. And now the system boots.

The start sentences text at the startup however are now rather big. Putting the start_x=1 on a other location in the config.txt does not seem to help.

The final working of the system with small text worked well as before.

Regards,

Bram

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23366
Joined: Sat Jul 30, 2011 7:41 pm

Re: Moving Linux kernel to 4.19

Tue Jun 25, 2019 1:18 pm

cjan wrote:
Tue Jun 25, 2019 12:21 pm
jamesh wrote:
Tue Jun 25, 2019 11:22 am
Are all these failures after using rpi-update? We do not recommend using that at all nowadays, and haven't for years. Use apt update to get recent but released and stable firmware and kernel.
are you kidding? so what is this thread purpose, @dom asked people to test, right?
Sorry, hadn't realised that this had been suggested. We do NOT recommend people use rpi-update unless asked to do so, in this case, you've obviously been asked to do so. I had to answer so many threads in the last two days it's all getting a bit merged together and I only have time to read a couple of posts back, Soz!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Return to “Advanced users”