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

Re: [Xen-devel] dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.



On Mon, Oct 28, 2013 at 09:34:31PM +0800, ææå wrote:
> here is my problem:
>  Parsing config file vir2.cfg
> Daemon running with PID 11570
>                              Initializing cgroup subsys cpuset
> Initializing cgroup subsys cpu
> Linux version 3.0.0 (root@xxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.7 20120313 
> (Red Hat 4.4.7-3) (GCC) ) #1 SMP Mon Oct 28 00:35:01 CST 2013
> Command line: root=/dev/hda1 ro 
> ACPI in unprivileged domain disabled
> released 0 pages of unused memory
> Set 0 page(s) to 1-1 mapping.
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 00000000000a0000 (usable)
>  Xen: 00000000000a0000 - 0000000000100000 (reserved)
>  Xen: 0000000000100000 - 0000000040800000 (usable)
> NX (Execute Disable) protection: active
> DMI not present or invalid.
> No AGP bridge found
> last_pfn = 0x40800 max_arch_pfn = 0x400000000
> init_memory_mapping: 0000000000000000-0000000040800000
> RAMDISK: 020a0000 - 02ae1000
> No NUMA configuration found
> Faking a node at 0000000000000000-0000000040800000
> Initmem setup node 0 0000000000000000-0000000040800000
>   NODE_DATA [000000003fdd2000 - 000000003fdf8fff]
> Zone PFN ranges:
>   DMA      0x00000010 -> 0x00001000
>   DMA32    0x00001000 -> 0x00100000
>   Normal   empty
> Movable zone start PFN for each node
> early_node_map[2] active PFN ranges
>     0: 0x00000010 -> 0x000000a0
>     0: 0x00000100 -> 0x00040800
> SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
> SMP: Allowing 1 CPUs, 0 hotplug CPUs
> No local APIC present
> APIC: disable apic facility
> APIC: switched to apic NOOP
> PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
> Allocating PCI resources starting at 40800000 (gap: 40800000:bf800000)
> Booting paravirtualized kernel on Xen
> Xen version: 4.1.3 (preserve-AD)
> setup_percpu: NR_CPUS:4096 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
> PERCPU: Embedded 27 pages/cpu @ffff88003fd87000 s78400 r8192 d24000 u110592
> Built 1 zonelists in Node order, mobility grouping on.  Total pages: 260463
> Policy zone: DMA32
> Kernel command line: root=/dev/hda1 ro 
> PID hash table entries: 4096 (order: 3, 32768 bytes)
> Checking aperture...
> No AGP bridge found
> Memory: 1000952k/1056768k available (5074k kernel code, 448k absent, 55368k 
> reserved, 7271k data, 1456k init)
> Hierarchical RCU implementation.
> NR_IRQS:262400 nr_irqs:256 16
> Console: colour dummy device 80x25
> console [tty0] enabled
> console [hvc0] enabled
> allocated 9437184 bytes of page_cgroup
> please try 'cgroup_disable=memory' option if you don't want memory cgroups
> installing Xen timer for CPU 0
> Detected 2400.030 MHz processor.
> Calibrating delay loop (skipped), value calculated using timer frequency.. 
> 4800.06 BogoMIPS (lpj=2400030)
> pid_max: default: 32768 minimum: 301
> Security Framework initialized
> SELinux:  Initializing.
> Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
> Mount-cache hash table entries: 256
> Initializing cgroup subsys cpuacct
> Initializing cgroup subsys memory
> Initializing cgroup subsys devices
> Initializing cgroup subsys freezer
> Initializing cgroup subsys net_cls
> Initializing cgroup subsys blkio
> Initializing cgroup subsys perf_event
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 0
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 20k freed
> ftrace: allocating 20958 entries in 83 pages
> Performance Events: unsupported p6 CPU model 44 no PMU driver, software 
> events only.
> NMI watchdog disabled (cpu0): hardware events not enabled
> Brought up 1 CPUs
> devtmpfs: initialized
> Grant table initialized
> print_constraints: dummy: 
> 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.
> last_pfn = 0x40800 max_arch_pfn = 0x400000000
> xen-balloon: Initialising balloon driver.
> 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
> Switched to NOHz mode on CPU #0
> pnp: PnP ACPI: disabled
> NET: Registered protocol family 2
> IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
> TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
> TCP bind hash table entries: 65536 (order: 8, 1048576 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
> Trying to unpack rootfs image as initramfs...
> Freeing initrd memory: 10500k freed
> platform rtc_cmos: registered platform RTC device (no PNP device found)
> audit: initializing netlink socket (disabled)
> type=2000 audit(1382994492.703:1): initialized
> HugeTLB registered 2 MB page size, pre-allocated 0 pages
> VFS: Disk quotas dquot_6.5.2
> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> msgmni has been set to 1975
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> Event-channel device installed.
> Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> Non-volatile memory driver v1.3
> Linux agpgart interface v0.103
> ipmi message handler version 39.2
> IPMI System Interface driver.
> ipmi_si: Adding default-specified kcs state machine
> ipmi_si: Trying default-specified kcs state machine at i/o address 0xca2, 
> slave address 0x0, irq 0
> ipmi_si: Interface detection failed
> ipmi_si: Adding default-specified smic state machine
> ipmi_si: Trying default-specified smic state machine at i/o address 0xca9, 
> slave address 0x0, irq 0
> ipmi_si: Interface detection failed
> ipmi_si: Adding default-specified bt state machine
> ipmi_si: Trying default-specified bt state machine at i/o address 0xe4, slave 
> address 0x0, irq 0
> ipmi_si: Interface detection failed
> ipmi_si: Unable to find any System Interface(s)
> brd: module loaded
> loop: module loaded
> Fixed MDIO Bus: probed
> 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
> i8042: PNP: No PS/2 controller found. Probing ports directly.
> i8042: No controller found
> mousedev: PS/2 mouse device common for all mice
> rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
> rtc_cmos: probe of rtc_cmos failed with error -38
> cpuidle: using governor ladder
> cpuidle: using governor menu
> EFI Variables Facility v0.08 2004-May-17
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> TCP cubic registered
> Initializing XFRM netlink socket
> NET: Registered protocol family 17
> registered taskstats version 1
> IMA: No TPM chip found, activating TPM-bypass!
> XENBUS: Device with no driver: device/vbd/769
> XENBUS: Device with no driver: device/vif/0
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> Initializing network drop monitor service
> Freeing unused kernel memory: 1456k freed
> Write protecting the kernel read-only data: 10240k
> Freeing unused kernel memory: 1052k freed
> Freeing unused kernel memory: 1740k freed
> dracut: dracut-004-303.el6
> udev: starting version 147
> udevd (61): /proc/61/oom_adj is deprecated, please use /proc/61/oom_score_adj 
> instead.
> dracut: Starting plymouth daemon
> dracut Warning: No root device "block:/dev/hda1" found
                                  ^^^^^^^^^^^^^^^

And it looks like your initrd is missing the drivers to load the block disk
(See above about XENBUS: Device with no driver: device/vbd/769)

I would recommend you force dracut or mkinitrd (or whatever else is
used to create your initrd) to include the xen-blkfront module.

>  dracut Warning: Boot has failed. To debug this issue add "rdshell" to the 
> kernel command line.
>  
> dracut Warning: Signal caught!
>  dracut Warning: Boot has failed. To debug this issue add "rdshell" to the 
> kernel command line.
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: init Not tainted 3.0.0 #1
> Call Trace:
>  [<ffffffff814e5d7a>] panic+0x91/0x1a8
>  [<ffffffff8106592b>] forget_original_parent+0x32b/0x330
>  [<ffffffff810f6074>] ? task_function_call+0x44/0x50
>  [<ffffffff8106594b>] exit_notify+0x1b/0x190
>  [<ffffffff810669fd>] do_exit+0x1fd/0x430
>  [<ffffffff8115cf03>] ? filp_close+0x63/0x90
>  [<ffffffff81066c81>] do_group_exit+0x51/0xc0
>  [<ffffffff81066d07>] sys_exit_group+0x17/0x20
>  [<ffffffff814f0a82>] system_call_fastpath+0x16/0x1b
>   
>   
>  this is my config file:
>  kernel = "/boot/vmlinuz-3.0.0"
> ramdisk = "/boot/initramfs-3.0.0.img"
> memory = 1024
> name = "vir2"
> vcpus = 1
> vif = ['']
> #vif=["mac=00:16:3e:00:00:22, bridge=xenbr0"]
> ip = "192.168.226.158"
> netmask="255.255.255.0"
> getway="192.168.226.1" 
> disk = ["tap:aio:/home/a/vir/vir2.img,hda1,w"]
> root = "/dev/hda1 ro" 
>  any reply is appreciated.

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


_______________________________________________
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®.