[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


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', 
    #define __PAGE_OFFSET           (0xc0000000)
    #define __PAGE_OFFSET           (0x90000000)
    And in `arch/i386/vmlinux.lds', replace
      . = 0xc0000000 + 0x100000;
      . = 0x90000000 + 0x100000;

The problems are that vmlinux.lds does not exist, and page.h looks

However, I did change the 2 occurances of 0xc0000000 into 0x90000000:

#ifdef __ASSEMBLY__
#define __PAGE_OFFSET           (0x90000000)
#define __PAGE_OFFSET           (0x90000000UL)

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

ls -l ../linux-qemu/arch/i386/boot/bzImage  gives:
-rw-rw-r--    1 rutger   rutger     948860 Jan  5 21:37 

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]