From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 23 18:55:33 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 486A716A402 for ; Fri, 23 Feb 2007 18:55:33 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from sourcehosting.net (sourcehosting.net [204.8.45.67]) by mx1.freebsd.org (Postfix) with ESMTP id E6E1A13C441 for ; Fri, 23 Feb 2007 18:55:31 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: (qmail 15571 invoked by uid 0); 23 Feb 2007 18:28:50 -0000 Received: from glarkin@sourcehosting.net by patches by uid 2033 with qmail-scanner-1.20rc1 (0.80 Clear:RC:1:. Processed in 0.055551 secs); 23 Feb 2007 18:28:50 -0000 X-Qmail-Scanner-Mail-From: glarkin@sourcehosting.net via patches X-Qmail-Scanner: 1.20rc1 (Clear:RC:1:. Processed in 0.055551 secs) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com (HELO Gregory-Larkins-Computer.local) (68.189.244.97) by 192.168.1.4 with SMTP; 23 Feb 2007 18:28:50 -0000 Received: from TWEETY (tweety.entropy.prv [192.168.1.9]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id A9673D6C7AB for ; Fri, 23 Feb 2007 13:28:22 -0500 (EST) From: "Greg Larkin" To: Date: Fri, 23 Feb 2007 13:27:38 -0500 Organization: SourceHosting.net, LLC Message-ID: <005101c75778$50577770$0901a8c0@TWEETY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 Thread-Index: AcdXeEds/07V51gjSe+gFVbNmhN7UQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Importance: Normal Subject: Instruction fault panic while installing 6.2 on VMware Server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 18:55:33 -0000 Hi everyone, I'm creating a standard FreeBSD 6.2 ISO image that I can use to perform unattended installations into VMware Server virtual machines. I'm using VMServer 1.0.1, and I've hit a roadblock when sysinstall attempts to create the root filesystem. The first thing to mention is that VMServer is running on a CentOS 4.4 host OS, and the CPU architecture is a Via C3 Nehemiah. Technically, the VMServer software is not supposed to work on the Via C3 line, but the Nehemiah apparently supports the CMOV instruction that VMServer requires. I've been able to install Fedora Core 6 successfully and run it with no problems, so I'm wondering if I just need to find the right options to configure FreeBSD 6.2 to get it to work. Anyway, the VM boots fine, loads the FreeBSD ISO, and launches sysinstall, but as soon as newfs is invoked to make the root filesystem, I get this: Making a new root filesystem on /dev/ad0s1a Panic: privileged instruction fault (auto reboot) I've tried installing from the standard 6.2 release ISO as well as a custom ISO with a recompiled kernel, but I get the same error either way. I also tried disabling ACPI during boot with no success. My custom kernel config is included below. My first thought was that if I explicitly set the CPU to I486, that might help avoid the instruction fault, but that doesn't work. I didn't see any other options that looked like they would fix the fault, but I'm not very experienced at kernel configuration either. Does anyone have an idea how to troubleshoot this problem? Thank you for any help! Regards, Greg Larkin machine i386 cpu I486_CPU ident VMWAREC3 makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=3D5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC device pci device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID # Static device numbering device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. device ahd # AHA39320/29320 and onboard AIC79xx devices options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. device mpt # LSI-Logic MPT-Fusion device bt # Buslogic/Mylex MultiMaster SCSI adapters device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device pmtimer device sio # 8250, 16[45]50 based serial ports device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device em # Intel PRO/1000 adapter Gigabit Ethernet Card device miibus # MII bus support device lnc # NE2100, NE32-VL Lance Ethernet cards device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device bpf # Berkeley packet filter device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse