From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SMxdo-0004Bc-9Q for mharc-grub-devel@gnu.org; Wed, 25 Apr 2012 04:32:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMxdj-00049J-0L for grub-devel@gnu.org; Wed, 25 Apr 2012 04:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMxdd-0003Wj-2Y for grub-devel@gnu.org; Wed, 25 Apr 2012 04:31:54 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:64095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMxdc-0003W8-Q5 for grub-devel@gnu.org; Wed, 25 Apr 2012 04:31:48 -0400 Received: by wibhj13 with SMTP id hj13so3678485wib.12 for ; Wed, 25 Apr 2012 01:31:46 -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=F5aFJ+1Hk9RGaoA28Ecu0Ju1lqdS/j7YiTb5i2C0bzs=; b=RMy5NtES+ospFDbNjEVgO7JKB7F39wE/URmFBCiCb5SNVhU8ziCoauR3KMvgVs54SL Dmd04yHQdAI/HGbsAKLng0THy1lb1AVrbkNVsmgvdOg/HOgEo6ohHT72kkGzKjpF/CBE P0Kwv898I63moJxiLI49Ru2use7MG5SucaMcGlh5nSjhD0VE+da2J7UZ8C8jm+WuK5/A amlLg15vA8bzFNEDv2lr04X5ZRGxXiq1N8XIPceArUEQemv8yhDHYM4BkXOfhO9zEhp3 RB7KFnGFYkywJq3XkTUc5z5iXyzX3QYC2RClEvdQIO9zeZVryzXnqL1EdCv4DEXSRkkT bGCw== Received: by 10.180.87.106 with SMTP id w10mr4428419wiz.2.1335342706626; Wed, 25 Apr 2012 01:31:46 -0700 (PDT) Received: from debian.x201.phnet (57-233.197-178.cust.bluewin.ch. [178.197.233.57]) by mx.google.com with ESMTPS id w10sm56368242wiy.3.2012.04.25.01.31.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Apr 2012 01:31:45 -0700 (PDT) Message-ID: <4F97B660.7050102@gmail.com> Date: Wed, 25 Apr 2012 10:31:28 +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: grub-devel@gnu.org Subject: Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA42D575513B961084373A595" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 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 08:31:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA42D575513B961084373A595 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.04.2012 02:16, Richard Chan wrote: > 5. I have looked at the existing GRUB net+efinet stack. During my > simple testing I have to be unaable to trigger the code path where > grub populates the grub_net_structure from the UEFI PXE code. This > occurs in grub_efi_net_config_real() in > grub-core/net/drivers/efi/efinet.c. The information from EFI network is used only if efinet is embed in grub.efi. Otherwise you have to call net_bootp manually > When I do > grub> insmod efinet > grub> net_ls_cards That's not what is expected. Could you try debug where grub_efinet_findcards in efinet.c stopped? > grub> net_ls_addr > I cannot see any information from the PXE boot (i.e. I have booted > grub using UEFI PXE and I expected the efinet structures - at least > one of the cards - to be populated from PXE). > > Nevertheless, since the UEFI/PXE stack works independently of Grub, > would it be ok to bypass the whole grub/net/drivers infrastructure and > use UEFI directly, as what grub-legacy currently does? No. You basically say "code A has a bug, let's throw it away and write code B, which will have other bugs". Such approach is unmaintainable. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigA42D575513B961084373A595 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+XtmcACgkQNak7dOguQglvJgD+MfMy9b6XcbFfikD0LpRfCQ7f NGbt60bkip8TrLQ5RmYA/1Rpc6NG3Ly5Rvs1IqxfAKpcp/MyD1meJMoQsVouBNzV =rZEZ -----END PGP SIGNATURE----- --------------enigA42D575513B961084373A595--