[mdb-discuss] act_thread dcmd?

2005-08-22 Thread James C. McPherson
Eric Schrock wrote: > On Thu, Aug 18, 2005 at 11:44:54AM -0400, Andrew Gallatin wrote: ... >>The block linked to >>(http://blogs.sun.com/roller/page/eschrock?entry=debugging_on_amd64_part_two) >>has a link to the act tool (http://cpre-emea.uk/tools/act.html), but >>the host mentioned in that link d

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Andrew Gallatin
Robert W. Fuller writes: > Gavin Maltby wrote: > > Well apparently you can already download the act material as part of > > the SRS download from Sun; you have to register to download SRS > > but you don't otherwise have to be a paying/contract customer. > > I would like this as well but I

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Robert W. Fuller
Gavin Maltby wrote: > Well apparently you can already download the act material as part of > the SRS download from Sun; you have to register to download SRS > but you don't otherwise have to be a paying/contract customer. I would like this as well but I could not turn it up on Sun's A-Z list of d

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Robert W. Fuller
Gavin Maltby wrote: > Well apparently you can already download the act material as part of > the SRS download from Sun; you have to register to download SRS > but you don't otherwise have to be a paying/contract customer. I would like this as well but I could not turn it up on Sun's A-Z list of d

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Gavin Maltby
On 08/19/05 09:44, Gavin Maltby wrote: > Not true! - for some time act has been usable by customers, and the group > who look after it (who sit opposite me) have recently cleaned up their > tools pages to make it clear what is and isn't customer clean > (http://pts-platform.emea/twiki/bin/view/Too

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Gavin Maltby
Hi On 08/18/05 17:23, Eric Schrock wrote: >> The block linked to >> (http://blogs.sun.com/roller/page/eschrock?entry=debugging_on_amd64_part_two) >> has a link to the act tool (http://cpre-emea.uk/tools/act.html), but >> the host mentioned in that link does not exist. > > The ACT tools are on

[mdb-discuss] act_thread dcmd?

2005-08-19 Thread Andrew Gallatin
Gavin Maltby writes: > Well apparently you can already download the act material as part of > the SRS download from Sun; you have to register to download SRS > but you don't otherwise have to be a paying/contract customer. Thank you for the pointer. I registered and downloaded the SRS system

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Frank Hofmann - Solaris Sustaining
[ ... ] > That's unfortunate. How do we get the docs at > http://iforce.sun.com/protected/solaris10/adoptionkit/x86/techinfo.html > updated so the next poor slob does not trip over this? I've already requested that. Or rather, I'm trying to find out who's owning this webpage so it can be changed

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Frank Hofmann - Solaris Sustaining
[ ... ] > Yes, I feel dumb for not including it, regardless of the docs. I > should have remembered seeing it scroll by on FreeBSD and Linux > compilations.. Nah, no need to feel bad about this. Everyone seems to trip over this, you're in the best of company there. Including our own developers, a

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Frank Hofmann - Solaris Sustaining
> Frank Hofmann - Solaris Sustaining writes: > > > > Let me guess: You've compiled this driver with gcc, and did not > > specify the "-mno-red-zone" compiler option ? > > Correct. My gcc flags for amd64 are "-m64 -mcmodel=kernel" > I got those flags from from http://iforce.sun.com/protecte

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Frank Hofmann - Solaris Sustaining
Let me guess: You've compiled this driver with gcc, and did not specify the "-mno-red-zone" compiler option ? Regarding the ACT dcmds, you need a copy of the KENV distribution for these to be available. Internally to Sun, there's a project webpage for it which lists a "customer version" - and no

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Andrew Gallatin
Frank Hofmann - Solaris Sustaining writes: > [ ... ] > > Yes, I feel dumb for not including it, regardless of the docs. I > > should have remembered seeing it scroll by on FreeBSD and Linux > > compilations.. > > > If anybody is to blame, then it's the gcc folks, who have given people >

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Andrew Gallatin
Eric Schrock writes: > > The ACT tools are only available internally to Sun. I don't know of any > plans to make them publicly available, but there should be... Darn, that's too bad.. > > Does anybody know where/how to get an mdb with the act_thread dcmd? > > I apologize in advance if thi

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Andrew Gallatin
Frank Hofmann - Solaris Sustaining writes: > > > Frank Hofmann - Solaris Sustaining writes: > > > > > > Let me guess: You've compiled this driver with gcc, and did not > > > specify the "-mno-red-zone" compiler option ? > > > > Correct. My gcc flags for amd64 are "-m64 -mcmodel=kerne

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Andrew Gallatin
Frank Hofmann - Solaris Sustaining writes: > > Let me guess: You've compiled this driver with gcc, and did not > specify the "-mno-red-zone" compiler option ? Correct. My gcc flags for amd64 are "-m64 -mcmodel=kernel" I got those flags from from http://iforce.sun.com/protected/solaris10/ad

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Andrew Gallatin
I'm trying to debug what I think is a stack smash on amd64 with a character driver I've ported from i86pc. I have one panic which is totally useless (PC is garbage, mdb can do no stack trace at all), and another where the stack looks like this: > $C fe800095cdb0 mutex_enter+0xb() fe80009

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Adam Leventhal
On Thu, Aug 18, 2005 at 09:23:27AM -0700, Eric Schrock wrote: > The ACT tools are only available internally to Sun. I don't know of any > plans to make them publicly available, but there should be... There are plans to integrate some of the functionality in act into mdb itself. I'm sure about a t

[mdb-discuss] act_thread dcmd?

2005-08-18 Thread Eric Schrock
On Thu, Aug 18, 2005 at 11:44:54AM -0400, Andrew Gallatin wrote: > > According to > http://blogs.sun.com/roller/page/chrisg/20041123#amd64_arguements, > there is a dcmd called "act_thread" which can print arguments. > But I don't seem to have it available on my Solaris 10 GA box: > > > *panic_th