Gentoo Archives: gentoo-user-ru

From: Nikita Kipriyanov <merlin@×××××.ru>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] DomU повисает в процессе загрузки
Date: Thu, 12 Apr 2012 08:27:59
Message-Id: 4F86927F.4020804@rterm.ru
In Reply to: [gentoo-user-ru] DomU повисает в процессе загрузки by Konstantin
1 12.04.2012 12:18, Konstantin пишет:
2 > Приветствую!
3 >
4 > Итак, я добрался до запуска DomU. Собрал ядро с frontend модулями,
5 > установил, перепроверил устройства /dev/null /dev/console, на всякий
6 > случай дописав в конфигурационный файл виртуальной машины следующие
7 > строки:
8 > --------------------------------------------------------------------
9 > kernel = "/etc/xen/DomU-kernels/kernel-3.2.12-domU"
10 > memory = 1024
11 > name = "vm0"
12 > disk = ['phy:/dev/vg01/vm0,xvda,w']
13 > root = '/dev/xvda ro'
14 > extra = 'xencons=tty'
15 > vif = ['vifname=veth1, bridge=xenbr0']
16 > vcpus=2
17 > --------------------------------------------------------------------
18 >
19 > Затем попытавшись запустить DOmU командой
20 > # xl create /etc/xen/vm0 -c
21 > вывод застревает на
22 >
23 > --------------------------------------------------------------------
24 > device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@××××××.com
25 > TCP cubic registered
26 > blkfront: xvda: flush diskcache: enabled
27 > xvda: unknown partition table
28 > --------------------------------------------------------------------
29 >
30 > Не могу понять закономерности, но изредка вывод проскакивает дальше:
31 >
32 > --------------------------------------------------------------------
33 > device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@××××××.com
34 > TCP cubic registered
35 > blkfront: xvda: flush diskcache: enabled
36 > xvda: unknown partition table
37 > REISERFS (device xvda): found reiserfs format "3.6" with standard journal
38 > REISERFS (device xvda): using ordered data mode
39 > reiserfs: using flush barriers
40 > REISERFS (device xvda): journal params: device xvda, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
41 > REISERFS (device xvda): checking transaction log (xvda)
42 > REISERFS (device xvda): Using r5 hash to sort names
43 > VFS: Mounted root (reiserfs filesystem) readonly on device 202:0.
44 > Freeing unused kernel memory: 508k freed
45 > INIT: version 2.88 booting
46 >
47 > OpenRC 0.9.8.4 is starting up Gentoo Linux (x86_64) [XENU]
48 >
49 > * Mounting /proc ...
50 > [ ok ]
51 > .........................skipped........................
52 > * Initializing random number generator ...
53 > [ ok ]
54 > INIT: Entering runlevel: 3
55 > * Mounting network filesystems ...
56 > [ ok ]
57 > * Doing udev cleanups
58 > * Starting local
59 > [ ok ]
60 > --------------------------------------------------------------------
61 > … но в конечном итоге все равно повисает. Может у кого-нибудь есть
62 > какие-нибудь идеи ЧЯДНТ? :)
63 >
64 > Еще вывод омрачают следующие строки:
65 > --------------------------------------------------------------------
66 > Switching to clocksource xen
67 > CE: xen increased min_delta_ns to 150000 nsec
68 > CE: xen increased min_delta_ns to 225000 nsec
69 > CE: xen increased min_delta_ns to 337500 nsec
70 > CE: xen increased min_delta_ns to 506250 nsec
71 > CE: xen increased min_delta_ns to 759375 nsec
72 > CE: xen increased min_delta_ns to 1139062 nsec
73 > CE: xen increased min_delta_ns to 1708593 nsec
74 > CE: xen increased min_delta_ns to 2562889 nsec
75 > CE: xen increased min_delta_ns to 3844333 nsec
76 > CE: xen increased min_delta_ns to 5766499 nsec
77 > CE: xen increased min_delta_ns to 8649748 nsec
78 > CE: xen increased min_delta_ns to 10000000 nsec
79 > CE: Reprogramming failure. Giving up
80 > CE: Reprogramming failure. Giving up
81 > hrtimer: interrupt took 5253 ns
82 > CE: xen increased min_delta_ns to 150000 nsec
83 > CE: xen increased min_delta_ns to 225000 nsec
84 > CE: xen increased min_delta_ns to 337500 nsec
85 > CE: xen increased min_delta_ns to 506250 nsec
86 > CE: xen increased min_delta_ns to 759375 nsec
87 > CE: xen increased min_delta_ns to 1139062 nsec
88 > CE: xen increased min_delta_ns to 1708593 nsec
89 > CE: xen increased min_delta_ns to 2562889 nsec
90 > CE: xen increased min_delta_ns to 3844333 nsec
91 > CE: xen increased min_delta_ns to 5766499 nsec
92 > CE: xen increased min_delta_ns to 8649748 nsec
93 > CE: xen increased min_delta_ns to 10000000 nsec
94 > CE: Reprogramming failure. Giving up
95 > CE: Reprogramming failure. Giving up
96 > CE: Reprogramming failure. Giving up
97 > --------------------------------------------------------------------
98 > Насколько я понимаю, это уже не критичная ошибка и грозит неточным
99 > расчетом времени. Верно?
100 >
101 судя по всему, у вас ФС прямо на xvda. Лучше сделать это устройствао
102 просто назвать xvda1:
103
104 disk = ['phy:/dev/vg01/vm0,xvda1,w']
105 root = '/dev/xvda1 ro'
106
107 тогда оно не будет искать на ней partititon table
108
109
110 --
111 Никита Киприянов, ООО "Р-Терминал"
112
113 Тел.: +7 (473) 2000111, 2404243, доб. 913
114 E-mail: merlin@×××××.ru
115 Jabber ID: merlin@×××××.ru

Attachments

File name MIME type
merlin.vcf text/x-vcard

Replies