From owner-freebsd-current@FreeBSD.ORG Thu Nov 21 09:39:40 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48179AD0; Thu, 21 Nov 2013 09:39:40 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A2D7A25A7; Thu, 21 Nov 2013 09:39:39 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id x55so6544485wes.26 for ; Thu, 21 Nov 2013 01:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eRvvhsjtu6eFndz6DbOPi4UfHFn5ULAcamrdsbAAdo0=; b=tPZvJfcnYhTdOFBRxetM7nginC3qSXLhxN4pCJdA6uqdlpA+P6XNhJaPAWyTKAJ2pA WYrCu9pjqAKR1FVgbVzJZxCjwLc8OAIvNzAgxE4htE6qSy+pFFNcf6FfJYnuCsCP71Al 6wcqzzj0ywR7N/rPg05hc71n/3/RQpXwqTt1wCw/Z+OF+FSyZADXM0ZWpyzHvRxrW/B3 +nwTWLFuuQyG1sqlSqDlI4GkDQAjxoQKy0wU8emezh4mP9DqxA2EfEQuDFhND8aGdE8I tQuIVdaLdjxFjlX/YrYLp7V/sBW4BN259rGHM57NRlRVjaqRS5MNRjhJd+PkdcLPHt6J J3rQ== MIME-Version: 1.0 X-Received: by 10.180.187.72 with SMTP id fq8mr4367245wic.26.1385026777388; Thu, 21 Nov 2013 01:39:37 -0800 (PST) Received: by 10.217.141.3 with HTTP; Thu, 21 Nov 2013 01:39:37 -0800 (PST) In-Reply-To: References: <1384986598.31172.522.camel@revolution.hippie.lan> Date: Thu, 21 Nov 2013 10:39:37 +0100 Message-ID: Subject: Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem From: Berislav Purgar To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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: Thu, 21 Nov 2013 09:39:40 -0000 On Thu, Nov 21, 2013 at 10:35 AM, Berislav Purgar wrote: > > > > On Wed, Nov 20, 2013 at 11:29 PM, Ian Lepore wrote: > >> On Wed, 2013-11-20 at 21:27 +0100, Berislav Purgar wrote: >> > Hello .. >> > >> > I have problem with microdrive and some CF cards on IGEL 3/4 compact >> thin >> > client ( http://www.parkytowers.me.uk/thin/Igel/3210/index.shtml ). >> Problem >> > is that FreeBSD cannot find microdrive or CF card to mount sytem / on >> (but >> > kernel is found and loaded from microdrive or CF card). I have one CF >> card >> > (sandisk ultra II) which boots but with some timeouts before. Here are >> > links to pictures of this problem. >> > >> > (aprobe:ata0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 >> 00 00 >> > >> > >> > http://s24.postimg.org/al2k6qfzp/WP_20131120_003_1.jpg >> > http://s17.postimg.org/wm0s58kzz/WP_20131120_007_1.jpg >> > http://s23.postimg.org/5sp2k4trf/WP_20131120_006_1.jpg >> > >> > i tried same configuration on openbsd5.3 and everething si Ok .. Any >> > suggestions ? >> > >> > Tnx >> > sorry for my English .. >> >> Try adding hw.ata.ata_dma=0 to your /boot/loader.conf. I don't know why >> the bios can do DMA on a CF and freebsd can't, but we've needed to add >> that at $work for years (going back to freebsd 4.x at least). Of >> course, you pay a huge performance penalty for running in PIO mode. >> >> -- Ian >> >> > Hi Ian > > i try this but does not help. for better debuging i use gateworks GW2345 > board and found some interestingly ... if i destroy all partitions and > partitions schemes on microdrive freebsd founds microdrive at boot and > display info for it.. > > Timecounters tick every 10.000 msec > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > ada0: CFA-0 device > ada0: 16.700MB/s transfers (PIO4, PIO 8192bytes) > ada0: 3906MB (7999488 512 byte sectors: 16H 63S/T 7936C) > ada0: Previously was known as ad0 > > full dmesg is here : > http://pastebin.com/eWJ4XGyN > > but if i create MBR (or GPT) on microdrive and check as before on avila > board i got timeouts and microdrive not found ?! > > ata_avila0: on ixp0 > ata0: on ata_avila0 > led_avila0: on ixp0 > gpio_avila0: on ixp0 > gpioc0: on gpio_avila0 > gpiobus0: on gpio_avila0 > Timecounter "IXP4XX Timer" frequency 66666600 Hz quality 1000 > Timecounters tick every 10.000 msec > (aprobe0:ata0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 > 00 > (aprobe0:ata0:0:0:0): CAM status: Command timeout > (aprobe0:ata0:0:0:0): Error 5, Retry was blocked > > full dmesg is here : > http://pastebin.com/wPEexXKz > > i don't think that this is dma problem !? > > Beri > > > > > i forget to paste this link ... this is procedure how i create partition schema on microdrive to test it .. http://pastebin.com/x5MinNQz Beri