Gentoo Archives: gentoo-server

From: Andrey Korolyov <xdel@×××××.ru>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] DomU freezes in the middle of booting
Date: Thu, 12 Apr 2012 10:18:46
Message-Id: CABYiri90ST2r8ASrZj_8xAnoj6_Swjr14=Tbj3v6_wQDH2w10A@mail.gmail.com
In Reply to: Re: [gentoo-server] DomU freezes in the middle of booting by Andrey Korolyov
1 Sorry, I have missed because of savvy Gmail interface - the answer
2 belongs to disappearance of login prompt.
3
4 On Thu, Apr 12, 2012 at 2:09 PM, Andrey Korolyov <xdel@×××××.ru> wrote:
5 > Should be googled easily: you need to modify your inittab adding
6 > entries for xen virtual console
7 >
8 > hvc0:2345:respawn:/sbin/getty 38400 hvc0
9 > xvc0:2345:respawn:/sbin/getty 38400 xvc0
10 >
11 > On Thu, Apr 12, 2012 at 1:55 PM, Konstantin <konstantin@××××××××.com> wrote:
12 >> Hello,
13 >>
14 >> With the help of Nikita, I've figured out how to get rid of
15 >> "xvda: unknown partition table"
16 >>
17 >> I have to use /dev/xvda1 not the /dev/xvda
18 >>
19 >> -------------------------------------
20 >> disk   = ['phy:/dev/vg01/vm0,xvda,w']
21 >> root   = '/dev/xvda ro'
22 >> -------------------------------------
23 >>
24 >> changed to:
25 >>
26 >> -------------------------------------
27 >> disk   = ['phy:/dev/vg01/vm0,xvda1,w']
28 >> root   = '/dev/xvda1 ro'
29 >> -------------------------------------
30 >>
31 >> Anyway booting freezes. Once I've saw:
32 >>
33 >> -------------------------------------
34 >> TCP cubic registered
35 >> XENBUS: Waiting for devices to initialise: 295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
36 >> XENBUS: Timeout connecting to device: device/vbd/51713 (local state 3, remote state 1)
37 >> XENBUS: Timeout connecting to device: device/vif/0 (local state 1, remote state 1)
38 >> VFS: Cannot open root device "xvda1" or unknown-block(0,0)
39 >> Please append a correct "root=" boot option; here are the available partitions:
40 >> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
41 >> Pid: 1, comm: swapper/0 Not tainted 3.2.12-gentoo #2
42 >> Call Trace:
43 >>  [<ffffffff81318ebd>] ? panic+0x92/0x199
44 >>  [<ffffffff81319004>] ? printk+0x40/0x4c
45 >>  [<ffffffff814f4e2e>] ? mount_block_root+0x238/0x24f
46 >>  [<ffffffff814f4fc0>] ? prepare_namespace+0x12c/0x156
47 >>  [<ffffffff814f4b3e>] ? kernel_init+0x10a/0x113
48 >>  [<ffffffff8131d074>] ? kernel_thread_helper+0x4/0x10
49 >>  [<ffffffff8131bd33>] ? int_ret_from_sys_call+0x7/0x1b
50 >>  [<ffffffff8131b43c>] ? retint_restore_args+0x5/0x6
51 >>  [<ffffffff8131d070>] ? gs_change+0x13/0x13
52 >> -------------------------------------
53 >>
54 >> So I guess may be it's related to some DomU kernel configuration
55 >> problem? I've attached it to this letter.
56 >>
57 >> test # cat .config | grep XEN
58 >> CONFIG_XEN=y
59 >> CONFIG_XEN_DOM0=y
60 >> CONFIG_XEN_PRIVILEGED_GUEST=y
61 >> CONFIG_XEN_PVHVM=y
62 >> CONFIG_XEN_MAX_DOMAIN_MEMORY=128
63 >> CONFIG_XEN_SAVE_RESTORE=y
64 >> # CONFIG_XEN_DEBUG_FS is not set
65 >> CONFIG_PCI_XEN=y
66 >> CONFIG_XEN_PCIDEV_FRONTEND=y
67 >> CONFIG_XEN_BLKDEV_FRONTEND=y
68 >> CONFIG_NETXEN_NIC=m
69 >> CONFIG_XEN_NETDEV_FRONTEND=y
70 >> CONFIG_HVC_XEN=y
71 >> CONFIG_XEN_BALLOON=y
72 >> CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
73 >> CONFIG_XEN_SCRUB_PAGES=y
74 >> CONFIG_XEN_DEV_EVTCHN=y
75 >> # CONFIG_XEN_BACKEND is not set
76 >> CONFIG_XENFS=y
77 >> CONFIG_XEN_COMPAT_XENFS=y
78 >> CONFIG_XEN_SYS_HYPERVISOR=y
79 >> CONFIG_XEN_XENBUS_FRONTEND=y
80 >> CONFIG_XEN_GNTDEV=m
81 >> CONFIG_XEN_GRANT_DEV_ALLOC=m
82 >> CONFIG_SWIOTLB_XEN=y
83 >>
84 >> --
85 >> Konstantin

Replies

Subject Author
Re: [gentoo-server] DomU freezes in the middle of booting Konstantin <konstantin@××××××××.com>