From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 29 01:00:31 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3E7037B401 for ; Tue, 29 Apr 2003 01:00:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77EAD43FBD for ; Tue, 29 Apr 2003 01:00:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3T80UUp089129 for ; Tue, 29 Apr 2003 01:00:30 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3T80UR3089128; Tue, 29 Apr 2003 01:00:30 -0700 (PDT) Resent-Date: Tue, 29 Apr 2003 01:00:30 -0700 (PDT) Resent-Message-Id: <200304290800.h3T80UR3089128@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lukas Ertl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF26837B401 for ; Tue, 29 Apr 2003 01:00:12 -0700 (PDT) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04CEC43F93 for ; Tue, 29 Apr 2003 01:00:12 -0700 (PDT) (envelope-from le@pcle2.cc.univie.ac.at) Received: from pcle2.cc.univie.ac.at (localhost [127.0.0.1]) by pcle2.cc.univie.ac.at (8.12.9/8.12.9) with ESMTP id h3T80APf039855 for ; Tue, 29 Apr 2003 10:00:10 +0200 (CEST) (envelope-from le@pcle2.cc.univie.ac.at) Received: (from le@localhost) by pcle2.cc.univie.ac.at (8.12.9/8.12.9/Submit) id h3T809Jv039854; Tue, 29 Apr 2003 10:00:09 +0200 (CEST) Message-Id: <200304290800.h3T809Jv039854@pcle2.cc.univie.ac.at> Date: Tue, 29 Apr 2003 10:00:09 +0200 (CEST) From: Lukas Ertl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/51555: Kernel panic in ifconfig when setting IP address in vx0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lukas Ertl List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 08:00:32 -0000 >Number: 51555 >Category: kern >Synopsis: Kernel panic in ifconfig when setting IP address in vx0 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 29 01:00:29 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lukas Ertl >Release: FreeBSD 5.0-CURRENT i386 >Organization: Vienna University Computer Center >Environment: System: FreeBSD pcle 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Apr 28 19:41:17 CEST 2003 le@pcle.cc.univie.ac.at:/usr/obj/usr/src/sys/PCLE i386 >Description: I get a kernel panic when booting the latest 5.0-CURRENT, right when the IP address is set on the vx0 device. Kernel dump: # gdb -k kernel.debug vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1c fault code = supervisor read, page not present instruction pointer = 0x8:0xc0194cf9 stack pointer = 0x10:0xcce93a90 frame pointer = 0x10:0xcce93ac0 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 = 172 (ifconfig) trap number = 12 panic: page fault syncing disks, buffers remaining... 107 107 107 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 106 giving up on 106 buffers Uptime: 37s Dumping 128 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 238 dumping++; #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 #1 0xc01e61ad in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370 #2 0xc01e6504 in panic () at /usr/src/sys/kern/kern_shutdown.c:543 #3 0xc033a46e in trap_fatal (frame=0xcce93a50, eva=0) at /usr/src/sys/i386/i386/trap.c:834 #4 0xc033a182 in trap_pfault (frame=0xcce93a50, usermode=0, eva=28) at /usr/src/sys/i386/i386/trap.c:748 #5 0xc0339d2d in trap (frame= {tf_fs = -857145320, tf_es = -1070399472, tf_ds = 983056, tf_edi = 0, tf_esi = -1061613568, tf_ebp = -857130304, tf_isp = -857130372, tf_ebx = 0, tf_edx = -1061613568, tf_ecx = -1061613568, tf_eax = 64, tf_trapno = 12, tf_err = 0, tf_eip = -1072083719, tf_cs = 8, tf_eflags = 66118, tf_esp = 4, tf_ss = 1}) at /usr/src/sys/i386/i386/trap.c:433 #6 0xc032a4d8 in calltrap () at {standard input}:96 #7 0xc01948dd in vxinit (xsc=0xc0b91000) at /usr/src/sys/dev/vx/if_vx.c:232 #8 0xc0253d77 in ether_ioctl (ifp=0xc0b91000, command=0, data=0xc185ee00 "Ôî\205Áäî\205Áôî\205Á") at /usr/src/sys/net/if_ethersubr.c:893 #9 0xc0195887 in vxioctl (ifp=0xc0b91000, cmd=0, data=0x0) at /usr/src/sys/dev/vx/if_vx.c:902 #10 0xc02650de in in_ifinit (ifp=0xc0b91000, ia=0xc185ee00, sin=0x0, scrub=0) at /usr/src/sys/netinet/in.c:676 #11 0xc0264849 in in_control (so=0x0, cmd=1, data=0xcce93c48 "vx0", ---Type to continue, or q to quit--- ifp=0xc0b91000, td=0xc191b850) at /usr/src/sys/netinet/in.c:401 #12 0xc0252375 in ifioctl (so=0xc199ae00, cmd=2151704858, data=0xcce93c48 "vx0", td=0xc191b850) at /usr/src/sys/net/if.c:1537 #13 0xc0210d4c in soo_ioctl (fp=0x0, cmd=0, data=0x8040691a, active_cred=0xc0b96280, td=0xc191b850) at /usr/src/sys/kern/sys_socket.c:172 #14 0xc020b112 in ioctl (td=0xc191b850, uap=0xcce93d10) at file.h:251 #15 0xc033a78a in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077936728, tf_ebp = -1077936952, tf_isp = -857129612, tf_ebx = 134893712, tf_edx = 134894752, tf_ecx = 0, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 134539655, tf_cs = 31, tf_eflags = 582, tf_esp = -1077937076, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1021 #16 0xc032a52d in Xint0x80_syscall () at {standard input}:138 ---Can't read userspace from dump, or kernel process--- dmesg: Copyright (c) 1992-2003 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 5.0-CURRENT #0: Mon Apr 28 19:41:17 CEST 2003 le@pcle.cc.univie.ac.at:/usr/obj/usr/src/sys/PCLE Preloaded elf kernel "/boot/kernel/kernel" at 0xc0464000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 233864879 Hz CPU: Pentium II/Pentium II Xeon/Celeron (233.86-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 134217728 (128 MB) avail memory = 125571072 (119 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00f0a90 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 4.2 (no driver attached) pci0: at device 4.3 (no driver attached) vx0: <3COM 3C595 Etherlink III PCI> port 0xd000-0xd01f irq 10 at device 9.0 on pci0 utp/tx[*utp*] address 00:a0:24:9d:50:87 ahc0: port 0xb800-0xb8ff mem 0xe1000000-0xe1000fff irq 11 at device 10.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs pci0: at device 11.0 (no driver attached) orm0: