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-devel] DomU kernel panic due to run-init: /sbin/init: No such file

To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] DomU kernel panic due to run-init: /sbin/init: No such file or directory
From: jinho hwang <hwang.jinho@xxxxxxxxx>
Date: Sun, 18 Sep 2011 21:54:45 -0400
Cc:
Delivery-date: Sun, 18 Sep 2011 18:56:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=8Fd7+aPIDF5Wv1iR2cZAUF0KtTTiwHJD/XS1q7dVaj0=; b=Seb1q7XoBwzAiObi4zbMk+mb9Q7o/S8o5fTV1avmYVNyLuPQNSt7QKpOFKCuPrXZJB pDNamUkj9GuFPEQOPgtSIMWdXRPg4VyQj7C/qjSl7bX43h1cICn3XfIcxt1WqVrz3iq5 tRPpq1xdfY9PWs0BV0ZOzqTKLkD7bs/uT5NI4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Hi All,

I'm using xen 4.0.1, kernel 2.6.32.46, and pygrub to boot. It seems that everything is ok until the last part that run-init is executing. The log says that run-init: /sbin/init: No such file or directory... and then kernel panic - not syncing: Attempted to kill init! I'm trying to figure out how to solve this problem.
I mounted my image and checked the /sbin directory, init was there, but when I boot up with xm create, /sbin directory shows no init. Weirdly, the directory contains small number of files including modprobe.

Please, give me any comment if you have.

Thank you,

Jinho

Here is my log.
---
Started domain Jinho (id=18)
                            Reserving virtual address space above 0xf5800000
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32.46 (root@jinho-Dell-DXP061) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.5-15ubuntu1) ) #4 SMP Sun Sep 18 17:17:08 EDT 2011
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
ACPI in unprivileged domain disabled
released 0 pages of unused memory
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 00000000000a0000 (usable)
 Xen: 00000000000a0000 - 0000000000100000 (reserved)
 Xen: 0000000000100000 - 0000000020800000 (usable)
DMI not present or invalid.
last_pfn = 0x20800 max_arch_pfn = 0x1000000
init_memory_mapping: 0000000000000000-0000000020800000
NX (Execute Disable) protection: active
RAMDISK: 00b2b000 - 09b5b000
0MB HIGHMEM available.
520MB LOWMEM available.
  mapped low ram: 0 - 20800000
  low ram: 0 - 20800000
  node 0 low ram: 00000000 - 20800000
  node 0 bootmap 00007000 - 0000b100
(11 early reservations) ==> bootmem [0000000000 - 0020800000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0009bde000 - 0009c30000]   XEN PAGETABLES ==> [0009bde000 - 0009c30000]
  #2 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #3 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
  #4 [0000400000 - 00009ba1c8]    TEXT DATA BSS ==> [0000400000 - 00009ba1c8]
  #5 [0000b2b000 - 0009b5b000]          RAMDISK ==> [0000b2b000 - 0009b5b000]
  #6 [0009b5b000 - 0009bde000]   XEN START INFO ==> [0009b5b000 - 0009bde000]
  #7 [0020000000 - 0020800000]        XEN EXTRA ==> [0020000000 - 0020800000]
  #8 [00009bb000 - 00009c8000]              BRK ==> [00009bb000 - 00009c8000]
  #9 [0000100000 - 00001b1000]          PGTABLE ==> [0000100000 - 00001b1000]
  #10 [0000007000 - 000000c000]          BOOTMAP ==> [0000007000 - 000000c000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal   0x00001000 -> 0x00020800
  HighMem  0x00020800 -> 0x00020800
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x000000a0
    0: 0x00000100 -> 0x00020800
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
Allocating PCI resources starting at 20800000 (gap: 20800000:df800000)
Booting paravirtualized kernel on Xen
Xen version: 4.0.3-rc3-pre (preserve-AD)
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 15 pages/cpu @ca045000 s40344 r0 d21096 u65536
pcpu-alloc: s40344 r0 d21096 u65536 alloc=16*4096
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 131984
Kernel command line: root=/dev/xvda2 ro root=/dev/xvda2 ro ip=:127.0.255.255::::eth0:dhcp
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)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (00000000:00000000)
Memory: 363692k/532480k available (3083k kernel code, 168372k reserved, 1707k data, 472k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf567e000 - 0xf57ff000   (1540 kB)
    pkmap   : 0xf5200000 - 0xf5400000   (2048 kB)
    vmalloc : 0xe1000000 - 0xf51fe000   ( 321 MB)
    lowmem  : 0xc0000000 - 0xe0800000   ( 520 MB)
      .init : 0xc08ae000 - 0xc0924000   ( 472 kB)
      .data : 0xc0702f46 - 0xc08add84   (1707 kB)
      .text : 0xc0400000 - 0xc0702f46   (3083 kB)
Hierarchical RCU implementation.
NR_IRQS:2304 nr_irqs:512
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
installing Xen timer for CPU 0
Detected 2660.038 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5320.07 BogoMIPS (lpj=2660038)
Security Framework initialized
SELinux:  Initializing.
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Unsupported number of siblings 2
Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 14k freed
cpu 0 spinlock event irq 510
Brought up 1 CPUs
Grant table initialized
Time: 165:165:165  Date: 165/165/65
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen_balloon: Initialising balloon driver with page order 0.
last_pfn = 0x20800 max_arch_pfn = 0x1000000
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
Switching to clocksource xen
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 147648k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
apm: BIOS not found.
audit: initializing netlink socket (disabled)
type=2000 audit(1316396556.247:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 998
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
isapnp: ISA Plug & Play support disabled
Event-channel device installed.
registering netback
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
Initialising Xen virtual ethernet driver.
blkfront: xvda2: barriers enabled (tag)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@xxxxxxxxxx
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Bridge firewalling registered
Using IPI No-Shortcut mode
registered taskstats version 1
blkfront: xvda1: barriers enabled (tag)
XENBUS: Device with no driver: device/console/0
  Magic number: 1:252:3141
Freeing unused kernel memory: 472k freed
Write protecting the kernel text: 3084k
Write protecting the kernel read-only data: 1480k
Loading, please wait...
mount: mounting none on /dev failed: No such device
W: devtmpfs not available, falling back to tmpfs for /dev
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with writeback data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
run-init: /sbin/init: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: run-init Not tainted 2.6.32.46 #4
Call Trace:
 [<c06fd11c>] ? printk+0xf/0x13
 [<c06fd055>] panic+0x39/0xf1
 [<c043ff7d>] do_exit+0x5c/0x5cf
 [<c04405c5>] complete_and_exit+0x0/0x17
 [<c04098a9>] syscall_call+0x7/0xb



--
Jinho Hwang
PhD Student
Department of Computer Science
The George Washington University
Washington, DC 20052
hwang.jinho@xxxxxxxxx (email)
276.336.0971 (Cell)
202.994.4875 (fax)
070.8285.6546 (myLg070)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>