Re: [edk2] ifconfig/ipconfig error

Subject: Re: [edk2] ifconfig/ipconfig error

From: Krishna Joshi <kriishsdm@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2012-10-16 03:17:30

Hi,
Learnt that i should be loading dpcdxe driver before loading the network stack drivers. By doing this one of the errors disappeared.
But the error:
The error : ASSERT c:\edk2\MdeModulePkg\Library\UefiHiiServicesLib\UefiHiiServicesLib.c(100) : !EFI_ERload: Image fs0:\snpdxe.efi loaded Success ,
still persists. Please let me know if I am missing any other driver or if these drivers need to be loaded in certain order.

Thanks
Krishna


On Mon, Oct 15, 2012 at 4:27 PM, Krishna Joshi <kriishsdm@gmail.com> wrote:
Line(46) in DpcLib.c is as follows:

Status = gBS->LocateProtocol (&gEfiDpcProtocolGuid, NULL, (VOID **)&mDpc);
ASSERT_EFI_ERROR (Status);

and line(100) in UefiHiiServicesLib.c is:

Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **) &gHiiConfigRouting);
ASSERT_EFI_ERROR (Status);

can anyone explain me whats exactly going wrong here and how should i resolve this?
Krishna



On Mon, Oct 15, 2012 at 4:22 PM, Krishna Joshi <kriishsdm@gmail.com> wrote:
Hi,

I tried the solution provided but got the below errors while loading the drivers:

ASSERT_EFI_ERROR (Status = Not Found)
ASSERT c:\edk2\MdeModulePkg\Library\DxeDpcLib\DpcLib.c(46): !EFI_ERROR (Status)

ASSERT_EFI_ERROR (Status = Not Found)
ASSERT c:\edk2\MdeModulePkg\Library\UefiHiiServicesLib\UefiHiiServicesLib.c(100) : !EFI_ERload: Image fs0:\snpdxe.efi loaded - Success


i still get the same error message as mentioned earlier for ifconfig and ipconfig. Please help me to resolve this.


Krishna



On Fri, Oct 12, 2012 at 8:38 PM, Krishna Joshi <kriishsdm@gmail.com> wrote:
Thanks Rafael. Will check this out

Thanks
Krishna



On Fri, Oct 12, 2012 at 6:59 PM, Rafael Machado <rafaelrodrigues.machado@gmail.com> wrote:
Hi Krishna Joshi

I'm not an expert like other people here, but some time ago I did an experiment to send some ping packet.
This document helped my a lot:


What I did at that time, was load the protocols at uefi shell that were necessary to send the ping packet. Something like:

load Mnp.efi
load Arp.efi
load IP4.efi
load Ip4Config.efi
load Udp4.efi
load Tcp4.efi
load Dhcp4.efi
load Mtftp4.efi
load UefiPxeBc.efi

Hope this can help

Thanks and Regards
Rafael R. Machado



2012/10/12 Krishna Joshi <kriishsdm@gmail.com>
hi,
I am trying to assign ipaddress using ifconfig command in efi shell. I find the below error when trying to so:
"IfConfig: Locate protocol error - 'Ip4Config protocol'

and i get the below when i type ipconfig on efi shell:
 MAC Address: 00 10 CD 6B AF B8
> Broadcast MAC: FF FF FF FF FF
> ipconfig: Locate protocol error - 'PXE DHCP4 protocol'
I googled through for solutuons and found one of the solutions to be as given below:
We have met that issue before. It seems this is a bug from Tiano. Our
solution is to change to a different version of sources, and problem fixed.
Can someone tell me what does this mean exactly? what do i need to do to get these commands running in efi shell?
Krishna

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel