WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen domU cannot boot via PV-GRUB

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen domU cannot boot via PV-GRUB
From: GNUbie <gnubie@xxxxxxxxx>
Date: Fri, 14 Jan 2011 01:03:44 +0800
Delivery-date: Thu, 13 Jan 2011 09:05:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=0Kc0vTS7sDyuMglEwtl3Qtwfb9KfRrtPsFqIAh0pZgA=; b=dV3y+qM0GfVenWBXEGEWrU11ySqmm6La9R9ksbIoPqqdvgpF6QSMP812HZpjGoNeH7 fiNvUVtXsoA6v2rWEB8bi2EZPp3MqDfskYVH0yUBJN+8OBNfRB5IAKVk55pioF9QhP1/ FrvSaecyIIwwDlxUTshaJwEtVgUN9aL3Qvxlo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FON6AF31DYyChGFcXI1SE0IWuHgVYxX2XnPkXzV0EQIYcSsilD9kDZHTt5PHGGggHS blRtixyBewcrqx5sHA3Kh88+Rh9cevrr42x2tlVD7EWxY5Jz5SVUDbHrFXtyteuer1YK Zov/0QRwi1v03j2lUpGknc3iqbj2eOHl69IpY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

Please advice on how I can move forward from this bootup problem. I
already tried changing the value of the "root=" option to /dev/sda2
and /dev/xvda2 with no luck. I also tried to re-generate a new initrd
adding the options of "--with xennet --with xenblk" but still with no
luck.

Below are some information of the domU:

- - - < s n i p > - - -
# pwd
/boot

# ls -l
total 7292
lrwxrwxrwx 1 root root       1 Jan 13 16:33 boot -> .
-rw-r--r-- 1 root root   64217 Oct 23 03:50 config-2.6.34.7-56.40.i686
drwxr-xr-x 2 root root    1024 Jan 13 20:03 grub
-rw------- 1 root root 2130577 Nov 10 16:45 initrd-2.6.34.7-56.40.i686.img
drwx------ 2 root root   12288 Jan 13 16:13 lost+found
-rw-r--r-- 1 root root   21047 Jul 28 06:11 message
-rw-r--r-- 1 root root  972728 Oct 23 03:50 System.map-2.6.34.7-56.40.i686
-rwxr-xr-x 1 root root 2110080 Oct 23 03:50 vmlinuz-2.6.34.7-56.40.i686

# cat grub/menu.lst
default=0
timeout=1
hiddenmenu

title GNU/Linux (2.6.34.7-56.40.i686)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.34.7-56.40.i686 root=LABEL=/ console=hvc0
    initrd /boot/initrd-2.6.34.7-56.40.i686.img

# cat fstab
LABEL=/boot /boot       ext3    defaults            1   2
LABEL=/     /           ext3    defaults            1   1
tmpfs       /dev/shm    tmpfs   defaults            0   0
devpts      /dev/pts    devpts  gid=5,mode=620      0   0
sysfs       /sys        sysfs   defaults            0   0
proc        /proc       proc    defaults            0   0
none        /proc/xen   xenfs   defaults            0   0

# cat /etc/modprobe.conf
alias eth0 xennet
alias scsi_hostadapter xenblk
alias ipv6 off
alias net-pf-10 off
options ipv6 disable=1
- - - < s n i p > - - -



Below are the bootup logs:

