Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XkZhI-00081d-Ty for mharc-grub-devel@gnu.org; Sat, 01 Nov 2014 10:30:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkZhB-00081R-In for grub-devel@gnu.org; Sat, 01 Nov 2014 10:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkZh4-0007mO-U7 for grub-devel@gnu.org; Sat, 01 Nov 2014 10:30:25 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:52262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkZh4-0007mK-Iw for grub-devel@gnu.org; Sat, 01 Nov 2014 10:30:18 -0400 Received: by mail-la0-f42.google.com with SMTP id gq15so7671639lab.1 for ; Sat, 01 Nov 2014 07:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Gb6Sk9/3MVOTnu6VMsbbUubo0Kyd9agdPe9NJ7zfhs4=; b=RigqQ8iNYVEWCEkjOYifB8xAGTxaK9ydGTQq3YOtOvccHdkb2oCdeZx+OAnBD38KSK dq7pnjcr5xvRplWh4Q1B+LTXSZ6ILfZKrKkr3ZlXeb+7qH7t9c8VCduZ6YJ8+m79wBtz op6k2SFR4WERVvtgW8eAiq7keLp0pT1PgJIDVSIm4wTla/Wfgpf/MB9Sy8POO4Fy5u8B LacJ9INbWSIbA10C/g6PHE7DXLzWW2ZEZ/kWHoxE689vUDt9mltjvDW8LDhbIDRF5dnW q4piSlQi9/y4FXXzL16AY6tvepixdyFE5QDkijWzSAehymlWQDXKukXmQHGsRBL32vOg 1+dg== X-Received: by 10.152.88.105 with SMTP id bf9mr34381156lab.30.1414852216768; Sat, 01 Nov 2014 07:30:16 -0700 (PDT) Received: from opensuse.site (ppp91-76-139-38.pppoe.mtu-net.ru. [91.76.139.38]) by mx.google.com with ESMTPSA id n4sm5680098lah.2.2014.11.01.07.30.14 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Nov 2014 07:30:15 -0700 (PDT) Date: Sat, 1 Nov 2014 17:30:13 +0300 From: Andrei Borzenkov To: Beeblebrox Subject: Re: Grub kfreebsd with pxe & nfs Message-ID: <20141101173013.0b9a3405@opensuse.site> In-Reply-To: <20141026211938.4a709655@rsbsd.rsb> References: <20141026200300.70fc4099@rsbsd.rsb> <20141026212444.79c1757e@opensuse.site> <20141026211938.4a709655@rsbsd.rsb> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a Cc: grub-devel X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 14:30:31 -0000 =D0=92 Sun, 26 Oct 2014 21:19:38 +0200 Beeblebrox =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > > * First is, code snippet to get mount_root to use NFS V3 instead of > > > V2. grub.cfg code should be as below, but does not work >=20 > > This should be kFreeBSD....=20 > Still does not work with=20 > {set kFreeBSD.boot.nfsroot.options=3D"nfsv3"} > mount_root this time does not hang, but resulting mounted root is still V2 >=20 > * grub.cfg does not accept kFreeBSD for all parameters, and needs mixed s= yntax. Example: > menuentry 'FreeBSD 11_amd64' { > kfreebsd kernel/kernel > # NOT kFreeBSD kernel/kernel kfreebsd is not parameter, it is command. kFreeBSD. is variable name prefix. > set FreeBSD.acpi_load=3DYES > kfreebsd_loadenv device.hints > # NOT kFreeBSD_loadenv device.hints > kfreebsd_module kernel/if_sis.ko > # NOT kFreeBSD_module kernel/if_sis.ko >=20 > * I disabled these 3 params: > # set kFreeBSD.vfs.root.mountfrom=3D"nfs:192.168.2.1:/data/amd64" > # set kFreeBSD.vfs.root.mountfrom.options=3D"ro" > # set kFreeBSD.boot.nfsroot.options=3D"nfsv3" > And saw that FreeBSD boots normally through grub. This means that the {se= t kFreeBSD.*} settings are very likely being ignored as boot settings. It is possible to verify that those variables are actually passed from grub to kernel? =20 > The mount_root is successful because FreeBSD executes what is passed from dhcp. >=20 > Regards.