From owner-freebsd-current@FreeBSD.ORG Thu Nov 21 14:39:07 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 998D949A for ; Thu, 21 Nov 2013 14:39:07 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 711BB2BB9 for ; Thu, 21 Nov 2013 14:39:07 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VjVPO-000OYS-7D; Thu, 21 Nov 2013 14:39:06 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id rALEd36M082581; Thu, 21 Nov 2013 07:39:03 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+lCQcCgwROgPolbJitxQZ9 Subject: Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem From: Ian Lepore To: Berislav Purgar In-Reply-To: References: <1384986598.31172.522.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Thu, 21 Nov 2013 07:39:03 -0700 Message-ID: <1385044743.31172.546.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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 14:39:07 -0000 On Thu, 2013-11-21 at 10:35 +0100, 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 !? Hmm, yes, that does seem to be a different problem. -- Ian