- - - < s n i p > - - -
    Xen Minimal OS!
  start_info: 0xb10000(VA)
    nr_pages: 0x6a400
  shared_inf: 0x002e9000(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/sda2 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/sda2" "ro" "4"
vbd 2050 is hd0
******************* BLKFRONT for device/vbd/2050 **********


backend at /local/domain/0/backend/vbd/3321/2050
Failed to read /local/domain/0/backend/vbd/3321/2050/feature-barrier.
Failed to read /local/domain/0/backend/vbd/3321/2050/feature-flush-cache.
4194304 sectors of 0 bytes
**************************
vbd 2051 is hd1
******************* BLKFRONT for device/vbd/2051 **********


backend at /local/domain/0/backend/vbd/3321/2051
Failed to read /local/domain/0/backend/vbd/3321/2051/feature-barrier.
Failed to read /local/domain/0/backend/vbd/3321/2051/feature-flush-cache.
1835008 sectors of 0 bytes
**************************
vbd 2064 is hd2
******************* BLKFRONT for device/vbd/2064 **********


backend at /local/domain/0/backend/vbd/3321/2064
Failed to read /local/domain/0/backend/vbd/3321/2064/feature-barrier.
Failed to read /local/domain/0/backend/vbd/3321/2064/feature-flush-cache.
312705024 sectors of 0 bytes
**************************

Press `ESC' to enter the menu... 0
    [H
    [J  Booting 'GNU/Linux (2.6.34.7-56.40.i686)'



root (hd0,0)

 Filesystem type is ext2fs, partition type 0x83

kernel /boot/vmlinuz-2.6.34.7-56.40.i686 root=LABEL=/ console=hvc0

initrd /boot/initrd-2.6.34.7-56.40.i686.img



close blk: backend at /local/domain/0/backend/vbd/3321/2050
close blk: backend at /local/domain/0/backend/vbd/3321/2051
close blk: backend at /local/domain/0/backend/vbd/3321/2064
[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.34.7-56.40.i686
(mockbuild@xxxxxxxxxxxxxxxxx) (gcc version 4.4.4 20100525 (Red Hat
4.4.4-5) (GCC) ) #1 SMP Fri Oct 22 18:48:33 UTC 2010
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 000000006a400000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x6a400 max_arch_pfn = 0x1000000
[    0.000000] init_memory_mapping: 0000000000000000-000000002d3fe000
[    0.000000] RAMDISK: 0156f000 - 019d5000
[    0.000000] 976MB HIGHMEM available.
[    0.000000] 723MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 2d3fe000
[    0.000000]   low ram: 0 - 2d3fe000
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000001 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0002d3fe
[    0.000000]   HighMem  0x0002d3fe -> 0x0006a400
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000001 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x0006a400
[    0.000000] Using APIC driver default
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] Allocating PCI resources starting at 6a400000 (gap:
6a400000:95c00000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 3.0.3-rc5-8.1.14.f
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1
nr_node_ids:1
[    0.000000] PERCPU: Embedded 16 pages/cpu @c1453000 s41172 r0 d24364 u65536
[    0.000000] pcpu-alloc: s41172 r0 d24364 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 431702
[    0.000000] Kernel command line: root=LABEL=/ console=hvc0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] Subtract (33 early reservations)
[    0.000000]   #1 [0001b81000 - 0001b93000]  XEN PAGETABLES
[    0.000000]   #2 [0000001000 - 0000002000]   EX TRAMPOLINE
[    0.000000]   #3 [0001000000 - 0001449b5c]   TEXT DATA BSS
[    0.000000]   #4 [000156f000 - 00019d5000]         RAMDISK
[    0.000000]   #5 [00019d5000 - 0001b81000]  XEN START INFO
[    0.000000]   #6 [0000002000 - 0000003000]      TRAMPOLINE
[    0.000000]   #7 [0000003000 - 0000007000]     ACPI WAKEUP
[    0.000000]   #8 [0000100000 - 0000256000]         PGTABLE
[    0.000000]   #9 [000144a000 - 000144b000]         BOOTMEM
[    0.000000]   #10 [0001b93000 - 00028db000]         BOOTMEM
[    0.000000]   #11 [0001449b80 - 0001449b84]         BOOTMEM
[    0.000000]   #12 [0001449bc0 - 0001449c80]         BOOTMEM
[    0.000000]   #13 [0001449c80 - 0001449d08]         BOOTMEM
[    0.000000]   #14 [000144b000 - 000144e000]         BOOTMEM
[    0.000000]   #15 [0001449d40 - 0001449df8]         BOOTMEM
[    0.000000]   #16 [000144e000 - 0001451000]         BOOTMEM
[    0.000000]   #17 [0001449e00 - 0001449e90]         BOOTMEM
[    0.000000]   #18 [0001449ec0 - 0001449f00]         BOOTMEM
[    0.000000]   #19 [0001449f00 - 0001449f40]         BOOTMEM
[    0.000000]   #20 [0001449f40 - 0001449f80]         BOOTMEM
[    0.000000]   #21 [0001449f80 - 0001449f9a]         BOOTMEM
[    0.000000]   #22 [0001449fc0 - 0001449fda]         BOOTMEM
[    0.000000]   #23 [0001453000 - 0001463000]         BOOTMEM
[    0.000000]   #24 [0001463000 - 0001463004]         BOOTMEM
[    0.000000]   #25 [0001463040 - 0001463044]         BOOTMEM
[    0.000000]   #26 [0001463080 - 0001463084]         BOOTMEM
[    0.000000]   #27 [00014630c0 - 00014630c4]         BOOTMEM
[    0.000000]   #28 [0001463100 - 0001463180]         BOOTMEM
[    0.000000]   #29 [0001463180 - 00014631ac]         BOOTMEM
[    0.000000]   #30 [00014631c0 - 00014671c0]         BOOTMEM
[    0.000000]   #31 [00014671c0 - 00014e71c0]         BOOTMEM
[    0.000000]   #32 [00014e71c0 - 00015271c0]         BOOTMEM
[    0.000000] Initializing HighMem for node 0 (0002d3fe:0006a400)
[    0.000000] Memory: 1713860k/1740800k available (2121k kernel code,
26552k reserved, 1275k data, 344k init, 999432k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xf571e000 - 0xf57ff000   ( 900 kB)
[    0.000000]     pkmap   : 0xf5400000 - 0xf5600000   (2048 kB)
[    0.000000]     vmalloc : 0xedbfe000 - 0xf53fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xed3fe000   ( 723 MB)
[    0.000000]       .init : 0xc1352000 - 0xc13a8000   ( 344 kB)
[    0.000000]       .data : 0xc121266b - 0xc1351500   (1275 kB)
[    0.000000]       .text : 0xc1000000 - 0xc121266b   (2121 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:512
[    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] Detected 2659.994 MHz processor.
[    0.004000] Calibrating delay loop (skipped), value calculated
using timer frequency.. 5319.98 BogoMIPS (lpj=10639976)
[    0.004000] Security Framework initialized
[    0.004000] SELinux:  Disabled at boot.
[    0.004000] Mount-cache hash table entries: 512
[    0.004000] Initializing cgroup subsys ns
[    0.004000] Initializing cgroup subsys cpuacct
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] CPU: Unsupported number of siblings 4
[    0.004000] Performance Events: Core2 events,
[    0.004000] no APIC, boot with the "lapic" boot parameter to force-enable it.
[    0.004000] no hardware sampling interrupt available.
[    0.004000] Intel PMU driver.
[    0.004000] ... version:                2
[    0.004000] ... bit width:              40
[    0.004000] ... generic registers:      2
[    0.004000] ... value mask:             000000ffffffffff
[    0.004000] ... max period:             000000007fffffff
[    0.004000] ... fixed-purpose events:   3
[    0.004000] ... event mask:             0000000700000003
[    0.004000] SMP alternatives: switching to UP code
[    0.025930] Freeing SMP alternatives: 16k freed
[    0.028065] Brought up 1 CPUs
[    0.028159] devtmpfs: initialized
[    0.028342] Grant table initialized
[    0.028374] NET: Registered protocol family 16
[    0.032220] PCI: Fatal: No config space access function found
[    0.033300] bio: create slab <bio-0> at 0
[    0.033349] ACPI: Interpreter disabled.
[    0.033401] xen_balloon: Initialising balloon driver.
[    0.040267] vgaarb: loaded
[    0.040388] PCI: System does not support PCI
[    0.040394] PCI: System does not support PCI
[    0.040501] NetLabel: Initializing
[    0.040507] NetLabel:  domain hash size = 128
[    0.040511] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.040524] NetLabel:  unlabeled traffic allowed by default
[    0.040564] Switching to clocksource xen
[    0.040622] pnp: PnP ACPI: disabled
[    0.040985] NET: Registered protocol family 2
[    0.041009] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.041108] TCP established hash table entries: 131072 (order: 8,
1048576 bytes)
[    0.041597] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.041848] TCP: Hash tables configured (established 131072 bind 65536)
[    0.041855] TCP reno registered
[    0.041859] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.041879] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.041933] NET: Registered protocol family 1
[    0.041968] Unpacking initramfs...
[    0.049691] Freeing initrd memory: 4504k freed
[    0.051109] platform rtc_cmos: registered platform RTC device (no
PNP device found)
[    0.051608] audit: initializing netlink socket (disabled)
[    0.051624] type=2000 audit(1294934590.244:1): initialized
[    0.063709] highmem bounce pool size: 64 pages
[    0.063718] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.065891] VFS: Disk quotas dquot_6.5.2
[    0.065952] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.066056] msgmni has been set to 1404
[    0.066293] alg: No test for stdrng (krng)
[    0.066386] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 254)
[    0.066395] io scheduler noop registered (default)
[    0.070394] loop: module loaded
[    0.070533] PNP: No PS/2 controller found. Probing ports directly.
[    0.071433] mice: PS/2 mouse device common for all mice
[    0.071475] cpuidle: using governor ladder
[    0.071480] cpuidle: using governor menu
[    0.071533] TCP cubic registered
[    0.071538] NET: Registered protocol family 17
[    0.071556] Using IPI No-Shortcut mode
[    0.071694] registered taskstats version 1
[    0.071708] XENBUS: Device with no driver: device/vif/0
[    0.071713] XENBUS: Device with no driver: device/vbd/2050
[    0.071718] XENBUS: Device with no driver: device/vbd/2064
[    0.071722] XENBUS: Device with no driver: device/vbd/2051
[    0.071797] Freeing unused kernel memory: 344k freed
[    0.072454] Write protecting the kernel text: 2124k
[    0.072695] Write protecting the kernel read-only data: 952k
Red Hat nash version 5.1.19.6 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading xen-blkfront.ko module
[    0.456365] blkfront device/vbd/2050 num-ring-pages 1 nr_ents 32.
[    0.460302] blkfront device/vbd/2064 num-ring-pages 1 nr_ents 32.
[    0.484444] blkfront device/vbd/2051 num-ring-pages 1 nr_ents 32.
[    0.487167] blkfront: regular deviceid=0x802 major,minor=8,2,
assuming parts/disk=16
[    0.488610] blkfront: regular deviceid=0x810 major,minor=8,16,
assuming parts/disk=16
[    0.488850]  xvdb: unknown partition table
[    0.559870] blkfront: regular deviceid=0x803 major,minor=8,3,
assuming parts/disk=16
Loading xen-blkfront.ko module
insmod: error inserting '/lib/xen-blkfront.ko': -1 File exists
Loading dm-mod.ko module
[    0.638849] device-mapper: uevent: version 1.0.3
[    0.668150] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05)
initialised: dm-devel@xxxxxxxxxx
Loading dm-log.ko module
Loading dm-region-hash.ko module
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Loading dm-region-hash.ko module
insmod: error inserting '/lib/dm-region-hash.ko': -1 File exists
Loading xen-blkfront.ko module
insmod: error inserting '/lib/xen-blkfront.ko': -1 File exists
Loading xen-netfront.ko module
[    0.815832] Initialising Xen virtual ethernet driver.
Loading xen-netfront.ko module
insmod: error inserting '/lib/xen-netfront.ko': -1 File exists
Scanning and configuring dmraid supported devices
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
[    1.180307] Kernel panic - not syncing: Attempted to kill init!
[    1.180321] Pid: 1, comm: init Not tainted 2.6.34.7-56.40.i686 #1
[    1.180328] Call Trace:
[    1.180339]  [<c120bb0d>] ? printk+0xf/0x12
[    1.180345]  [<c120ba8f>] panic+0x38/0xa7
[    1.180353]  [<c1036887>] do_exit+0x5d/0x631
[    1.180360]  [<c1210304>] ? do_page_fault+0x265/0x2c0
[    1.180366]  [<c1036ec5>] do_group_exit+0x6a/0x93
[    1.180372]  [<c1036f01>] sys_exit_group+0x13/0x17
[    1.180377]  [<c120d8b4>] syscall_call+0x7/0xb
[    1.180385]  [<c1200000>] ? _cpu_down+0x177/0x248
- - - < s n i p > - - -

Thank you in advance.

Regards,

GNUbie

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users