From owner-freebsd-current@FreeBSD.ORG Fri Aug 25 14:24:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ACA016A531 for ; Fri, 25 Aug 2006 14:24:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA62143D6E for ; Fri, 25 Aug 2006 14:24:41 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k7PEOXjZ075845; Fri, 25 Aug 2006 10:24:35 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 25 Aug 2006 10:12:42 -0400 User-Agent: KMail/1.9.1 References: <20060819211853.GA1016@tin.it> In-Reply-To: <20060819211853.GA1016@tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608251012.42642.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Fri, 25 Aug 2006 10:24:35 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1728/Fri Aug 25 01:55:58 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: Fatal trap 30 when loading if_xl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 14:24:53 -0000 On Saturday 19 August 2006 17:18, Paolo Pisati wrote: > Today's CURRENT panic my box everytime i load > if_xl: > > [flag@newluxor NEWLUXOR]$ sudo kgdb kernel.debug /var/crash/vmcore.0 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > 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 conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". 30 (unknown trap) can mean that you got a device interrupt to an IDT entry you haven't installed a handler for yet. If you want to figure out exactly which IDT entry, you'll need to install a unique custom dummy handler in each IDT entry so you can tell which one fired. > Unread portion of the kernel message buffer: > <118>. > <118>. > <118>Aug 19 22:38:31 newluxor syslogd: exiting on signal 15 > <118>Enter full pathname of shell or RETURN for /bin/sh: > <118># > <118>/dev/ad4s1a on / (ufs, local) > <118>devfs on /dev (devfs, local) > <118>/dev/ad4s1d on /usr (ufs, local, soft-updates) > <118>/dev/ad4s5 on /storage (msdosfs, local) > <118>procfs on /proc (procfs, local) > <118>linprocfs on /usr/compat/linux/proc (linprocfs, local) > <118># > <118># > <118># > <118>/dev/ad4s1a on / (ufs, local) > <118>devfs on /dev (devfs, local) > <118>/dev/ad4s1d on /usr (ufs, local, soft-updates) > <118>/dev/ad4s5 on /storage (msdosfs, local) > <118># > <118># > <118>/dev/ad4s1a on / (ufs, local) > <118>devfs on /dev (devfs, local) > <118>/dev/ad4s1d on /usr (ufs, local, soft-updates) > <118># > <118># > <118>umount: > <118>unmount of /dev failed > <118>: > <118>Device busy > <118># > <118>.cshrc cdrom home media storage > <118>.profile compat lib mnt sys > <118>.snap dev libexec proc tmp > <118>COPYRIGHT dist linc_data rescue usr > <118>bin entropy linc_storage root var > <118>boot etc lost+found sbin > <118># > xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem 0xff8ffc00-0xff8ffc7f irq 18 at device 2.0 on pci1 > > Fatal trap 30: reserved (unknown) fault while in kernel mode > cpuid = 0; apic id = 00 > instruction pointer = 0x20:0xc04ef25b > stack pointer = 0x28:0xe3491c34 > frame pointer = 0x28:0xe3491c50 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, IOPL = 0 > current process = 12 (swi4: clock sio) > panic: from debugger > cpuid = 0 > Uptime: 2m36s > Physical memory: 2031 MB > Dumping 61 MB: 46 30 14 > > #0 doadump () at pcpu.h:166 > 166 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); > (kgdb) bt > #0 doadump () at pcpu.h:166 > #1 0xc04f9cd4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc04fa0b3 in panic (fmt=0xc06976c3 "from debugger") > at /usr/src/sys/kern/kern_shutdown.c:565 > #3 0xc0451b47 in db_panic (addr=-1068567973, have_addr=0, count=-1, > modif=0xe3491a1c "") at /usr/src/sys/ddb/db_command.c:428 > #4 0xc0451ada in db_command (last_cmdp=0xc06ef7c4, cmd_table=0x0) > at /usr/src/sys/ddb/db_command.c:396 > #5 0xc0451ba1 in db_command_loop () at /usr/src/sys/ddb/db_command.c:448 > #6 0xc0453ae9 in db_trap (type=30, code=0) at /usr/src/sys/ddb/db_main.c:221 > #7 0xc051bcde in kdb_trap (type=0, code=0, tf=0xe3491bf4) > at /usr/src/sys/kern/subr_kdb.c:502 > #8 0xc066f602 in trap_fatal (frame=0xe3491bf4, eva=0) > at /usr/src/sys/i386/i386/trap.c:858 > #9 0xc066f04d in trap (frame= > {tf_fs = -1066467320, tf_es = -481755096, tf_ds = 40, tf_edi = -997181328, tf_esi = -996104080, tf_ebp = -481747888, tf_isp = -481747936, tf_ebx = -1066453624, tf_edx = 4, tf_ecx = -996104080, tf_eax = 582, tf_trapno = 30, tf_err = 0, tf_eip = -1068567973, tf_cs = 32, tf_eflags = 582, tf_esp = -1066453624, tf_ss = -1066446508}) at /usr/src/sys/i386/i386/trap.c:658 > #10 0xc065766a in calltrap () at /usr/src/sys/i386/i386/exception.s:138 > #11 0xc04ef25b in _mtx_lock_sleep (m=0xc06f3588, tid=3297785968, opts=0, > file=0x0, line=0) at cpufunc.h:317 > #12 0xc050c028 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:240 > #13 0xc04dfbbf in ithread_execute_handlers (p=0xc49028d0, ie=0xc4957180) > at /usr/src/sys/kern/kern_intr.c:662 > #14 0xc04dfd05 in ithread_loop (arg=0xc48c68f0) > at /usr/src/sys/kern/kern_intr.c:745 > #15 0xc04de558 in fork_exit (callout=0xc04dfca1 , arg=0x246, > frame=0x246) at /usr/src/sys/kern/kern_fork.c:818 > #16 0xc06576cc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:199 > (kgdb) frame 12 > #12 0xc050c028 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:240 > 240 mtx_lock(c_mtx); > (kgdb) p c_mtx > $1 = (struct mtx *) 0xc06f3588 > (kgdb) p *c_mtx > $2 = {mtx_object = {lo_name = 0xc06a1779 "Giant", > lo_type = 0xc06a1779 "Giant", lo_flags = 17498112, lo_witness_data = { > lod_list = {stqe_next = 0x0}, lod_witness = 0x0}}, > mtx_lock = 3298863219, mtx_recurse = 1} > (kgdb) > > bye -- John Baldwin