Subject: Re: port-i386/36920: NetBSD 4.0_BETA2 'supervisor trap integer divide fault' panic
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel@NetBSD.org>
List: netbsd-bugs
Date: 10/02/2007 18:45:04
The following reply was made to PR port-i386/36920; it has been noted by GNATS.

From: Pavel Cahyna <pavel@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: Re: port-i386/36920: NetBSD 4.0_BETA2 'supervisor trap integer divide fault' panic
Date: Tue, 2 Oct 2007 20:42:24 +0200

 >  Definitely fixed.  :)
 >  
 >  The relevant bit of the diff is
 >  
 >           div = bsp->f_frsize ? (bsp->f_bsize / bsp->f_frsize) : 1;
 >           if (div == 0)
 >                   div = 1;
 >  
 >  , obviously.
 >  
 >  Thanks! Do you want to request a pull-up to netbsd-4, or shall I do it?
 
 Please do.