Mount root from SD card?

Krassimir Slavchev krassi at bulinfo.net
Wed Jan 21 01:24:49 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've tried the attached patch but the problem still exist.
I see another strange things which may be related:
On 7.1-STABLE:

#fdisk -BI mmcsd0

******* Working on device /dev/mmcsd0 *******
fdisk: Geom not found: "mmcsd0"

#geom disk list
Geom name: ad4
Providers:
1. Name: ad4
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r5w5e6
   fwsectors: 63
   fwheads: 16

Geom name: mmcsd0
Providers:
1. Name: mmcsd0
   Mediasize: 2012217344 (1.9G)
   Sectorsize: 512
   Mode: r0w0e0
   fwsectors: 0
   fwheads: 0

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)


Alexander Motin wrote:
> Alexander Motin wrote:
>> Alexander Motin wrote:
>>> M. Warner Losh wrote:
>>>> In message: <20090120.122312.1543793985.imp at bsdimp.com>
>>>>             "M. Warner Losh" <imp at bsdimp.com> writes:
>>>> : : IMHO it is incorrect to disable 4bit mode on that stage, it is
>>>> too late : : there. It should be done at controller capabilities
>>>> announcement stage. : : If you are not objecting, I would remove that
>>>> wire4 variable.
>>>> : : I am objecting.  The code is there so that the rest of the driver
>>>> does
>>>> : the right thing when doing 4-bit.  It needs to be a capability too.
>>>> : : However, before we go monkeying with this, we need to find the
>>>> : underlying bug.
>>>>
>>>> I've got the following patch, untested, that I think does what I think
>>>> needs to be done.  Not sure about the return value from update_ios...
> 
> I would prefer attached variant. It will also disable 4-bit support by
> default, but will make it properly. How do you plan to control that
> wire4 variable? With device.hints?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"

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

iD8DBQFJdunaxJBWvpalMpkRAjzPAJ9LA9ZhZjPjIQiod3T5kR/JtIFW9ACgqddT
ZiXkmV7ByTiAXn4PIG7LFl4=
=vyt3
-----END PGP SIGNATURE-----


More information about the freebsd-arm mailing list