qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu on 2.6.0-rc1
@ 2004-01-05 22:31 Rutger Nijlunsing
  2004-01-05 23:01 ` J. Mayer
  2004-01-06  0:57 ` Rusty Russell
  0 siblings, 2 replies; 9+ messages in thread
From: Rutger Nijlunsing @ 2004-01-05 22:31 UTC (permalink / raw)
  To: qemu-devel

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
----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-01-07 22:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-05 22:31 [Qemu-devel] qemu on 2.6.0-rc1 Rutger Nijlunsing
2004-01-05 23:01 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).