1 |
2007/7/5, Albert Hopkins <marduk@g.o>: |
2 |
> On Thu, 2007-07-05 at 11:36 +0200, Galevsky wrote: |
3 |
> > Many thanks for you suggestion. I tried a boot with no fall back, but |
4 |
> > nothing added neither to boot.log nor to dmesg. I am sure to target |
5 |
> > the right kernel image with no typo into grub.conf . This new kernel |
6 |
> > is a =xen-sources-2.6.16.49, and I configured it making an oldconfig |
7 |
> > based on current =gentoo-sources-2.6.20 running kernel. So, errors |
8 |
> > cannot come from drivers or such things, but specific xen options. |
9 |
> > Does anyone know any xen option able to prevent the kernel to boot up |
10 |
> > ? |
11 |
> |
12 |
> I guess I (still) don't understand what your issue is. So I went back |
13 |
> and read your original post. Maybe I misunderstood it. |
14 |
> |
15 |
> * What do you mean by "remote host"? |
16 |
|
17 |
I rent a dedicated host. Thus, I have no physical access to the |
18 |
machine. And the reason why I used the fall-back feature into grub is |
19 |
to avoid the use of a boring rescue system (via a web interface) to |
20 |
take back the control of a not-responding box. |
21 |
|
22 |
> * If your box "does not boot" how would you expect to see a |
23 |
> boot.log or dmesg ? They don't exist if the system has not |
24 |
> booted. In fact "does not boot" implies that you can't even log |
25 |
> in to check for dmesg or boot logs. Perhaps you can explain |
26 |
> what it is exactly you mean by "does not boot". |
27 |
|
28 |
When I try to boot on the new kernel, I set it as the "default" one in |
29 |
grub.conf and reboot the box. And I wait for a few minutes. Then I try |
30 |
to log on, praying to find the box responding. |
31 |
|
32 |
First, with grub fall-back activated, the boot had fallen back and I |
33 |
was able to read the logs that contained the running kernel logs, but |
34 |
no info about the kernel boot that failed. That was the matter of my |
35 |
first mail: how to read the reasons of the first kernel-boot-attempt |
36 |
failure. |
37 |
|
38 |
Secondly, you advised me to turn fall back off. I do. The box is no |
39 |
more responding after reboot, and I have to launch the "rescue system" |
40 |
to log on my box, and read the /var/log/*. I thought previously that |
41 |
some pb happened -I didn't know when exactly-... and was waiting for |
42 |
more info in log files. But files were empty. So, I conclude that the |
43 |
boot procedure failed (and you too ;o)). |
44 |
|
45 |
Finally, I have to find out why my kernel is not booting. I tuned up |
46 |
well my previous kernel, a gentoo-sources-2.6.20 -this kernel runs |
47 |
currently my box very well- and the kernel I want to boot now is a |
48 |
xen-sources-2.6.16. I made an oldconfig on /proc/config.gz of the |
49 |
2.6.20 running kernel, and fill in xen-dom0 specific options as |
50 |
indicated on the wiki tutorial [1]. So, I guess I did something wrong |
51 |
with the dom0 xen config, and asked for advice on xen specific options |
52 |
with my second post. |
53 |
|
54 |
> * Usually there is an error message on the console if there is a |
55 |
> boot loader/kernel issue with booting. |
56 |
> * Also you never posted your grub.conf. |
57 |
> |
58 |
> So hopefully you can come up with a specific explanation of "does not |
59 |
> boot" as well as your config and any console messages you get. Else |
60 |
> this becomes a "blind leading the blind" issue. |
61 |
|
62 |
I have no console message to provide you, I just know that my remote |
63 |
box is not responding when I try to boot another kernel (If you know |
64 |
the way to get logs, I'll be grateful :o)). And I checked the |
65 |
/var/log/* to be sure that the kernel was not running but just missing |
66 |
any network feature so that I could not log on the box despite the |
67 |
kernel was actually running. |
68 |
|
69 |
As for my grub.conf + 'ls -l /boot' , I will provide you in a while (I |
70 |
need to go home before), but I am not sure it is relevant. (just to |
71 |
check for typo I guess). |
72 |
|
73 |
> -- |
74 |
> Albert W. Hopkins |
75 |
> |
76 |
> -- |
77 |
> gentoo-user@g.o mailing list |
78 |
|
79 |
Many thanks to take care of my problem :o) |
80 |
|
81 |
Gal' |
82 |
|
83 |
[1]: http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo |
84 |
-- |
85 |
gentoo-user@g.o mailing list |