Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Boot Fails 25% of Attempts with kernel BUG
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
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Wed Feb 18, 2015 2:10 pm    Post subject: [Solved] Boot Fails 25% of Attempts with kernel BUG Reply with quote

About 25% of the times I attempt to boot Gentoo I receive a "BUG: unable to handle kernel NULL pointer dereference at (null)".
This appears just after "Waiting for uevents to be processed ..." appears on the screen.

https://www.dropbox.com/s/8ivfq4wrc82la45/DSCN0993.jpg is a picture of the screen after the 'Oops'. This all appears to happen before syslogng starts up so no log files.

I notice that if the "Waiting for uevents to be processed ..." takes about a second, then everything is fine and my new system boots up and runs without issue. During a failure there is no time between the "Waiting for uevents to be processed ..." message and the BUG messages.

System: Intel Core i7 based system on an Asus X99-A motherboard.

I see a few references to nvidia on the screen: I am using nvidia-drivers-343.36
I masked out nvidia-drivers-346.35 because consolefonts (other than the lowres default) don't work.

I am using gentoo-sources-3.17.8-r1.

Any suggestions on how to stop this intermittent BUG would be greatly appreciated.
(If I need to supply more information, please ask.)


Last edited by jagdpanther on Mon Feb 23, 2015 1:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Feb 18, 2015 10:47 pm    Post subject: Reply with quote

First recommendation, can you reproduce it without nvidia blob?

Second, you should tell what init system are you using.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Thu Feb 19, 2015 1:39 pm    Post subject: Reply with quote

Thanks for the reply.

Quote:
you should tell what init system are you using.

OpenRC

Quote:
can you reproduce it without nvidia blob?


I'll try tonight and post the results.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Thu Feb 19, 2015 8:37 pm    Post subject: Reply with quote

Quote:
can you reproduce it without nvidia blob?


I can not reproduce the error after removing the nvidia-drivers package.
I unmerged nvidia-drivers and then booted the system five times. All five succeeded.
(of course XDM did not start up either, but that is ok.)

After re-emergeing nvidia-drivers, startx worked fine.

If nvidia-drivers is causing this intermittent issue at boot-time and no-one has a better idea, I can live with starting in console mode and then running 'exec startx' on the console when I want X. In addition to removing 'nvidia' from /etc/conf.d/modules and having rc-update NOT start XDM, what else do I need to do to NOT have the nvidia module load a boot time? (I'll let it auto-load when I run 'startx')
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Feb 19, 2015 9:29 pm    Post subject: Reply with quote

Not sure, just test it with your setup, is nvidia module loaded if you boot to console? Blacklisting may help, it will disallow loading at boot time AFAIK, but the module can be still loaded later.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 768

PostPosted: Mon Feb 23, 2015 1:46 am    Post subject: Reply with quote

blacklisting the nvidia module did the trick. Now the nvidia module loads later in boot (when xdm starts) and I haven't had a boot failure since adding "blacklist nvidia" to /etc/modprobe.d/blackllist.conf (I created that file too.)
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