Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2002 05:20:03 -0700 (PDT)
From:      "Tha KreAture" <Tha_KreAture@hotmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/41723: Copying files to filesystem causes "integer divide fault" and panic.
Message-ID:  <200208171220.g7HCK3Ld041166@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: "Tha KreAture" <Tha_KreAture@hotmail.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <kreature@c2i.net>
Cc:  
Subject: Re: i386/41723: Copying files to filesystem causes "integer divide fault" and panic.
Date: Sat, 17 Aug 2002 14:15:46 +0200

 OK.  I did a recompile of my kernel and added dumping...
 
 Here's the output of the backtrace:
 ---------------------------
 (kgdb) bt
 #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
 #1  0xc0165adc in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc0165f10 in poweroff_wait (junk=0xc029980c, howto=-1071017206)
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0261e27 in trap_fatal (frame=0xd0936c4c, eva=0)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0261803 in trap (frame={tf_fs = 16, tf_es = -795672560,
       tf_ds = -1051328496, tf_edi = -795644108, tf_esi = 0,
       tf_ebp = -795644740, tf_isp = -795644808, tf_ebx = -1051308032,
       tf_edx = -1, tf_ecx = -1310720000, tf_eax = -1310720000, tf_trapno =
 18,
       tf_err = 0, tf_eip = -1071541209, tf_cs = 8, tf_eflags = 66182,
       tf_esp = -1050202880, tf_ss = -1051308032})
     at /usr/src/sys/i386/i386/trap.c:636
 #5  0xc0219427 in ffs_dirpref (pip=0xc1672d00)
     at /usr/src/sys/ufs/ffs/ffs_alloc.c:710
 #6  0xc021911d in ffs_valloc (pvp=0xd094f540, mode=16877, cred=0xc167de80,
     vpp=0xd0936d10) at /usr/src/sys/ufs/ffs/ffs_alloc.c:590
 #7  0xc022b50d in ufs_mkdir (ap=0xd0936e78)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:1321
 #8  0xc022c6a1 in ufs_vnoperate (ap=0xd0936e78)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422
 #9  0xc01995ce in mkdir (p=0xcf2590c0, uap=0xd0936f80) at vnode_if.h:674
 #10 0xc026208d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
 --------------------
 
 #5 is interesting...
 
 The funky stuff is happening at line 710 in sourcefile ffs_alloc.c wich, if
 I have read correctly, is trying to find/select a inode for a directory or
 file or something...
 So, this line is causing me all theese problems:        "maxcontigdirs =
 min(cgsize / dirsize, 255);"
 
 It appears the crash happens when a directory is made or a file is being
 placed...
 
 Hoping someone experienced with the code could check this?  I am certain I
 traced this right :-)
 
     Kyrre
 
 
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208171220.g7HCK3Ld041166>