From owner-freebsd-arm@FreeBSD.ORG Thu Jan 22 16:12:17 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35E15106564A for ; Thu, 22 Jan 2009 16:12:17 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id DE0458FC0C for ; Thu, 22 Jan 2009 16:12:16 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 7D49FCB41 for ; Thu, 22 Jan 2009 18:12:14 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54708-03 for ; Thu, 22 Jan 2009 18:12:13 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id A5CCBCB38 for ; Thu, 22 Jan 2009 18:12:13 +0200 (EET) Message-ID: <49789ADE.4020107@bulinfo.net> Date: Thu, 22 Jan 2009 18:12:14 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.14 (X11/20080616) MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <20090121.100533.-1955669401.imp@bsdimp.com> <20090121.101459.2022307528.imp@bsdimp.com> <49776734.8030805@FreeBSD.org> <20090121.122842.-1582190967.imp@bsdimp.com> <20090122105650.GB50103@cicely7.cicely.de> <49787314.3070004@FreeBSD.org> <20090122142015.GC50103@cicely7.cicely.de> <49788702.9010808@FreeBSD.org> <20090122151340.GE50103@cicely7.cicely.de> <497896F3.9030908@bulinfo.net> In-Reply-To: <497896F3.9030908@bulinfo.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Subject: Re: Mount root from SD card?(solved!) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 16:12:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 And SD is corrupted! ... mmcsd0: 1983MB at mmc0 30MHz/1bit GEOM: mmcsd0s1: geometry does not match label (255h,63s != 64h,63s). GEOM: mmcsd0s2: geometry does not match label (255h,63s != 64h,63s). Trying to mount root from ufs:/dev/mmcsd0s1 warning: no time-of-day clock registered, system time will not be set accurately Loading configuration files. No suitable dump device was found. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/mmcsd0s2 as swap device uhub0: device problem (IOERROR), disabling port 2 Starting file system checks: /dev/mmcsd0s1: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s1: clean, 740863 free (3079 frags, 92223 blocks, 0.3% fragmentation) try does not match label (255h,63s != 64h,63s). Setting hostuuid: 5d40cced-02e7-11dc-b687-00ff01000043. Setting hostid: 0xf129ad60. Mounting local file systems:. panic: ufs_dirbad: /: bad dir ino 47116 at offset 0: mangled entry KDB: enter: panic [thread pid 80 tid 100044 ] Stopped at kdb_enter+0x44: ldrb r15, [r15, r15, ror r15]! db> Krassimir Slavchev wrote: > Hi, > > We have to send the command before enabling the PDC for reading. I do > not know why in the datasheet is opposite! > > See the attached patch. > > Thanks to All! > > Best Regards > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFJeJrexJBWvpalMpkRAoCqAJ962bjsgQuUmDuuGQUH/gVjtOAelACbBDNU XczYSgeGxfA58BB5p4EsUIw= =NPrA -----END PGP SIGNATURE-----