FreeBSD 9.1 Beta 1 fails to install in qemu-kvm on Gentoo Linux

Richard Yao ryao at gentoo.org
Sat Jul 21 00:42:48 UTC 2012


On 07/20/2012 06:23 PM, Richard Yao wrote:
> Dear FreeBSD Developers,
> 
> Trying to install FreeBSD 9.1 Beta 1 in qemu-kvm on Gentoo Linux fails
> before the kernel dmesg with 'kernel trap 9 with interrupts disabled'. I
> am running the following command:
> 
> qemu-system-x86_64 -drive
> file=/dev/zvol/rpool/KVM/freebsd,if=scsi-bootorder=c
> -cdrom/mnt/backup/isos/FreeBSD-9.1-BETA1-amd64-disc1.iso -m2048 -smp
> 6,cores=6,threads=1,sockets=1 -curses -net
> nic,model=e1000,macaddr=52:54:00:00:ee:04 -cpu host
> 
> If I use FreeBSD-9.0-RELEASE-amd64-dvd1.iso, I can do an install without
> any problems.
> 
> Yours truly,
> Richard Yao
> 

I have an update.

1. There is no backtrace. The only thing that I see printed after the
boot screen with beastie is a single line:

'kernel trap 9 with interrupts disabled'

2. Verbose mode does not change it.

3. Removing `-cpu host` fixes it. Here is an excerpt of the host's
/proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 10
model name      : AMD Phenom(tm) II X6 1090T Processor
stepping        : 0
microcode       : 0x10000dc
cpu MHz         : 1600.000
cache size      : 512 KB
physical id     : 0
siblings        : 6
core id         : 0
cpu cores       : 6
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl
nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_l
m cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
osvw ibs skinit wdt cpb npt lbrv svm_lock nrip_save pausefilter
bogomips        : 6421.39
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [9]

FreeBSD 9.0 had no problems in KVM with `-cpu host` on this system, so
this would seem to be a regression.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120721/7591e22b/signature.pgp


More information about the freebsd-stable mailing list