From: Rutger Nijlunsing (thuis) <rutger@wingding.demon.nl>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu on 2.6.0-rc1
Date: Mon, 5 Jan 2004 23:31:55 +0100 [thread overview]
Message-ID: <20040105223155.GA14669@best.ms.philips.com> (raw)
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
----------------------------------------------------------------------
next reply other threads:[~2004-01-05 23:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 22:31 Rutger Nijlunsing [this message]
2004-01-05 23:01 ` [Qemu-devel] qemu on 2.6.0-rc1 J. Mayer
2004-01-06 0:57 ` Rusty Russell
2004-01-06 21:48 ` Fabrice Bellard
2004-01-07 1:53 ` Rusty Russell
2004-01-07 7:01 ` Herbert Poetzl
2004-01-07 21:33 ` Fabrice Bellard
2004-01-07 21:41 ` Daniel Jacobowitz
2004-01-07 21:37 ` Fabrice Bellard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040105223155.GA14669@best.ms.philips.com \
--to=rutger@wingding.demon.nl \
--cc=qemu-devel@nongnu.org \
--cc=qemu-devel@tux.tmfweb.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.