Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic on reboot/shutdown
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Thu Dec 18, 2014 9:18 am    Post subject: kernel panic on reboot/shutdown Reply with quote

every now and then(around once every 5 reboots/power offs), I get a kernel panic, this has been going on for quite a while now
I'm not exactly sure why this happens
here's a screenshot of the message:
http://en.zimagez.com/zimage/dsc0002edc15a10c98614d1895885f022d51ff0.php



thanks
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5762

PostPosted: Fri Dec 19, 2014 3:17 pm    Post subject: Reply with quote

The crash is inside nvidia proprietary code.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Dec 20, 2014 7:42 am    Post subject: Reply with quote

did you figure this out from the call trace? just in case I try to debug/figure out a kernel oops

I've modrpobe -r before I shutdown and there have been no problems, so it's indeed the nvidia module, should I file a bug report?
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Wed Dec 31, 2014 11:52 pm    Post subject: Reply with quote

well I'm trying to create a startup script that would modprobe -r nvidia on shutdown
It works 80% of the time
Once It's working Ill post the script
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 837

PostPosted: Wed Dec 31, 2014 11:55 pm    Post subject: Reply with quote

Why not just put a command line (modprobe -r nvidia) into /etc/local.d/local.stop ?
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Fri Jan 02, 2015 10:40 pm    Post subject: Reply with quote

that script is not being read, I'm using systemd if that's relevant
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Jan 03, 2015 6:26 pm    Post subject: Reply with quote

I've been testing thescript for quite a while now:
/etc/systemd/system/startup.service:
[Unit]
Description=startup-scripts

[Service]
Type=oneshot
ExecStart=/home/adel/scripts/startup systemd
ExecStop=/home/adel/scripts/startup systemd-stop

[Install]
WantedBy=graphical.target


and /home/adel/scripts/startup:
systemd-stop)
/sbin/modprobe -r nvidia


I'm using this script to start and stop other apps as well
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