Date: Mon, 24 May 2010 13:35:01 +0300 From: Nikolay Denev <ndenev@gmail.com> To: Nikolay Denev <ndenev@gmail.com> Cc: Pyun YongHyeon <pyunyh@gmail.com>, freebsd-stable@freebsd.org Subject: Re: if_sge related panics Message-ID: <77DFF2E5-7A1E-4063-A852-2C7AD9BC3DD4@gmail.com> In-Reply-To: <E7AF7DD3-FE50-42DD-8391-0F576708EAF7@gmail.com> References: <E7AF7DD3-FE50-42DD-8391-0F576708EAF7@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 24, 2010, at 8:57 AM, Nikolay Denev wrote: > Hi, >=20 > Recently I started to experience a if_sge(4) related panic. > It happens almost every time I try to download a torrent file for = example. > Copying of large files over NFS seem not to trigger it, but I haven't = tested extensively. >=20 > Here is the panic message : >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =3D 0x8 > fault code =3D supervisor write data, page = not present > instruction pointer =3D 0x20:0xffffffff80230413 > stack pointer =3D 0x28:0xffffff80001e9280 > frame pointer =3D 0x28:0xffffff80001e9510 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long = 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, = IOPL =3D 0 > current process =3D 12 (irq19: sge0) > trap number =3D 12 > panic: page fault > cpuid =3D 0 > Uptime: 1d20h56m20s > Cannot dump. Device not defined or unavailable > Automatic reboot in 15 seconds - press a key on the console to abort > Sleeping thread (tid 100039, pid 12) owns a non-sleepable lock >=20 > My swap is on a zvol, so I don't have dump. I'll try to attach a disk = on the eSATA port and dump there if needed. Here is some info from the crashdump : (kgdb) #0 doadump () at pcpu.h:223 #1 0xffffffff802fb149 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xffffffff802fb57c in panic (fmt=3D0xffffffff8055d564 "%s") at /usr/src/sys/kern/kern_shutdown.c:590 #3 0xffffffff805055b8 in trap_fatal (frame=3D0xffffff000288a3e0, = eva=3DVariable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:777 #4 0xffffffff805059dc in trap_pfault (frame=3D0xffffff80001e91d0, = usermode=3D0) at /usr/src/sys/amd64/amd64/trap.c:693 #5 0xffffffff805061c5 in trap (frame=3D0xffffff80001e91d0) at /usr/src/sys/amd64/amd64/trap.c:451 #6 0xffffffff804eb977 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:223 #7 0xffffffff80230413 in sge_start_locked (ifp=3D0xffffff000270d800) at /usr/src/sys/dev/sge/if_sge.c:1591 #8 0xffffffff80231044 in sge_start (ifp=3D0xffffff000270d800) at /usr/src/sys/dev/sge/if_sge.c:1562 #9 0xffffffff803a8b1a in if_transmit (ifp=3D0xffffff000270d800, = m=3DVariable "m" is not available. ) at /usr/src/sys/net/if.c:3355 #10 0xffffffff803adbbb in ether_output_frame (ifp=3D0xffffff000270d800,=20= m=3D0xffffff0007fdd600) at /usr/src/sys/net/if_ethersubr.c:452 #11 0xffffffff803ae206 in ether_output (ifp=3D0xffffff000270d800,=20 m=3D0xffffff0007fdd600, dst=3DVariable "dst" is not available. ) at /usr/src/sys/net/if_ethersubr.c:423 #12 0xffffffff803e1798 in ip_output (m=3D0xffffff0007fdd600, = opt=3DVariable "opt" is not available. ) at /usr/src/sys/netinet/ip_output.c:634 #13 0xffffffff803ec6d0 in tcp_output (tp=3D0xffffff0007ea56e0) at /usr/src/sys/netinet/tcp_output.c:1190 #14 0xffffffff803e7243 in tcp_do_segment (m=3D0xffffff00cd095900,=20 th=3D0xffffff0007743834, so=3D0xffffff0007e9e550, = tp=3D0xffffff0007ea56e0,=20 drop_hdrlen=3D52, tlen=3D0, iptos=3D0 '\0', ti_locked=3D2) at /usr/src/sys/netinet/tcp_input.c:1484 #15 0xffffffff803ea565 in tcp_input (m=3D0xffffff00cd095900, = off0=3DVariable "off0" is not available. ) at /usr/src/sys/netinet/tcp_input.c:1029 #16 0xffffffff803de6c1 in ip_input (m=3D0xffffff00cd095900) at /usr/src/sys/netinet/ip_input.c:793 #17 0xffffffff803b637e in netisr_dispatch_src (proto=3D1, = source=3DVariable "source" is not available. ) at /usr/src/sys/net/netisr.c:917 #18 0xffffffff803ada6d in ether_demux (ifp=3D0xffffff000270d800,=20 m=3D0xffffff00cd095900) at /usr/src/sys/net/if_ethersubr.c:901 #19 0xffffffff803ae3f0 in ether_input (ifp=3D0xffffff000270d800,=20 m=3D0xffffff00cd095900) at /usr/src/sys/net/if_ethersubr.c:760 #20 0xffffffff802317db in sge_intr (arg=3DVariable "arg" is not = available. ) at /usr/src/sys/dev/sge/if_sge.c:1220 #21 0xffffffff802d202d in intr_event_execute_handlers (p=3DVariable "p" = is not available. ) at /usr/src/sys/kern/kern_intr.c:1220 #22 0xffffffff802d36de in ithread_loop (arg=3D0xffffff000286f4c0) at /usr/src/sys/kern/kern_intr.c:1233 #23 0xffffffff802cf978 in fork_exit ( callout=3D0xffffffff802d3650 <ithread_loop>, arg=3D0xffffff000286f4c0,= =20 frame=3D0xffffff80001e9c80) at /usr/src/sys/kern/kern_fork.c:844 #24 0xffffffff804ebe4e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:562 #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000001 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x000000000126d000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0xffffffff80787c40 in affinity () #53 0xffffff000288a3e0 in ?? () #54 0xffffff80001e9b80 in ?? () #55 0xffffff80001e9b38 in ?? () #56 0xffffff00027253e0 in ?? () #57 0xffffffff80320cf7 in sched_switch (td=3D0xffffffff802d3650,=20 newtd=3D0xffffff000286f4c0, flags=3DVariable "flags" is not = available. ) at /usr/src/sys/kern/sched_ule.c:1844 Previous frame inner to this frame (corrupt stack?)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77DFF2E5-7A1E-4063-A852-2C7AD9BC3DD4>