From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C6ACFA3.6090408@domain.hid> Date: Tue, 17 Aug 2010 20:06:27 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4C45539B.70204@domain.hid> <4C6932E8.7050701@domain.hid> <4C694AB3.8050407@domain.hid> <4C698E16.5050806@domain.hid> <1282040830.1730.232.camel@domain.hid> <4C6ACA50.3080108@domain.hid> In-Reply-To: <4C6ACA50.3080108@domain.hid> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Kisdaroczi Cc: xenomai@xenomai.org Stefan Kisdaroczi wrote: > I installed the kernel (2.6.32.15 2.5.4 x86 32bit) which is working on > my laptop in a kvm machine. > In the virtual machine the kernel never starts and hangs. To make sure you are not facing a KVM issue (though they are much rarer theses days - given you are using a recent KVM version...), please cross-check if the guest behaves identically when booting without KVM support (-no-kvm when using qemu-kvm). > I attached gdb to kvm and according to the cpu registers and system.map > it hangs in 'doublefault_fn'. As I'm not really familiar with gdb i'm > thankful if someone has a hint how to proceed. Thanks Build the kernel with CONFIG_DEBUG_INFO, start "gdb /linux/src/path/vmlinux", then type "bt" at the gdb prompt when the guest hangs. This should dump a symbolic backtrace - though likely not beyond the exception entry. In that case, you could help us by examining the origin of the exception (parameters to the exception handler, it specifically receives a full register state). Also note that there are graphical debuggers, e.g. ddd, that can help working with gdb without knowing all its commands by heart. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux