Gentoo Archives: gentoo-user-ru

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

Attachments

File name MIME type
.config-3.2.12-domU.zip application/x-zip-compressed

Replies

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