From owner-freebsd-virtualization@FreeBSD.ORG Fri Nov 28 11:04:23 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C71D860 for ; Fri, 28 Nov 2014 11:04:23 +0000 (UTC) Received: from mbox1.develooper.com (mbox1.develooper.com [207.171.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2499A6AC for ; Fri, 28 Nov 2014 11:04:22 +0000 (UTC) Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) by mbox1.develooper.com (Postfix) with ESMTP id 8D8C61757D9 for ; Fri, 28 Nov 2014 02:43:17 -0800 (PST) Received: (qmail 32080 invoked from network); 28 Nov 2014 10:43:15 -0000 Received: from c-50-161-96-117.hsd1.ca.comcast.net (HELO ?10.0.200.10?) (ask@mail.dev@50.161.96.117) by smtp.develooper.com with ESMTPA; 28 Nov 2014 10:43:15 -0000 From: =?utf-8?Q?Ask_Bj=C3=B8rn_Hansen?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Unsupported cmd:c4 (ada0:ahcich0:0:0:0): READ_MUL. ACB: c4 00 00 00 00 40 00 00 00 00 01 00 Message-Id: Date: Fri, 28 Nov 2014 02:42:30 -0800 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 11:04:23 -0000 Hi everyone, I=E2=80=99ve spent some time off this week upgrading my = build-my-personal-NanoBSD-image tool from a VMware virtual machine to a = physical box running a 32-bit build-box under bhyve. So far so good =E2=80=94 all that has been working really well. My nanobsd image is only used on Soekris and PC Engines boxes and my = production images are really small (some <100MB storage and ~32MB = memory), so I have a crufty kernel config that excluded a bunch of stuff = I (thought I) don=E2=80=99t need. Now I=E2=80=99d like to run my built image under bhyve for testing. = It=E2=80=99s easier for me if the disk comes up as an ada device, so = I=E2=80=99m using ahci-hd instead of virtio-blk. With virtio-blk the = system boots but the device has the =E2=80=9Cwrong" name. With ahci-hd it can=E2=80=99t read my partition for some reason. I=E2=80=99ve tried with both file and zvol backing store. This is the error I=E2=80=99m getting: ada0: ATA-8 SATA 2.x device ada0: Serial Number 123456 ada0: 300.000MB/s transfers (SATA 2.x, PIO4, PIO 8192bytes) ada0: Command Queueing enabled ada0: 260MB (532480 512 byte sectors: 16H 63S/T 528C) ada0: Previously was known as ad4 Unsupported cmd:c4 (ada0:ahcich0:0:0:0): READ_MUL. ACB: c4 00 c1 1f 08 40 = 00 00 00 00 04 00 (ada0:ahcich0:0:0:0): CAM status: ATA Status Error (ada0:ahcich0:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT ) (ada0:ahcich0:0:0:0): RES: 41 04 00 00 00 40 00 00 00 00 00 (ada0:ahcich0:0:0:0): Retrying command Unsupported cmd:c4 Any suggestion for what I=E2=80=99m doing wrong? Did I compile my kernel = with some idiotic set of not-working options? Ask