On 16/08/14 14:51, Laszlo Ersek wrote:
> You asked me how, in my opinion, you should test the new device paths. I
> gave you an exhaustive test plan, the way I would test for regressions
> and expected behavior. You can write a shell script with two loops, and
> watch 24 boots. (You don't need to boot to the full OSes, the UEFI boot
> loaders (grub etc) suffice to see which one got booted.) It can be done
> in an hour or two, probably.
> 
> ...
> 
> In general I refuse shorthand flags like -cdrom, -hda, -boot etc.
> Explicit -drive, -netdev and -device flags, and ,bootindex= properties
> for -device, provide better control, and are more explicit about what
> one should expect. It's not a coincidence libvirt spells out all options
> with maximum accuracy.
What is your preferred commandline for testing then?

(you might believe it or not ,but part of the problem is that I don't have
enough HDD space to do the test you requested right now)


> OVMF supports FAT (more precisely, EFI System Partitions). There's no
> reason to expect other filesystem types to work (unless you have a
> custom build with a non-upstream filesystem driver).
> 
> (... or maybe you meant "FAT instances" rather than "filesystem types")
they do when I add the driver, but let me show you:

Mapping table
FS0: Alias(s):HD7a1:;BLK3:
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(1,MBR,0xBE1AFDFA,0x3F,0xFBFC1)
FS1: Alias(s):HD7b1:;BLK5:
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(1,GPT,30248529-3CB4-4DB4-8E3C-CAE757A008A0,0x28,0x64000)
BLK2: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK4: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK6: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(2,GPT,BC8A9494-8042-4D4A-8B13-10EDEA64C2BB,0x64028,0x3B5BFB0)
BLK7: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK8: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/CDROM(0x0)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
BLK1: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)


vs:

BLK2: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK4: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK6: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(2,GPT,BC8A9494-8042-4D4A-8B13-10EDEA64C2BB,0x64028,0x3B5BFB0)
BLK7: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK8: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/CDROM(0x0)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
BLK1: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)

I reran this a few times actually it always looks the same. It's pretty
obvious to me that the IdeMode.c has an issue. I'm not sure where it comes
from yet though.

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to