Skip to content

Instantly share code, notes, and snippets.

@jadonk
Created May 11, 2011 12:23
Show Gist options
  • Select an option

  • Save jadonk/966366 to your computer and use it in GitHub Desktop.

Select an option

Save jadonk/966366 to your computer and use it in GitHub Desktop.
Xen Minimal OS!
start_info: 0xb10000(VA)
nr_pages: 0x6a400
shared_inf: 0xbf702000(MA)
pt_base: 0xb13000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x946780-0x966780
MM: Init
_text: 0x0(VA)
_etext: 0x621f5(VA)
_erodata: 0x76000(VA)
_edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
_end: 0x966d34(VA)
start_pfn: b1f
max_pfn: 6a400
Mapping memory range 0xc00000 - 0x6a400000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for e6c000(e6c000)-0(6a400000)
MM: done
Demand map pfns at 6a401000-7a401000.
Heap resides at 7a402000-ba402000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x6a401000.
Initialising scheduler
Thread "Idle": pointer: 0x7a402008, stack: 0x6a030000
Initialising xenbus
Thread "xenstore": pointer: 0x7a402478, stack: 0x6a040000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x7a4028e8, stack: 0x6a050000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********
backend at /local/domain/0/backend/vbd/912/2049
Failed to read /local/domain/0/backend/vbd/912/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/912/2049/feature-flush-cache.
20480000 sectors of 0 bytes
**************************
vbd 2050 is hd1
******************* BLKFRONT for device/vbd/2050 **********
backend at /local/domain/0/backend/vbd/912/2050
Failed to read /local/domain/0/backend/vbd/912/2050/feature-barrier.
Failed to read /local/domain/0/backend/vbd/912/2050/feature-flush-cache.
312705024 sectors of 0 bytes
**************************
vbd 2051 is hd2
******************* BLKFRONT for device/vbd/2051 **********
backend at /local/domain/0/backend/vbd/912/2051
Failed to read /local/domain/0/backend/vbd/912/2051/feature-barrier.
Failed to read /local/domain/0/backend/vbd/912/2051/feature-flush-cache.
1835008 sectors of 0 bytes
**************************
[H
[J
GNU GRUB version 0.97 (1740800K lower / 0K upper memory)
[m
[4;2H+-------------------------------------------------------------------------+
[5;2H|
[5;76H|
[6;2H|
[6;76H|
[7;2H|
[7;76H|
[8;2H|
[8;76H|
[9;2H|
[9;76H|
[10;2H|
[10;76H|
[11;2H|
[11;76H|
[12;2H|
[12;76H|
[13;2H|
[13;76H|
[14;2H|
[14;76H|
[15;2H|
[15;76H|
[16;2H|
[16;76H|
[17;2H+-------------------------------------------------------------------------+
[m
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, or 'c' for a command-line.
[5;78H
[m
[7m
[5;3H EC2
[5;75H
[m
[m
[6;3H
[6;75H
[m
[m
[7;3H
[7;75H
[m
[m
[8;3H
[8;75H
[m
[m
[9;3H
[9;75H
[m
[m
[10;3H
[10;75H
[m
[m
[11;3H
[11;75H
[m
[m
[12;3H
[12;75H
[m
[m
[13;3H
[13;75H
[m
[m
[14;3H
[14;75H
[m
[m
[15;3H
[15;75H
[m
[m
[16;3H
[16;75H
[m
[16;78H
[5;75H
[23;4H The highlighted entry will be booted automatically in 3 seconds.
[5;75H
[23;4H The highlighted entry will be booted automatically in 2 seconds.
[5;75H
[23;4H The highlighted entry will be booted automatically in 1 seconds.
[5;75H
[H
[J Booting 'EC2'
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/vmlinuz-2.6.38.6xen-jkridner+ root=/dev/sda1
close blk: backend at /local/domain/0/backend/vbd/912/2049
close blk: backend at /local/domain/0/backend/vbd/912/2050
close blk: backend at /local/domain/0/backend/vbd/912/2051
Reserving virtual address space above 0xf5800000
Linux version 2.6.38.6xen-jkridner+ (root@domU-12-31-38-01-BD-05) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #4 SMP Wed May 11 00:33:27 GMT 2011
released 0 pages of unused memory
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000000000a0000 (usable)
Xen: 00000000000a0000 - 0000000000100000 (reserved)
Xen: 0000000000100000 - 000000006ac00000 (usable)
NX (Execute Disable) protection: active
DMI not present or invalid.
last_pfn = 0x6ac00 max_arch_pfn = 0x1000000
init_memory_mapping: 0000000000000000-000000002d3fe000
984MB HIGHMEM available.
723MB LOWMEM available.
mapped low ram: 0 - 2d3fe000
low ram: 0 - 2d3fe000
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
Normal 0x00001000 -> 0x0002d3fe
HighMem 0x0002d3fe -> 0x0006ac00
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x000000a0
0: 0x00000100 -> 0x0006ac00
Using APIC driver default
SMP: Allowing 1 CPUs, 0 hotplug CPUs
Local APIC disabled by BIOS -- you can enable it with "lapic"
APIC: disable apic facility
APIC: switched to apic NOOP
Allocating PCI resources starting at 6ac00000 (gap: 6ac00000:95400000)
Booting paravirtualized kernel on Xen
Xen version: 3.4.3-2.6.18 (preserve-AD)
setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 12 pages/cpu @ec690000 s27264 r0 d21888 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 433719
Kernel command line: root=/dev/sda1
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Initializing CPU#0
Initializing HighMem for node 0 (0002d3fe:0006ac00)
Memory: 1718916k/1748992k available (2316k kernel code, 21436k reserved, 825k data, 308k init, 999432k highmem)
virtual kernel memory layout:
fixmap : 0xf5717000 - 0xf57ff000 ( 928 kB)
pkmap : 0xf5400000 - 0xf5600000 (2048 kB)
vmalloc : 0xedbfe000 - 0xf53fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xed3fe000 ( 723 MB)
.init : 0xc1312000 - 0xc135f000 ( 308 kB)
.data : 0xc12432fa - 0xc1311a80 ( 825 kB)
.text : 0xc1000000 - 0xc12432fa (2316 kB)
Hierarchical RCU implementation.
NR_IRQS:512
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
installing Xen timer for CPU 0
Detected 2266.748 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 4533.49 BogoMIPS (lpj=22667480)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Unsupported number of siblings 16
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
Performance Events: unsupported p6 CPU model 26 no PMU driver, software events only.
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
xen_balloon: Initialising balloon driver.
last_pfn = 0x6ac00 max_arch_pfn = 0x1000000
Switching to clocksource xen
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
platform rtc_cmos: registered platform RTC device (no PNP device found)
highmem bounce pool size: 64 pages
fuse init (API version 7.16)
msgmni has been set to 1421
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Event-channel device installed.
brd: module loaded
Initialising Xen virtual ethernet driver.
i8042: No controller found
mousedev: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
blkfront: xvda1: barriers disabled
blkfront: xvda2: barriers disabled
Setting capacity to 20480000
xvda1: detected capacity change from 0 to 10485760000
blkfront: xvda3: barriers disabled
Setting capacity to 312705024
xvda2: detected capacity change from 0 to 160104972288
Setting capacity to 1835008
xvda3: detected capacity change from 0 to 939524096
XENBUS: Device with no driver: device/console/0
Root-NFS: no NFS server address
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
ca01 10240000 xvda1 driver: vbd
ca02 156352512 xvda2 driver: vbd
ca03 917504 xvda3 driver: vbd
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Pid: 1, comm: swapper Not tainted 2.6.38.6xen-jkridner+ #4
Call Trace:
[<c123fd36>] ? panic+0x57/0x14f
[<c1312ce6>] ? mount_block_root+0x125/0x1ac
[<c109963d>] ? sys_mknod+0x27/0x29
[<c1312e12>] ? mount_root+0xa5/0xab
[<c1312f61>] ? prepare_namespace+0x149/0x183
[<c108dc56>] ? sys_access+0x20/0x22
[<c1312436>] ? kernel_init+0x19a/0x1a9
[<c131229c>] ? kernel_init+0x0/0x1a9
[<c1008736>] ? kernel_thread_helper+0x6/0x10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment