Date: Thu, 21 Nov 2013 12:19:42 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: Berislav Purgar <bpurgar@gmail.com> Cc: Adrian Chadd <adrian@freebsd.org>, freebsd-geom@freebsd.org Subject: Re: FreeBSD-10 microdrive seagate ST1AT 4GB (VIA mbo) problem Message-ID: <20131121201942.GA2279@funkthat.com> In-Reply-To: <CAAUsrB6qaYd8Gxs58pG=5bH==K4AsqotmiaEJZTGCX_zwyrHHA@mail.gmail.com> References: <CAAUsrB7ntOi1nNAFH77bBXHamRHhaCJC6s_mJLGF_nf0eCLBZA@mail.gmail.com> <CAAUsrB5FyEWN9wtKuwdkpzLrChWBZs5tOdS5G36zd%2B8CmZ2feA@mail.gmail.com> <CAAUsrB426KVQMF5feJrV_U=8ke%2BzrzDNp7vP=DGN1RSYfojgRg@mail.gmail.com> <CAJ-Vmomkqchd8H0w3CoNx=Y95WLup5ufVcV1Ggr4RaQFc0JM6Q@mail.gmail.com> <CAAUsrB6qaYd8Gxs58pG=5bH==K4AsqotmiaEJZTGCX_zwyrHHA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <adrian@freebsd.org> 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 <bpurgar@gmail.com> wrote: > > > On Thu, Nov 21, 2013 at 12:16 PM, Berislav Purgar <bpurgar@gmail.com> > > 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: <VIA 8237 UDMA133 controller> port > > >>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 15.0 on > > pci0 > > >>> ata0: <ATA channel> at channel 0 on atapci0 > > >>> ata1: <ATA channel> 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: <ST640211CF 3.07> 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: <Gateworks Avila IDE/CF Controller> on ixp0 > > >> ata0: <ATA channel 0> on ata_avila0 > > >> led_avila0: <Gateworks Avila Front Panel LED> on ixp0 > > >> gpio_avila0: <Gateworks Avila GPIO driver> on ixp0 > > >> gpioc0: <GPIO controller> on gpio_avila0 > > >> gpiobus0: <GPIO bus> 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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131121201942.GA2279>