Re: Darwin-kernel Digest, Vol 4, Issue 78
Re: Darwin-kernel Digest, Vol 4, Issue 78
- Subject: Re: Darwin-kernel Digest, Vol 4, Issue 78
- From: panxd <email@hidden>
- Date: Sat, 17 Mar 2007 12:22:18 -0700 (PDT)
quick & easy solution?
Mac wac it!
get ad-vice from www.wefixmacs.com
My exp. is Java updates and some ioexts or CODE in junk-out
generally after going 10.3.9
causes execution of code to ?X0000 a jump to (0) sum address and this WILL cause NICE reassuring "kernel panic" on any????? G4 I believe.
quick & easy goto TIGER (10.4) or 10.4.8 = 99% stable compared to 10.3
I to get occasional sudden unexplained crashes on a UNIX mac-kernel with DARWIN?
come on, this is
it likely isn't the logic board swap out b/c those work or they don't.
that's engineering!
good
lucks,
DV
email@hidden wrote:
Send Darwin-kernel mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/darwin-kernel
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Darwin-kernel digest..."
Today's Topics:
1. 10.3.9 panic (Michael Welch)
2. RE: 10.3.9 panic (Michael Welch)
3. Fork/Exec vs pthread (Tony Scaminaci)
4. Re: Fork/Exec vs pthread (Michael
Smith)
----------------------------------------------------------------------
Message: 1
Date: Fri, 16 Mar 2007 16:19:51 -0700
From: "Michael Welch"
Subject: 10.3.9 panic
To:
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="UTF-8"
Hello all,
I'm suffering from sporadic hangs on a Powerbook G4 running 10.3.9. Unfortunately they first appeared shortly after two events:
1) The combined "Java for Mac OS X 10.3, Update 5", "Security Update 2007-002", and "Daylight Saving Time Update" updates in mid-February.
2) The failure and subsequent replacement of my PB's logic board.
The system would simply freeze, mouse input and all, and I'd get no panic dump on screen, not even the "pretty" one. Since then I've enable panic dumps (nvram boot-args="debug=0xd04"). Nothing gets written in
/Library/Logs/panic.log or /cores, but from what I jotted down from the screen at the time it occurs + gdb, I get the following:
Unresolved kernel trap: 0x300 - Data access
DAR: 0x0000000C
MSR: 0x9030
DSISR: 0x40000000
XCP: 0xC
backtrace:
0x642d8 : cmpwi cr7,r3,0
0x58998 : mr. r29,r3
0x910fc : mr. r22,r3
0x9402c : lis r10,512
There are no kernel modules on the backtrace.
So, my two questions:
1) I doubt many are still on Panther, but has anyone else seen this problem? Could it possibly be a bug from the updates? I don't think mach_kernel was touched by them...
2) Could this be a hardware issue? (shoddy repair work? RAM going bad?) It passes the TechTool memory test every time...
Any other suggestions on how to debug further are appreciated. I don't have a second Mac, so hooking up the kernel debugger won't
be easy.
Thanks,
- Mike
------------------------------
Message: 2
Date: Fri, 16 Mar 2007 16:24:33 -0700
From: "Michael Welch"
Subject: RE: 10.3.9 panic
To:
Message-ID:
<email@hidden>
Content-Type: text/plain; charset="UTF-8"
Oops, forgot the PC from the panic:
PC: 0x5c264 : lwz r0,12(r29)
- Mike
-----Original Message-----
Hello all,
I'm suffering from sporadic hangs on a Powerbook G4 running 10.3.9. Unfortunately they first appeared shortly after two events:
1) The combined "Java for Mac OS X 10.3, Update 5", "Security Update 2007-002", and "Daylight Saving Time Update" updates in mid-February.
2) The failure and subsequent replacement of my PB's logic board.
The system would simply freeze, mouse input and all, and I'd get no panic dump on
screen, not even the "pretty" one. Since then I've enable panic dumps (nvram boot-args="debug=0xd04"). Nothing gets written in /Library/Logs/panic.log or /cores, but from what I jotted down from the screen at the time it occurs + gdb, I get the following:
Unresolved kernel trap: 0x300 - Data access
DAR: 0x0000000C
MSR: 0x9030
DSISR: 0x40000000
XCP: 0xC
backtrace:
0x642d8 : cmpwi cr7,r3,0
0x58998 : mr. r29,r3
0x910fc : mr. r22,r3
0x9402c : lis r10,512
There are no kernel modules on the backtrace.
So, my two questions:
1) I doubt many are still on Panther, but has anyone else seen this problem? Could it possibly be a bug from the updates? I don't think mach_kernel was touched by them...
2) Could this be a hardware issue? (shoddy repair work? RAM going bad?) It passes the TechTool memory test every
time...
Any other suggestions on how to debug further are appreciated. I don't have a second Mac, so hooking up the kernel debugger won't be easy.
Thanks,
- Mike
------------------------------
Message: 3
Date: Sat, 17 Mar 2007 11:48:29 -0500
From: Tony Scaminaci
Subject: Fork/Exec vs pthread
To: Darwin Kernel List
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I've got a memory test application that runs in both a terminal
window as well as in single-user mode. It has recently come to my
attention that because my app is only exercising one of the CPU's on
multi-processor machines, I can't adequately test the CPU cache paths
for the other processors. My app can catch cache failures so it's
imperative that I be able to test all
processors on a given machine.
My question relates to the difference between use of fork/exec to
launch multiple processes and the use of pthreads. What I want is a
guarantee that if the machine has 4 CPU's, all 4 will run a portion
of the overall memory tests by launching four separate test processes
with each one testing 1/4 of the available memory. I can't find any
documentation regarding the difference between pthreads and fork/exec
nor anything that states definitively that launching X number of
threads or processes will spread those processes or threads across
all X CPU's. Can someone please shed light on this and let me know
which route I should go?
Thanks,
Tony
------------------------------
Message: 4
Date: Sat, 17 Mar 2007 11:49:21 -0700
From: Michael Smith
Subject: Re: Fork/Exec vs pthread
To: Tony Scaminaci
Cc: Darwin
Kernel List
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Mar 17, 2007, at 9:48 AM, Tony Scaminaci wrote:
> My question relates to the difference between use of fork/exec to
> launch multiple processes and the use of pthreads. What I want is a
> guarantee that if the machine has 4 CPU's, all 4 will run a portion
> of the overall memory tests by launching four separate test
> processes with each one testing 1/4 of the available memory. I
> can't find any documentation regarding the difference between
> pthreads and fork/exec nor anything that states definitively that
> launching X number of threads or processes will spread those
> processes or threads across all X CPU's. Can someone please shed
> light on this and let me know which route I should
go?
There is no mechanism currently provided for strongly binding a
thread to a specific execution context. This is traditionally
something grossly abused by application developers that think that
the OS should have no part in deciding what is and isn't important.
The system reserves the right to schedule your threads as it sees
fit; that being said if the system is otherwise idle, is not being
power managed for thermal, acoustic or administrative reasons, and
you have at least one thread per execution context, you can
reasonably expect that on current systems you will run on all of them
for much of the time.
There will be *no* correlation between thread and CPU package/core,
so you're not going to be able to say "this thread detected a cache
error so this CPU is defective". There are interfaces to take CPUs
offline, however, so you may want to consider a process of
elimination in the
situation where you have detected a cache error.
= Mike
------------------------------
_______________________________________________
Darwin-kernel mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/darwin-kernel
End of Darwin-kernel Digest, Vol 4, Issue 78
********************************************
email@hidden>email@hidden>
panxd @
.net
Don't be flakey.
Get Yahoo! Mail for Mobile and
always stay connected to friends.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden