Mount root from SD card?(solved!)

Krassimir Slavchev krassi at bulinfo.net
Thu Jan 22 08:12:17 PST 2009


-----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-----


More information about the freebsd-arm mailing list