Subject: Re: port-i386/36920: NetBSD 4.0_BETA2 'supervisor trap integer
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 10/02/2007 13:05:05
The following reply was made to PR port-i386/36920; it has been noted by GNATS.
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org
Subject: Re: port-i386/36920: NetBSD 4.0_BETA2 'supervisor trap integer
divide fault' panic
Date: Tue, 2 Oct 2007 15:03:31 +0200
At 19:40 Uhr +0000 29.09.2007, Pavel Cahyna wrote:
> Probably fixed in sys/compat/linux/common/linux_misc_notalpha.c rev. 1.89
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?
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281