i386/41723: Copying files to filesystem causes "integer divide fault" and panic.

Aaron Smith aaron at mutex.org
Wed May 28 01:50:19 PDT 2003

The following reply was made to PR i386/41723; it has been noted by GNATS.

From: Aaron Smith <aaron at mutex.org>
To: freebsd-gnats-submit at FreeBSD.org, kreature at c2i.net,
	freebsd-misuser at dcf77-zeit.netscum.dyndns.dk, bright at mu.org
Subject: Re: i386/41723: Copying files to filesystem causes "integer divide fault" and panic.
Date: Tue, 27 May 2003 20:13:54 -0700

 [apologies for the long URL]
 As indicated in this thread, there is an overflow problem in ffs_dirpref
 for large filesystems. The symptom is an integer divide-by-zero exception
 at ffs_dirpref+0x1e8 (at least on a recent -CURRENT). This bug has been
 around for a year plus. Who else has seen this, and is anyone working on it
 before I do? It looks like it would reliably happen on any large FS for
 which you increase the average file size.
 I'm going to go through and change some types to int64_t and see if I can
 get this to stop panicking on my 1TB filesystem. Any advice that would lead
 to less hassle would be much appreciated.

More information about the freebsd-bugs mailing list