I've modified the Android "Goldfish" defconfig to include lguest support. I'm testing it out on a qemu instance and launching it as:
# ./lguest 64 bzImage --block=DSL-4.4-root_fs root=/dev/vda I keep getting a bad page table entry message. dmesg is below: [ 0.000000] Reserving virtual address space above 0xffc00000 [ 0.000000] Linux version 3.4.5+ (earlence@earlence-Satellite-L650) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #3 Wed May 1 13:13:52 EDT 2013 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] LGUEST: 0000000000000000 - 0000000004000000 (usable) [ 0.000000] Notice: NX (Execute Disable) protection missing in CPU! [ 0.000000] MPS support code is not built-in. [ 0.000000] Using acpi=off or acpi=noirq or pci=noacpi may have problem [ 0.000000] DMI not present or invalid. [ 0.000000] last_pfn = 0x4000 max_arch_pfn = 0x100000 [ 0.000000] init_memory_mapping: 0000000000000000-0000000004000000 [ 0.000000] 0MB HIGHMEM available. [ 0.000000] 64MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 04000000 [ 0.000000] low ram: 0 - 04000000 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x00004000 [ 0.000000] HighMem empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000010 -> 0x000000a0 [ 0.000000] 0: 0x00000100 -> 0x00004000 [ 0.000000] Using APIC driver default [ 0.000000] APIC: disable apic facility [ 0.000000] APIC: switched to apic NOOP [ 0.000000] Allocating PCI resources starting at 4000000 (gap: 4000000:fc000000) [ 0.000000] Booting paravirtualized kernel on lguest [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16144 [ 0.000000] Kernel command line: root=/dev/vda [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Initializing HighMem for node 0 (00000000:00000000) [ 0.000000] Memory: 57804k/65536k available (3235k kernel code, 7284k reserved, 1604k data, 344k init, 0k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xffbe2000 - 0xffbff000 ( 116 kB) [ 0.000000] pkmap : 0xff400000 - 0xff800000 (4096 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff3fe000 ( 939 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] .init : 0xc14bb000 - 0xc1511000 ( 344 kB) [ 0.000000] .data : 0xc1328d95 - 0xc14ba0c0 (1604 kB) [ 0.000000] .text : 0xc1000000 - 0xc1328d95 (3235 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [hvc0] enabled [ 0.000000] Marking TSC unstable due to could not calculate TSC khz [ 0.000000] Calibrating delay loop... 2131.55 BogoMIPS (lpj=10657792) [ 0.200000] pid_max: default: 32768 minimum: 301 [ 0.200000] Security Framework initialized [ 0.200000] Mount-cache hash table entries: 512 [ 0.200000] Initializing cgroup subsys cpuacct [ 0.200000] CPU: Intel OverDrive PODP5V83 stepping 03 [ 0.210000] Performance Events: no PMU driver, software events only. [ 0.210000] Apic disabled [ 0.220000] NET: Registered protocol family 16 [ 0.220000] Device at 0 has size 33 [ 0.220000] Device at 33 has size 21 [ 0.220000] PCI: Fatal: No config space access function found [ 0.240000] bio: create slab <bio-0> at 0 [ 0.240000] ACPI: Interpreter disabled. [ 0.240000] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.240000] vgaarb: loaded [ 0.240000] PCI: Using ACPI for IRQ routing [ 0.240000] PCI: System does not support PCI [ 0.240000] cfg80211: Calling CRDA to update world regulatory domain [ 0.240000] Switching to clocksource lguest [ 0.260000] pnp: PnP ACPI: disabled [ 0.270000] NET: Registered protocol family 2 [ 0.270000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.270000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.270000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.270000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.270000] TCP: reno registered [ 0.270000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.270000] NET: Registered protocol family 1 [ 0.270000] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.300000] VFS: Disk quotas dquot_6.5.2 [ 0.300000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.300000] msgmni has been set to 112 [ 0.300000] io scheduler noop registered [ 0.300000] io scheduler cfq registered (default) [ 0.300000] Mapping virtqueue 0 addr 4004000 [ 0.300000] Mapping virtqueue 1 addr 4007000 [ 0.310000] Linux agpgart interface v0.103 [ 0.340000] [drm] Initialized drm 1.1.0 20060810 [ 0.420000] brd: module loaded [ 0.479999] loop: module loaded [ 0.540000] Mapping virtqueue 0 addr 4001000 [ 0.580000] vda: unknown partition table lguest: bad page table entry -Earlence
_______________________________________________ Lguest mailing list Lguest@lists.ozlabs.org https://lists.ozlabs.org/listinfo/lguest