From owner-freebsd-stable@FreeBSD.ORG Mon Nov 15 16:03:30 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 4BCB81065670 for ; Mon, 15 Nov 2010 16:03:30 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0801A8FC1A for ; Mon, 15 Nov 2010 16:03:29 +0000 (UTC) Received: by gxk9 with SMTP id 9so3156457gxk.13 for ; Mon, 15 Nov 2010 08:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=jLxd0r1odwOd6EBmRjvCuDGPRcX4xsHmApJiKApVEk8=; b=rwfbKDUQPr6DhG5Ng2gM58GH/EFIF+7biFv350un75yFBfZYBU9H4bJh7yyxM1fSho h+nx1ql7XMiBFbYjYL0sJ2ewzQi3+NO8EX2szoPccxKVfuWWGegHjv3Msux3cdridZv7 TWpGXTbKG2usCIP35IjrOZWLtFv2SX+iqLA2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZW+OZgXWMVhCtf2TVmt/7j3zPCVcUNaF3+OYc65vpWtN0QWpmBDV/UR0K491RyOQ0Z q4PXlCl8jnFZywH8N8643Kbs70AP6tmGxSx0t7+Wy4LXzoH8MWglCP5O47Eq7Q39wLl7 4AEIKhR1Fiiqlj60kvAtMhgpQ4nuvRP9D3x3U= MIME-Version: 1.0 Received: by 10.91.17.5 with SMTP id u5mr7892287agi.165.1289835120425; Mon, 15 Nov 2010 07:32:00 -0800 (PST) Received: by 10.90.211.7 with HTTP; Mon, 15 Nov 2010 07:32:00 -0800 (PST) In-Reply-To: <4CE14C39.8020005@FreeBSD.org> References: <4CE14C39.8020005@FreeBSD.org> Date: Mon, 15 Nov 2010 07:32:00 -0800 Message-ID: From: Freddie Cash To: FreeBSD Stable Content-Type: text/plain; charset=UTF-8 Subject: Re: booting from CF 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: Mon, 15 Nov 2010 16:03:30 -0000 On Mon, Nov 15, 2010 at 7:05 AM, Alexander Motin wrote: > Kirill Yelizarov wrote: >> I have a problem with booting 8.1-stable from compact flash. This maybe some speed selection issue. I have two verbose dmesg of the same hardware: 7.2 stable and 8.1-stable. The main difference in 7.2 is such message: >> ad0: setting PIO4 on ICH5 chip >> ad0: FAILURE - SET_MULTI status=51 error=4 >> ad0: 3887MB at ata0-master PIO4 >> But 7.2 starts and run. >> And 8.1 stable when trying to mount root shows the following >> Trying to mount root from ufs:/dev/ad0p2 >> ct_to_ts([2010-11-15 12:41:03]) = 1289824863.000000000 >> start_init: trying /sbin/init >> Nov 15 15:41:03 init: /bin/sh on /etc/rc terminated abnormally, going to singlee >> Enter full pathname of shell or RETURN for /bin/sh: >> And then i can only switch if off using acpi or just power off. >> >> I know there were changes in ata. Maybe there are some tunings available to select PIO4 (most cf are using it)? > > In 8-STABLE there were added tunables hint.ata.X.devX.mode and > hint.ata.X.mode to set ATA mode during boot. Before that - only > hw.ata.ata_dma. > >> P.S. I have two verbose dmesg but they are rather big. If needed i can post them hear. > > Verbose dmesg could be useful in many cases. Better upload it somewhere > else and post a link here. On our 7.3 and 8.1 boxes, I've had to disable DMA in the BIOS and via /boot/loader.conf in order to successfully boot off 2 GB and 4 GB CompactFlash cards, in CF-to-IDE and CF-to-SATA adapters. -- Freddie Cash fjwcash@gmail.com