Fatal trap 18: integer divide fault while in kernel mode

Christian Brueffer chris at unixpages.org
Mon Jul 11 18:58:06 GMT 2005


Hi,

got the following panic while plugging an external 400gb disk via USB2.0
in to an SMP machine.

Dump and debugging kernel are available.


FreeBSD haakonia.hitnet.RWTH-Aachen.DE 5.4-STABLE FreeBSD 5.4-STABLE #85: Thu Jun 16 09:45:23 CEST 2005
chris at haakonia.hitnet.RWTH-Aachen.DE:/usr/home/build/usr/home/build/src/sys/LORIEN i386


(kgdb) bt
#0  doadump () at pcpu.h:160
#1  0xc0481d35 in db_fncall (dummy1=0, dummy2=0, dummy3=1999, dummy4=0xd5444590 " ®|À\022")
    at /usr/home/build/src/sys/ddb/db_command.c:531
#2  0xc0481ac2 in db_command (last_cmdp=0xc07ca524, cmd_table=0x0, aux_cmd_tablep=0xc07906e0, 
    aux_cmd_tablep_end=0xc07906e4) at /usr/home/build/src/sys/ddb/db_command.c:349
#3  0xc0481bd5 in db_command_loop () at /usr/home/build/src/sys/ddb/db_command.c:455
#4  0xc0483d15 in db_trap (type=18, code=0) at /usr/home/build/src/sys/ddb/db_main.c:221
#5  0xc059915e in kdb_trap (type=0, code=0, tf=0x1) at /usr/home/build/src/sys/kern/subr_kdb.c:468
#6  0xc0725824 in trap_fatal (frame=0xd544472c, eva=0)
    at /usr/home/build/src/sys/i386/i386/trap.c:812
#7  0xc07252a2 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = -557797922, tf_ebp = -716945424, tf_isp = -716945576, tf_ebx = -557797921, tf_edx = 0, tf_ecx = 0, tf_eax = 1, tf_trapno = 18, tf_err = 0, tf_eip = -1066185909, tf_cs = 8, tf_eflags = 66118, tf_esp =
-1068481083, tf_ss = -1045757696}) at /usr/home/build/src/sys/i386/i386/trap.c:622
#8  0xc071023a in calltrap () at /usr/home/build/src/sys/i386/i386/exception.s:140
#9  0x00000018 in ?? ()
#10 0x00000010 in ?? ()
#11 0x00000010 in ?? ()
#12 0x00000001 in ?? ()
#13 0xdec0adde in ?? ()
#14 0xd54447f0 in ?? ()
#15 0xd5444758 in ?? ()
#16 0xdec0addf in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000001 in ?? ()
#20 0x00000012 in ?? ()
#21 0x00000000 in ?? ()
#22 0xc0734b4b in __qdivrem (uq=Unhandled dwarf expression opcode 0x93
) at /usr/home/build/src/sys/libkern/qdivrem.c:97
#23 0xc0734fde in __udivdi3 (a=Unhandled dwarf expression opcode 0x93
) at /usr/home/build/src/sys/libkern/udivdi3.c:47
#24 0xc043fd45 in cam_calc_geometry (ccg=0xd54448bc, extended=1)
    at /usr/home/build/src/sys/cam/cam.c:376
#25 0xc0514394 in umass_cam_action (sim=0xc457c4c0, ccb=0xd54448bc)
    at /usr/home/build/src/sys/dev/usb/umass.c:2580
#26 0xc0444e3e in xpt_action (start_ccb=0xd54448bc) at
/usr/home/build/src/sys/cam/cam_xpt.c:3076
#27 0xc044d5d0 in dasetgeom (periph=0x0, block_len=0, maxsector=16051020244679962078)
    at /usr/home/build/src/sys/cam/scsi/scsi_da.c:1741
#28 0xc044cca8 in dadone (periph=0xc292a680, done_ccb=0xc1aa9800)
    at /usr/home/build/src/sys/cam/scsi/scsi_da.c:1395
#29 0xc044942f in camisr (V_queue=0xc07c92a0) at /usr/home/build/src/sys/cam/cam_xpt.c:7072
#30 0xc05635f2 in ithread_loop (arg=0xc1a08e00) at /usr/home/build/src/sys/kern/kern_intr.c:547
#31 0xc0562576 in fork_exit (callout=0xc0563480 <ithread_loop>, arg=0x0, frame=0x0)
    at /usr/home/build/src/sys/kern/kern_fork.c:791
#32 0xc071029c in fork_trampoline () at /usr/home/build/src/sys/i386/i386/exception.s:209


- Christian

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050711/dbbe2fa5/attachment.bin


More information about the freebsd-stable mailing list