Date: Wed, 21 Jan 2009 11:24:43 +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: <4976E9DB.3000803@bulinfo.net> In-Reply-To: <4976E2C2.4090002@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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@bsdimp.com> >>>> "M. Warner Losh" <imp@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFJdunaxJBWvpalMpkRAjzPAJ9LA9ZhZjPjIQiod3T5kR/JtIFW9ACgqddT ZiXkmV7ByTiAXn4PIG7LFl4= =vyt3 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4976E9DB.3000803>