From owner-freebsd-virtualization@FreeBSD.ORG Fri Nov 28 16:44:35 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 8191D21A for ; Fri, 28 Nov 2014 16:44:35 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 430DB69F for ; Fri, 28 Nov 2014 16:44:34 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A7EE37CC98 for ; Fri, 28 Nov 2014 16:44:27 +0000 (UTC) Message-ID: <5478A67C.7030904@freebsd.org> Date: Fri, 28 Nov 2014 11:44:44 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Unsupported cmd:c4 (ada0:ahcich0:0:0:0): READ_MUL. ACB: c4 00 00 00 00 40 00 00 00 00 01 00 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EnHdR8TRr6G2HbBDfCmoicsbUTBLdfgWx" 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 16:44:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EnHdR8TRr6G2HbBDfCmoicsbUTBLdfgWx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2014-11-28 05:42, Ask Bj=C3=B8rn Hansen wrote: > Hi everyone, >=20 > I=E2=80=99ve spent some time off this week upgrading my build-my-person= al-NanoBSD-image tool from a VMware virtual machine to a physical box run= ning a 32-bit build-box under bhyve. >=20 > So far so good =E2=80=94 all that has been working really well. >=20 > My nanobsd image is only used on Soekris and PC Engines boxes and my pr= oduction images are really small (some <100MB storage and ~32MB memory), = so I have a crufty kernel config that excluded a bunch of stuff I (though= t I) don=E2=80=99t need. >=20 > 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=99= m using ahci-hd instead of virtio-blk. With virtio-blk the system boots b= ut the device has the =E2=80=9Cwrong" name. >=20 > With ahci-hd it can=E2=80=99t read my partition for some reason. >=20 > I=E2=80=99ve tried with both file and zvol backing store. >=20 > This is the error I=E2=80=99m getting: >=20 > 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 4= 0 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 >=20 >=20 > Any suggestion for what I=E2=80=99m doing wrong? Did I compile my kerne= l with some idiotic set of not-working options? >=20 >=20 > Ask >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 When using zvols, you must set the 'volmode' to 'dev', otherwise GEOM on the host locks the disk and causes all kinds of interesting things to happen. Note: the volmode property is only applied when the device is created, so you might have to 'zfs rename' it to cause it to be recreated --=20 Allan Jude --EnHdR8TRr6G2HbBDfCmoicsbUTBLdfgWx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUeKZ/AAoJEJrBFpNRJZKf+EYQAJzI3K/QjmdntfRSjNDhVf/0 5soTK03w8cLIvxcO6GbOZToofXkvfUOPm0ujFo7k7KA4EkQT6zVPMn6LNkjRDZ4G GGxVzgUvAPHohi0Jy8sNuQKSXF48t4LRV9Sa+Ev2i0t1wP9HeTXVy2HwfHaiAVrt XdEil7vDN4LzFaLzJhjW26WzJ06Oh22fr1KMwxaiKrhmLZDulHIpXggp+4bYMd7d V60Nb/viJZat5fpuG0iJT98vYh+c6lKlixiZF3FCyvkdTv7bV/WoVoCFKxx7wBsP al1//tmWNQOalIKoupxSekGYKbxRuzvP/bcs5aLy63q9D1tNZaNk7OD2bGnffPfC 1huO/rEPBkU2EaVOsuXLDiTf95v7SOB7PQNZLR+3p0WyTC+WvoAFLZMbEv8W6oOo ibDTrbeWzDdPFnwV45L6xSGEZ3JPAkljB4ectrByoZAil5vlGGX9QLwg7xSKoXxb hzqbBHeEkKEMItPdbDzzJFyO1LhIymKtGkGFbXj3E62iXyTABSbaohj6TNlcXRlh YA0iB0po7GLinrmqd1cOaBFOeB00q0f5OiARWYMTA1vUpa2fpa/z5PV+IJ1GzQcz Cf/G5aCLmeFwRDQ0l0s3ElUS6JmrJG3v9Le7325xu975a0iSQm8sMjEa3/b6qfV2 MwoWPdUX3jkRj45Ise7b =ReGD -----END PGP SIGNATURE----- --EnHdR8TRr6G2HbBDfCmoicsbUTBLdfgWx--