Date: Wed, 04 Feb 2015 17:55:23 -0600 From: Brandon Schneider <brandon.schneider@icloud.com> To: freebsd-questions@freebsd.org Subject: VIMAGE crashing when starting a jail via jail(8). Message-ID: <54D2B16B.7040505@icloud.com>
next in thread | raw e-mail | index | archive | help
Hello list, I'm currently trying to figure out why when I start my jails the system immediately segfaults. It goes by too fast for me to make out what it's saying, but it happens every time. Sometimes a jail or two will come up and the third one will crash the system. I'm going to post the relevant information below, if you need anything else from me please ask. The information is sanitized. Thank you! KERNEL CONFIG: include GENERIC ident VIMAGE_GENERIC options VIMAGE DMESG: Copyright (c) 1992-2014 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 10.1-RELEASE-p4 #4 r273687M: Wed Jan 21 21:48:23 CST 2015 root@nas:/usr/obj/usr/src/sys/VIMAGE_GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: AMD Turion(tm) II Neo N54L Dual-Core Processor (2196.39-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f63 Family = 0x10 Model = 0x6 Stepping = 3 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,POPCNT> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x837ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,NodeId> TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3980611584 (3796 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <HP ProLiant> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. ioapic0 <Version 2.1> irqs 0-23 on motherboard random: <Software, Yarrow> initialized kbd1 at kbdmux0 acpi0: <HP ProLiant> on motherboard acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of fed80000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, d7f00000 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 450 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b 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 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xf0000000-0xf7ffffff,0xfe8f0000-0xfe8fffff,0xfe700000-0xfe7fffff irq 18 at device 5.0 on pci1 vgapci0: Boot video device pcib2: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0 pci2: <ACPI PCI bus> on pcib2 bge0: <HP NC107i PCIe Gigabit Server Adapter, ASIC rev. 0x5784100> mem 0xfe9f0000-0xfe9fffff irq 18 at device 0.0 on pci2 bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM5784 10/100/1000baseT PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 9c:b6:54:04:4d:f2 ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xfe6ffc00-0xfe6fffff irq 19 at device 17.0 on pci0 ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich2: <AHCI channel> at channel 2 on ahci0 ahcich3: <AHCI channel> at channel 3 on ahci0 ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe6fe000-0xfe6fefff irq 18 at device 18.0 on pci0 usbus0 on ohci0 ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe6ff800-0xfe6ff8ff irq 17 at device 18.2 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe6fd000-0xfe6fdfff irq 18 at device 19.0 on pci0 usbus2 on ohci1 ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe6ff400-0xfe6ff4ff irq 17 at device 19.2 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci1 atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci3: <ACPI PCI bus> on pcib3 ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfe6fc000-0xfe6fcfff irq 18 at device 22.0 on pci0 usbus4 on ohci2 ehci2: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfe6ff000-0xfe6ff0ff irq 17 at device 22.2 on pci0 usbus5: EHCI version 1.0 usbus5 on ehci2 acpi_button0: <Power Button> on acpi0 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 ppc0: cannot reserve I/O port range acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 ugen3.1: <ATI> at usbus3 uhub0: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3 ugen2.1: <ATI> at usbus2 uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen1.1: <ATI> at usbus1 uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen0.1: <ATI> at usbus0 uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen5.1: <ATI> at usbus5 uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5 ugen4.1: <ATI> at usbus4 uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 uhub5: 4 ports with 4 removable, self powered uhub1: 5 ports with 5 removable, self powered uhub3: 5 ports with 5 removable, self powered uhub4: 4 ports with 4 removable, self powered uhub0: 5 ports with 5 removable, self powered uhub2: 5 ports with 5 removable, self powered ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device ada0: Serial Number WD-WCC4N76L0250 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada0: quirks=0x1<4K> ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device ada1: Serial Number WD-WCC4N8Y2X4N3 ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada1: quirks=0x1<4K> ada1: Previously was known as ad6 ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 ada2: <WDC WD30EZRX-00D8PB0 80.00A80> ATA-9 SATA 3.x device ada2: Serial Number WD-WCC4N30LC0LS ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) ada2: quirks=0x1<4K> ada2: Previously was known as ad8 SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1098193690 Hz quality 800 GEOM_MIRROR: Device mirror/swapmirror launched (3/3). Trying to mount root from zfs:home-0/ROOT/default []... bridge0: Ethernet address: 02:c7:3d:75:ae:00 bridge1: Ethernet address: 02:c7:3d:75:ae:01 /etc/rc.conf: hostname="nas" cloned_interfaces="bridge0" ifconfig_bridge0="addm bge0 SYNCDHCP up" ifconfig_bge0="up" sshd_enable="YES" ntpd_enable="YES" dumpdev="AUTO" zfs_enable="YES" gateway_enable="YES" linux_enable="YES" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" smartd_enable="YES" nfs_server_enable="YES" nfs_server_flags="-u -t -n 4" rpcbind_enable="YES" mountd_flags="-r" mountd_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" jail_enable="YES" jail_list="jail1 jail2 jail3 jail4 jail5 jail6 jail7 jail8 jail9" /etc/jail.conf: allow.raw_sockets = "1"; allow.set_hostname = "0"; allow.sysvipc = "1"; allow.mount.devfs; vnet; vnet.interface = "epair${if}b"; host.hostname = "${name}.home"; path = "/usr/jails/${name}"; mount.fstab = "/etc/fstab.${name}"; mount.devfs = "1"; devfs_ruleset = "4"; exec.consolelog = "/var/log/${name}.console.log"; exec.prestart = "ifconfig epair${if} create up >/dev/null"; exec.prestart += "ifconfig bridge0 addm epair${if}a"; exec.start = "/sbin/ifconfig lo0 up 127.0.0.1"; exec.start += "/sbin/ifconfig epair${if}b up ${ipaddr}"; exec.start += "/sbin/route add default ${defaultroute}"; exec.start += "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.poststop = "ifconfig epair${if}a destroy"; persist; jail1 { $if = 0; $ipaddr = 192.168.1.230; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail2 { $if = 1; $ipaddr = 192.168.1.231; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail3 { $if = 2; $ipaddr = 192.168.1.232; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail4 { $if = 3; $ipaddr = 192.168.1.233; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail5 { $if = 4; $ipaddr = 192.168.1.234; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail6 { $if = 5; $ipaddr = 192.168.1.235; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail7 { $if = 6; $ipaddr = 192.168.1.236; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail8 { $if = 7; $ipaddr = 192.168.1.237; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; } jail9 { $if = 8; $ipaddr = 192.168.1.238; $defaultroute = 192.168.1.250; devfs_ruleset = "4"; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D2B16B.7040505>