Thanks !<br><br>With the help of Awokd I managed to boot each version by using "xen-pciback.hide=(PCI address of the discrete GPU)"  and the small grub fix for 3.2.<br><br>I was planning on using 4rc3 but the VM setup on first boot always fails to create sys-net because of a libxenlight error. I can still start my session but no internet access, same error each time I try to start sys-net and no VM manager to be found.<br><br>So I decided to use 3.2 and it works like a charm, just needs some more ram and all will be perfect :)<br><br><br>---<br>Emil Novik<br><br><br><br><br><br>-------- Original Message --------<br>On Dec 30, 2017, 21:44, Ivan Ivanov < qmastery16@gmail.com> wrote:<blockquote class="protonmail_quote"><br><html><head></head><body>Hi Emil, thank you very much for your report.
<br>Regarding Qubes 3.2 : at the Qubes HCL list I wrote:
<br>
<br>"after Qubes R3.2 installation it cant boot - cant reach GRUB Boot Menu
<br>because MBR (or GRUB) is corrupted. Use grub2-install to fix it (read more)
<br>Everything else is OK "
<br>
<br>https://groups.google.com/forum/#!msg/qubes-users/TS1zfKZ7q8w/JQFkVF4xBgAJ
<br>
<br>If you fix your GRUB as described ^^^ you may be able to finally boot Qubes 3.2
<br>Please test it and let me know the results
<br>
<br>Live 3.1 was buggy, full 3.1 would have worked. Haven't tested 4.0 -
<br>can't speak about it
<br>
<br>Best regards,
<br>Ivan
<br>
<br>2017-12-28 1:19 GMT+03:00 Emil Novik via coreboot <coreboot@coreboot.org>:
<br>> Hey, I'm having some heavy trouble getting my laptop to run Qubes and I
<br>> first thought I was having issues with the OS. But after digging into the
<br>> logs I managed to get(crashes too early during boot to get any persistent
<br>> logs, had to write most by hand) it feels more like an issue with my
<br>> Coreboot built.
<br>>
<br>> So there are the details :
<br>> - G505s with integrated HD 8650G + discrete R5 M230 graphics.
<br>> - Coreboot 4.6-2477-g6ab3edac3c-dirty with processor microcode patch
<br>> (change-ID: Ibbfee47ce1d5081640d6924e2b12f5213a7fcadb).
<br>> - Runs Debian Stretch fine.
<br>> - Fails to start Qubes 3.2 / 4.0 rc3 / Live 3.1.
<br>> - I added the vgabios.rom for the integrated card with menuconfig and the
<br>> one for the discrete card with cbfstool.
<br>> - Coreboot.rom, .config and full make output as attachment.
<br>>
<br>>
<br>> Some more error data I gathered from coreinfo's Bootlog :
<br>>
<br>> Failed to enable LTR for dev = PCI: 01:00.0
<br>> Failed to enable LTR for dev = PCI: 02:00.0
<br>> ...
<br>> I2C: 01:50 missing read_resources
<br>> I2C: 01:51 missing read_resources
<br>> PNP: 00ff.1 missing read_resources
<br>> ...
<br>> Warning: Can't write PCI_INTR 0xC00/0xC01 registers because
<br>> 'mainboard_picr_data' or 'mainboard_intr_data' tables are NULL
<br>> Warning: Can't write PCI IRQ assignments because 'mainboard_pirq_data'
<br>> structure does not exist
<br>> ...
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/Common/CommonReturns.c', line 187
<br>> ASSERTION ERROR: file
<br>> 'src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuGeneralServices.c', line 776
<br>> ...
<br>> Manufacturer: ef
<br>> SF: Detected W25Q32 with sector size 0x1000, total 0x400000
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> Manufacturer: ef
<br>> SF: Detected W25Q32 with sector size 0x1000, total 0x400000
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/spi/spi_flash.c', line 425
<br>> ASSERTION ERROR: file 'src/drivers/amd/agesa/state_machine.c', line 309
<br>> ...
<br>> EEPROM not found
<br>> EEPROM not found
<br>> EEPROM not found
<br>> EEPROM not found
<br>> EEPROM not found
<br>> EEPROM not found
<br>> EEPROM not found
<br>> ...
<br>> I2C: 01:50 (unknown)
<br>> I2C: 01:51 (unknown)
<br>> ...
<br>> APIC: 11 (unknown)
<br>> APIC: 12 (unknown)
<br>> APIC: 13 (unknown)
<br>> PCI: 01:00.0 (unknown)
<br>> PCI: 02:00.0 (unknown)
<br>> PNP: 00ff.0 (unknown)
<br>>
<br>>
<br>> "..." are parts I didn't write down as they didn't show any obvious
<br>> errors(but I'm bad at seeing them) and it would take me a loooong time to
<br>> write down the full log as I can't export it as far as I know, if you need
<br>> any more information from it, I can write down any part missing.
<br>>
<br>> Output of "cbfstool coreboot.rom print" after I added the optionrom for the
<br>> R5 M230 discrete graphic card :
<br>> Name Offset Type Size Comp
<br>> cbfs master header 0x0 cbfs header 32 none
<br>> fallback/ramstage 0x80 stage 129247 none
<br>> config 0x1f9c0 raw 263 none
<br>> revision 0x1fb00 raw 582 none
<br>> payload_revision 0x1fd80 raw 239 none
<br>> apu/amdfw 0x1fec0 raw 131072 none
<br>> fallback/romstage 0x3ff00 stage 320556 none
<br>> cmos_layout.bin 0x8e3c0 cmos_layout 1164 none
<br>> pci1002,990b.rom 0x8e8c0 optionrom 61952 none
<br>> fallback/postcar 0x9db40 stage 13268 none
<br>> fallback/dsdt.aml 0xa0f80 raw 9435 none
<br>> img/coreinfo 0xa34c0 payload 102712 none
<br>> img/nvramcui 0xbc640 payload 141628 none
<br>> fallback/payload 0xdefc0 payload 67370 none
<br>> payload_config 0xef740 raw 1611 none
<br>> pci1002,6665.rom 0xefe00 optionrom 32768 none
<br>> (empty) 0xf7e80 null 3112984 none
<br>> s3nv 0x3efec0 raw 32768 none
<br>> (empty) 0x3f7f00 null 31192 none
<br>> bootblock 0x3ff900 bootblock 1424 none
<br>>
<br>> What happened when I tried to boot each version of Qubes :
<br>>
<br>> Live 3.1 :
<br>> mce: Unable to init device /dev/mcelog (rc: -16)
<br>> radeon 000:04:00:0: Invalid ROM contents
<br>> radeon 000:04:00:0: Invalid ROM contents
<br>> [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
<br>> radeon 000:04:00:0: Fatal error during GPU init
<br>> [TTM] Memory type 3 has not been initialized
<br>> SQUASHFS error: squashfs_read_data failed to read block 0x5cb75d68
<br>> SQUASHFS error: Unable to read data cache entry [0x5cb75d68]
<br>> SQUASHFS error: Unable to read page, block 0x5cb75d68, size af0
<br>> SQUASHFS error: Unable to read data cache entry [0x5cb75d68]
<br>> SQUASHFS error: Unable to read page, block 0x5cb75d68, size af0
<br>> EXT4-fs error (device dm-0): ext4_find_entry:1289: inode #41642: comm
<br>> plymouthd: reading directory lblock 0
<br>> (Hangs at the Qubes graphical loading screen, with loading bar full.)
<br>>
<br>> 3.2 (Install looked fine) :
<br>> Hangs at "Booting from Hard Disk..." in SeaBIOS on every try
<br>>
<br>> 4.0 rc3 :
<br>> [ FAILED ] Failed to start Load Kernel Modules.
<br>> ...
<br>> [ OK ] Reached target Basic System.
<br>> (Hangs for about 10secs, followed by 5s of black screen)
<br>> BUG: Unable to handle NULL pointer dereference at (null)
<br>> (followed by a lot of output likely concerning the error and quickly back to
<br>> boot)
<br>> Sadly too much output and disappearing too fast for me to get anything out
<br>> of it if all I can do is read and type to export it. Tried Ctrl+S/Ctrl+Q to
<br>> "pause" it but nope, also checked that the laptop should not reboot in case
<br>> of kernel panic but it still does...
<br>>
<br>> Thanks to anyone that could help me find what's wrong and how to fix it :)
<br>>
<br>> ---
<br>> Emil Novik
<br>>
<br>>
<br>>
<br>>
<br>>
<br>> --
<br>> coreboot mailing list: coreboot@coreboot.org
<br>> https://mail.coreboot.org/mailman/listinfo/coreboot
<br>
<br>-- 
<br>coreboot mailing list: coreboot@coreboot.org
<br>https://mail.coreboot.org/mailman/listinfo/coreboot
<br></coreboot@coreboot.org></body></html></div>