Re: [edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-23 Thread Baban Devkate
Hi Feng, This modified code does calculate PrpListNo and Remainder correctly for both aligned and unaligned cases. Thanks & regards, Baban Devkate On Thu, Apr 23, 2015 at 1:05 PM, Tian, Feng wrote: > Hi, Devkate > > > > So the key point should be the *PrpListNo and Re

Re: [edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-13 Thread Baban Devkate
nguish the last entry is a pointer to next Prp list or a valid entry > to buffer. > > > > I made a little adjustment on your proposal. Please help review the > attachment. I think this way may be better to correct callee’s algorithm to > create those right Prp lists, do you ag

Re: [edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-09 Thread Baban Devkate
+ adding self On Thu, Apr 9, 2015 at 3:19 PM, Baban Devkate wrote: > Let's take one more sample.. > > 3) Offset = 0KB, Transfer Length = 4K * 513 blocks = 2MB + 4K > > Prp1 = 0K to 4KB > > Prp2 = pointer to a Prp List which is followed by another Prp Li

Re: [edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-09 Thread Baban Devkate
pList(), PrpListNo = 1 for first sample and PrpListNo = 2 for > second sample. > > > > So do I misunderstand something? > > > > Thanks > > Feng > > > > *From:* Baban Devkate [mailto:baban.devk...@seagate.com] > *Sent:* Thursday, April 09, 2015 09:37 >

Re: [edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-08 Thread Baban Devkate
PFA patch file. On Thu, Apr 9, 2015 at 7:06 AM, Baban Devkate wrote: > Hi, > > Commit Message > > > MdeModulePkg: Fixed Pointer truncation and incorrect bytes passed for PRP > list creation. > > There were two issues in NvmExpressPassthru.c( > MdeM

[edk2] MdeModulePkg:Fix required in NvmExpressDxe driver

2015-04-08 Thread Baban Devkate
ment 1.0 Signed-off-by: baban.devk...@seagate.com Name-Baban Devkate email-baban.devk...@seagate.com -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 st

Re: [edk2] How to load self signed secure boot keys on ASUS P8H61-M LX2 R2.0?

2013-07-22 Thread baban devkate
; ** ** > > *From:* Richardson, Brian [mailto:brian.richard...@intel.com] > *Sent:* Monday, July 22, 2013 3:59 PM > *To:* baban devkate; edk2-devel@lists.sourceforge.net > *Subject:* Re: [edk2] How to load self signed secure boot keys on ASUS > P8H61-M LX2 R2.0? > > ** ** > &

[edk2] How to load self signed secure boot keys on ASUS P8H61-M LX2 R2.0?

2013-07-22 Thread baban devkate
Hello, Unable to load cer/der/crt certificates generated using Openssl/makecert in db, KEK and PK on ASUS P8H61-M LX2 R2.0 system. Any insertion is failing with 'failed!' error. Any pointers will be great help. Thanks, Baban -

[edk2] Multiple controller Query

2013-02-25 Thread baban devkate
Hi All, what I learnt? PCI Bus driver enums PCI bus for PCI devices, checks Oprom is there, check Oprom header, checks UEFI driver and if yes loads it into RAM. StartImage calls Drivers entry point & it exits successfully with driver in RAM. I have one query related to supporting multiple contr

Re: [edk2] QEMU + OVMF Query:Fedora 18 installed on ATA disk and then booted it as NVMe disk ( with F18 installed on it) giving dracut-initqueue errors.

2013-02-18 Thread baban devkate
Hey Laszlo, Finally OS booted using my driver!!! I used Ubuntu 12.10 instead F18. It worked like charm. It was great learning experience with you, thanks a lot. Regards, Baban On Fri, Feb 15, 2013 at 5:54 PM, baban devkate wrote: > Yes, Dracut is 95% scripting, that makes v

Re: [edk2] QEMU + OVMF Query:Fedora 18 installed on ATA disk and then booted it as NVMe disk ( with F18 installed on it) giving dracut-initqueue errors.

2013-02-08 Thread baban devkate
ri, Feb 8, 2013 at 6:05 PM, Laszlo Ersek wrote: > Hi, > > On 02/08/13 11:24, baban devkate wrote: > > > > I have installed Fedora 18 on ATA disk and booted it as NVMe disk > > Do you mean, you installed F18 to an emulated IDE device, using qemu + > OVMF, then

[edk2] QEMU + OVMF Query:Fedora 18 installed on ATA disk and then booted it as NVMe disk ( with F18 installed on it) giving dracut-initqueue errors.

2013-02-08 Thread baban devkate
Hi, I have tried various various method's to install OS on the NVMe storage, but without any luck. Now I have taken up below approach.with this I have made sure at least file system I/O on NVMe storage are working, but looks like some configuration problems in 'grub.cfg'. I have install

Re: [edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images

2013-02-06 Thread baban devkate
Thanks Laszlo, I will try grub debugging and let you know. On Wed, Feb 6, 2013 at 9:55 PM, Laszlo Ersek wrote: > On 02/06/13 16:49, baban devkate wrote: > > I am trying to install an OS *to* the NVMe storage (ie. booting the > > installer from a CD-ROM, and selecting NVMe as tar

Re: [edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images

2013-02-06 Thread baban devkate
I am trying to install an OS *to* the NVMe storage (ie. booting the installer from a CD-ROM, and selecting NVMe as target. On Wed, Feb 6, 2013 at 9:05 PM, Laszlo Ersek wrote: > On 02/06/13 06:48, baban devkate wrote: > > The file system corruption was due to alignment issue in my dr

Re: [edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images

2013-02-05 Thread baban devkate
code: 0xc017" 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 wrote: > thanks Jordan, > > I will try this and let you know if any error comes. > > regards, > Baban > > >

[edk2] EDKII OVMF+QEMU Query- What is the Max supported Buffer size for file IO.

2013-02-04 Thread baban devkate
Hi All,When Working with OVMF+QEMU, What is the Max supported Buffer size (in Block I/O Protocol)? Thanks, Baban -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Li

Re: [edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images

2013-01-29 Thread baban devkate
Hi Justen, I tried with disk image, but still getting file corruption. Regards, Baban On Fri, Jan 25, 2013 at 9:31 AM, baban devkate 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

Re: [edk2] edk2-devel Digest, Vol 37, Issue 95

2013-01-23 Thread baban devkate
-b1dc-ae027a197...@bk.ru> > Content-Type: text/plain; charset="koi8-r" > > I think Ovmf ATA driver has issue reading files. For example alignment. > Copy files by SeaBIOS have no such mistakes. > I can confirm, something wrong with Ovmf. > > 23.01.2013, ? 10:38, ba

[edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images.

2013-01-22 Thread baban devkate
Hi Andrew, Background- 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 dupl

[edk2] EDKII OVMF+QEMU Query- Shell 'cp' command's inconsistent behavior with Driver.efi and Application.efi images.

2013-01-22 Thread baban devkate
Hi, Background- 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 a

Re: [edk2] edk2-devel Digest, Vol 37, Issue 58

2013-01-20 Thread baban devkate
quot;iso-8859-1" > > Hi, > Looks like there are mistakes in OvmfPkg but they are not common. For me > works > > On 18.01.2013, at 8:21, baban devkate wrote: > > > Hi, > > > > OVMF+QEMU Query- > > > > When I execute any application type image f

[edk2] OVMF+QEMU Query- Application execution from EFI Shell crashes Qemu whereas driver load works.

2013-01-17 Thread baban devkate
Hi, OVMF+QEMU Query- When I execute any application type image from EfiSys partition(with FAT32 formatted) crashes QEMU, whereas Boot Services driver Image works. Has anybody experienced such behavior? FYI- a. EfiSys is on NVMe Storage. b. I have tested Helloworld.efi of 10KB size and Shell o

Re: [edk2] OVFM + QEMU NVMe Query : installation of Fedora18 / ubuntu-12.10 on NVMe storage connected to QEMU+UEFI OVMF platform fails

2013-01-14 Thread baban devkate
FYI - I am not using prebuilt OVMF i.e.11337 build. My OVMF is built from a recent version of the EDK II tree. 'Ver' command on shell displayed- Efi spec rev: 2.31 efi vendor edk II efi shell 1.0 On Fri, Jan 11, 2013 at 11:48 AM, Jordan Justen wrote: > On Thu, Jan 10, 2013 at 9

[edk2] OVFM + QEMU NVMe Query : installation of Fedora18 / ubuntu-12.10 on NVMe storage connected to QEMU+UEFI OVMF platform fails

2013-01-10 Thread baban devkate
Hi, I am trying to install Linux on NVMe storage connected to QEMU+UEFI OVMF platform without success. Case 1# LiveCD NVMe Driver is used ubuntu 12.10 installer is crashing while configuring boot loader when LiveCD NVMe Driver is used to NVMe storage connected to QEMU+UEFI OVMF platform. Case 2#

Re: [edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-11-30 Thread baban devkate
Hello experts, PartitionEntryArrayCRC32 is not matching while GPT validatation. My setup- -I am using QEMU -created 2GB '0700'( MSDATA) parition using 'gdisk'( because I can't use DISKPART.efi) -Partition driver is getting installed. -When I am using 'EFIFMT.efi' to format it as FAT32, I am unab

[edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread baban devkate
Hello experts,   Background- Have couple of doubts related to UEFI Device driver for PCIe Block device.   My driver.efi produces the Block IO protocol(blk5) for my block device. Using simple application I am able to perform RAW BlockIO on it. Next I want to do file IO on it. So I need to format m

[edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread baban devkate
Hello experts, Background- Have couple of doubts related to UEFI Device driver for PCIe Block device. My driver.efi produces the Block IO protocol(blk5) for my block device. Using simple application I am able to perform RAW BlockIO on it. Next I want to do file IO on it. So I need to format my b