AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070110103735.56c49123@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<ronb@onstor.com>,<maxim.kozlovsky@onstor.com>,<brian.deforest@onstor.com>,<dl-software@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E01FF8BD2@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 10 Jan 2007 10:37:43 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Ron Bhanukitsiri" <ronb@onstor.com>
Cc: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>, "Brian DeForest"
 <brian.deforest@onstor.com>, "dl-Software" <dl-software@onstor.com>
Subject: Re: How to get coredump on SSC
Message-ID: <20070110103743.412a89cc@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E01FF8BD2@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E01FF8BB6@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E01FF8BD2@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Did you try 

kill -quit <pid-of-cifsd>

?

Cheers,

a

On Wed, 10 Jan 2007 09:43:46 -0800 "Ron Bhanukitsiri" <ronb@onstor.com>
wrote:

> thanks Max.
> 
> It's currently 0.
> 
> Any other suggestion?
> 
> Ron B[ee]
> 
> _____________________________________________
> From: Maxim Kozlovsky 
> Sent: Wednesday, January 10, 2007 9:38 AM
> To: Brian DeForest; Ron Bhanukitsiri; dl-Software
> Subject: RE: How to get coredump on SSC
> 
> There was a problem with cifsd coredumps at one time, it required a
> sysctl to turn on coredump for setuid process, but it was fixed some
> time ago, and we've been getting the cifsd cores from the customers
> since then. 
> 
> Check what  "sysctl kern.nosuidcoredump" returns, it should be 0.
> 
> If it is 1, run a command "systctl -w kern.nosuidcoredump=0".
> 
> 	_____________________________________________ 
> 	From: 	Brian DeForest  
> 	Sent:	Wednesday, January 10, 2007 9:25 AM
> 	To:	Ron Bhanukitsiri; dl-Software
> 	Cc:	Maxim Kozlovsky
> 	Subject:	RE: How to get coredump on SSC
> 
> 	CC'ing Max.
> 
> 	_____________________________________________
> 	From: Ron Bhanukitsiri 
> 	Sent: Wednesday, January 10, 2007 9:24 AM
> 	To: dl-Software
> 	Subject: How to get coredump on SSC
> 
> 	I've been trying to get cifsd (a daemon forked off by
> authentication agent)
> 	on the SSC to crash and produce a coredump with no success.
> 
> 	I tried:
> 
> 	- write to the memory pointed by null pointer (char *p = NULL;
> *p = 0;)
> 	- assert()
> 
> 	I have a trace at the point of the code that is doing this;
> so I know the code
> 	is being executed.
> 
> 	Is there something (like in Linux) that I have to set in
> OpenBSD to get a
> 	corefile?
> 
> 	Thanks,
> 	Ron B[ee]
> 
> 
