Gerd Hoffmann wrote: > Jeremy Fitzhardinge wrote: >> Gerd Hoffmann wrote: >>> Hi, >>> >>> paravirt kernel doesn't boot as xen guest for me, see attachment. >>> >> Hm, I just booted a pae kernel from the current paravirt repo and got it >> to usermode. What's your .config? Also, what line is getting the fault? > > config is attached. > > It faults in fork syscall, down in pgd_walk(). It finds a pmd entry > pointing to a machine page where the mfn_to_pfn translation returns -1 > aka 0xffffffff. Trying to find a struct page for that one doesn't work ... Looks like a slot-3 pmd got reused for slot-0, with some stale entries for the hypervisor hole in there for some reason ... quick and dirty sledge hammer fix: --- paravirt-2.6.20-rc4-hg691.orig/arch/i386/paravirt-xen/enlighten.c +++ paravirt-2.6.20-rc4-hg691/arch/i386/paravirt-xen/enlighten.c @@ -522,6 +522,7 @@ static fastcall void xen_alloc_pd(u32 pf static fastcall void xen_release_pd(u32 pfn) { make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); + memset(__va(PFN_PHYS(pfn)), 0, PAGE_SIZE); } static fastcall void xen_release_pt(u32 pfn) OK, now I'm back to the old buggy state where the ttylinux rootfs fails to boot up due to init being killed instantly or something like that ... cheers, Gerd -- Gerd Hoffmann <kraxel at suse.de>