From owner-freebsd-stable@FreeBSD.ORG Mon Mar 23 06:09:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B7651065670 for ; Mon, 23 Mar 2009 06:09:00 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 5D7448FC17 for ; Mon, 23 Mar 2009 06:09:00 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: (qmail 28635 invoked from network); 22 Mar 2009 22:40:22 -0700 Received: by simscan 1.1.0 ppid: 28632, pid: 28633, t: 0.0748s scanners: regex: 1.1.0 attach: 1.1.0 Received: from unknown (HELO smtp.jim-liesl.org) (66.60.173.44) by smtp2 with SMTP; 22 Mar 2009 22:40:22 -0700 Received: from smtp.jim-liesl.org (localhost.static.surewest.net [127.0.0.1]) by smtp.jim-liesl.org (Postfix) with ESMTP id B1D055DBB for ; Sun, 22 Mar 2009 22:42:19 -0700 (PDT) Received: from [127.0.0.1] (daemon.static.surewest.net [192.168.1.15]) by smtp.jim-liesl.org (Postfix) with ESMTP id 0B63F5D44 for ; Sun, 22 Mar 2009 22:42:05 -0700 (PDT) Message-ID: <49C7212C.9090006@jim-liesl.org> Date: Sun, 22 Mar 2009 22:42:04 -0700 From: security User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: FreeBSD Mailing List X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: filesystem corruption freebsd 7.1 release guest on virtualpc 2007/windowsXP host system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 06:09:00 -0000 I'm writing this more as a heads up to those using freebsd as a guest under virtualpc 2007 on Win XP sp3 host. I created a fixed size virtual disk (8gig). Just to be sure, I ran the XP disk check on the underlying disk before hand. I then installed freebsd 7.1 from cd image. Next I csup'ed to get the latest updates. I then did a make buildworld and a make kernel. I ran into trouble when it rebooted and went to run make installworld. Part way through, I started getting a bunch of FS errors and then a kernel panic. I rebooted and manually fsck'ed /usr. It did recover, but was unusable. I tried the same thing again (fresh install), but I used dd and fsck to read /usr first to see if I could generate errors. It was clean but died again while it was writing lots of files to /usr during installworld. I had my suspicions that freebsd and the XP filesystems we getting out of sync under a large number of updates. I rebuilt a third time, but for this round, I set hw.ata.wc="0" in loader.conf. I haven't seen any other corruption since turning off write caching and the installworld runs clean now (multiple passes). I'm not sure who maintains the virtualization pages, but they may want to add that as a suggestion for virtualpc or other VM's that run into disk corruption problems. jim