Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-23-2013, 04:29 PM
|
#1
|
Member
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90
Rep:
|
Old computer crashes while compiling certain packages with SlackBuild on Slackware 14
I have installed Slackware 14 with Fxce DE on my 11 year old desktop (1Gb RAM, Intel Celeron processor). It runs smoothly generally, but while compiling packages like xulrunner, chromium and wxPython with SlackBuild I get an unusually long string and at some point the computer crashes, without having finished the compilation.
Does anyone know why this is happening and how to solve it?
|
|
|
10-23-2013, 05:07 PM
|
#2
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,354
|
You have not provided any error information. Do you see any errors? Can you post them?
Just a guess. Open a terminal and run the command 'df'. Look to see where your temp file space is mounted. You have a gig of ram, and the default, if you are mounted on /dev/shm is half the available ram. Here is what I see on a 3 gig system.
Quote:
tmpfs 1.5G 116K 1.5G 1% /dev/shm
|
I have had a problem of running out of temp file space on larger compiles. I had to change fstab to mount a real hard drive dir, with lots of space to get around the problem. Just a guess remember, without any error info.
|
|
1 members found this post helpful.
|
10-23-2013, 05:10 PM
|
#3
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 499
Rep: 
|
I guess it would be difficult to say without seeing what actually happened or what the output was.
It would be a pretty lengthy process running any of these slackbuilds, more so on an older machine, they're not the simplest of builds any of them.
Are there not pre-compiled packages you could use? There's certainly xulrunner ones around I know that, someone's probably got the others somewhere.
|
|
|
10-23-2013, 05:24 PM
|
#4
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,980
|
Quote:
Originally Posted by Neyzan
I have installed Slackware 14 with Fxce DE on my 11 year old desktop (1Gb RAM, Intel Celeron processor). It runs smoothly generally, but while compiling packages like xulrunner, chromium and wxPython with SlackBuild I get an unusually long string and at some point the computer crashes, without having finished the compilation.
Does anyone know why this is happening and how to solve it?
|
Yes, your machine is running out of RAM in the linker stage. If you run htop in another console you'll be able to watch the free RAM drop to zero. If you're not using the SMP kernel with PAE support, switching to that (and having a lot of swap) might help. However, there is a process limit at play here, so it isn't as if having enough RAM/swap will necessarily fix the issue on x86.
Some of the Mozilla applications that bundle libxul are actually about to run into a wall on 32-bit machines where it might not be possible to compile them at all. There are better references out there than this one, but my Google-Fu is failing me right now:
http://mozilla.6506.n7.nabble.com/ld...-td280263.html
|
|
2 members found this post helpful.
|
10-24-2013, 12:14 PM
|
#5
|
Member
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90
Original Poster
Rep:
|
Sorry, but as my computer shuts down completely while compiling I can't provide any error information (unless there exists some way to retrieve it). I will try your suggestions though, and tell you if they work...
|
|
|
10-24-2013, 01:58 PM
|
#6
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,354
|
Quote:
as my computer shuts down completely
|
Do you mean it powers off? Can you explain a little more, exactly what happens.
|
|
|
10-24-2013, 02:14 PM
|
#7
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,302
Rep: 
|
Compiling huge programs can cause overheating and if the temperature is too high the machine simply halts to protect hardware. This happened to me a couple of times, but on a laptop with acpi enabled. I don't know if that can happen to a desktop
You could try to check the logs for that
EDIT. Example:
Code:
bash-4.2# grep "Critical temperature" /var/log/syslog*
/var/log/syslog.3:Sep 22 22:07:02 T61 kernel: [ 78.833940] Critical temperature reached (100 C), shutting down.
/var/log/syslog.3:Sep 22 22:07:02 T61 kernel: [ 79.089174] Critical temperature reached (100 C), shutting down.
/var/log/syslog.3:Sep 22 22:07:11 T61 kernel: [ 88.691847] Critical temperature reached (100 C), shutting down.
/var/log/syslog.3:Sep 25 22:44:04 T61 kernel: [20455.376716] Critical temperature reached (100 C), shutting down.
/var/log/syslog.3:Sep 28 11:43:52 T61 kernel: [ 25.283926] Critical temperature reached (100 C), shutting down.
bash-4.2#
PS as those messages are from the kernel, maybe acpi is not needed if the temperature is acquired by sensors and transmitted to some driver. Does someone know how that works?
Last edited by Didier Spaier; 10-24-2013 at 02:26 PM.
Reason: PS added
|
|
1 members found this post helpful.
|
10-25-2013, 01:44 AM
|
#8
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
You need a huge amount of RAM+swap in order to build chromium -I think they recommend something like 11GB.
|
|
|
10-25-2013, 10:22 AM
|
#9
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Rep:
|
Quote:
Originally Posted by gnashley
You need a huge amount of RAM+swap in order to build chromium -I think they recommend something like 11GB.
|
Can't speak to memory usage, but on a newer machine building the chromium slackbuild took several hours... I want to say at least 4. It's definitely a resource-intensive task.
|
|
1 members found this post helpful.
|
10-25-2013, 06:38 PM
|
#10
|
Member
Registered: Jul 2010
Location: Athens, Greece
Distribution: Slackware, Arch, Fedora.
Posts: 90
Original Poster
Rep:
|
What happens is that during the compilation of certain packages my computer just powers off. No warning, no error message, nothing. I checked the syslog but there is no mention whatsoever of the usage of my computer at the times that it powered off. I do get rather often the message
Code:
udisksd[some 4-digit number]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/WDC_WD800JB_00ETA0_WD_WCAHL3464188: Error updating SMART data: sk_disk_smart_status: Input/output error (udisks-error-quark, 0)
but I don't know if it is relevant.
I have a swap space of 2Gb now. I will change a 15Gb partition I'm not using into swap and see if this will solve the problem...
|
|
|
10-25-2013, 07:12 PM
|
#11
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,354
|
If the machine is powering off, it is probably a hardware issue. I have never seen a failed compile cause a machine to power off.
Things to check, are all the fans running at full speed? Are there blocked vents on the system? Dust build up? Since it is a desktop, remove the covers and have a good look around. Most systems will run without covers installed. You can visually check fans and dust.
|
|
1 members found this post helpful.
|
10-25-2013, 11:47 PM
|
#12
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Xulrunner can use, as Patrick said, up to about 6GB of RAM/Swap space in the linker stage. Often during compiles the CPU is under a stress load also which could make your temperatures shoot up also.
You might want to check your fan unit and see if it's dusty or dirty and take a can of compressed air and clean it and the case out. Also, get some Arctic Silver thermal grease and put some on your CPU's block chip and reattach the fan unit.
If it continues and you may need to replace the fan unit, or allow more ventilation (open the case or add extra fans if possible).
AlienBOB has pre-built packages up on his server and SalixOS has pre-built packages also so you shouldn't need to build packages unless necessary.
|
|
1 members found this post helpful.
|
11-02-2013, 04:41 PM
|
#13
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272
Rep:
|
Possibly I is not right, but I think you should adjust the SlackBuild script in line that contain the MUMJOBS variable. By default that variable contain a big number of threads, like 7. Old processors does not have these number of threads and when you set it in high, building process can be terminated with the out of memory errors.
|
|
|
11-02-2013, 10:02 PM
|
#14
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
This indeed sounds like your machine is overheating. Clean out the system, exchange the thermal paste on the CPU, check the temperatures.
|
|
1 members found this post helpful.
|
11-02-2013, 11:10 PM
|
#15
|
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690
|
Quote:
Originally Posted by mattca
Can't speak to memory usage, but on a newer machine building the chromium slackbuild took several hours... I want to say at least 4. It's definitely a resource-intensive task.
|
Code:
andrew@msi-gentoo ~ $ qlop -t chromium
chromium: 3594 seconds average for 20 merges
andrew@msi-gentoo ~ $ qlop -t xulrunner
xulrunner: 1302 seconds average for 12 merges
This is on a first gen Phenom with 4G RAM.
Code:
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9500 Quad-Core Processor
Last edited by andrewthomas; 11-02-2013 at 11:14 PM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|