Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inconsistency when booting new kernel
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
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2450
Location: /home/zach

PostPosted: Tue May 07, 2019 3:37 am    Post subject: Inconsistency when booting new kernel Reply with quote

Hello all,

Tonight I updated from gentoo-sources-4.17.14 to 5.0.13. I used 'make olddefconfig' and then went in to make some modifications (nothing related to device drivers though). When I rebooted to use the new kernel, it panicked. I rebooted again, but went into 5.0.13 (recovery mode). I didn't change anything, but just looked at the output of 'blkid' and such to make sure that nothing had unexpectedly changed. When I rebooted again, the kernel booted without problem. Since I didn't change anything between the time that it failed to boot and the time that it booted properly, I'm a bit concerned regarding that inconsistent behaviour. Any ideas? I'm happy to post any troubleshooting information that may be helpful.

Thank you in advance.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
lfs0a
n00b
n00b


Joined: 19 Oct 2016
Posts: 13

PostPosted: Tue May 07, 2019 2:32 pm    Post subject: Reply with quote

panic at PCI bridge to [bus 15-18] around?
my last not-panic kernel is 4.14.83
the later like 4.19.27 4.19.37 will ramdomly panic
panic at

[ 0.453204] pci 0000:00:1e.0 PCI bridge to [bus 15-18]

and i used 'make olddefconfig' too.
4.14.83 works just fine.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3782
Location: Dallas area

PostPosted: Tue May 07, 2019 2:43 pm    Post subject: Reply with quote

post your config file for 5.0.13

OR

Check and see if you have
SCHED_MUQSS, SCHED_MC and RQ_MC set

I had inconsistent booting with the shared runqueue enabled.
Boot one time, hang the next. I turned it off "no sharing"
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2450
Location: /home/zach

PostPosted: Tue May 07, 2019 3:19 pm    Post subject: Reply with quote

Strange. I see SCHED_MC, and it is set. However, I don't see any of the options related to the runqueue (like MuQSS) in 5.0.13. :?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3782
Location: Dallas area

PostPosted: Tue May 07, 2019 3:28 pm    Post subject: Reply with quote

Code:
~ grep -E "CONFIG_SCHED_|CONFIG_RQ_" .config
CONFIG_SCHED_MUQSS=y
# CONFIG_SCHED_OMIT_FRAME_POINTER is not set
CONFIG_SCHED_SMT=y
# CONFIG_SCHED_MC is not set
CONFIG_RQ_NONE=y
# CONFIG_RQ_SMT is not set
# CONFIG_RQ_SMP is not set
# CONFIG_RQ_ALL is not set


Processor Type and Features -> CPU scheduler runqueue sharing (it's just under multicore support)

Edit to add: or as a kernel parm
Code:
    rqshare=    [X86] Select the MuQSS scheduler runqueue sharing type.
            Format: <string>
            smt -- Share SMT (hyperthread) sibling runqueues
            mc -- Share MC (multicore) sibling runqueues
            smp -- Share SMP runqueues
            none -- So not share any runqueues
            Default value is mc


ETA2: I'm assuming you're running MUQSS
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2450
Location: /home/zach

PostPosted: Tue May 07, 2019 3:40 pm    Post subject: Reply with quote

Yeah, that's the part that is strange to me:

Code:

/usr/src/linux # ls -lh /usr/src/
total 12K
lrwxrwxrwx  1 root root   19 May  6 21:40 linux -> linux-5.0.13-gentoo
drwxr-xr-x 27 root root 4.0K May  6 21:38 linux-4.17.14-gentoo
drwxr-xr-x 27 root root 4.0K May  7 10:37 linux-5.0.13-gentoo
drwxr-xr-x 25 root root 4.0K May  6 21:36 linux-5.1.0-gentoo

/usr/src/linux # grep -E "CONFIG_SCHED_|CONFIG_RQ_" .config
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_MC_PRIO=y
CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHED_INFO=y
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_SCHED_TRACER is not set

_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3782
Location: Dallas area

PostPosted: Tue May 07, 2019 3:51 pm    Post subject: Reply with quote

:oops: I forgot I run zen kernel w/muqss, you probably don't have the muqss option.

In that case I have no idea what's causing your problem.

In the time where it crashed did it get far enough to leave a /var/log/dmesg file? (you would need to have a rescue cd to get it because it gets overwritten with each boot).

The time it crashed, what did you do before that power off reset, or ctrl-alt-delete/reboot. And was it the same the next time it ran successful?
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2450
Location: /home/zach

PostPosted: Tue May 07, 2019 4:09 pm    Post subject: Reply with quote

The last thing that I saw was the VFS message about attempting to mount root, and I believe the exact message was:

Code:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,20)


I will probably need to do some further tests when I have time to see if I can get it to fail again. However, since it is up and running right now, I may just let it go until the next time I do a kernel upgrade.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
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