Subject: Re: port-sparc64/31925: smartd panics NetBSD 2.0.2_STABLE on sparc64
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 11/01/2005 15:44:02
The following reply was made to PR port-sparc64/31925; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc64/31925: smartd panics NetBSD 2.0.2_STABLE on sparc64
Date: Tue, 1 Nov 2005 16:42:57 +0100

 On Tue, Nov 01, 2005 at 02:46:05PM +0100, Martin Husemann wrote:
 > On Tue, Nov 01, 2005 at 01:49:59PM +0100, Manuel Bouyer wrote:
 > > I don't think the check should be in esiop.
 > 
 > That was meant to mean "instead of in sparc64's bus_dmamap code". It's not
 > realy clear from the man page if a 0 size map should be considered valid.
 
 IHMO it should not be considered valid. Maybe the man page should clarify
 this, and DIAGNOSTIC code should be added to check this ?
 
 > 
 > > I think the attached patch should be the right fix, can you test it ?
 > 
 > It works fine.
 
 thanks, I've commited it and will request pullups in a day or two.
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --