Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 18:12:14 +0200
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Mount root from SD card?(solved!)
Message-ID:  <49789ADE.4020107@bulinfo.net>
In-Reply-To: <497896F3.9030908@bulinfo.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

And SD is corrupted!

...
mmcsd0: 1983MB <SD Memory Card> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49789ADE.4020107>