> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:pvfs2-users-
> [EMAIL PROTECTED] On Behalf Of Nathan Poznick
> Sent: Wednesday, May 31, 2006 10:56 PM
> To: [email protected]
> Subject: Re: [Pvfs2-users] pvfs2 on debian running on sparc hardware
> 
> Thus spake Robert Latham:
> > Does 'dmesg' have any information? perhaps about an application that
> > made an unaligned access?  Otherwise, I'm not sure where to begin
> > debugging this one...
> 
> I was poking around arch/sparc/kernel/unaligned.c, and I don't *think*
> the kernel is going to warn you about it these days (at least, that's
> the way it looks on the 2.6 kernel).  It does send a SIGBUS to the
> process however, which would kill it.  Given that it's likely there
are
> unaligned accesses left here and there (due to large code changes more
> than anything), and both sparc and alpha throw a SIGBUS in that case
> (on alpha, they apparently changed it in the 2.6 kernel - it used to
> silently fix things up for you, now it errors out),
> 
> Would it make sense for pvfs2-server to install a handler for SIGBUS
> alongside the SIGSEGV handler, #ifdef __PVFS2_SEGV_BACKTRACE__?
> 
> Something like the attached small patch.  I'm not positive on the use
> of new_action, but a SIGBUS sends the same siginfo_t as a SIGSEGV, so
> in theory it might be useful to get at least some manner of trace to
> pinpoint the problem areas.
> 

I applied the patch to the cvs source.  The server doesn't crash, but
all the commands (like pvfs2-ping, and etc) hang.  Nothing in dmesg or
the server log file.

If I use the configure option "--enable-segv-backtrace", I get a
compiler error.
The error was:
src/server/pvfs2-server.c:1286:4: #error Unknown instruction pointer
location for your architecture, configure without
--enable-segv-backtrace.
src/server/pvfs2-server.c: In function `bt_sighandler':
src/server/pvfs2-server.c:1308: error: `REG_INSTRUCTION_POINTER'
undeclared (first use in this function)
src/server/pvfs2-server.c:1308: error: (Each undeclared identifier is
reported only once
src/server/pvfs2-server.c:1308: error: for each function it appears in.)
make: *** [src/server/pvfs2-server-server.o] Error 1


Unify Corporation
--------------------------------------------------
Yan Lam - Systems Administrator
[EMAIL PROTECTED] : www.unify.com
W: 916.928.6226 | F: 916.928.6413




_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to