From owner-freebsd-current@FreeBSD.ORG Thu Nov 21 09:35:55 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57651814; Thu, 21 Nov 2013 09:35:55 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B61FD2559; Thu, 21 Nov 2013 09:35:54 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id ez12so743254wid.0 for ; Thu, 21 Nov 2013 01:35:53 -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=OyKZV0QeQiV/Ve82wz9bWVDj0+U+eBTfEVTYvefZ6Lw=; b=KfbaWrZQMaSLuiikRJG7eNPgSVzurcYZVxm7KrGf17FipbIJZ1pRRCsqZ5UQ/xHVgt 8G44YJ261KpbBWZhel+oJBAUXgpIfIXLBGWO28RCmXprVLj+D06OhArv1qMaGWHtRaEe /3U9Xy0wJ6Du51P6UiHtQLCbAvasWYCTi/5RrGTZn4KiCAdEk51zObEznDN93OT8B+fj yBehisbmlyWnUql2zkonEoOZLcn9OHZrxO8UhufQDq0iRPzLQEZHNx28BTtw9URJzVS1 oF9M8jCOcMAE8q9nUOnGMzeVhunrlRzZicxpLbj2Gp04pvDZ5xQgUH6nRKxNg1BOVWGI LYXQ== MIME-Version: 1.0 X-Received: by 10.194.57.243 with SMTP id l19mr563555wjq.54.1385026553139; Thu, 21 Nov 2013 01:35:53 -0800 (PST) Received: by 10.217.141.3 with HTTP; Thu, 21 Nov 2013 01:35:53 -0800 (PST) In-Reply-To: <1384986598.31172.522.camel@revolution.hippie.lan> References: <1384986598.31172.522.camel@revolution.hippie.lan> Date: Thu, 21 Nov 2013 10:35:53 +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:35:55 -0000 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