From owner-freebsd-stable@FreeBSD.ORG Wed Sep 19 16:26:50 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAC3716A419 for ; Wed, 19 Sep 2007 16:26:50 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by mx1.freebsd.org (Postfix) with ESMTP id ADF8613C459 for ; Wed, 19 Sep 2007 16:26:50 +0000 (UTC) (envelope-from mvh@ix.netcom.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=Mhky+VpG7OAEpYPQv38JksK0nNlLsPYXmPTL2h6BMUtyODM29WAjwD8UyyrlgmLU; h=X-Virus-Scanned:From:To:Subject:Message-Id:Date:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.180.226] (helo=bsd.mvh) by elasmtp-scoter.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1IY25B-00066x-7t for stable@freebsd.org; Wed, 19 Sep 2007 12:07:26 -0400 Received: from localhost (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id C583E170D5 for ; Wed, 19 Sep 2007 09:07:03 -0700 (PDT) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by localhost (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id usaABAe1BVy7 for ; Wed, 19 Sep 2007 09:06:56 -0700 (PDT) Received: by bsd.mvh (Postfix, from userid 1001) id 0ADDA170A2; Wed, 19 Sep 2007 09:06:56 -0700 (PDT) From: Mike Harding To: stable@freebsd.org Message-Id: <20070919160656.0ADDA170A2@bsd.mvh> Date: Wed, 19 Sep 2007 09:06:56 -0700 (PDT) X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d80f6968ccb7988441cd87b40f3cab5d7dc6b317bf5bc479bb350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.180.226 Cc: Subject: crash during shutdown -after- disks unmounted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 16:26:51 -0000 I had a panic during shutdown, in the if_re.c interrupt handler, likely because I had ifconfig_re0="inet 192.168.0.2 netmask 255.255.255.0 -rxcsum -txcsum" in /etc/rc.conf. Please feel free to contact me for details. This is a very recent -stable. (kgdb) bsd# uname -a FreeBSD bsd.mvh 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Sep 18 14:45:37 PDT 2007 root@bsd.mvh:/usr/obj/usr/src/sys/M62 i386 bsd# cd /usr/obj/usr/src/sys/M62 bsd# kgdb kernel.debug /usr/crash/vmcore.2 kdbd: Command not found. bsd# kgdb kernel.debug /usr/crash/vmcore.2 kgdb: kvm_nlist(_stopped_cpus): kgdb: kvm_nlist(_stoppcbs): [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". Unread portion of the kernel message buffer: <118>. <118>Terminated <118>. <118>Sep 18 20:46:50 bsd syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...5 4 3 0 0 0 done All buffers synced. Uptime: 5h42m34s Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor write, page not present instruction pointer = 0x20:0xc05d8f4d stack pointer = 0x28:0xe571cc64 frame pointer = 0x28:0xe571cc84 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 = 19 (swi5: +) trap number = 12 panic: page fault Uptime: 5h42m34s Dumping 1022 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1022MB (261600 pages) 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) list *0xc05d8f4d 0xc05d8f4d is in re_rxeof (/usr/src/sys/dev/re/if_re.c:1723). 1718 } 1719 m = sc->rl_head; 1720 sc->rl_head = sc->rl_tail = NULL; 1721 m->m_pkthdr.len = total_len - ETHER_CRC_LEN; 1722 } else 1723 m->m_pkthdr.len = m->m_len = 1724 (total_len - ETHER_CRC_LEN); 1725 1726 #ifdef RE_FIXUP_RX 1727 re_fixup_rx(m); (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc068f2c2 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc068f558 in panic (fmt=0xc0904c14 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc08a68fc in trap_fatal (frame=0xe571cc24, eva=12) at /usr/src/sys/i386/i386/trap.c:838 #4 0xc08a6663 in trap_pfault (frame=0xe571cc24, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:745 #5 0xc08a6299 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -985962496, tf_esi = 38, tf_ebp = -445526908, tf_isp = -445526960, tf_ebx = 0, tf_edx = -985337856, tf_ecx = 536872960, tf_eax = 66, tf_trapno = 12, tf_err = 2, tf_eip = -1067610291, tf_cs = 32, tf_eflags = 590342, tf_esp = 15, tf_ss = 31743}) at /usr/src/sys/i386/i386/trap.c:435 #6 0xc089377a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc05d8f4d in re_rxeof (sc=0xc53b6800) at /usr/src/sys/dev/re/if_re.c:1723 #8 0xc05d9416 in re_int_task (arg=0xc53b6800, npending=1) at /usr/src/sys/dev/re/if_re.c:1984 #9 0xc06aee43 in taskqueue_run (queue=0xc53bf100) at /usr/src/sys/kern/subr_taskqueue.c:257 #10 0xc06af43a in taskqueue_fast_run (dummy=0x0) at /usr/src/sys/kern/subr_taskqueue.c:435 #11 0xc0679685 in ithread_execute_handlers (p=0xc53ca860, ie=0xc53bf080) ---Type to continue, or q to quit--- at /usr/src/sys/kern/kern_intr.c:682 #12 0xc067979c in ithread_loop (arg=0xc539e170) at /usr/src/sys/kern/kern_intr.c:765 #13 0xc067860c in fork_exit (callout=0xc0679748 , arg=0xc539e170, frame=0xe571cd38) at /usr/src/sys/kern/kern_fork.c:830 #14 0xc08937dc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 (kgdb)