From owner-freebsd-geom@FreeBSD.ORG Thu Nov 21 20:19:43 2013 Return-Path: Delivered-To: freebsd-geom@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 B766D9D1; Thu, 21 Nov 2013 20:19:43 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8EF412277; Thu, 21 Nov 2013 20:19:43 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rALKJgtF007057 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Nov 2013 12:19:43 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rALKJgNj007056; Thu, 21 Nov 2013 12:19:42 -0800 (PST) (envelope-from jmg) Date: Thu, 21 Nov 2013 12:19:42 -0800 From: John-Mark Gurney To: Berislav Purgar Subject: Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem Message-ID: <20131121201942.GA2279@funkthat.com> Mail-Followup-To: Berislav Purgar , Adrian Chadd , freebsd-geom@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 21 Nov 2013 12:19:43 -0800 (PST) Cc: Adrian Chadd , freebsd-geom@freebsd.org 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:19:43 -0000 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 > >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."