Lorenzo Perone
2010-Feb-26 18:19 UTC
Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)
Hello, Just encountered a panic when starting pf (/etc/rc.d/pf start) on a FreeBSD benjamin 8.0-STABLE uname -a FreeBSD 8.0-STABLE #0: Fri Feb 26 18:33:44 UTC 2010 root@benjamin:/usr/obj/usr/src/sys/BYTESATWORK_R8_INTEL_DEBUG amd64 the system is a Dell PowerEdge R300 with bge interfaces, 16 GB RAM (dmesg attached). Panic and trace remote console screenshots: http://lorenzo.yellowspace.net/R300_pfctl_panic.gif http://lorenzo.yellowspace.net/R300_pfctl_panic_trace.gif Excerpt transcript: panic: Fatal trap 12: page fault while in kernel mode current process = 1302 Stopped at pfil_head_get+0x41 movq 0x28(%rcx),%rdx trace: pfil_head_get() at pfil_head_get+0x41 pfioctl() at pfioctl+0x3351 devfs_ioctl_f() at devfs_ioctl_f+0x71 kern_ioctl() at kern_ioctl+0xe4 ioctl() at ioctl+0xed syscall() at syscall+0x1e7 Xfast_syscall() at Xfast_syscall+0xe1 While I was just planning to experiment with VIMAGE, and it is not required for production (I'm aware of the message of it being experimental...), I thought it might be useful to report it. Please send me a note if I should file a pr. The panic does not occur with the same kernel compiled without options VIMAGE. Note that the dmesg is from the system booted with the kernel without VIMAGE, that's why it doesn't contain the warning. big Regards to all the team, Lorenzo -------------- next part -------------- Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-STABLE #0: Fri Feb 26 18:33:44 UTC 2010 root@benjamin:/usr/obj/usr/src/sys/BYTESATWORK_R8_INTEL_NO_VIMAGE_DEBUG amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU X3363 @ 2.83GHz (2833.34-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 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> Features2=0x40ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant real memory = 17179869184 (16384 MB) avail memory = 16542048256 (15775 MB) ACPI APIC Table: <DELL PE_SC3 > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 cryptosoft0: <software crypto> on motherboard acpi0: <DELL PE_SC3> on motherboard acpi0: [ITHREAD] 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 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <PCI-PCI bridge> at device 2.0 on pci0 pci3: <PCI bus> on pcib1 pcib2: <PCI-PCI bridge> at device 3.0 on pci0 pci4: <PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 4.0 on pci0 pci5: <ACPI PCI bus> on pcib3 mpt0: <LSILogic SAS/SATA Adapter> port 0xec00-0xecff mem 0xdfcec000-0xdfceffff,0xdfcf0000-0xdfcfffff irq 16 at device 0.0 on pci5 mpt0: [ITHREAD] mpt0: MPI Version=1.5.18.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 1 Active Volume (2 Max) mpt0: 2 Hidden Drive Members (14 Max) pcib4: <PCI-PCI bridge> at device 5.0 on pci0 pci6: <PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci7: <ACPI PCI bus> on pcib5 pcib6: <ACPI PCI-PCI bridge> at device 7.0 on pci0 pci8: <ACPI PCI bus> on pcib6 pcib7: <PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci9: <PCI bus> on pcib7 pcib8: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 pci1: <ACPI PCI bus> on pcib8 bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x00a200> mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci1 miibus0: <MII bus> on bge0 brgphy0: <BCM5722 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:26:b9:50:03:3e bge0: [FILTER] pcib9: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0 pci2: <ACPI PCI bus> on pcib9 bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x00a200> mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci2 miibus1: <MII bus> on bge1 brgphy1: <BCM5722 10/100/1000baseTX PHY> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:26:b9:50:03:3f bge1: [FILTER] uhci0: <Intel 82801I (ICH9) USB controller> port 0xcc80-0xcc9f irq 21 at device 29.0 on pci0 uhci0: [ITHREAD] usbus0: <Intel 82801I (ICH9) USB controller> on uhci0 uhci1: <Intel 82801I (ICH9) USB controller> port 0xcca0-0xccbf irq 20 at device 29.1 on pci0 uhci1: [ITHREAD] usbus1: <Intel 82801I (ICH9) USB controller> on uhci1 uhci2: <Intel 82801I (ICH9) USB controller> port 0xccc0-0xccdf irq 21 at device 29.2 on pci0 uhci2: [ITHREAD] usbus2: <Intel 82801I (ICH9) USB controller> on uhci2 ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xdfaffc00-0xdfafffff irq 21 at device 29.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: <Intel 82801I (ICH9) USB 2.0 controller> on ehci0 pcib10: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci10: <ACPI PCI bus> on pcib10 vgapci0: <VGA-compatible display> port 0xdc00-0xdcff mem 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 19 at device 7.0 on pci10 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH9 SATA300 controller> port 0xcc20-0xcc27,0xcc10-0xcc13,0xcc28-0xcc2f,0xcc14-0xcc17,0xcc40-0xcc4f,0xcc50-0xcc5f irq 23 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: <ATA channel 0> on atapci0 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci0 ata3: [ITHREAD] atapci1: <Intel ICH9 SATA300 controller> port 0xcc30-0xcc37,0xcc18-0xcc1b,0xcc38-0xcc3f,0xcc1c-0xcc1f,0xcc60-0xcc6f,0xcc70-0xcc7f irq 22 at device 31.5 on pci0 atapci1: [ITHREAD] ata4: <ATA channel 0> on atapci1 ata4: [ITHREAD] ata5: <ATA channel 1> on atapci1 ata5: [ITHREAD] atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] cpu0: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 481f481f0600481f device_attach: est0 attach returned 6 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 481f481f0600481f device_attach: est1 attach returned 6 p4tcc1: <CPU Frequency Thermal Control> on cpu1 cpu2: <ACPI CPU> on acpi0 est2: <Enhanced SpeedStep Frequency Control> on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 481f481f0600481f device_attach: est2 attach returned 6 p4tcc2: <CPU Frequency Thermal Control> on cpu2 cpu3: <ACPI CPU> on acpi0 est3: <Enhanced SpeedStep Frequency Control> on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 481f481f0600481f device_attach: est3 attach returned 6 p4tcc3: <CPU Frequency Thermal Control> on cpu3 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xec000-0xeffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 mpt0:vol0(mpt0:0:0): Settings ( Member-WCE Hot-Plug-Spares High-Priority-ReSync ) mpt0:vol0(mpt0:0:0): Using Spare Pool: 0 mpt0:vol0(mpt0:0:0): 2 Members: (mpt0:1:9:0): Primary Online (mpt0:1:1:0): Secondary Online mpt0:vol0(mpt0:0:0): RAID-1 - Optimal mpt0:vol0(mpt0:0:0): Status ( Enabled ) (mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:0:0) (mpt0:vol0:1): Online (mpt0:vol0:0): Physical (mpt0:0:9:0), Pass-thru (mpt0:1:1:0) (mpt0:vol0:0): Online (xpt0:mpt0:1:-1:-1): rescan already queued ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3 acd0: DVDR <PLDS DVD+/-RW DS-8A3S/HD52> at ata2-slave UDMA100 SATA 1.5Gb/s uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 6 ports with 6 removable, self powered ugen3.2: <vendor 0x413c> at usbus3 uhub4: <vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2> on usbus3 uhub4: 2 ports with 2 removable, self powered ses0 at mpt0 bus 0 scbus0 target 8 lun 0 ses0: <DP BACKPLANE 1.05> Fixed Enclosure Services SCSI-5 device ses0: 300.000MB/s transfers ses0: SCSI-3 SES Device pass2 at mpt0 bus 1 scbus1 target 0 lun 0 pass2: <ATA Hitachi HUA72101 AJ0A> Fixed Uninstalled SCSI-5 device pass2: 300.000MB/s transfers pass2: Command Queueing enabled da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: <Dell VIRTUAL DISK 1028> Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 953344MB (1952448512 512 byte sectors: 255H 63S/T 121534C) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Root mount waiting for: usbus3 ugen3.3: <Dell> at usbus3 ukbd0: <Keyboard> on usbus3 kbd2 at ukbd0 ums0: <Mouse> on usbus3 ums0: 3 buttons and [Z] coordinates ID=0 Root mount waiting for: usbus3 ugen3.4: <vendor 0x04b4> at usbus3 uhub5: <vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/90.15, addr 4> on usbus3 uhub5: 2 ports with 2 removable, self powered Trying to mount root from ufs:/dev/label/rootfs ZFS filesystem version 3 ZFS storage pool version 14 bge0: link state changed to UP bge1: link state changed to UP
Bjoern A. Zeeb
2010-Feb-26 19:15 UTC
Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)
On Fri, 26 Feb 2010, Lorenzo Perone wrote: Hi,> While I was just planning to experiment with VIMAGE, and it is not required > for production (I'm aware of the message of it being experimental...), I > thought it might be useful to report it. Please send me a note if I should > file a pr. > > The panic does not occur with the same kernel compiled without options > VIMAGE.FAQ from virtualization@ ; pf support for VIMAGE only basically exists here: http://svn.freebsd.org/base/user/eri/pf45/head/ but is not fully ready either. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing.
Onur Bektas
2010-Feb-26 21:30 UTC
Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)
Hi, I had the same problem, I have updated the source tree and recompile the kernel but the problem is still unresolved.. pf + vimage = "kernel crash" problem was also reported as a bug.. http://www.freebsd.org/cgi/query-pr.cgi?pr=143808&cat Regards, Onur. On 2/26/2010 8:18 PM, Lorenzo Perone wrote:> > Hello, > > Just encountered a panic when starting pf (/etc/rc.d/pf start) on a > FreeBSD benjamin 8.0-STABLE > > uname -a > > FreeBSD 8.0-STABLE #0: Fri Feb 26 18:33:44 UTC 2010 > root@benjamin:/usr/obj/usr/src/sys/BYTESATWORK_R8_INTEL_DEBUG amd64 > > the system is a Dell PowerEdge R300 with bge interfaces, 16 GB RAM > (dmesg attached). > > Panic and trace remote console screenshots: > > http://lorenzo.yellowspace.net/R300_pfctl_panic.gif > http://lorenzo.yellowspace.net/R300_pfctl_panic_trace.gif > > Excerpt transcript: > > panic: > > Fatal trap 12: page fault while in kernel mode > current process = 1302 > Stopped at pfil_head_get+0x41 movq 0x28(%rcx),%rdx > > trace: > > pfil_head_get() at pfil_head_get+0x41 > pfioctl() at pfioctl+0x3351 > devfs_ioctl_f() at devfs_ioctl_f+0x71 > kern_ioctl() at kern_ioctl+0xe4 > ioctl() at ioctl+0xed > syscall() at syscall+0x1e7 > Xfast_syscall() at Xfast_syscall+0xe1 > > While I was just planning to experiment with VIMAGE, and it is not > required for production (I'm aware of the message of it being > experimental...), I thought it might be useful to report it. Please > send me a note if I should file a pr. > > The panic does not occur with the same kernel compiled without options > VIMAGE. > > Note that the dmesg is from the system booted with the kernel without > VIMAGE, that's why it doesn't contain the warning. > > big Regards to all the team, > > Lorenzo > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"Onur BEKTAS Sistem Y?neticisi / System Administrator T?BITAK ULAKBIM