[Lguest] Lguest launch hang

Ajit Aluri acpaluri at gmail.com
Thu Jan 2 04:44:15 EST 2014


Hi,

I am trying to launch lguest on a lguest enabled kernel for Samsung Galaxy
Tab 3. When I launch lguest, the start-up hangs at a certain point
indicated in the log below.

I have attached the .config file I used to build the kernel (3.4.34 with
modifications by Samsung) and also the host kernel start-up log. I have
read that the highmem option has to be set to either 4g or none, but these
settings prevented the host kernel from booting up. I am currently trying
to build lguest with highmem set to 64g. Could someone please let me know
if the hang during the start-up is due this setting mismatch ? (I am trying
to launch lguest with only 128 MB memory, which I think is indicated in the
log below)

Also attached the host kernel's startup log.

Thanks,
-Ajit

----------------------------------------------------------------------------------------------------------------------------
[    0.000000] C0 [        swapper] Reserving virtual address space above
0xffe00000
[    0.000000] C0 [        swapper] Initializing cgroup subsys cpuset
[    0.000000] C0 [        swapper] Initializing cgroup subsys cpu
[    0.000000] C0 [        swapper] Linux version 3.4.34 (aaluri at cairo)
(gcc version 4.6 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Dec 27
00:05:48 EST 2013
[    0.000000] C0 [        swapper] BIOS-provided physical RAM map:
[    0.000000] C0 [        swapper]  LGUEST: 0000000000000000 -
0000000008000000 (usable)
[    0.000000] C0 [        swapper] Notice: NX (Execute Disable) protection
missing in CPU!
[    0.000000] C0 [        swapper] DMI not present or invalid.
[    0.000000] C0 [        swapper] last_pfn = 0x8000 max_arch_pfn =
0x1000000
[    0.000000] C0 [        swapper] init_memory_mapping:
0000000000000000-0000000008000000
[    0.000000] C0 [        swapper] 0MB HIGHMEM available.
[    0.000000] C0 [        swapper] 128MB LOWMEM available.
[    0.000000] C0 [        swapper]   mapped low ram: 0 - 08000000
[    0.000000] C0 [        swapper]   low ram: 0 - 08000000
[    0.000000] C0 [        swapper] Zone PFN ranges:
[    0.000000] C0 [        swapper]   Normal   0x00000010 -> 0x00008000
[    0.000000] C0 [        swapper]   HighMem  empty
[    0.000000] C0 [        swapper] Movable zone start PFN for each node
[    0.000000] C0 [        swapper] Early memory PFN ranges
[    0.000000] C0 [        swapper]     0: 0x00000010 -> 0x000000a0
[    0.000000] C0 [        swapper]     0: 0x00000100 -> 0x00008000
[    0.000000] C0 [        swapper] Using APIC driver default
[    0.000000] C0 [        swapper] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[    0.000000] C0 [        swapper] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] C0 [        swapper] No local APIC present or hardware
disabled
[    0.000000] C0 [        swapper] APIC: disable apic facility
[    0.000000] C0 [        swapper] APIC: switched to apic NOOP
[    0.000000] C0 [        swapper] Allocating PCI resources starting at
8000000 (gap: 8000000:f8000000)
[    0.000000] C0 [        swapper] Booting paravirtualized kernel on lguest
[    0.000000] C0 [        swapper] setup_percpu: NR_CPUS:4
nr_cpumask_bits:4 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] C0 [        swapper] PERCPU: Embedded 13 pages/cpu @c7eef000
s31296 r0 d21952 u53248
[    0.000000] C0 [        swapper] Built 1 zonelists in Zone order,
mobility grouping on.  Total pages: 32400
[    0.000000] C0 [        swapper] Kernel command line: root=/dev/vda
init=/init
[    0.000000] C0 [        swapper] PID hash table entries: 512 (order: -1,
2048 bytes)
[    0.000000] C0 [        swapper] Dentry cache hash table entries: 16384
(order: 4, 65536 bytes)
[    0.000000] C0 [        swapper] Inode-cache hash table entries: 8192
(order: 3, 32768 bytes)
[    0.000000] C0 [        swapper] Initializing CPU#0
[    0.000000] C0 [        swapper] allocated 262016 bytes of page_cgroup
[    0.000000] C0 [        swapper] please try 'cgroup_disable=memory'
option if you don't want memory cgroups
[    0.000000] C0 [        swapper] Initializing HighMem for node 0
(00000000:00000000)
[    0.000000] C0 [        swapper] Memory: 113724k/131072k available
(6917k kernel code, 16900k reserved, 3603k data, 548k init, 0k highmem)
[    0.000000] C0 [        swapper] virtual kernel memory layout:
[    0.000000] C0 [        swapper]     fixmap  : 0xffd63000 - 0xffdff000
( 624 kB)
[    0.000000] C0 [        swapper]     pkmap   : 0xffa00000 - 0xffc00000
(2048 kB)
[    0.000000] C0 [        swapper]     vmalloc : 0xc8800000 - 0xff9fe000
( 881 MB)
[    0.000000] C0 [        swapper]     lowmem  : 0xc0000000 - 0xc8000000
( 128 MB)
[    0.000000] C0 [        swapper]       .init : 0xc1a47000 - 0xc1ad0000
( 548 kB)
[    0.000000] C0 [        swapper]       .data : 0xc16c1785 - 0xc1a46740
(3603 kB)
[    0.000000] C0 [        swapper]       .text : 0xc1000000 - 0xc16c1785
(6917 kB)
[    0.000000] C0 [        swapper] Checking if this processor honours the
WP bit even in supervisor mode...Ok.
[    0.000000] C0 [        swapper] SLUB: Genslabs=15, HWalign=32,
Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] C0 [      swapper/0] Preemptible hierarchical RCU
implementation.
[    0.000000] C0 [      swapper/0]  Additional per-CPU info printed with
stalls.
[    0.000000] C0 [      swapper/0] NR_IRQS:2304 nr_irqs:256 16
[    0.000000] C0 [      swapper/0] Console: colour dummy device 80x25
[    0.000000] C0 [      swapper/0] console [hvc0] enabled
[    0.000000] C0 [      swapper/0] register logcat console
[    0.000000] C0 [      swapper/0] Detected 1597.440 MHz processor.
[    0.000102] C0 [      swapper/0] Calibrating delay loop (skipped), value
calculated using timer frequency.. 3194.88 BogoMIPS (lpj=15974400)
[    0.000520] C0 [      swapper/0] pid_max: default: 32768 minimum: 301
[    0.000946] C0 [      swapper/0] Security Framework initialized
[    0.001433] C0 [      swapper/0] Mount-cache hash table entries: 512
[    0.007474] C0 [      swapper/0] Initializing cgroup subsys cpuacct
[    0.007795] C0 [      swapper/0] Initializing cgroup subsys memory
[    0.008070] C0 [      swapper/0] Initializing cgroup subsys devices
[    0.008301] C0 [      swapper/0] Initializing cgroup subsys freezer
[    0.008538] C0 [      swapper/0] Initializing cgroup subsys blkio
[    0.008851] C0 [      swapper/0] Initializing cgroup subsys perf_event
[    0.032032] C0 [      swapper/0] SMP alternatives: switching to UP code
[    0.495574] C0 [      swapper/0] Freeing SMP alternatives: 24k freed
[    0.495926] C0 [      swapper/0] ftrace: allocating 26620 entries in 52
pages
[    0.547093] C0 [      swapper/0] weird, boot CPU (#0) not listed by the
BIOS.
[    0.547289] C0 [      swapper/0] SMP motherboard not detected.
[    0.547410] C0 [      swapper/0] Local APIC not detected. Using dummy
APIC emulation.
[    0.547549] C0 [      swapper/0] SMP disabled
[    0.547670] C0 [      swapper/0] Performance Events: no PMU driver,
software events only.
[    0.608632] C0 [      swapper/0] NMI watchdog: disabled (cpu0): hardware
events not enabled
[    0.609308] C0 [      swapper/0] Brought up 1 CPUs
[    0.609490] C0 [      swapper/0] Total of 1 processors activated
(3194.88 BogoMIPS).
[    0.612469] C0 [      swapper/0] [default_sec_log_buf_reserve] SEC LOG
BUF start=0x10000000 size=0x201000
[    0.628020] C0 [      swapper/0] pinctrl core: initialized pinctrl
subsystem
[    0.632359] C0 [      swapper/0] dummy:
[    0.635920] C0 [      swapper/0] NET: Registered protocol family 16
[    0.636382] C0 [      swapper/0] Can't find a valid bosrd-descriptor!!!

(Hangs here)
-------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20140101/c02fec6d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 100662 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20140101/c02fec6d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out_host_kernel
Type: application/octet-stream
Size: 208110 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20140101/c02fec6d/attachment-0003.obj>


More information about the Lguest mailing list