Date: Wed, 28 May 2003 01:50:09 -0700 (PDT) From: Aaron Smith <aaron@mutex.org> To: freebsd-bugs@FreeBSD.org Subject: Re: i386/41723: Copying files to filesystem causes "integer divide fault" and panic. Message-ID: <200305280850.h4S8o9iT037983@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/41723; it has been noted by GNATS. From: Aaron Smith <aaron@mutex.org> To: freebsd-gnats-submit@FreeBSD.org, kreature@c2i.net, freebsd-misuser@dcf77-zeit.netscum.dyndns.dk, bright@mu.org Cc: 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] http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&threadm=200205261326.g4QDQrC00472%40beerswilling.netscum.dyndns.dk&rnum=1&prev=/groups%3Fq%3Dffs_dirpref%2Bdivide%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%3D200205261326.g4QDQrC00472%2540beerswilling.netscum.dyndns.dk%26rnum%3D1 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. --Aaron
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305280850.h4S8o9iT037983>