Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 12:40:12 +0200
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Mount root from SD card?
Message-ID:  <4976FB8C.5050209@bulinfo.net>
In-Reply-To: <4976EFED.4010706@FreeBSD.org>
References:  <20090120.114051.-854291995.imp@bsdimp.com>	<4976215B.40302@FreeBSD.org>	<20090120.122312.1543793985.imp@bsdimp.com>	<20090120.123230.-272218744.imp@bsdimp.com>	<49762CEF.1000405@FreeBSD.org> <49762EC9.1010006@FreeBSD.org> <4976E2C2.4090002@FreeBSD.org> <4976E9DB.3000803@bulinfo.net> <4976EFED.4010706@FreeBSD.org>

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

This is the output:

CMD: 0 ARG 0 len 0
RES: 0
CMD: 8 ARG 1aa len 0
RES: 1
CMD: 37 ARG 0 len 0
RES: 0
CMD: 29 ARG 0 len 0
RES: 0
CMD: 0 ARG 0 len 0
RES: 0
CMD: 8 ARG 1aa len 0
RES: 1
CMD: 37 ARG 0 len 0
RES: 0
CMD: 29 ARG ff8000 len 0
RES: 0
CMD: 37 ARG 0 len 0
RES: 0
CMD: 29 ARG ff8000 len 0
RES: 0
CMD: 2 ARG 0 len 0
RES: 0
CMD: 3 ARG 0 len 0
RES: 0
CMD: 9 ARG 10000 len 0
RES: 0
CMD: 7 ARG 10000 len 0
RES: 0
CMD: 37 ARG 10000 len 0
RES: 0
CMD: 33 ARG 0 len 8
RES: 0
CMD: 6 ARG ffffff len 64
RES: 0
CMD: 37 ARG 10000 len 0
RES: 0
CMD: d ARG 0 len 64
RES: 2
CMD: 37 ARG 10000 len 0
RES: 0
CMD: d ARG 0 len 64
RES: 0
CMD: 7 ARG 0 len 0
RES: 0
CMD: 7 ARG 10000 len 0
RES: 0
CMD: 7 ARG 0 len 0
RES: 0
CMD: 7 ARG 10000 len 0
RES: 2
CMD: 6 ARG 80fffff0 len 64
RES: 0
CMD: 7 ARG 0 len 0
RES: 0
mmcsd0: 1983MB <SD Memory Card> at mmc0 30MHz/1bit
CMD: 7 ARG 10000 len 0
RES: 2
CMD: 37 ARG 10000 len 0
RES: 0
CMD: 6 ARG 0 len 0
RES: 0
CMD: 11 ARG 0 len 512
RES: 0
CMD: 11 ARG 0 len 512
RES: 0
CMD: 11 ARG 200 len 512
RES: 0
Trying to mount root from ufs:/dev/mmcsd0s1

>>
>> Also sysinstall crashes when trying to create a new slice.
>> May be because:
>> Disk name:      mmcsd0                                    FDISK
>> Partition Editor
>> DISK Geometry:  0 cyls/0 heads/0 sectors = 0 sectors (0MB)
> 
> I don't think it is related. There is no such thing as disk geometry on
> flash card, that's why driver does not announce it. The only places
> where it may be important is when fdisk is trying to align partitions
> with track boundaries for compatibility with legacy BIOS'es.
> 
> There is no problem to report some fake values, but from one side they
> should better match BIOS assumptions on geometry and from other, they
> should as much as possible to match flash erase sector size. I just have
> no any system which supports SD booting to report something reasonable
> there. Reporting maximal 63 sectors per track as for HDD may result in
> ineffective filesystem alignment and reduced performance.
> 
> 

At least sysinstall should be fixed. Should I fill a PR for this?

Best Regards

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFJdvuMxJBWvpalMpkRAryjAJ9v4cj1FCZHFUx/csHsa3SDrjodHwCeNMSi
wgWK6W4prQzbjJqzitiqcnw=
=F7xk
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4976FB8C.5050209>