Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Powerbook and heat
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Stéphane
n00b
n00b


Joined: 14 Aug 2004
Posts: 9

PostPosted: Sun Aug 15, 2004 10:00 pm    Post subject: Powerbook and heat Reply with quote

Dear all,

I'm experiencing an ennoying problem on my 15" G4 Powerbook, which I suspect to be caused by overheating: programs are just regularly dying with signals 8 (FPE) or 11 (SEGV) when an important activity takes place. And large compilations like KDE would fail, the compiler dying after a while.

I suspect all this to be due to bad temperature control as the problems tend to not occur when the Powerbook is put on a large metallic surface. Let it there is not an option, though.

Now, my questions:
    1) Does anybody already experienced the problem?

    2) Does somebody know how to control the integrated fan in there or anything that would influence the internal temperature? (w/ Linux kernel 2.6.8.1)


Thank you in advance to anybody that can answer my questions or hint me towards a solution. Best Regards...
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Mon Aug 16, 2004 9:39 am    Post subject: Reply with quote

I had the same kde problem. eheh you are using gcc 3.3... i think...

If you merge all kde with gcc 3.2 instead of 3.3 you will fix your problem. The only thing that you have to merge with gcc 3.3 is kdeutils.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
snowlander
n00b
n00b


Joined: 27 Mar 2004
Posts: 32
Location: Pohnpei, Micronesia

PostPosted: Mon Aug 16, 2004 10:01 am    Post subject: Reply with quote

Lots of signal 11 could mean you have bad RAM. I had a PC that did this whenever I compiled stuff or ran big programs. I also got a lot of randomly occuring freezes. Removing one SIMM module cured it.

Did you get lots of kernel panics under OS X?
Have you tried making the computer cooler?

My powerbook G4 550Mhz upgraded pismo gets quite hot during long compiles so I elevate it about 2cm off the table and put a fan right in front of it. /proc/cpuinfo is ~10C cooler this way while compiling. Sitting flat on the desk, the system feels quite warm during long compiles. While elevated with a fan blowing on it, the powerbook is cool to the touch even after 4 hours of compiling KDE. /proc/cpuinfo says the temp is 33C. (When the system is idle, /proc/cpuinfo says 9C, which makes no sense--I do not live in a freezer! So I just pay attention to the difference between idle and compiling temps.)

Nevertheless, my system has never had any signal 11 errors or (OS X) kernel panics.
Back to top
View user's profile Send private message
SeJo
Retired Dev
Retired Dev


Joined: 08 Oct 2002
Posts: 298
Location: Belgium

PostPosted: Mon Aug 16, 2004 12:38 pm    Post subject: Reply with quote

for the Alu pb G4 15" use the thermal module named: therm_adt746x
_________________
"I am not bound to please thee with my answers."
Back to top
View user's profile Send private message
Stéphane
n00b
n00b


Joined: 14 Aug 2004
Posts: 9

PostPosted: Mon Aug 16, 2004 7:38 pm    Post subject: Reply with quote

Thank you all for your replies.

I'm however surprised Silian87 by your experience. The generation of SIG8 and SIG11 would be due to the code generated by gcc 3.3? I can't figure out why (and how) gcc 3.3 would generate code that make my hardware fail. I will anyway follow your advice and compile KDE with gcc 3.2 in the next days... ...and I'll let you know whether it changes something.

I know from years of experience that getting some sig11 on a machine hints at stinky memory/heat/electrical pertubation problems. However, MacOS X never seemed affected by any weird behaviour as far as I can tell (well, I probably ran it for less than 5 hours in total and nothing then was CPU-intensive). What really surprised me was the sig8 signal. That was the 1st time for me on a Linux platform in around 10 years... ;-) I have the feeling this is software problem, with weird side effects of something really wrong. If changing the compiler version removes the symptoms, that would just mean something is very smelly in there...

Thank you SeJo for the module name. I have it compiled in the kernel, but I was really more wondering about any trivial userland way to control the fan (like setting it to work 100% all the time, to see whether it changes something or not, apart from the noise :wink: ).

Anyway, I'll play around with that and let you know in few days what's going on...

Thank you all for your answers and suggestions!
Back to top
View user's profile Send private message
blubbfisch
n00b
n00b


Joined: 19 Oct 2003
Posts: 55
Location: World->Pacific->New Zealand->Hamilton

PostPosted: Tue Aug 17, 2004 4:59 am    Post subject: Reply with quote

Do you have Preemption enabled in your kernel?
That was what made apps on my AlBook crash randomly and in very strange ways...

Have fun*

Niklas
Back to top
View user's profile Send private message
pheelay
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 128
Location: Ireland

PostPosted: Fri Aug 20, 2004 4:52 pm    Post subject: Reply with quote

Apple have just recalled a load of Al Powerbook battery packs due to overheating!
Check out
https://depot.info.apple.com/batteryexchange/index.html
Back to top
View user's profile Send private message
Stéphane
n00b
n00b


Joined: 14 Aug 2004
Posts: 9

PostPosted: Thu Aug 26, 2004 2:30 pm    Post subject: Gentoo bug trap... Reply with quote

Thank you all for your answers.

I've been experimenting quite a lot and I managed to determine where the problems are. I modified the source of therm_adt746x to get a smoother and more efficient temperature management. That was a first easy point which makes the PowerBook working way better. It's still not perfect (some yoyo-behaviour at temp limits) but I'm gonna spend soon a bit of more time on it to improve my dirty changes ;-)

The second very ennoying point is gcc. My gcc is faulty and crashes in large compilation. It turns out Gentoo has a design problem there: if you break something like the glibc, gcc or python; you simply cannot get out of trouble in a nice way! You need to get a binary version of the faulty program/lib without which you cannot emerge a working version...

Well, apart from doing dirty things in the install CD, how do I am supposed to get a working binary version of gcc so that I can compile a working version of it? My current gcc just cannot do it...

I have the idea that a
Code:
emerge recovery gcc
that would just fetch a working gcc binary to actually compile a correct new version would be a Good Idea (tm).

Has any of you experienced something similar?
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Thu Aug 26, 2004 7:14 pm    Post subject: dead glibc Reply with quote

Yes. I accidentally overwrote glibc with an x86 version (trying to get qEmu working), and I could not find a way to get a good copy of glibc.

Stupid mistake.

~Michael
Back to top
View user's profile Send private message
Stéphane
n00b
n00b


Joined: 14 Aug 2004
Posts: 9

PostPosted: Sat Aug 28, 2004 4:49 pm    Post subject: Reply with quote

Well, I've just noticed this issue is registered as
bug 52293.

Regards.
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Fri Sep 24, 2004 2:58 pm    Post subject: Reply with quote

I currently have the same problem as described above. The memory check of the Apple hardware test shows me no errors on the RAM (tested several times). The segfaults occur randomly while compiling huge packages (and only after a while the system is running).

@Stephane: Did you get your segfaults always at the same position while compiling? When I compile the kernel I get the segfaults always at different modules - I am always doing a make clean after each try. I don't know what to do. Apple Care also don't know (support hotline: "Err, what is a shell? Compiler? ....does iTunes work? Yes...? - Sorry we only support dialog GUI-oriented problems..." :-( *grrr* :-( ).

Anybody knows what else can I try? (I even don't know if any library is broken or not)

Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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