[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] GRUB2 XEN PV port is able to boot linux



For now it's 64-bit only but it works. I've also tested with netbsd and
GNU mach. All of them work as well as when launched directly from
hypervisor.



                             GNU GRUB  version 2.00

   Minimal BASH-like line editing is supported. For the first word, TAB
   lists possible command completions. Anywhere else TAB lists possible
   device or file completions.


grub> insmod part_msdos
grub> root=xen/sdb,1
grub> linux /vmli
Possible files are:

 vmlinuz-3.11-1-amd64 vmlinux.orig
grub> linux /vmlinuz-3.11-1-amd64 hello
grub> boot
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.11-1-amd64
(debian-kernel@xxxxxxxxxxxxxxxx) (gcc version 4.8.1 (Debian 4.8.1-10) )
#1 SMP Debian 3.11.6-1 (2013-10-27)
[    0.000000] Command line: hello
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x00000000107fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x10800 max_arch_pfn = 0x400000000
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x0fe00000-0x0fffffff]
[    0.000000] init_memory_mapping: [mem 0x0c000000-0x0fdfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x0bffffff]
[    0.000000] init_memory_mapping: [mem 0x10000000-0x107fffff]
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x00000000107fffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x107fffff]
[    0.000000]   NODE_DATA [mem 0x0ff90000-0x0ff93fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009ffff]
[    0.000000]   node   0: [mem 0x00100000-0x107fffff]
[    0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] No local APIC present
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] e820: [mem 0x10800000-0xffffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.3.0 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512
nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88000fc00000 s85952
r8192 d20544 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 66542
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: hello
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 244008K/269948K available (4630K kernel code,
658K rwdata, 1572K rodata, 968K init, 928K bss, 25940K reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:33024 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] installing Xen timer for CPU 0
[    0.000000] tsc: Detected 2793.704 MHz processor
[    0.004000] Calibrating delay loop (skipped), value calculated using
timer frequency.. 5587.40 BogoMIPS (lpj=11174816)
[    0.004000] pid_max: default: 32768 minimum: 301
[    0.004000] Security Framework initialized
[    0.004000] AppArmor: AppArmor disabled by boot time parameter
[    0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.004000] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[    0.004000] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[    0.004000] Mount-cache hash table entries: 256
[    0.004000] Initializing cgroup subsys memory
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] Initializing cgroup subsys net_cls
[    0.004000] Initializing cgroup subsys blkio
[    0.004000] Initializing cgroup subsys perf_event
[    0.004000] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.004000] ENERGY_PERF_BIAS: View and update with
x86_energy_perf_policy(8)
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.004000] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
[    0.004000] tlb_flushall_shift: 1
[    0.017833] Freeing SMP alternatives memory: 20K (ffffffff81998000 -
ffffffff8199d000)
[    0.019891] Performance Events: unsupported p6 CPU model 58 no PMU
driver, software events only.
[    0.020000] Brought up 1 CPUs
[    0.020021] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.020096] devtmpfs: initialized
[    0.020682] xen:grant_table: Grant tables using version 2 layout
[    0.020696] Grant table initialized
[    0.020725] NET: Registered protocol family 16
[    0.020864] PCI: setting up Xen PCI frontend stub
[    0.020864] bio: create slab <bio-0> at 0
[    0.020864] ACPI: Interpreter disabled.
[    0.020864] xen:balloon: Initialising balloon driver
[    0.020864] xen_balloon: Initialising balloon driver
[    0.020864] vgaarb: loaded
[    0.020864] PCI: System does not support PCI
[    0.020864] PCI: System does not support PCI
[    0.020864] Switched to clocksource xen
[    0.020983] pnp: PnP ACPI: disabled
[    0.021867] NET: Registered protocol family 2
[    0.021962] TCP established hash table entries: 4096 (order: 4, 65536
bytes)
[    0.021979] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.021989] TCP: Hash tables configured (established 4096 bind 4096)
[    0.021999] TCP: reno registered
[    0.022004] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.022010] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.022044] NET: Registered protocol family 1
[    0.022097] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[    0.022232] audit: initializing netlink socket (disabled)
[    0.022241] type=2000 audit(1383622656.367:1): initialized
[    0.033476] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.033593] VFS: Disk quotas dquot_6.5.2
[    0.033607] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.033664] msgmni has been set to 476
[    0.033798] alg: No test for stdrng (krng)
[    0.033811] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[    0.033832] io scheduler noop registered
[    0.033834] io scheduler deadline registered
[    0.033839] io scheduler cfq registered (default)
[    0.033869] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.033881] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.034199] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.034380] Linux agpgart interface v0.103
[    0.034418] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.035282] i8042: No controller found
[    1.035388] mousedev: PS/2 mouse device common for all mice
[    1.095072] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.095113] rtc_cmos: probe of rtc_cmos failed with error -38
[    1.095133] Intel P-state driver initializing.
[    1.095156] AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@xxxxxxx>
[    1.095159] AMD IOMMUv2 functionality not available on this system
[    1.095220] TCP: cubic registered
[    1.095232] NET: Registered protocol family 10
[    1.095380] mip6: Mobile IPv6
[    1.095385] NET: Registered protocol family 17
[    1.095389] mpls_gso: MPLS GSO support
[    1.095462] registered taskstats version 1
[    1.095526] /build/linux-bzeJA_/linux-3.11.6/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[    1.095631] List of all partitions:
[    1.095636] No filesystem could mount root, tried:
[    1.095642] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0)
[    1.095650] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11-1-amd64 #1
Debian 3.11.6-1
[    1.095655]  ffff88000ed17ea0 ffffffff81474662 ffffffff816e3888
ffffffff81471c60
[    1.095663]  ffff880000000010 ffff88000ed17eb0 ffff88000ed17e50
ffff88000ed17ea0
[    1.095668]  ffff88000ed17eb8 0000000000000012 0000000000000001
000000000000000a
[    1.095674] Call Trace:
[    1.095682]  [<ffffffff81474662>] ? dump_stack+0x41/0x51
[    1.095688]  [<ffffffff81471c60>] ? panic+0xc3/0x1d2
[    1.095692]  [<ffffffff818bc3db>] ? mount_block_root+0x2a9/0x2b8
[    1.095696]  [<ffffffff818bc56d>] ? prepare_namespace+0x133/0x169
[    1.095699]  [<ffffffff818bc08c>] ? kernel_init_freeable+0x1d1/0x1db
[    1.095702]  [<ffffffff818bb856>] ? do_early_param+0x81/0x81
[    1.095707]  [<ffffffff81467260>] ? rest_init+0x70/0x70
[    1.095711]  [<ffffffff81467265>] ? kernel_init+0x5/0x180
[    1.095714]  [<ffffffff8148193c>] ? ret_from_fork+0x7c/0xb0
[    1.095718]  [<ffffffff81467260>] ? rest_init+0x70/0x70

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.