kern/174238: FreeBSD 9.0 doesn't boot under QEMU due to ACPI issues

Aurelien Jarno aurelien at aurel32.net
Thu Dec 6 16:10:00 UTC 2012


>Number:         174238
>Category:       kern
>Synopsis:       FreeBSD 9.0 doesn't boot under QEMU due to ACPI issues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 06 16:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Aurelien Jarno
>Release:        9.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD freebsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
FreeBSD 9.0 doesn't boot in QEMU 1.3.0 due to ACPI issues. The boot process hangs at:

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012                                                                                             
    root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386                                                                             
CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (3392.32-MHz 686-class CPU)                                                                            
  Origin = "GenuineIntel"  Id = 0x206a7  Family = 6  Model = 2a  Stepping = 7                                                                       
  Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM                                                                    
OV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>                                                                                                                  
  Features2=0x97b82223<SSE3,PCLMULQDQ,VMX,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT                                                                    
,TSCDLT,AESNI,XSAVE,AVX,HV>                                                                                                                         
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>                                                                                                     
  AMD Features2=0x1<LAHF>                                                                                                                           
real memory  = 268435456 (256 MB)                                                                                                                   
avail memory = 243380224 (232 MB)                                                                                                                   
Event timer "LAPIC" quality 400                                                                                                                     
ACPI APIC Table: <BOCHS  BXPCAPIC>                                                                                                                  
ioapic0 <Version 1.1> irqs 0-23 on motherboard                                                                                                      
kbd1 at kbdmux0                                                                                                                                     
acpi0: <BOCHS BXPCRSDT> on motherboard                                                                                                              
acpi0: Power Button (fixed)                                                                                                                         
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900                                                                                            
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0                                                                              
cpu0: <ACPI CPU> on acpi0                                                                                                                           
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0                                                                                             
pci0: <ACPI PCI bus> on pcib0 
>How-To-Repeat:
Run qemu-system-x86_64 -cdrom FreeBSD-9.0-RELEASE-i386-bootonly.iso
>Fix:
The change that trigger the issue is the following seabios change:

http://git.qemu.org/?p=seabios.git;a=commit;h=4540409d19a4baeec5006d925cfca19f8038a96e

That said according to the seabios developers, the real problem is on the FreeBSD kernel side.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list