Package: seabios
Version: 1.8.2-1
Severity: normal

Dear Maintainer,


I tried install FreeBSD 10.1 into a qemu-system-x86_64 container.
But the installer kernel crashes, the stacktrace shows get_typematic
as a likely culprit. Google says, the same symptoms pop up from time
to time and might be related to non-optimal toolchains while building
seabios.

Lo and behold, grabbing a seabios binary directly from coreboot
(and supplying it to qemu) solved the issue.


% dpkg -l qemu
ii  qemu            1:2.3+dfsg-6 amd64        fast processor emulator

% dpkg -l seabios
ii  seabios         1.8.2-1      all          Legacy BIOS implementation


Steps to reproduce:
wget 
http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.1/FreeBSD-10.1-RELEASE-amd64-disc1.iso.xz
xz -d /FreeBSD-10.1-RELEASE-amd64-disc1.iso.xz
qemu-system-x86_64 -boot order=dc -m 1G -vga std -cpu core2duo \
  -drive file=hda,if=ide,media=disk \
  -net user,restrict=off -net nic -cdrom FreeBSD-10.1-RELEASE-amd64-disc1.iso


Steps to fix:
wget http://code.coreboot.org/p/seabios/downloads/get/bios.bin-1.8.0.gz
gunzip bios.bin-1.8.0.gz
qemu-system-x86_64 -boot order=dc -m 1G -vga std -cpu core2duo \
  -bios bios.bin-1.8.0 \                                         # <----- HERE
  -drive file=hda,if=ide,media=disk \
  -net user,restrict=off -net nic -cdrom FreeBSD-10.1-RELEASE-amd64-disc1.iso


Regards,
  Drahflow

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to