From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 09:30:13 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34CF8106564A for ; Thu, 28 Apr 2011 09:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F91C8FC14 for ; Thu, 28 Apr 2011 09:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3S9UC9s080206 for ; Thu, 28 Apr 2011 09:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3S9UCnT080203; Thu, 28 Apr 2011 09:30:12 GMT (envelope-from gnats) Resent-Date: Thu, 28 Apr 2011 09:30:12 GMT Resent-Message-Id: <201104280930.p3S9UCnT080203@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helmut Schneider Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506731065670 for ; Thu, 28 Apr 2011 09:26:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC298FC08 for ; Thu, 28 Apr 2011 09:26:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3S9Q1Po084802 for ; Thu, 28 Apr 2011 09:26:01 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p3S9Q17j084801; Thu, 28 Apr 2011 09:26:01 GMT (envelope-from nobody) Message-Id: <201104280926.p3S9Q17j084801@red.freebsd.org> Date: Thu, 28 Apr 2011 09:26:01 GMT From: Helmut Schneider To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/156691: panic when using hard disks as RAW devices within VMWare ESXi 4.1-u1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 09:30:13 -0000 >Number: 156691 >Category: kern >Synopsis: panic when using hard disks as RAW devices within VMWare ESXi 4.1-u1 >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 28 09:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Helmut Schneider >Release: 8.2-RELEASE-p1 >Organization: >Environment: >Description: Within VMWare ESXi 4.1-u1 I created RAW devices using http://www.mattiasholm.com/node/33. When I install FreeBSD the filesystem gets corrupted (IIRC during the installation "ELF interpreter /libexec/ld-elf.so.1 not found " pops up many times). Also, when I copy a large number of files or directories to the devices (tried cp, dump/restore and rsync) the VM panics immediately. Unfortunately /var/crash remains empty after reboot. If there is another way to create a backtrace please advice. Disks are 2 seagate 80GB SATA and one seagate 400GB SATA-II Using FreeBSD 8.x I can - partition and label the disks - copy a few files to it, create a few directories on it I tested the following OSses within the same VM using the same RAW devices and they install and operate fine: Windows 7 Ubuntu 10.4 OpenBSD 4.8 The disks were all tested with seatools which reported no errors. I can also install and use the disks without problems on a physical machine. After the crash/panic most of the time the data on the first MBR-UFS partition (and only the first partition!) is complete rubbish, after fsck only a few files within lost+found remain. Sometimes also all labels are gone but are easily restoreable using bsdlabel -R. The problem is easily reproducable (here). I tried with open-vm-tools-nox11-313025_2 and without, also booting mfsbsd and then copy files. >How-To-Repeat: Run ESXi 4.1-u1 Create RAW devices according to http://www.mattiasholm.com/node/33 Install FreeBSD on it >Fix: >Release-Note: >Audit-Trail: >Unformatted: