Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Linux 5.0 kernel panics with "bad rip value"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
levente
n00b
n00b


Joined: 24 Mar 2018
Posts: 41

PostPosted: Fri Mar 08, 2019 4:07 pm    Post subject: [solved] Linux 5.0 kernel panics with "bad rip value&qu Reply with quote

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
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 347
Location: Toronto, Canada

PostPosted: Sun Mar 10, 2019 8:01 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
levente
n00b
n00b


Joined: 24 Mar 2018
Posts: 41

PostPosted: Fri Mar 15, 2019 7:32 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Verdazil
n00b
n00b


Joined: 14 Feb 2019
Posts: 47
Location: One small country ...

PostPosted: Fri Mar 15, 2019 8:38 am    Post subject: Re: Linux 5.0 kernel panics with "bad rip value" Reply with quote

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
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 996
Location: The Holy city of Honolulu

PostPosted: Fri Mar 15, 2019 5:17 pm    Post subject: Re: Linux 5.0 kernel panics with "bad rip value" Reply with quote

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/

Quote:
Latest Stable Kernel : 5.0.2

_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3711
Location: Hamburg

PostPosted: Fri Mar 15, 2019 6:10 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Verdazil
n00b
n00b


Joined: 14 Feb 2019
Posts: 47
Location: One small country ...

PostPosted: Fri Mar 15, 2019 8:40 pm    Post subject: Re: Linux 5.0 kernel panics with "bad rip value" Reply with quote

Muso wrote:
5 is stable.
Not right. All 5 Gentoo kernel have testing status for all platforms. See https://packages.gentoo.org/packages/sys-kernel/gentoo-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
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5692
Location: Removed by Neddy

PostPosted: Fri Mar 15, 2019 9:38 pm    Post subject: Re: Linux 5.0 kernel panics with "bad rip value" Reply with quote

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/sys-kernel/gentoo-sources
Gentoo marks LTS kernels as stable
https://forums.gentoo.org/viewtopic-t-1090920-start-0-postdays-0-postorder-asc-highlight-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
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14185

PostPosted: Sat Mar 16, 2019 1:19 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
levente
n00b
n00b


Joined: 24 Mar 2018
Posts: 41

PostPosted: Sat Mar 23, 2019 8:46 am    Post subject: Reply with quote

Thanks for all the replies

Turns out it was a rookie mistake, I left out the --luks and --lvm options from genkernel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum