[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] qemu on 2.6.0-rc1
From: |
thuis |
Subject: |
[Qemu-devel] qemu on 2.6.0-rc1 |
Date: |
Mon, 5 Jan 2004 23:31:55 +0100 |
User-agent: |
Mutt/1.5.4i |
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
----------------------------------------------------------------------
- [Qemu-devel] qemu on 2.6.0-rc1,
thuis <=