Re: Problem running 8.1R on KVM with AMD hosts

2010-10-01 Thread Chris Webb
Luke Marsden l...@hybrid-logic.co.uk writes: On Thu, 2010-09-30 at 18:55 -0400, Jung-uk Kim wrote: It seems MCA capability is advertised by the CPUID translator but writing to the MSRs causes GPF. In other words, it seems like a CPU emulator bug. A simple workaround is 'set

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-30 Thread Luke Marsden
Hi FreeBSD-stable, 1. Please, build your kernel with debug symbols. 2. Show kgdb output I could not convince the kernel to dump (it was looping forever but not panicing), but I have managed to compiled a kernel with debugging symbols and DDB which immediately drops into the debugger when the

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-30 Thread Jung-uk Kim
On Thursday 30 September 2010 02:57 pm, Luke Marsden wrote: Hi FreeBSD-stable, 1. Please, build your kernel with debug symbols. 2. Show kgdb output I could not convince the kernel to dump (it was looping forever but not panicing), but I have managed to compiled a kernel with debugging

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-30 Thread Jeremy Chadwick
On Thu, Sep 30, 2010 at 07:57:51PM +0100, Luke Marsden wrote: Hi FreeBSD-stable, 1. Please, build your kernel with debug symbols. 2. Show kgdb output I could not convince the kernel to dump (it was looping forever but not panicing), but I have managed to compiled a kernel with

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-30 Thread Luke Marsden
On Thu, 2010-09-30 at 18:55 -0400, Jung-uk Kim wrote: It seems MCA capability is advertised by the CPUID translator but writing to the MSRs causes GPF. In other words, it seems like a CPU emulator bug. A simple workaround is 'set hw.mca.enabled=0' from the loader prompt. If it works, add

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-27 Thread Andriy Gapon
on 27/09/2010 14:45 Luke Marsden said the following: Hi FreeBSD-stable, I'm having problems booting 8.1R on a KVM virtualised host backed on AMD hardware. It works flawlessly on Intel backed KVM. Please find attached ^ I

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-27 Thread Andriy Gapon
on 27/09/2010 16:53 Luke Marsden said the following: On Mon, 2010-09-27 at 15:24 +0300, Andriy Gapon wrote: on 27/09/2010 14:45 Luke Marsden said the following: Hi FreeBSD-stable, I'm having problems booting 8.1R on a KVM virtualised host backed on AMD hardware. It works flawlessly on Intel

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-27 Thread nickolasbug
http://lukemarsden.net/8.1R-KVM-AMD-failure.png This picture is useless. No debug symbols == no useful information. 1. Please, build your kernel with debug symbols. Your kernel configuration file should contain string makeoptions DEBUG=-g# Build kernel with gdb(1) debug

Re: Problem running 8.1R on KVM with AMD hosts

2010-09-27 Thread Luke Marsden
Hi all, Thanks for your responses. 1. Please, build your kernel with debug symbols. 2. Show kgdb output I will build a debug kernel as per your instructions and post the results as soon as I can. Likely in the next couple of days. I have secured us test hardware at ElasticHosts to debug this