Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic while compiling webkit-gtk.
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
caaarlos
Apprentice
Apprentice


Joined: 27 Apr 2012
Posts: 155

PostPosted: Thu May 26, 2016 7:39 pm    Post subject: Kernel Panic while compiling webkit-gtk. Reply with quote

I'm trying to emerge webkit-gtk, but after 3~5h compiling I get a kernel panic.

Error message:

Code:
kernel offset disabled
kernel panic not syncing attempted to kill init


This is my kernel config: https://bpaste.net/show/6a9936b25734
And this is emerge --info "=net-libs/webkit-gtk-2.10.9:4/37": https://bpaste.net/show/d5f01541fbd4
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7267
Location: almost Mile High in the USA

PostPosted: Thu May 26, 2016 8:24 pm    Post subject: Reply with quote

Most likely hardware problem. Webkit-gtk is one of the nastiest programs to compile.

- check cooling
- disable overclocking
- run single threaded
- ram test
- power supply test
- different hardware.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44152
Location: 56N 3W

PostPosted: Fri May 27, 2016 7:40 pm    Post subject: Reply with quote

caaarlos,

The build log would be useful. Put it on a pastebin site with wgetpaste and post the link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
caaarlos
Apprentice
Apprentice


Joined: 27 Apr 2012
Posts: 155

PostPosted: Sat May 28, 2016 10:53 am    Post subject: Reply with quote

Strange, I changed to one thread and a got a kernel panic, but I with two threads it worked and webkit-gtk is installed. Is this just 'luck' or using two threads will never give a kernel panic again?

NeddySeagoon, since it was installed correctly I did not find my build.log
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 204
Location: Bavaria

PostPosted: Sat May 28, 2016 1:33 pm    Post subject: Reply with quote

Are you sure you ran single threaded (-j1) when the build crashed?
Webkit build eats a lot of RAM. Even with 4GB RAM webkit-gtk needs a lot of swap when building with more threads. -j3 crashed here with 4GB RAM and 4GB swap because of memory lack, but built successfully with -j1.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat May 28, 2016 1:40 pm    Post subject: Reply with quote

caaarlos, tomtom69, et al ...

you will also reduce the ram usage significantly by removing '-pipe' from CFLAGS (ie, via package.env).

best ... khay
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7267
Location: almost Mile High in the USA

PostPosted: Sat May 28, 2016 5:37 pm    Post subject: Reply with quote

caaarlos wrote:
Strange, I changed to one thread and a got a kernel panic, but I with two threads it worked and webkit-gtk is installed. Is this just 'luck' or using two threads will never give a kernel panic again?

I would probably have to attribute it to random variance - or so called "luck". No idea whether or not it will crash some other time with two threads or not. Should still look into possible machine issues.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3723
Location: Hamburg

PostPosted: Sat May 28, 2016 8:09 pm    Post subject: Reply with quote

caaarlos wrote:
Strange, I changed to one thread and a got a kernel panic, but I with two threads it worked
erratic behaviour, not good. I'd advice a memcheck and/or a newer kernel.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat May 28, 2016 8:30 pm    Post subject: Reply with quote

toralf wrote:
caaarlos wrote:
Strange, I changed to one thread and a got a kernel panic, but I with two threads it worked

erratic behaviour, not good. I'd advice a memcheck and/or a newer kernel.

toralf ... perhaps, but memory usage changes, the fact that it is "erratic" may be due to whatever else happened to be using system resources at those particular times.

best ... khay
Back to top
View user's profile Send private message
caaarlos
Apprentice
Apprentice


Joined: 27 Apr 2012
Posts: 155

PostPosted: Tue May 31, 2016 10:41 pm    Post subject: Reply with quote

Yes, I'm sure that I was running on just one thread. khayyam, I'm not using pipe...
My hard drive has a led and this led is yellow. When my system reads or write on it, this led goes red. So, when I get a kernel panic the led stays red and don't change it color until I manually remove my hard drive cable. If just reboot my sytem, it continues red and don't start grub. Could it be a hard drive problem?
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