Subject: port-sparc/30629: userland crashes under sparc
To: None <port-sparc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <rpaulo@netbsd.org>
List: netbsd-bugs
Date: 06/29/2005 02:07:00
>Number:         30629
>Category:       port-sparc
>Synopsis:       userland crashes under sparc
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 29 02:07:00 +0000 2005
>Originator:     Rui Paulo
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD 3.0_BETA
Architecture: sparc
Machine: sparc
>Description:
Under NetBSD/sparc I get several segfaults/bus errors/memory faults when
running any userland program. Michael said it could be due to a SCSI DMA
problem. I can confirm that this is not hadware fault because 2.0_STABLE
works perfectly. Also, every program that gets loaded to memory without
any error doesn't core dump and I don't have any kernel panic (since the
kernel stays on memory after loading this confirms that the problem is
most likely located on SCSI code).
The core dumps say nothing useful except that the normally the program
that's about to core dump doesn't pass _start() or it's still loading
shared libraries.

See http://mail-index.netbsd.org/port-sparc/2005/06/27/0011.html for
more information (including dmesg). 

I'm not the only one with this problem and I think we should correct
it ASAP since the bug is present under netbsd-3 branch.

>How-To-Repeat:
	
>Fix: