Re: [edk2] Grub error reading sector 0x600 on CD-RW and DVD+RW

Subject: Re: [edk2] Grub error reading sector 0x600 on CD-RW and DVD+RW

From: "David F." <df7729@gmail.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-11-19 01:47:38

Thanks - I found the grub option for set debug= (I couldn't use all
since it would lock up - but used disk,efidisk,modules,loader) and can
see it reads 0x100 sectors from sector 0x500 then reads 0x4C00 sectors
from sector 0x600.  So perhaps that's it.  Yes, legacy reads in the
same inirmfs.gz file (which occupies 0x5AF to 0x525C) but I'm sure it
does it in smaller chunks.

On Sun, Nov 17, 2013 at 6:37 PM, Tian, Feng  wrote:
> Hi, David
>
>
>
> The similar thing we met is some DVD+R/DVD-R discs would read fail with
> DVD-Only drive if we try to read a lot of sectors(65535) one time. But using
> DVD Combo drive would be successful. Legacy and UEFI boot all have such
> issues, which is different with your description.
>
>
>
> After experiments, I found if you split it to small sectors, such as 0x200,
> it would be ok. You can have a try to see if I am right.
>
>
>
> As for BIOS version, you have to consult HP, Acer, Asus for the bios vendor.
> It may be AMI, Insyde or others. They may be EFI/UEFI Bios, but they may not
> use the same EFI/UEFI ata solution from EDK2.
>
>
>
> Last, are you sure the legacy boot of you mentioned also reads 0x600 sectors
> one time?
>
>
>
> Thanks
>
> Feng
>
>
>
> From: David F. [mailto:df7729@gmail.com]
> Sent: Saturday, November 16, 2013 01:10
> To: edk2-devel@lists.sourceforge.net
> Subject: [edk2] Grub error reading sector 0x600 on CD-RW and DVD+RW
>
>
>
> Hi,
>
> I've noticed many systems (at least HP, Acer, Asus P67 and Z77 boards, and
> users reporting consistent too) when booting a CD-RW or DVD+RW disc using
> shim to load grub which then goes to load the kernel ends up with an error
> reading sector 0x600 on device fd0.  as a test, I modified grub logic to
> better pick the device as a test and got it to read error on sector 0x600 on
> cd0.   I also output the UEFI error code which is 7 (device error).  The
> interesting thing is you can boot that same kernel file in legacy boot mode
> (just choosing the different cd boot option from the device boot selection
> menu) using isolinux no problem so nothing wrong with the disc.  Also it's
> always sector 0x600 on all the systems it fails on.  Another interesting
> fact is if you create a CD-R, DVD-R or DVD-RW (burned like DVD-R which puts
> it in that mode) it will boot fine in UEFI mode.
>
> Any ideas?  I would guess it's probably a bug in the UEFI firmware from
> whoever is providing HP, Asus and Acer their UEFI BIOS?  isn't the firmware
> supposed to be based on the EDK?
>
> Anyway, any idea?
>
> TIA!! (that's Thanks in Advance)
>
>
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel