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

[Xen-users] failed to start domainU, Kernel panic - not syncing: No init found. Try passing init= option to kernel.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "jian zhang" <cheechuang@xxxxxxxxx>
  • Date: Fri, 27 Jul 2007 20:34:17 +0800
  • Delivery-date: Fri, 27 Jul 2007 05:32:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=qgFkpyt0NaypLTGTHvOs2UEiZtV8ihdY2fau7ReWWyNQgiaWZC4n5i4Cuihn8gq/oyAomTkK1AF2ALAUr0yAuMhlgqznbusfE8TbOh4Mi5jke2YwfGRfGnwQZy2pNpc/S9uqabPxrB8pXsA4vxuJQBQqxCDE40lQhStTfG7jUl4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi everyone!
I came across a problem when I used xm create to create a domainU on my machine.
I installed xen-3.0.4 on my computer, running Fedora 6, kernel version is 2.6.18-1.2798.fc.
I want to install a Fedora 6 on xen, so I write the following config file, named fc6.cfg

kernel = "/boot/vmlinuz-2.6.16.33-xenU"
memory = 128
name = "fedora.fc6"
dhcp = "dhcp"
disk = ['file:/opt/fedora6vm/fedora.fc6.img,hda7,w']
root = "/dev/hda7 ro"

when I use the command xm create -c fc6.cfg, I get the following messages:
[root@localhost fedora6vm]# xm create -c fc6.cfg
Using config file "./fc6.cfg".
Started domain fedora.fc6
Linux version 2.6.16.33-xenU (root@xxxxxxxxxxxxxxxxxxxxx) (gcc 版本 4.1.1 20061011 (Red Hat 4.1.1-30)) #2 SMP Thu Jul 26 17:44:35 CST 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
Built 1 zonelists
Kernel command line: ip=:1.2.3.4::::eth0:dhcp root=/dev/hda7 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2992.498 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb7fe000, maxmem 33ffe000
Memory: 126360k/139264k available (1792k kernel code, 4556k reserved, 532k data, 140k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5988.98 BogoMIPS (lpj=29944938)
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
Registering block device major 3
blkfront: hda7: barriers enabled
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
IP-Config: Device `eth0' not found.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 140k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[root@localhost fedora6vm]# xm create -c fc6.cfg
Using config file "./fc6.cfg".
Started domain fedora.fc6
Linux version 2.6.16.33-xenU (root@xxxxxxxxxxxxxxxxxxxxx) (gcc 版本 4.1.1 20061011 (Red Hat 4.1.1-30)) #2 SMP Thu Jul 26 17:44:35 CST 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
Built 1 zonelists
Kernel command line: ip=:1.2.3.4::::eth0:dhcp root=/dev/hda7 ro
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2992.498 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb7fe000, maxmem 33ffe000
Memory: 126360k/139264k available (1792k kernel code, 4556k reserved, 532k data, 140k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5988.98 BogoMIPS (lpj=29944938)
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
Registering block device major 3
blkfront: hda7: barriers enabled
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
IP-Config: Device `eth0' not found.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 140k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

I don't know what's the reason of this. You can see my fdisk -l information as this:
[root@localhost fedora6vm]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/hda2            8684        9728     8393962+   7  HPFS/NTFS
/dev/hda3            2551        8683    49263322+   f  W95 Ext'd (LBA)
/dev/hda5            2551        4717    17406396    7  HPFS/NTFS
/dev/hda6            4718        4730      104391   83  Linux
/dev/hda7            4731        5738     8096728+  8e  Linux LVM
/dev/hda8            5739        8683    23655681    7  HPFS/NTFS

Partition table entries are not in disk order


Can any body help me ? Thank you very much !!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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