Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[solved] Linux 5.0 kernel panics with "bad rip value"

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
levente
n00b
n00b
User avatar
Posts: 41
Joined: Sat Mar 24, 2018 11:22 am

[solved] Linux 5.0 kernel panics with "bad rip value&qu

  • Quote

Post by levente » Fri Mar 08, 2019 4:07 pm

Gentoo kernel panics on boot after upgrading kernel from 4.19.2 to 5.0
It gives me the error "Bad RIP value", I'm unsure what causes it

It was compiled using genkernel (using only the "all" command-line argument)

kernel config: https://0x0.st/zHiO.txt (https://pastebin.com/RWNZyKn0)
Last edited by levente on Sat Mar 23, 2019 8:46 am, edited 1 time in total.
Top
mno
Guru
Guru
User avatar
Posts: 454
Joined: Mon Dec 29, 2003 5:29 am
Location: Toronto, Canada

  • Quote

Post by mno » Sun Mar 10, 2019 8:01 pm

Can you post the output you get at load-time? Doing a cursory check online, this can be tied to a number of things and also to older kernel versions...
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Top
levente
n00b
n00b
User avatar
Posts: 41
Joined: Sat Mar 24, 2018 11:22 am

  • Quote

Post by levente » Fri Mar 15, 2019 7:32 am

mno wrote:Can you post the output you get at load-time? Doing a cursory check online, this can be tied to a number of things and also to older kernel versions...
Since I'm not sure if Gentoo saves backtraces at all, I took the easy route and just took a picture of my computer

Picture: http://0x0.st/zXJn.jpg

I hope it didn't cut anything important off
Top
Verdazil
n00b
n00b
User avatar
Posts: 47
Joined: Thu Feb 14, 2019 8:52 am
Location: One small country ...

Re: Linux 5.0 kernel panics with "bad rip value"

  • Quote

Post by Verdazil » Fri Mar 15, 2019 8:38 am

levente wrote:Gentoo kernel panics on boot after upgrading kernel from 4.19.2 to 5.0
And what is this urgent need? Are you a developer?
It would be correct to upgrade to 4.19.27-r1 stable kernel release and and wait for branch 5 to become stable.
GA-Z170X-UD3 / i7-6700K / DDR4 32GB / Radeon RX 570 / TL-WDN4800 / Samsung SSD 850 EVO 250 Gb + WD Green WDC 2 Tb / BenQ BL2711U + LG TV 42LF650V
Top
Muso
Veteran
Veteran
User avatar
Posts: 1052
Joined: Tue Oct 22, 2002 7:45 am
Location: The Holy city of Honolulu
Contact:
Contact Muso
Website

Re: Linux 5.0 kernel panics with "bad rip value"

  • Quote

Post by Muso » Fri Mar 15, 2019 5:17 pm

Verdazil wrote:
levente wrote:Gentoo kernel panics on boot after upgrading kernel from 4.19.2 to 5.0
And what is this urgent need? Are you a developer?
It would be correct to upgrade to 4.19.27-r1 stable kernel release and and wait for branch 5 to become stable.
5 is stable.

https://www.kernel.org/
Latest Stable Kernel : 5.0.2
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

  • Quote

Post by toralf » Fri Mar 15, 2019 6:10 pm

levente wrote:I hope it didn't cut anything important off
Try other framebuffer settings to get more lines in the output - the screen shot lacks the part of the beginning of the stack trace.
But if you have a more comprehensive scrren shot you might consider to ask in "linux Kernel <linux-kernel@vger.kernel.org>" too.
Top
Verdazil
n00b
n00b
User avatar
Posts: 47
Joined: Thu Feb 14, 2019 8:52 am
Location: One small country ...

Re: Linux 5.0 kernel panics with "bad rip value"

  • Quote

Post by Verdazil » Fri Mar 15, 2019 8:40 pm

Muso wrote:5 is stable.
Not right. All 5 Gentoo kernel have testing status for all platforms. See https://packages.gentoo.org/packages/sy ... oo-sources
GA-Z170X-UD3 / i7-6700K / DDR4 32GB / Radeon RX 570 / TL-WDN4800 / Samsung SSD 850 EVO 250 Gb + WD Green WDC 2 Tb / BenQ BL2711U + LG TV 42LF650V
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Re: Linux 5.0 kernel panics with "bad rip value"

  • Quote

Post by Naib » Fri Mar 15, 2019 9:38 pm

Verdazil wrote:
Muso wrote:5 is stable.
Not right. All 5 Gentoo kernel have testing status for all platforms. See https://packages.gentoo.org/packages/sy ... oo-sources
Gentoo marks LTS kernels as stable
viewtopic-t-1090920-start-0-postdays-0- ... t-lts.html



@ OP coincidently, I got a RIP as well the 1st time I compiled and booted oO. I recompiled and it worked. try a make clean
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Hu
Administrator
Administrator
Posts: 24395
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Mar 16, 2019 1:19 am

levente wrote:
mno wrote:Can you post the output you get at load-time? Doing a cursory check online, this can be tied to a number of things and also to older kernel versions...
Since I'm not sure if Gentoo saves backtraces at all, I took the easy route and just took a picture of my computer
That is a Linux kernel issue, not a Gentoo issue. The kernel does not persist panic text to your local disk because there is nowhere to save it. The kernel can send the text over the network or a serial port, so that some other system can save it.
Verdazil wrote:
levente wrote:Gentoo kernel panics on boot after upgrading kernel from 4.19.2 to 5.0
And what is this urgent need? Are you a developer?
It would be correct to upgrade to 4.19.27-r1 stable kernel release and and wait for branch 5 to become stable.
OP did not say it was urgent. The kernel he picked is a released kernel that should work if managed properly. He wants help managing it. It's a reasonable request to put in this forum.
Top
levente
n00b
n00b
User avatar
Posts: 41
Joined: Sat Mar 24, 2018 11:22 am

  • Quote

Post by levente » Sat Mar 23, 2019 8:46 am

Thanks for all the replies

Turns out it was a rookie mistake, I left out the --luks and --lvm options from genkernel
Top
Post Reply

10 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic