search for: kgdb

Displaying 20 results from an estimated 116 matches for "kgdb".

Did you mean: gdb
2003 Aug 12
2
panic with today's stable
...8 done Uptime: 4h39m31s twe0: failed to delete unit 0 dumping to dev #twed/1, offset 2176 dump 1022 1021 1020 1019 1018 1017 1016 1015 1014 1013 1012 1011 1010 1009 1008 1007 1006 1005 1004 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc01618fc in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc0161d49 in panic (fmt=0xc02db8cc "%s") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc028cb94 in trap_fatal (frame=0xe8ba6de4, eva=3288903880) a...
2007 Mar 08
1
Version of kgdb for CentOS 4.4 Plus 2.6.9 kernel
Does anyone happen to know the correct version of kgdb to use for debugging the 2.6.9 kernel? Version 2.4 is apparently for the 2.6.15 kernel, and version 2.2 is for the 2.6.13 kernel, but I've read all the way through the documentation and nowhere does it say which kgdb goes with which kernel. Thanks. -------------- next part ------------...
2003 Jun 06
0
crash in networking code (with bt and debug kernel)
...d34 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2528 (zebra) interrupt mask = trap number = 12 panic: page fault (kgdb) where #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc0150bec in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc0151020 in poweroff_wait (junk=0xc02794ec, howto=-1071149073) at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc0242283 in trap_fatal (frame=0xdf0b1ce8, e...
2008 Jul 22
4
"sleeping without queue" ?
Hello! My attempt to build openoffice.org-3 seems to be hanging. Pressing Ctrl-T produces: load: 0.11 cmd: tcsh 79759 [sleeping without queue] 0.00u 0.00s 0% 0k (tcsh is used by OOo's build-script). What is this "sleeping without queue" state, and why is process in it for so long? This is an 4-CPU amd64 system with 4Gb of RAM. Only 16% of the swap is currently in use and
2003 Jun 12
0
panic possibly related to soft updates? (4.8-STABLE, Jun 12 2003)
...dc stack pointer = 0x10:0xd7508c10 frame pointer = 0x10:0xd7508c10 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 9579 (ksh) interrupt mask = bio panic: from debugger (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc01779fb in boot (howto=260) at ../../kern/kern_shutdown.c:316 #2 0xc0177e01 in panic (fmt=0xc02dc3a4 "from debugger") at ../../kern/kern_shutdown.c:595 #3 0xc01362a1 in db_panic (addr=-1071236644, have_addr=0, count=-1,...
2005 Aug 27
3
SYSLINUX 3.11-pre5 -- release candidate -- release on Tuesday
SYSLINUX 3.11-pre5 is hereby a bug fix release candidate. If I don't receive any problem reports, I will release it as-is on Tuesday, August 30. http://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/ -hpa
2011 Oct 03
1
Usage serial device
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to connect the *same* serial device to two KVM Linux machines where one is running KGDB and the other uses the connected serial to interact with the target machine running under KGDB. However, I'm unable to do so. Using a pty port, I am able to use my kgdb setup with host/VM but unable to make it work with VM/VM since it's two different pty created on the two machines. Anyon...
2008 Oct 11
3
6.4-PRELEASE sporadically panicking with fatal trap 12
...rupts disabled I don't have atapicam built in the kernel and it wasn't loaded, and I'm pretty sure no media was inserted in my dvdrw unit since the last boot. The other report has a similar message too (acd1: WARNING - READ_TOC read data overrun 18>12) Here's the backtrace: # kgdb kernel.debug /var/crash/vmcore.2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see...
2003 Jun 23
1
Processes hung in 'inode' state ...
Not sure what all to do, but doing a 'gdb -k kernel.debug /dev/mem', a backtrack on one of the processes shows ... server has been up 12 days now, and running a June 8th kernel ... #0 0x20f4f0 in ?? () (kgdb) proc 67258 (kgdb) bt #0 mi_switch () at machine/globals.h:119 #1 0x8014a1f9 in tsleep (ident=0x8a3d2200, priority=8, wmesg=0x80263d4a "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:479 #2 0x80141507 in acquire (lkp=0x8a3d2200, extflags=16777280, wanted=1536) at /usr/src/sys/kern/k...
2013 Jul 07
1
Shutdown hangs on unmount of a gjournaled file system in 8-Stable
...kernel dump I see the deadlock occurs on unmount of a gjournaled file system. Involved are two processes db> ps pid ppid pgrp uid state wmesg wchan cmd 1 0 1 0 SLs mount dr 0xffffff007f7e559c [init] 18 0 0 0 SL suspwt 0xffffff007f7e5364 [g_journal switcher] (kgdb) info threads 158 Thread 100002 (PID=1: init) sched_switch (td=0xffffff000235e8e0, newtd=<value optimized out>, flags=<value optimized out>) at /usr/src/sys/kern/sched_ule.c:1932 .... 217 Thread 100076 (PID=18: g_journal switcher) sched_switch...
2009 Apr 21
4
RELENG_7 crash
...type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 761 (bsnmpd) trap number = 12 panic: page fault cpuid = 1 Uptime: 3h47m43s Physical memory: 2036 MB Dumping 83 MB: 68 52 36 20 4 (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc05964d7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc05967a9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc07f64ac in trap_fatal (frame=0xe766ea6c, eva=104) at /usr/src/sys/i...
2008 Nov 24
1
RELENG_7 panic under load: vm_page_unwire: invalid wire count: 0
Box with fresh RELENG_7 panic under heavy network load (more than 50k connections). This panics seems to be senfile(2) related, because when sendfile disabled in nginx, I can't reproduce the problem. Backtrace in all cases like this: # kgdb kernel /spool/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the cond...
2013 Mar 06
1
Strange reboot since 9.1
Hello, Since FreeBSD 9.1 I have strange problems with the distribution. Some servers are rebooting without any kernel panic, instanly. First i thought it's a problem with my KVM system, but one of my FreeBSD under a Dell R210 have the same problem. The servers concerned are now: - Monitoring server - LDAP test server - Some other servers, randomly (not in production). First i thought it's
2003 Jul 01
2
Okay, looks like I might have a *good* one here ... inode hang
neptune# ps -M vmcore.1 -N kernel.debug -axl | grep inode | wc -l 961 and I have a vmcore to work on here !! :) (kgdb) proc 99643 (kgdb) bt #0 mi_switch () at machine/globals.h:119 #1 0x8014a1f9 in tsleep (ident=0x8a4ef600, priority=8, wmesg=0x80263d4a "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:479 #2 0x80141507 in acquire (lkp=0x8a4ef600, extflags=16777280, wanted=1536) at /usr/src/sys/kern/k...
2006 Mar 17
1
Fatal trap 12: page fault while in kernel mode / current process=12 (swi1: net)
this is 6.0-STABLE as for Mar 17. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-PRERELEASE #2: Fri Mar 17 11:05:32 UTC 2006 vlad@host:/usr/src/sys/amd64/compile/DEF_WEB Timecounter
2018 Jan 20
0
debug kernel
libvirt 3.4.0 centos 7.4 Hi: I want usr libvrit create vm to debug linux kernel. Previous , I usr qemu cmd(-gdb tcp::1234) directly. When I search on Internet, I found I can usr libvrt xml configure kgdb. <qemu:commandline> <qemu:arg value='-gdb'/> <qemu:arg value='tcp::1234'/> </qemu:commandline> But configure xml usr kgdb is differnet on kernel boot. usr qemu cmd, before I connect kernel usr gdb , the kernel still not boot, When I usr gdb...
2018 Jan 20
0
debug kernel
libvirt 3.4.0 centos 7.4 Hi: I want usr libvrit create vm to debug linux kernel. Previous , I usr qemu cmd(-gdb tcp::1234) directly. When I search on Internet, I found I can use libvrt xml configure kgdb. <qemu:commandline> <qemu:arg value='-gdb'/> <qemu:arg value='tcp::1234'/> </qemu:commandline> But configure xml use kgdb is differnet on kernel boot. use qemu cmd, before I connect kernel use gdb , the kernel still not boot, When I use gdb...
2003 Jul 02
0
union_lookup panics ...
...ping nice cores ... I'm suspecting its someone trying to remove a file that is "scrambled" ... I can do similar doing a pkg_delete ... but, is there any way of finding which file? The code is here, but I can't seem to even get an inode out of it to using 'find' to find: (kgdb) list 610 611 #ifdef DIAGNOSTIC 612 if (cnp->cn_namelen == 1 && 613 cnp->cn_nameptr[0] == '.' && 614 *ap->a_vpp != dvp) { 615 panic("union_lookup returning . (%p) not same as startdir (%p)&quot...
2003 Jun 11
1
nfs panic with umount -f
...tf_ebp = -1077937216, tf_isp = -397705260, tf_ebx = 1, tf_edx = 134701424, tf_ecx = 0, tf_eax = 22, tf_trapno = 12, tf_err = 2, tf_eip = 134523456, tf_cs = 31, at /usr/src/sys/i386/i386/trap.c:1175 #21 0xc038a9d5 in Xint0x80_syscall () #22 0x804849b in ?? () #23 0x804813e in ?? () (kgdb) list 1577 register caddr_t cp; 1578 register int32_t t1, t2; 1579 caddr_t bpos, dpos, cp2; 1580 int error = 0, wccflag = NFSV3_WCCRATTR; 1581 struct mbuf *mreq, *mrep, *md, *mb, *mb2; 1582 int v3 = NFS_ISV3(dvp); 1583 1584...
2008 Jun 12
1
[7-STABLE] ping -s 4000 with ipsec panic
...DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1175 (ping) trap number = 12 panic: page fault Uptime: 9m5s Physical memory: 503 MB Dumping 87 MB: 72 56 40 24 8 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0556273 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055646f in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc079b91c in trap_fatal (frame=0xd61a0704, eva=1090567680) at /usr/src...