From owner-freebsd-stable@FreeBSD.ORG Fri Jan 15 23:55:53 2010 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 A7BA5106568D for ; Fri, 15 Jan 2010 23:55:53 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 61FF98FC08 for ; Fri, 15 Jan 2010 23:55:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVw18-0001jB-RM for freebsd-stable@freebsd.org; Sat, 16 Jan 2010 00:55:50 +0100 Received: from 193.33.173.33 ([193.33.173.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2010 00:55:50 +0100 Received: from c.kworr by 193.33.173.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2010 00:55:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Volodymyr Kostyrko Date: Sat, 16 Jan 2010 01:55:29 +0200 Lines: 27 Message-ID: <20100116015529.2fb2ca91@limbo.lan> References: <7ab0356e1001151213y5536d4cdi1d1759ce28ad546a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.33.173.33 X-Newsreader: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Sender: news Subject: Re: AHCI and ZFS: root mount error 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: Fri, 15 Jan 2010 23:55:53 -0000 On Fri, 15 Jan 2010 21:13:39 +0100 Romain Garbage wrote: > After setting ahci_load="YES" in /boot/loader.conf, I get a root mount error. > ahci seems to attach to disk correctly (I get ada0 messages with no error) > > Without ahci_load="YES", system boots fine, with ata module attaching to disk. > > I have a full zfs system, set up following wiki instructions: > http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition > (MBR scheme, ZFS in a FreeBSD slice, together with a swap partition) > > I'm using a GENERIC kernel, RELENG_8 branch. I have faced some problems that looks exactly like you say. I haven't investigated thoroughly after some quick-hack-repairs machine runs flawlessly. 1. I have moved to RELENG_8 from RELENG_8_0. I don't think this is it but zfsloader support was what I was looking for. 2. I reinitialised zfs partitions again with a boot code. But this time I used bs=512 dd option. 3. I recreated zpool.cache and replaced it on my pool. Actually I don't know which one helped me, but my bet is for the third step and maybe for second. -- Sphinx of black quartz judge my vow.