Re: LACP: Fatal trap 18: integer divide fault while in kernel mode
Please do open a PR and CC me. As well as the stack trace, post your lagg configuration, and, if you can determine it, the ports' state at the time of the crash. -Alan On Sat, Jan 28, 2017 at 11:21 AM, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: > I am got panic on recent stable: > > Fatal trap 18: integer divide fault while in kernel mode > cpuid = 3; apic id = 06 > instruction pointer = 0x20:0x81453230 > stack pointer = 0x28:0xfe3e56f46480 > frame pointer = 0x28:0xfe3e56f464a0 > code segment= base 0x0, limit 0xf, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags= interrupt enabled, resume, IOPL = 0 > current process = 12 (swi4: clock (3)) > trap number = 18 > panic: integer divide fault > cpuid = 3 > KDB: stack backtrace: > db_trace_self_wrapper() at 0x8032b3eb = > db_trace_self_wrapper+0x2b/frame 0xfe3e56f460c0 > vpanic() at 0x804e33a6 = vpanic+0x186/frame 0xfe3e56f46140 > panic() at 0x804e3213 = panic+0x43/frame 0xfe3e56f461a0 > trap_fatal() at 0x807b07c2 = trap_fatal+0x322/frame 0xfe3e56f461f0 > trap() at 0x807b0475 = trap+0x6b5/frame 0xfe3e56f463b0 > calltrap() at 0x807946b1 = calltrap+0x8/frame 0xfe3e56f463b0 > --- trap 0x12, rip = 0x81453230, rsp = 0xfe3e56f46480, rbp = > 0xfe3e56f464a0 --- > lacp_select_tx_port() at 0x81453230 = lacp_select_tx_port+0x70/frame > 0xfe3e56f464a0 > lagg_lacp_start() at 0x814504ae = lagg_lacp_start+0xe/frame > 0xfe3e56f464c0 > lagg_transmit() at 0x8144e73f = lagg_transmit+0xbf/frame > 0xfe3e56f46530 > ether_output() at 0x805f30bc = ether_output+0x71c/frame > 0xfe3e56f465d0 > ip_output() at 0x80629935 = ip_output+0x1585/frame 0xfe3e56f46720 > tcp_output() at 0x806b9e16 = tcp_output+0x1876/frame > 0xfe3e56f468c0 > tcp_timer_rexmt() at 0x806c572f = tcp_timer_rexmt+0x4df/frame > 0xfe3e56f46900 > softclock_call_cc() at 0x804fd1b6 = softclock_call_cc+0x156/frame > 0xfe3e56f469b0 > softclock() at 0x804fd754 = softclock+0x94/frame 0xfe3e56f469e0 > intr_event_execute_handlers() at 0x8049d15f = > intr_event_execute_handlers+0x20f/frame 0xfe3e56f46a20 > ithread_loop() at 0x8049d766 = ithread_loop+0xc6/frame > 0xfe3e56f46a70 > fork_exit() at 0x80499e25 = fork_exit+0x85/frame 0xfe3e56f46ab0 > fork_trampoline() at 0x80794bee = fork_trampoline+0xe/frame > 0xfe3e56f46ab0 > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > (kgdb) info line *0x81453230 > Line 848 of "/usr/src/sys/modules/if_lagg/../../net/ieee8023ad_lacp.c" starts > at address 0x8145322e <lacp_select_tx_port+110> and ends at > 0x81453233 <lacp_select_tx_port+115>. > > Do I need to create PR? > ___ > freebsd-...@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
LACP: Fatal trap 18: integer divide fault while in kernel mode
I am got panic on recent stable: Fatal trap 18: integer divide fault while in kernel mode cpuid = 3; apic id = 06 instruction pointer = 0x20:0x81453230 stack pointer = 0x28:0xfe3e56f46480 frame pointer = 0x28:0xfe3e56f464a0 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 12 (swi4: clock (3)) trap number = 18 panic: integer divide fault cpuid = 3 KDB: stack backtrace: db_trace_self_wrapper() at 0x8032b3eb = db_trace_self_wrapper+0x2b/frame 0xfe3e56f460c0 vpanic() at 0x804e33a6 = vpanic+0x186/frame 0xfe3e56f46140 panic() at 0x804e3213 = panic+0x43/frame 0xfe3e56f461a0 trap_fatal() at 0x807b07c2 = trap_fatal+0x322/frame 0xfe3e56f461f0 trap() at 0x807b0475 = trap+0x6b5/frame 0xfe3e56f463b0 calltrap() at 0x807946b1 = calltrap+0x8/frame 0xfe3e56f463b0 --- trap 0x12, rip = 0x81453230, rsp = 0xfe3e56f46480, rbp = 0xfe3e56f464a0 --- lacp_select_tx_port() at 0x81453230 = lacp_select_tx_port+0x70/frame 0xfe3e56f464a0 lagg_lacp_start() at 0x814504ae = lagg_lacp_start+0xe/frame 0xfe3e56f464c0 lagg_transmit() at 0x8144e73f = lagg_transmit+0xbf/frame 0xfe3e56f46530 ether_output() at 0x805f30bc = ether_output+0x71c/frame 0xfe3e56f465d0 ip_output() at 0x80629935 = ip_output+0x1585/frame 0xfe3e56f46720 tcp_output() at 0x806b9e16 = tcp_output+0x1876/frame 0xfe3e56f468c0 tcp_timer_rexmt() at 0x806c572f = tcp_timer_rexmt+0x4df/frame 0xfe3e56f46900 softclock_call_cc() at 0x804fd1b6 = softclock_call_cc+0x156/frame 0xfe3e56f469b0 softclock() at 0x804fd754 = softclock+0x94/frame 0xfe3e56f469e0 intr_event_execute_handlers() at 0x8049d15f = intr_event_execute_handlers+0x20f/frame 0xfe3e56f46a20 ithread_loop() at 0x8049d766 = ithread_loop+0xc6/frame 0xfe3e56f46a70 fork_exit() at 0x80499e25 = fork_exit+0x85/frame 0xfe3e56f46ab0 fork_trampoline() at 0x80794bee = fork_trampoline+0xe/frame 0xfe3e56f46ab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- (kgdb) info line *0x81453230 Line 848 of "/usr/src/sys/modules/if_lagg/../../net/ieee8023ad_lacp.c" starts at address 0x8145322e <lacp_select_tx_port+110> and ends at 0x81453233 <lacp_select_tx_port+115>. Do I need to create PR? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Fatal trap 18: integer divide fault while in kernel mode
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 [EMAIL PROTECTED]:/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 0x0018 in ?? () #10 0x0010 in ?? () #11 0x0010 in ?? () #12 0x0001 in ?? () #13 0xdec0adde in ?? () #14 0xd54447f0 in ?? () #15 0xd5444758 in ?? () #16 0xdec0addf in ?? () #17 0x in ?? () #18 0x in ?? () #19 0x0001 in ?? () #20 0x0012 in ?? () #21 0x 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 [EMAIL PROTECTED] [EMAIL PROTECTED] GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D pgpUFP8nPyhqf.pgp Description: PGP signature