Date: Wed, 1 Dec 2004 17:35:02 GMT From: Daniel Graupner <Daniel.Graupner@informatik.tu-chemnitz.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/74592: removing a (probably nonexistent) plex/volume in gvinum causes panic Message-ID: <200412011735.iB1HZ2qT067088@www.freebsd.org> Resent-Message-ID: <200412011740.iB1HeRcr086898@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <volume<, but the command did not delete all the plexes, so i issued rm -r on both plexes. The second one caused a kernel trap. Here the trap-screen: Fatal Trap 12: page fault while in kernel mode cpuid = 3; apic id = 07 fault virtual address = 0x0 fault code = supervisor write, page not present <snip> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI, MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Hyperthreading: 2 logical CPUs real memory = 268435456 (256 MB) avail memory = 253026304 (241 MB) ACPI APIC Table: <DELL PE1800 > 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 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 32-55 on motherboard ioapic2 <Version 2.0> irqs 64-87 on motherboard bktr_mem: memory holder loaded npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <DELL PE1800> 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: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1 pci2: <ACPI PCI bus> on pcib2 atapci0: <SiI 3112 SATA150 controller> 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: <base peripheral, interrupt controller> at device 0.1 (no driver attached) pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1 pci3: <ACPI PCI bus> on pcib3 em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <base peripheral, interrupt controller> at device 0.3 (no driver attached) pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci5: <ACPI PCI bus> on pcib5 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbce0-0xbcff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbcc0-0xbcdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801EB (ICH5) USB controller USB-B> 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: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbca0-0xbcbf irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801EB (ICH5) USB controller USB-C> 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: <serial bus, USB> at device 29.7 (no driver attached) pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci6: <ACPI PCI bus> on pcib6 bktr0: <BrookTree 848A> mem 0xd7fff000-0xd7ffffff irq 20 at device 3.0 on pci6 bktr0: [GIANT-LOCKED] bktr0: Pinnacle/Miro TV, Temic PAL tuner. pci6: <display, VGA> at device 5.0 (no driver attached) isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci1: <Intel ICH5 UDMA100 controller> 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: <Intel ICH5 SATA150 controller> 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: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 orm0: <ISA Option ROMs> at iomem 0xec000-0xeffff,0xcf800-0xd37ff,0xcb000-0xcf7ff,0xc0000-0xcafff on isa0 pmtimer0 on isa0 sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDRW <R/RW 2x2x24/1.4> at ata0-master PIO4 ad4: 152627MB <SAMSUNG SP1614C/SW100-27> [310101/16/63] at ata2-master SATA150 ad6: 152627MB <SAMSUNG SP1614C/SW100-27> [310101/16/63] at ata3-master SATA150 ad8: 76293MB <Maxtor 6Y080M0/YAR51HW0> [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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412011735.iB1HZ2qT067088>