[SeaBIOS] seabios bug unfixed

Laszlo Ersek lersek at redhat.com
Fri Aug 9 12:34:29 CEST 2013


On 08/09/13 12:05, Mario wrote:
> 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 :
> 
> root at 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 at mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# gcc --version
> gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
> 
> root at mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios# ld --version
> ld di GNU (GNU Binutils for Ubuntu) 2.23.2
> 
> root at 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 at mario-ThinkCentre-XXXX:/home/marietto/Scrivania# cd seabios
> root at 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 at mario-ThinkCentre-XXXX:/home/marietto/Scrivania/seabios#
> 

(1) Can you attach "out/code16.o.objdump" when this happens?

As far as I understand, the python script should first find this section
and insert it in the section map. Then when a referring relocation
record is found, the script should be able to retrieve the section from
the section map.

(2) Can you try a pristine build with:

unset LANG
export LC_ALL=POSIX
make

?

Thanks
Laszlo



More information about the SeaBIOS mailing list