From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AdeN4-0005NZ-TC for qemu-devel@nongnu.org; Mon, 05 Jan 2004 18:42:54 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AdeM6-0004j4-V5 for qemu-devel@nongnu.org; Mon, 05 Jan 2004 18:42:26 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AdeJ1-0003Hg-O1 for qemu-devel@nongnu.org; Mon, 05 Jan 2004 18:38:43 -0500 Received: from [82.161.27.36] (helo=wingding.demon.nl) by mx20.gnu.org with esmtp (Exim 4.24) id 1AddGQ-0000AF-K2 for qemu-devel@nongnu.org; Mon, 05 Jan 2004 17:31:58 -0500 Received: from rutger by wingding.demon.nl with local (Exim 3.36 #1 (Debian)) id 1AddGO-0004wI-00 for ; Mon, 05 Jan 2004 23:31:56 +0100 Date: Mon, 5 Jan 2004 23:31:55 +0100 Message-ID: <20040105223155.GA14669@best.ms.philips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Rutger Nijlunsing (thuis) Subject: [Qemu-devel] qemu on 2.6.0-rc1 Reply-To: qemu-devel@tux.tmfweb.nl, qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I try to run qemu-fast on Linux kernel 2.6.0-rc1. I could not find the things which I should change in the documentation: # The kernel must be mapped at 0x90000000 (the default is 0xc0000000). You must modify only two lines in the kernel source: In `include/asm/page.h', replace #define __PAGE_OFFSET (0xc0000000) by #define __PAGE_OFFSET (0x90000000) And in `arch/i386/vmlinux.lds', replace . = 0xc0000000 + 0x100000; by . = 0x90000000 + 0x100000; The problems are that vmlinux.lds does not exist, and page.h looks different. However, I did change the 2 occurances of 0xc0000000 into 0x90000000: #ifdef __ASSEMBLY__ #define __PAGE_OFFSET (0x90000000) #else #define __PAGE_OFFSET (0x90000000UL) #endif After recompiling the kernel, both qemu-fast and qemu refuses to boot this kernel: qemu -nographic -hda linux.img -kernel ../linux-qemu/arch/i386/boot/bzImage -append "root=/dev/hda ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe" ...boots not bzImage, but the kernel which resides in the image file linux.img. ls -l ../linux-qemu/arch/i386/boot/bzImage gives: -rw-rw-r-- 1 rutger rutger 948860 Jan 5 21:37 ../linux-qemu/arch/i386/boot/bzImage Do I need to change something different in 2.6? -- Rutger Nijlunsing ----------------------------- rutger @ tux.tmfweb.nl never attribute to a conspiracy which can be explained by incompetence ----------------------------------------------------------------------