The file system corruption was due to alignment issue in my driver. Now
it's resolved.
So, coming back to original query "> I am trying win2008/Linux
installation & boot on QEMU+ OVMF, but bootloader
> app was crashing so i started doing this experiment with other Images and
> landed
here."
Now application's are not crashing, when I execute them from file system
populated on the storage connected to my NVMe controller.
I have below followup queries:
Windows8 installation from Shell gives error "There isn't enough memory
available + error code: 0xc0000017"
Ubuntu 12.10 crashes out while start of the installation.
Any input on this?
regards,
Baban
On Tue, Feb 5, 2013 at 9:15 AM, baban devkate <baban...@gmail.com> wrote:
> thanks Jordan,
>
> I will try this and let you know if any error comes.
>
> regards,
> Baban
>
>
> On Mon, Feb 4, 2013 at 10:33 PM, Jordan Justen <jljus...@gmail.com> wrote:
>
>> On Tue, Jan 29, 2013 at 9:17 PM, baban devkate <baban...@gmail.com>
>> wrote:
>> > I tried with disk image, but still getting file corruption.
>>
>> I just tested this sequence of steps under Linux:
>> 1. dd if=/dev/zero count=5 bs=1M of=5MB.img
>> 2. mkfs.vfat 5MB.img
>> 3. mcopy -i 5MB.img ShellBinPkg/UefiShell/X64/Shell.efi ::/
>> 4. OvmfPkg/build.sh qemu -hda 5MB.img
>>
>> Then under the EFI shell in OVMF:
>> 1. fs0:
>> 2. cp Shell.efi Shell2.efi
>> 3. Shell2.efi
>>
>> This was able to correctly run the UEFI Shell once copied to
>> Shell2.efi. I also restarted the VM, and Shell2.efi still worked.
>>
>> Would it be possible for you to try a similar set of steps to see if
>> it fails for you?
>>
>> Thanks,
>>
>> -Jordan
>>
>> > On Fri, Jan 25, 2013 at 9:31 AM, baban devkate <baban...@gmail.com>
>> wrote:
>> >>
>> >> Yes, I am using qemu '-hda fat:dir' parameter.
>> >>
>> >> I will try with disk Image.
>> >>
>> >>
>> >> But I don't know how to add my application and driver into disk image.
>> If
>> >> you can help me, it will save me from trail and erros.
>> >>
>> >>
>> >> Thanks once again.
>> >>
>> >>
>> >> Message: 3
>> >> Date: Thu, 24 Jan 2013 17:36:00 -0800
>> >> From: Jordan Justen <jljus...@gmail.com>
>> >> Subject: Re: [edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's
>> >> inconsistent behavior with Driver.efi and Application.efi
>> images.
>> >> To: edk2-devel@lists.sourceforge.net
>> >> Message-ID:
>> >>
>> >> <cafe8ug_cujsgti6pixw3lfwnc84y3e8sv-9rpxgq-gdk-+i...@mail.gmail.com>
>> >> Content-Type: text/plain; charset=ISO-8859-1
>> >>
>> >> On Tue, Jan 22, 2013 at 12:19 AM, baban devkate <baban...@gmail.com>
>> >> wrote:
>> >> > I am trying win2008/Linux installation & boot on QEMU+ OVMF, but
>> >> > bootloader
>> >> > app was crashing so i started doing this experiment with other Images
>> >> > and
>> >> > landed here.
>> >> >
>> >> > When I debugged it, I learnt that crash is in CoreStartImage() at
>> >> > Image->EntryPoint ().
>> >> >
>> >> > Experiment-
>> >> > When I duplicate any application and then execute that application
>> type
>> >> > image from 'fs0:' ( QEMU ATA disk with FAT32 formatted) crashes QEMU,
>> >> > whereas Boot Services driver Image works.
>> >> >
>> >> > Further debugging i came to know that, Shell 'cp' command is
>> >> > inconsistent
>> >> > with Driver.efi and Application.efi images copy. It's corrupting the
>> >> > only
>> >> > application images after copy and not driver images, I confirmed this
>> >> > using
>> >> > 'comp' command.
>> >>
>> >> Are you by any chance using the qemu '-hda fat:dir' parameters? If so,
>> >> could you try using a disk image instead?
>> >>
>> >> -Jordan
>> >
>> >
>>
>
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel