You are not logged in.

#1 2008-03-16 22:08:14

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Does my laptop hate Arch?

I have an HP Compaq Presario V5000. Intel Celeron M @ 1.46GHz, 768MB RAM.

I have Ubuntu and Arch installed on it.

Here is the problem. I was sitting around shortly after I installed Arch, basking in its glory. When all of a sudden, my laptop shut off. No shutdown; just off. I don't have a battery in it, so I just assumed that I hit the AC cord and it lost power. After being on for a few hours, it happened again. This time I was just looking at it! I know I didn't knock it or anything.

I've had power-supply problems with this laptop before, so I assumed that the piece of junk was broken again. (I hate this laptop) So, this happened a few more times and I thought to check if Ubuntu does it too. I left my laptop on with Ubuntu for 12 hours, then for 5 hours the next day and it did not magically shut off. I thought it was a coincidence, but the more times it happens in Arch and not in Ubuntu, the more I think my laptop might just react badly to something in Arch.

It seems incredibly odd to me that it just shuts off and doesn't shut down or crash or some "normal" problem. I was thinking that maybe it could be the kernel or something. Has anyone heard of something like this before? I really like Arch a lot and it would be a shame if I can't rely on it for my laptop.

Offline

#2 2008-03-16 22:14:33

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Does my laptop hate Arch?

Cause: Overheating

Answer: pacman -S cpufreq

Msg. Explanation: Drunk

Offline

#3 2008-03-16 22:18:32

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Does my laptop hate Arch?

Could possibly be overheating? Install something like lm_sensors to check the temperature of your CPU. Maybe do some CPU frequency scaling, which I assume Ubuntu does by default. Ubuntu probably has a more conservative default scaling approach than arch.

Last edited by dyscoria (2008-03-16 22:19:04)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#4 2008-03-16 22:28:57

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

That's a good theory. I have conky running now and it's the same temp as it usually is in Ubuntu, so it at least is not always running hot. I'll keep an eye on it to see if it climbs.

Assuming that it isn't that: is there anything else you can think of?

Thanks.

Offline

#5 2008-03-16 22:57:56

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Does my laptop hate Arch?

Ashren wrote:

Cause: Overheating

Answer: pacman -S cpufreq

Msg. Explanation: Drunk

That's probaly one of the funniest (and also helpful!) posts I've seen in a while... big_smile


Haven't been here in a while. Still rocking Arch. smile

Offline

#6 2008-03-17 02:17:27

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Does my laptop hate Arch?

Assuming it's not a hardware failure, shutdowns should be the cause of a kernel or kernel module crash.

Given that Linux is Linux, regardless of distro, you can use the Ubuntu kernel in Arch (I used to use the Ubuntu kernel in Gentoo). Here is the Ubuntu kernel.

Offline

#7 2008-03-17 02:30:42

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

I'm going to try that because it's still happening and not running that hot. (Not anywhere near the manufacturer's limit)

How do I go about installing that kernel? Will my Arch still be i686 optimized? Am I compromising anything? How likely is it that I will break my system? (I don't care, I'm doing it anyway, I just want to know)

Offline

#8 2008-03-17 02:48:49

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Does my laptop hate Arch?

pogeymanz wrote:

How do I go about installing that kernel?

That's too much effort for me to explain. I would have to do it myself, to create a foolproof walkthrough. You're gonna have to use your own brain a bit. Use Google, and look at the zillions of people who use the "patch" command millions of times per day.

Will my Arch still be i686 optimized?

You're compiling it, so set CFLAGS in /etc/makepkg.conf to safe values.

How likely is it that I will break my system?

Well, it's extremely likely, if you become the root user and starting screwing around with files at random. What was the question again?

The Ubuntu kernel is one of the most widely-used distro kernels.

Offline

#9 2008-03-17 03:02:40

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

Alright. Thank you very much. This will be my next project.

Offline

#10 2008-03-17 03:04:26

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Does my laptop hate Arch?

Before I'd use the Ubuntu kernel I'd try to isolate the problem. Does it help if you unload (rmmod) some of the kernel modules. Use lsmod to see which modules you use. Any errors in dmesg? kernel.log?

A second thought: you mentioned that you've had power supply problems before. Would it be possible that you plug in the battery just to make sure that its not the power supply cable which fails from time to time? It is strange that this only happens when Arch is running but you never know...


Haven't been here in a while. Still rocking Arch. smile

Offline

#11 2008-03-17 05:41:26

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Does my laptop hate Arch?

Just a note, don't bother with frequency scaling on that Celeron M, it doesn't have SpeedStep and the frequency makes absolutely no difference. I have a Celeron M 560 1.6Ghz, I can force it to scale with P4 clockmod, but it uses the same power and produces the same heat at 200mhz that it does at 1.6Ghz.

Offline

#12 2008-03-17 08:08:57

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Does my laptop hate Arch?

Heat production is not only the result of voltage. If voltage stays the same, the power consumption (and heat production) scales along with the clock speed.

Last edited by B (2008-03-17 08:09:37)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2008-03-17 12:39:49

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

elliott wrote:

Just a note, don't bother with frequency scaling on that Celeron M, it doesn't have SpeedStep and the frequency makes absolutely no difference. I have a Celeron M 560 1.6Ghz, I can force it to scale with P4 clockmod, but it uses the same power and produces the same heat at 200mhz that it does at 1.6Ghz.

Yeah, I've realized this is the case. I used P4 clockmod, and it did run just as hot; sometimes hotter!

And, unfortunately I have a new battery coming in the mail, but the original is damaged. So no testing that. I'll try playing with the kernel modules after class today.

Offline

#14 2008-03-20 18:51:31

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

Well, I installed the kernel26mm from the repos and I really thought that did the trick until yesterday. I have two problems that might be related:

The laptop just shuts off. It only does this under Arch, so it's not just the laptop. This has only happened twice since I installed the different kernel, so it seems to have become less frequent, which is weird.

Also, X seems to die on me sometimes. My screen will go black (but still on) and then blink on and off a few times (still black) and the computer stays powered on.

What are all the error log files I should check? I don't know where any are located.

Offline

#15 2008-03-20 19:35:57

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Does my laptop hate Arch?

Logs are in /var/log.  smile

Offline

#16 2008-03-20 20:19:02

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Does my laptop hate Arch?

I also disabled the testing repo and am reinstalling the testing packages to see if some of those might have broke something.

Offline

Board footer

Powered by FluxBB