Hi! Just two short question (posted one already on the weekend but maybe it skipped you attention). Is PSE on x86-32 (Pagesize 4k and 4M together) activated? So can I setup PTE mappings with 4k and 4M pages? Currently I''m stuck when trying to set up the paging correctly. My problem is that I want to translate all machine frames belonging to the guest domain to physical page frames and back. Using the mfn_list from start_info_t I can translate pfn to mfn. Translate mfn to pfn (using machine_to_phys_mapping from arch-x86_32.h which points to HYPERVISOR_VIRT_START) the guest domain crashes when I try to access specific array indeces: machine_to_phys_mapping[100]; ok machine_to_phys_mapping[375]; guest domain killed In the test setup these are 375-389, 2952-54 and possibly some more, also seems to depend at which index I''m starting (everything above index 2962 seems to work fine). Could someone give me a hint what I''m missing? I''m using xen 3.0 testing. Best Regards, Markus -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen fr GMX Partner: http://www.gmx.net/de/go/partner _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 25 Jan 2006, at 11:00, markus rechberg wrote:> Is PSE on x86-32 (Pagesize 4k and 4M together) activated? So can I > setup > PTE mappings with 4k and 4M pages?No, PSE isn''t currently supported. You''d need to be allocated contiguous 4MB machine-memory regions, for starters.> machine_to_phys_mapping[100]; ok > machine_to_phys_mapping[375]; guest domain killed > > In the test setup these are 375-389, 2952-54 and possibly some more, > also > seems to depend at which index I''m starting (everything above index > 2962 > seems to work fine).Well, the machine_to_phys_mapping is just an array of longs. So the first 1024 entries are all in the same page. So it''s really impossible that you get different behaviour accessing entry 374 versus entry 375. They should hit the same 4kB page of the machine_to_phys_mapping array! -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel