From owner-freebsd-current@FreeBSD.ORG Mon Nov 14 22:39:54 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782B8106566B for ; Mon, 14 Nov 2011 22:39:54 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F02F18FC08 for ; Mon, 14 Nov 2011 22:39:53 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so8897881bkb.13 for ; Mon, 14 Nov 2011 14:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=LGAaGNlTcUr6gereEUW0AVd9OVVhm7yXep6so5+DPhg=; b=H/nPdSBB3ZOyrt2/NJQb1Y5xWbF9FJ/ULOJjvI8yJov7nXBNkKNnp8teSBsUowfLQr sDcXI0NMz5HWoh5/J+wsUAlQjLzBZ3N94CMeJehs9YkHTHjojDmKG2VjYIhRhL+uUgcH HRVuSLfSGAEFKaJRAmVwQoguhLWXaXKbbg2oA= Received: by 10.204.38.16 with SMTP id z16mr21325175bkd.66.1321310392631; Mon, 14 Nov 2011 14:39:52 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id k26sm15245269fab.8.2011.11.14.14.39.51 (version=SSLv3 cipher=OTHER); Mon, 14 Nov 2011 14:39:51 -0800 (PST) Sender: Alexander Motin Message-ID: <4EC198B8.1010901@FreeBSD.org> Date: Tue, 15 Nov 2011 00:39:52 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111112 Thunderbird/8.0 MIME-Version: 1.0 To: Sebastian Chmielewski References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current Subject: Re: Second SATA device lost after ZFS root is mount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2011 22:39:54 -0000 On 15.11.2011 00:22, Sebastian Chmielewski wrote: > I have laptop with two hard disks - SSD and HDD attached instead of optical > drive, running 9.0-PRERELEASE, GENERIC and custom configured kernel (same symptoms for both). > Second HDD is lost during boot (root is on ada0, ada0 and ada1 are partitioned using GPT): > > ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 > ada1: ATA-8 SATA 2.x device > ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) > ada1: Command Queueing enabled > ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) > ada1: Previously was known as ad6 > .... > Trying to mount root from zfs:zroot []... > (ada1:ahcich1:0:0:0): lost device > (ada1:ahcich1:0:0:0): removing device entry > cryptosoft0: on motherboard > GEOM_ELI: Device gpt/home0.eli created. > > The same symptoms are for original DVD Drive - it is lost during the boot > when ZFS root is successfully mount and before GELI asks for password. > What is most strange it doesn't occur when boot into single user mode. > What can be the cause? SATA device can be dropped because of error during reset/ probe/ initialization sequence or because controller reported disconnection. Verbose boot messages (boot -v from loader prompt) should give more information about what happened there. Show please full verbose dmesg. -- Alexander Motin