From owner-freebsd-geom@FreeBSD.ORG Thu Nov 21 20:31:07 2013 Return-Path: Delivered-To: freebsd-geom@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 B9EFF2AA; Thu, 21 Nov 2013 20:31:07 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21C9D2395; Thu, 21 Nov 2013 20:31:06 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x12so268070wgg.28 for ; Thu, 21 Nov 2013 12:31:05 -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 :content-type; bh=tA07vBgTig6Z94bGTEfH6hYAoIYOvcDdMJQ30oaPolo=; b=aIB2rfcStH4jrIvyRNa0yoGo/kogexn+IlLfh1FXMLZ2TVP7DErut7EHb6ai78O3dL W0uoIj79TktpiUGzHA04WKJ0CNz+5m/eoOJE994dKI55RD45d7nj0ub7L4/JfIK3MIcc I9Scyh+khXN/pKtjc0qVIWMkHpgYqpLdyo1zdyRuvoB0/I56TmLFvdW/QJ+hlLsitCoy b8JDzF8y2YnN+2PJgHxO2F+T4PqxTjZ1OXzWZ29Xuqlvr9LJrfTX1Wqi1L3bNGR0chow 20kOXbEdlfIPi6eTKo4prIN/Y562SGYPs/IdL/emej1x40q1zcvkC3se0TkBDh72cXUq WZOg== MIME-Version: 1.0 X-Received: by 10.181.12.75 with SMTP id eo11mr6563183wid.37.1385065865579; Thu, 21 Nov 2013 12:31:05 -0800 (PST) Received: by 10.217.141.3 with HTTP; Thu, 21 Nov 2013 12:31:05 -0800 (PST) In-Reply-To: <20131121201942.GA2279@funkthat.com> References: <20131121201942.GA2279@funkthat.com> Date: Thu, 21 Nov 2013 21:31:05 +0100 Message-ID: Subject: Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem From: Berislav Purgar To: Berislav Purgar , Adrian Chadd , freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 20:31:07 -0000 On Thu, Nov 21, 2013 at 9:19 PM, John-Mark Gurney wrote: > Berislav Purgar wrote this message on Thu, Nov 21, 2013 at 21:04 +0100: > > On Thu, Nov 21, 2013 at 8:54 PM, Adrian Chadd > wrote: > > > > > Well, if the disk itself is throwing errors that early in boot, you've > > > got a much bigger problem. > > > > > > Sometimes these things do things with partition schemes and > > > filesystems behind the scenes. Maybe the CF microcontroller in the > > > card is confused? > > > > > > > > > > > > -adrian > > > > > > > > > On 21 November 2013 10:28, Berislav Purgar wrote: > > > > On Thu, Nov 21, 2013 at 12:16 PM, Berislav Purgar > > > > wrote: > > > > > > > >> > > > >> > > > >> > > > >> On Wed, Nov 20, 2013 at 10:40 PM, Berislav Purgar < > bpurgar@gmail.com > > > >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< > > > 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. > > > >>> FreeBSD identifies ide controller as : > > > >>> atapci0: port > > > >>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 15.0 on > > > pci0 > > > >>> ata0: at channel 0 on atapci0 > > > >>> ata1: at channel 1 on atapci0 > > > >>> > > > >>> 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 > ..same > > > >>> controler on openbsd : > > > >>> http://s12.postimg.org/bztc7w1zx/WP_20131120_001_1.jpg > > > >>> > > > >>> Any suggestions ? > > > >>> > > > >>> Tnx > > > >>> sorry for my English .. > > > >>> > > > >> > > > >> > > > >> 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 > > > >> > > > >> > > > >> http://pastebin.com/x5MinNQz > > > >> > > > >> why FreeBSD doesn't find microdrive when it has partitions or > partition > > > >> schemas ? > > > >> > > > >> Beri > > > >> > > > > > > > > > > > > nobody ? > > > > _______________________________________________ > > > > freebsd-geom@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > > > > To unsubscribe, send any mail to " > freebsd-geom-unsubscribe@freebsd.org" > > > > > > > > > but i try openbsd and everything is OK . tomorow i plain to test linux > just > > to confirm these. i found same problems reported a few years ago that had > > users on pfSense and FreeBSD with the microdrive but no solution .. so i > > think that this problem is still here.. > > > http://lists.freebsd.org/pipermail/freebsd-current/2009-April/005835.html > > .. > > http://marc.info/?l=pfsense-support&m=120665192812939 > > Have you made sure that the partitions you create are zero'd, or have a > valid FS on them? The firmware could be trying to parse the partitions > for FS's (flash cards are known to do this w/ FAT) but the firmware is > getting confused by the FS and getting lost in the weeds... > > It could be that OpenBSD has a longer timeout period than FreeBSD... > > How long are you seeing it wait before you see the messages? Do you > have any custom kernel options, like HZ set? > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > Yes im sure becouse with usb card reader i can mount FS and manipulate with files on partitions ..I don't have any custom kernel options in loader.conf. It is interesting that drive without a partition or partition scheme is visible and with partition or partition scehme is no longer visible. Beri