From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SN8yu-0004lF-Ml for mharc-grub-devel@gnu.org; Wed, 25 Apr 2012 16:38:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN8ys-0004l0-51 for grub-devel@gnu.org; Wed, 25 Apr 2012 16:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN8yq-0007wc-6w for grub-devel@gnu.org; Wed, 25 Apr 2012 16:38:29 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:34024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN8yp-0007wK-UI for grub-devel@gnu.org; Wed, 25 Apr 2012 16:38:28 -0400 Received: by wibhj13 with SMTP id hj13so414546wib.12 for ; Wed, 25 Apr 2012 13:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=cpY/HDMALT/KQwY6x+oI72hV4tRJSsPXLWAUsZMoeGc=; b=mgKO9W2Q+nftM/8NQRz4h6bE6Sw5mtxqEP6kQhiNH67NL+dcpSdAXK7MYnPILkI+uq 4f2Bdvq7q8JZcwg60In6WCyS7oBwny1V5GSCu2ZZbr0diQPRzICAVjaKZ5iCFQbFy3Cl w/FIGlwqP/zlm3jRMxw6xVE+HFDxis38pCcNwr4rKi6Ovf2JbntISJhaGN8cMOLMwnKh oQCZ60PA3r7a+7gcGJqTTtlvJ0Cz5OMI4UWiJPL38Co7yT6gA/Vy64wOz9JQv/uCVdKT +XYyeGYEEPqPLAfLQ9FT7ajgdKhx4kAmHvytMDEIHqS8WshaDxsziwDaGuXd/ATow0C4 EWhw== Received: by 10.180.81.166 with SMTP id b6mr44619504wiy.0.1335386305871; Wed, 25 Apr 2012 13:38:25 -0700 (PDT) Received: from debian.x201.phnet (111-233.197-178.cust.bluewin.ch. [178.197.233.111]) by mx.google.com with ESMTPS id ff9sm39749996wib.2.2012.04.25.13.38.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Apr 2012 13:38:24 -0700 (PDT) Message-ID: <4F9860BA.3040701@gmail.com> Date: Wed, 25 Apr 2012 22:38:18 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour References: <040FDB2A-4241-48C8-BCE3-D39A1786AE78@oracle.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA1426069AEFE63B93329603E" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.177 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: Wed, 25 Apr 2012 20:38:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA1426069AEFE63B93329603E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.04.2012 22:20, Richard Chan wrote: > Hi Vladimir and list > > "The information from EFI network is used only if efinet is embed in > grub.efi. Otherwise you have to call net_bootp manually" > > 1. How do you "embed" efinet.mod into the image so that > grub_efi_net_config is called? > I presume you mean somthing different from preload of module? No, just preload > ./grub-core/kern/efi/init.c: if (!*device && grub_efi_net_config) > > ./grub-core/net/drivers/efi/efinet.c: grub_efi_net_config =3D > grub_efi_net_config_real; > > The latter function populates the NIC structure from PXE, but in my cas= e, it is > not being called. Network config is started only if root is on network. Otherwise network config is considered unnecessary and skipped. > > 2. For net_bootp, I can see the BOOTP request/reply but GRUB will > timeout setting the IP address. It is as if it doesn't see the BOOTP > reply. Do you have full dumps? It's possible GRUB rejects them for some field mismatch (not all bootp servers are good). --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigA1426069AEFE63B93329603E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk+YYLoACgkQNak7dOguQgllpgD9Esz8G308Z1mh/iHMdrOqfgQM x5jhcCh5tduigWtj4Z4A/1YRp2ZGftpA7aDXz1SaJNEEpLpsAjunAnNG/N3XNstE =80+C -----END PGP SIGNATURE----- --------------enigA1426069AEFE63B93329603E--