On Fri, 23 Nov 2007, Javier wrote:

> Hi, a got a panic with tcpdrop command.


Javier,

I see you may have a coredump -- could you provide a backtrace from gdb for
the below? Specifically, I'd like to know what line sysctl_drop+0x207 is.

Thanks,

Robert N M Watson
Computer Laboratory
University of Cambridge


> Regards,
> Javier
>
> uname -a
> FreeBSD odin.valhala 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 19 15:40:35 ART
> 2007
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x18
> fault code = supervisor read, page not present
> instruction pointer = 0x20:0xc07b8644
> stack pointer = 0x28:0xd6658a00
> frame pointer = 0x28:0xd6658a0c
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = resume, IOPL = 0
> current process = 77347 (tcpdrop)
> trap number = 12
> panic: page fault
> KDB: stack backtrace:
> db_trace_self_wrapper(c0a5f1ea,d66588e0,c078878a,c 0a5d5f4,c0b5bcc0,...) at
> db_trace_self_wrapper+0x26
> kdb_backtrace(c0a5d5f4,c0b5bcc0,c0a1fb8c,d66588ec, d66588ec,...) at
> kdb_backtrace+0x29
> panic(c0a1fb8c,c0a7c54d,c39ac220,1,1,...) at panic+0xaa
> trap_fatal(c0a7c44f,c,246,c38c0210,c,...) at trap_fatal+0x303
> trap(d66589c0) at trap+0x10d
> calltrap() at calltrap+0x6
> --- trap 0xc, eip = 0xc07b8644, esp = 0xd6658a00, ebp = 0xd6658a0c ---
> turnstile_broadcast(0,0,c4c351f8,0,d6658b54,...) at turnstile_broadcast+0x34
> _mtx_unlock_sleep(c4c35288,0,0,0,e103,...) at _mtx_unlock_sleep+0x52
> sysctl_drop(c0b0d2e0,0,0,d6658ba4,d6658ba4,...) at sysctl_drop+0x207
> sysctl_root(d6658ba4,100,1,c0937524,c1fbb1e0,...) at sysctl_root+0x127
> userland_sysctl(c38c0210,d6658c14,4,0,0,...) at userland_sysctl+0x134
> __sysctl(c38c0210,d6658cfc,18,c38c0210,d6658d2c,.. .) at __sysctl+0xdd
> syscall(d6658d38) at syscall+0x335
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> --- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x28148a3b, esp =
> 0xbfbfe32c, ebp = 0xbfbfe358 ---
> Uptime: 2d20h23m41s
> Physical memory: 495 MB
> Dumping 129 MB: 114 98 82 66 50 34 18 2
>
> #0 doadump () at pcpu.h:195
> 195 pcpu.h: No such file or directory.
> in pcpu.h
> (kgdb)
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/lis...reebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"