Gentoo Archives: gentoo-server

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] DomU freezes in the middle of booting
Date: Thu, 12 Apr 2012 10:09:36
Message-Id: CAA2qdGU__8xNV+RP+b1+hvyO9Kf32pvcH-9z5R9abMswa7idjQ@mail.gmail.com
In Reply to: Re: [gentoo-server] DomU freezes in the middle of booting by Konstantin
1 On Apr 12, 2012 4:57 PM, "Konstantin" <konstantin@××××××××.com> wrote:
2 >
3 > Hello,
4 >
5 > With the help of Nikita, I've figured out how to get rid of
6 > "xvda: unknown partition table"
7 >
8 > I have to use /dev/xvda1 not the /dev/xvda
9 >
10 > -------------------------------------
11 > disk = ['phy:/dev/vg01/vm0,xvda,w']
12 > root = '/dev/xvda ro'
13 > -------------------------------------
14 >
15 > changed to:
16 >
17 > -------------------------------------
18 > disk = ['phy:/dev/vg01/vm0,xvda1,w']
19 > root = '/dev/xvda1 ro'
20 > -------------------------------------
21 >
22 > Anyway booting freezes. Once I've saw:
23 >
24 > -------------------------------------
25 > TCP cubic registered
26 > XENBUS: Waiting for devices to initialise:
27 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...
28 > XENBUS: Timeout connecting to device: device/vbd/51713 (local state 3,
29 remote state 1)
30 > XENBUS: Timeout connecting to device: device/vif/0 (local state 1, remote
31 state 1)
32 > VFS: Cannot open root device "xvda1" or unknown-block(0,0)
33 > Please append a correct "root=" boot option; here are the available
34 partitions:
35 > Kernel panic - not syncing: VFS: Unable to mount root fs on
36 unknown-block(0,0)
37 > Pid: 1, comm: swapper/0 Not tainted 3.2.12-gentoo #2
38 > Call Trace:
39 > [<ffffffff81318ebd>] ? panic+0x92/0x199
40 > [<ffffffff81319004>] ? printk+0x40/0x4c
41 > [<ffffffff814f4e2e>] ? mount_block_root+0x238/0x24f
42 > [<ffffffff814f4fc0>] ? prepare_namespace+0x12c/0x156
43 > [<ffffffff814f4b3e>] ? kernel_init+0x10a/0x113
44 > [<ffffffff8131d074>] ? kernel_thread_helper+0x4/0x10
45 > [<ffffffff8131bd33>] ? int_ret_from_sys_call+0x7/0x1b
46 > [<ffffffff8131b43c>] ? retint_restore_args+0x5/0x6
47 > [<ffffffff8131d070>] ? gs_change+0x13/0x13
48 > -------------------------------------
49 >
50 > So I guess may be it's related to some DomU kernel configuration
51 > problem? I've attached it to this letter.
52 >
53 > test # cat .config | grep XEN
54 > CONFIG_XEN=y
55 > CONFIG_XEN_DOM0=y
56 > CONFIG_XEN_PRIVILEGED_GUEST=y
57 > CONFIG_XEN_PVHVM=y
58 > CONFIG_XEN_MAX_DOMAIN_MEMORY=128
59 > CONFIG_XEN_SAVE_RESTORE=y
60 > # CONFIG_XEN_DEBUG_FS is not set
61 > CONFIG_PCI_XEN=y
62 > CONFIG_XEN_PCIDEV_FRONTEND=y
63 > CONFIG_XEN_BLKDEV_FRONTEND=y
64 > CONFIG_NETXEN_NIC=m
65 > CONFIG_XEN_NETDEV_FRONTEND=y
66 > CONFIG_HVC_XEN=y
67 > CONFIG_XEN_BALLOON=y
68 > CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y
69 > CONFIG_XEN_SCRUB_PAGES=y
70 > CONFIG_XEN_DEV_EVTCHN=y
71 > # CONFIG_XEN_BACKEND is not set
72 > CONFIG_XENFS=y
73 > CONFIG_XEN_COMPAT_XENFS=y
74 > CONFIG_XEN_SYS_HYPERVISOR=y
75 > CONFIG_XEN_XENBUS_FRONTEND=y
76 > CONFIG_XEN_GNTDEV=m
77 > CONFIG_XEN_GRANT_DEV_ALLOC=m
78 > CONFIG_SWIOTLB_XEN=y
79 >
80 > --
81 > Konstantin
82
83 Have you tried:
84
85 root = '/dev/xvda1'
86
87 That is, without 'ro'?
88
89 Rgds,

Replies

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