---------- Forwarded message ---------- From: Mario marietto2008@gmail.com Date: Thu, 8 Aug 2013 12:18:58 +0200 Subject: Re: [SeaBIOS] seabios bug To: Kevin O'Connor kevin@koconnor.net
Yesterday I tried with Ubuntu 64 bit installed on the MAC MINI,today I tried with this : (but I've got the same error. And no,I haven't used the patch of gabriel & Co) :
root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# uname -a
Linux mario-ThinkCentre-XXXX 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 2012 i686 athlon i686 GNU/Linux
root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# gcc --version gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# ld --version ld di GNU (GNU Binutils for Ubuntu) 2.23.2
root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania# git clone git://git.seabios.org/seabios.git Cloning into 'seabios'... remote: Counting objects: 9725, done. remote: Compressing objects: 100% (4284/4284), done. remote: Total 9725 (delta 7736), reused 6760 (delta 5435) Ricezione degli oggetti: 100% (9725/9725), 2.17 MiB | 209 KiB/s, done. Risoluzione dei delta: 100% (7736/7736), done. root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania# cd seabios root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# make Build default config # # configuration written to /home/marietto/Scrivania/seabios/.config # Build Kconfig config file Compile checking out/misc.o Compile checking out/stacks.o Compile checking out/output.o Compile checking out/util.o Compile checking out/block.o Compile checking out/floppy.o Compile checking out/ata.o Compile checking out/mouse.o Compile checking out/kbd.o Compile checking out/pci.o Compile checking out/serial.o Compile checking out/timer.o Compile checking out/clock.o Compile checking out/pic.o Compile checking out/cdrom.o Compile checking out/ps2port.o Compile checking out/smp.o Compile checking out/resume.o Compile checking out/pnpbios.o Compile checking out/vgahooks.o Compile checking out/ramdisk.o Compile checking out/pcibios.o Compile checking out/blockcmd.o Compile checking out/usb.o Compile checking out/usb-uhci.o Compile checking out/usb-ohci.o Compile checking out/usb-ehci.o Compile checking out/usb-hid.o Compile checking out/usb-msc.o Compile checking out/virtio-ring.o Compile checking out/virtio-pci.o Compile checking out/virtio-blk.o Compile checking out/virtio-scsi.o Compile checking out/apm.o Compile checking out/ahci.o Compile checking out/usb-uas.o Compile checking out/lsi-scsi.o Compile checking out/esp-scsi.o Compile checking out/megasas.o Compile checking out/post.o Compile checking out/shadow.o Compile checking out/memmap.o Compile checking out/pmm.o Compile checking out/coreboot.o Compile checking out/boot.o Compiling IASL out/acpi-dsdt.hex ASL Input: out/acpi-dsdt.dsl.i - 476 lines, 19181 bytes, 316 keywords AML Output: out/acpi-dsdt.aml - 4407 bytes, 159 named objects, 157 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 246 Optimizations Compiling IASL out/ssdt-proc.hex ASL Input: out/ssdt-proc.dsl.i - 36 lines, 762 bytes, 8 keywords AML Output: out/ssdt-proc.aml - 120 bytes, 6 named objects, 2 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations Compiling IASL out/ssdt-pcihp.hex ASL Input: out/ssdt-pcihp.dsl.i - 37 lines, 767 bytes, 6 keywords AML Output: out/ssdt-pcihp.aml - 88 bytes, 5 named objects, 1 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations Compiling IASL out/ssdt-misc.hex ASL Input: out/ssdt-misc.dsl.i - 102 lines, 2567 bytes, 35 keywords AML Output: out/ssdt-misc.aml - 354 bytes, 24 named objects, 11 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 2 Optimizations Compiling IASL out/q35-acpi-dsdt.hex ASL Input: out/q35-acpi-dsdt.dsl.i - 515 lines, 28287 bytes, 413 keywords AML Output: out/q35-acpi-dsdt.aml - 7344 bytes, 239 named objects, 174 executable opcodes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 445 Optimizations Compile checking out/acpi.o Compile checking out/smm.o Compile checking out/mptable.o Compile checking out/pirtable.o Compile checking out/smbios.o Compile checking out/pciinit.o Compile checking out/optionroms.o Compile checking out/mtrr.o Compile checking out/lzmadecode.o Compile checking out/bootsplash.o Compile checking out/jpeg.o Compile checking out/usb-hub.o Compile checking out/paravirt.o Compile checking out/biostables.o Compile checking out/xen.o Compile checking out/bmp.o Compile checking out/romfile.o Compile checking out/csm.o Compiling whole program out/ccode32flat.o Compiling whole program out/code32seg.o Compile checking out/system.o Compile checking out/disk.o Compile checking out/font.o Compiling whole program out/ccode16.o Compiling to assembler out/asm-offsets.s Generating offset file out/asm-offsets.h Compiling (16bit) out/romlayout.o Building ld scripts Version: rel-1.7.3-22-g5b63109-20130808_120454-mario-ThinkCentre-XXXX Traceback (most recent call last): File "./tools/layoutrom.py", line 669, in <module> main() File "./tools/layoutrom.py", line 633, in main info16 = parseObjDump(infile16, '16') File "./tools/layoutrom.py", line 564, in parseObjDump relocsection = sectionmap[sectionname] KeyError: '.text.asm./home/marietto/Scrivania/seabios/src/smp.c.75' make: *** [out/romlayout16.lds] Errore 1 root@mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios#
2013/8/8, Kevin O'Connor kevin@koconnor.net:
On Wed, Aug 07, 2013 at 11:16:05PM +0200, Mario wrote:
Since I'm a legal owner of the first generation of Mac Mini with a regular Snow Leopard license,I'm trying to follow this tutorial with the goal to virtualize Mac Os X with KVM on the second part of the hard disk where I have installed Linux Ubuntu. You can find the guide here :
[...]
File "./tools/layoutrom.py", line 564, in parseObjDump
relocsection = sectionmap[sectionname]
KeyError: '.text.asm./media/ziomario/09274c80-4a49-4f4f-9e2e-83c4a5578a04/OSXGUEST/seabios
/src/smp.c.75'
This appears to be a build error. These are usually due to toolset quirks. What OS, compiler, compiler version, ld version are you using? Also, please include the exact commands you ran and the full output log.
It looks like you patched seabios - make sure you can build a clean seabios without any patcheds first.
Please also try "make distclean ; make" to verify that the repo is in a clean state before building.
-Kevin