Date: Wed, 11 May 2011 08:38:57 +0200 From: "Tobias Quintern" <Tobias.Quintern@brunel.de> To: <freebsd-arm@freebsd.org> Subject: AW: SD/MMC driver for OpenRD Board Message-ID: <6C64D98649E646D291B714CEAEF36D6E@bcs.brunel.local> In-Reply-To: <201105110005.06003.milu@dat.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
The kernel is able to boot from NFS again, when compiled with "option NFSCL". Mounting in userspace is working again, as well. Thanks for pointing that out. Regards, Tobias Quintern -----Urspr=FCngliche Nachricht----- Von: Maciej Milewski [mailto:milu@dat.pl]=20 Gesendet: Mittwoch, 11. Mai 2011 00:05 An: freebsd-arm@freebsd.org Cc: Tobias Quintern Betreff: Re: SD/MMC driver for OpenRD Board Tuesday 10 of May 2011 14:35:39 Tobias Quintern napisa=B3(a): > The OPENRD-CL config tries to boot via BOOTP/NFS, which seems to be=20 > broken momentarily. I have an older SVN checkout (r219450) where the=20 > board is able to boot from NFS. That kernel is patched quite similar=20 > to http://www.freebsd.org/cgi/query-pr.cgi?pr=3D156814. > A bootlog of the failed boot is attached. >=20 > Regards > Tobias If your tree is after 20110427 then this may be the cause: 20110427: The default NFS client is now the new NFS client, so fstype = "newnfs" is now "nfs" and the regular/old NFS client is now fstype = "oldnfs". Although mounts via fstype "nfs" will usually work without = userland changes, it is recommended that the mount(8) and mount_nfs(8) commands be rebuilt from sources and that a link to mount_nfs = called mount_oldnfs be created. The new client is compiled into the kernel with "options NFSCL" and this is needed for diskless root file systems. The GENERIC kernel configs have been changed to = use NFSCL and NFSD (the new server) instead of NFSCLIENT and = NFSSERVER. To use the regular/old client, you can "mount -t oldnfs ...". = For a diskless root file system, you must also include a line like: vfs.root.mountfrom=3D"oldnfs:" in the boot/loader.conf on the root fs on the NFS server to make a diskless root fs use the old client. Regards, Maciej Milewski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C64D98649E646D291B714CEAEF36D6E>