From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 1 17:40:27 2004 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 7472816A4CE for ; Wed, 1 Dec 2004 17:40:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35B2143D48 for ; Wed, 1 Dec 2004 17:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB1HeRcH086899 for ; Wed, 1 Dec 2004 17:40:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB1HeRcr086898; Wed, 1 Dec 2004 17:40:27 GMT (envelope-from gnats) Resent-Date: Wed, 1 Dec 2004 17:40:27 GMT Resent-Message-Id: <200412011740.iB1HeRcr086898@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, Daniel Graupner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA18716A4D3 for ; Wed, 1 Dec 2004 17:35:02 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B9D43D31 for ; Wed, 1 Dec 2004 17:35:02 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iB1HZ2H0067089 for ; Wed, 1 Dec 2004 17:35:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iB1HZ2qT067088; Wed, 1 Dec 2004 17:35:02 GMT (envelope-from nobody) Message-Id: <200412011735.iB1HZ2qT067088@www.freebsd.org> Date: Wed, 1 Dec 2004 17:35:02 GMT From: Daniel Graupner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/74592: removing a (probably nonexistent) plex/volume in gvinum causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 17:40:27 -0000 >Number: 74592 >Category: kern >Synopsis: removing a (probably nonexistent) plex/volume in gvinum causes panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 01 17:40:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Daniel Graupner >Release: 5.3 RELEASE >Organization: Radio UNiC e.V. >Environment: FreeBSD dell 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 1 10:58:23 CET 2004 root@dell:/usr/obj/usr/src/sys/UNICC i386 >Description: I created a test volume, afterwards i tried to delete it. rm -r processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) [thread 100092] Stopped at gv_rm_sd+0x38: movl %eax,0(%edx) dmesg of the machine: Copyright (c) 1992-2004 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.3-STABLE #0: Wed Dec 1 10:58:23 CET 2004 root@dell:/usr/obj/usr/src/sys/UNICC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 268435456 (256 MB) avail memory = 253026304 (241 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 != expected base 56 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard bktr_mem: memory holder loaded npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 atapci0: port 0xecc0-0xeccf,0xecd8-0xecdb,0xece0-0xece7,0xecf0-0xecf3,0xecf8-0xec ff mem 0xdfdffc00-0xdfdffdff irq 37 at device 5.0 on pci2 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pci1: at device 0.1 (no driver attached) pcib3: at device 0.2 on pci1 pci3: on pcib3 em0: port 0xdcc0-0xdcff mem 0xdfbe0000-0xdfbfffff irq 69 at device 7.0 on pci3 em0: Ethernet address: 00:0f:1f:f9:84:f8 em0: Speed:N/A Duplex:N/A pci1: at device 0.3 (no driver attached) pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 6.0 on pci0 pci5: on pcib5 uhci0: port 0xbce0-0xbcff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbcc0-0xbcdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbca0-0xbcbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib6: at device 30.0 on pci0 pci6: on pcib6 bktr0: mem 0xd7fff000-0xd7ffffff irq 20 at device 3.0 on pci6 bktr0: [GIANT-LOCKED] bktr0: Pinnacle/Miro TV, Temic PAL tuner. pci6: at device 5.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 atapci2: port 0xbc60-0xbc6f,0xbc78-0xbc7b,0xbc80-0xbc87,0xbc90-0xbc93,0xbc98-0x bc9f irq 18 at device 31.2 on pci0 ata4: channel #0 on atapci2 ata5: channel #1 on atapci2 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 orm0: at iomem 0xec000-0xeffff,0xcf800-0xd37ff,0xcb000-0xcf7ff,0xc0000-0xcafff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDRW at ata0-master PIO4 ad4: 152627MB [310101/16/63] at ata2-master SATA150 ad6: 152627MB [310101/16/63] at ata3-master SATA150 ad8: 76293MB [155009/16/63] at ata4-master SATA150 SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! >How-To-Repeat: Maybe you caqn create a volume and 2 plexes and try to completely remove it, or try to remove a nonexistent plex. I know, one should not delete something nonexistent but on the other hand side the system should not crash if so ;-) >Fix: >Release-Note: >Audit-Trail: >Unformatted: