Masaki Kanno
2010-Jan-14 01:51 UTC
[Xen-devel] Domain-0 kernel boot failure with xen-unstable and linux-2.6.18-xen
Hi, I have encountered a problem with xen-unstable and linux-2.6.18-xen. The problem is that Domain-0 kernel is not booted. I''m pinpointing a changeset causing the problem. xen-unstable linux-2.6.18-xen result cs:20597 cs:959 success cs:20654 cs:962 success cs:20702 cs:967 success cs:20744 cs:970 failure cs:20779 cs:981 failure Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 02:57 UTC
Re: [Xen-devel] Domain-0 kernel boot failure with xen-unstable andlinux-2.6.18-xen
Thu, 14 Jan 2010 10:51:45 +0900, Masaki Kanno wrote:>Hi, > >I have encountered a problem with xen-unstable and linux-2.6.18-xen. >The problem is that Domain-0 kernel is not booted. I''m pinpointing >a changeset causing the problem. > >xen-unstable linux-2.6.18-xen result >cs:20597 cs:959 success >cs:20654 cs:962 success >cs:20702 cs:967 successcs:20714 cs:969 failure cs:20729 cs:970 failure>cs:20744 cs:970 failure >cs:20779 cs:981 failure >Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 05:45 UTC
Re: [Xen-devel] Domain-0 kernel boot failure with xen-unstableandlinux-2.6.18-xen
Thu, 14 Jan 2010 11:57:20 +0900, Masaki Kanno wrote:>Thu, 14 Jan 2010 10:51:45 +0900, Masaki Kanno wrote: > >>Hi, >> >>I have encountered a problem with xen-unstable and linux-2.6.18-xen. >>The problem is that Domain-0 kernel is not booted. I''m pinpointing >>a changeset causing the problem. >> >>xen-unstable linux-2.6.18-xen result >>cs:20597 cs:959 success >>cs:20654 cs:962 success >>cs:20702 cs:967 successcs:20704 cs:967 success cs:20710 cs:967 failure> cs:20714 cs:969 failure > cs:20729 cs:970 failure >>cs:20744 cs:970 failure >>cs:20779 cs:981 failureBest regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 06:18 UTC
Re: [Xen-devel] Domain-0 kernel boot failure withxen-unstableandlinux-2.6.18-xen
Thu, 14 Jan 2010 14:45:07 +0900, Masaki Kanno wrote:>Thu, 14 Jan 2010 11:57:20 +0900, Masaki Kanno wrote: > >>Thu, 14 Jan 2010 10:51:45 +0900, Masaki Kanno wrote: >> >>>Hi, >>> >>>I have encountered a problem with xen-unstable and linux-2.6.18-xen. >>>The problem is that Domain-0 kernel is not booted. I''m pinpointing >>>a changeset causing the problem. >>> >>>xen-unstable linux-2.6.18-xen result >>>cs:20597 cs:959 success >>>cs:20654 cs:962 success >>>cs:20702 cs:967 success > cs:20704 cs:967 successcs:20705 cs:967 failure> cs:20710 cs:967 failure >> cs:20714 cs:969 failure >> cs:20729 cs:970 failure >>>cs:20744 cs:970 failure >>>cs:20779 cs:981 failureThe problem occurs by xen-unstable changeset 20705. I can pinpoint the changeset causing the problem, but I cannot find out a bug in the changeset... Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2010-Jan-14 09:05 UTC
Re: [Xen-devel] Domain-0 kernel boot failure withxen-unstableandlinux-2.6.18-xen
You forgot to tell us in what way the boot fails. Jan>>> Masaki Kanno <kanno.masaki@jp.fujitsu.com> 14.01.10 07:18 >>>Thu, 14 Jan 2010 14:45:07 +0900, Masaki Kanno wrote:>Thu, 14 Jan 2010 11:57:20 +0900, Masaki Kanno wrote: > >>Thu, 14 Jan 2010 10:51:45 +0900, Masaki Kanno wrote: >> >>>Hi, >>> >>>I have encountered a problem with xen-unstable and linux-2.6.18-xen. >>>The problem is that Domain-0 kernel is not booted. I''m pinpointing >>>a changeset causing the problem. >>> >>>xen-unstable linux-2.6.18-xen result >>>cs:20597 cs:959 success >>>cs:20654 cs:962 success >>>cs:20702 cs:967 success > cs:20704 cs:967 successcs:20705 cs:967 failure> cs:20710 cs:967 failure >> cs:20714 cs:969 failure >> cs:20729 cs:970 failure >>>cs:20744 cs:970 failure >>>cs:20779 cs:981 failureThe problem occurs by xen-unstable changeset 20705. I can pinpoint the changeset causing the problem, but I cannot find out a bug in the changeset... Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Jan-14 09:31 UTC
Re: [Xen-devel] Domain-0 kernel boot failure withxen-unstableandlinux-2.6.18-xen
On 14/01/2010 06:18, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote:> cs:20705 cs:967 failure >> cs:20710 cs:967 failure >>> cs:20714 cs:969 failure >>> cs:20729 cs:970 failure >>>> cs:20744 cs:970 failure >>>> cs:20779 cs:981 failure > > The problem occurs by xen-unstable changeset 20705. > I can pinpoint the changeset causing the problem, but I cannot find out > a bug in the changeset...Yes, the changeset does look pretty harmless, at least as far as dom0 booting is concerned. Obviously dom0 boot is working for lots of other people, so perhaps this is also related to the machine you are running on? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 11:07 UTC
Re: [Xen-devel] Domain-0 kernel boot failurewithxen-unstableandlinux-2.6.18-xen
Hi Jan, Thu, 14 Jan 2010 09:05:32 +0000, "Jan Beulich" wrote:>You forgot to tell us in what way the boot fails.Oops! Could you refer to the following about a serial log when the problem occurred? http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00338.html Accurately, the problem is not "Domain-0 kernel boot fails" but "Domain- 0 kernel boot does not start". Best regards, Kan>Jan > >>>> Masaki Kanno <kanno.masaki@jp.fujitsu.com> 14.01.10 07:18 >>> >Thu, 14 Jan 2010 14:45:07 +0900, Masaki Kanno wrote: > >>Thu, 14 Jan 2010 11:57:20 +0900, Masaki Kanno wrote: >> >>>Thu, 14 Jan 2010 10:51:45 +0900, Masaki Kanno wrote: >>> >>>>Hi, >>>> >>>>I have encountered a problem with xen-unstable and linux-2.6.18-xen. >>>>The problem is that Domain-0 kernel is not booted. I''m pinpointing >>>>a changeset causing the problem. >>>> >>>>xen-unstable linux-2.6.18-xen result >>>>cs:20597 cs:959 success >>>>cs:20654 cs:962 success >>>>cs:20702 cs:967 success >> cs:20704 cs:967 success > cs:20705 cs:967 failure >> cs:20710 cs:967 failure >>> cs:20714 cs:969 failure >>> cs:20729 cs:970 failure >>>>cs:20744 cs:970 failure >>>>cs:20779 cs:981 failure > >The problem occurs by xen-unstable changeset 20705. >I can pinpoint the changeset causing the problem, but I cannot find out >a bug in the changeset... > >Best regards, > Kan > > > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel > > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Jan-14 11:26 UTC
Re: [Xen-devel] Domain-0 kernel boot failurewithxen-unstableandlinux-2.6.18-xen
On 14/01/2010 11:07, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote:> Hi Jan, > > Thu, 14 Jan 2010 09:05:32 +0000, "Jan Beulich" wrote: > >> You forgot to tell us in what way the boot fails. > > Oops! Could you refer to the following about a serial log when the > problem occurred? > > http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00338.html > > Accurately, the problem is not "Domain-0 kernel boot fails" but "Domain- > 0 kernel boot does not start".I don''t know how much experience with kernel issues you have, but I would take the EIP from the CPU0 guest dump in that log file (the EIP is c01edc67) and look at that code address in a disassembly of the dom0 kernel image (objdump -d vmlinux). Seeing what function you''re in would be a good start. ''addr2line -e vmlinux c01edc67'' would also be useful: tells you the source file and line number. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 11:33 UTC
Re: [Xen-devel] Domain-0 kernel boot failurewithxen-unstableandlinux-2.6.18-xen
Thu, 14 Jan 2010 09:31:53 +0000, Keir Fraser wrote:>On 14/01/2010 06:18, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote: > >> cs:20705 cs:967 failure >>> cs:20710 cs:967 failure >>>> cs:20714 cs:969 failure >>>> cs:20729 cs:970 failure >>>>> cs:20744 cs:970 failure >>>>> cs:20779 cs:981 failure >> >> The problem occurs by xen-unstable changeset 20705. >> I can pinpoint the changeset causing the problem, but I cannot find out >> a bug in the changeset... > >Yes, the changeset does look pretty harmless, at least as far as dom0 >booting is concerned. Obviously dom0 boot is working for lots of other >people, so perhaps this is also related to the machine you are running on?Hi Keir, Pentium III 1GHz... I will switch off my machine. Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-14 11:42 UTC
Re: [Xen-devel] Domain-0 kernel bootfailurewithxen-unstableandlinux-2.6.18-xen
Thu, 14 Jan 2010 11:26:12 +0000, Keir Fraser wrote:>On 14/01/2010 11:07, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote: > >> Hi Jan, >> >> Thu, 14 Jan 2010 09:05:32 +0000, "Jan Beulich" wrote: >> >>> You forgot to tell us in what way the boot fails. >> >> Oops! Could you refer to the following about a serial log when the >> problem occurred? >> >> http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00338.html >> >> Accurately, the problem is not "Domain-0 kernel boot fails" but "Domain- >> 0 kernel boot does not start". > >I don''t know how much experience with kernel issues you have, but I would >take the EIP from the CPU0 guest dump in that log file (the EIP is c01edc67) >and look at that code address in a disassembly of the dom0 kernel image >(objdump -d vmlinux). Seeing what function you''re in would be a good start. >''addr2line -e vmlinux c01edc67'' would also be useful: tells you the source >file and line number. >Thanks Keir. I will try it tomorrow. Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-15 12:35 UTC
Re: [Xen-devel] Domain-0 kernelbootfailurewithxen-unstableandlinux-2.6.18-xen
Thu, 14 Jan 2010 20:42:07 +0900, Masaki Kanno wrote:>Thu, 14 Jan 2010 11:26:12 +0000, Keir Fraser wrote: > >>On 14/01/2010 11:07, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote: >> >>> Hi Jan, >>> >>> Thu, 14 Jan 2010 09:05:32 +0000, "Jan Beulich" wrote: >>> >>>> You forgot to tell us in what way the boot fails. >>> >>> Oops! Could you refer to the following about a serial log when the >>> problem occurred? >>> >>> http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00338.html >>> >>> Accurately, the problem is not "Domain-0 kernel boot fails" but "Domain- >>> 0 kernel boot does not start". >> >>I don''t know how much experience with kernel issues you have, but I would >>take the EIP from the CPU0 guest dump in that log file (the EIP is c01edc67) >>and look at that code address in a disassembly of the dom0 kernel image >>(objdump -d vmlinux). Seeing what function you''re in would be a good start. >>''addr2line -e vmlinux c01edc67'' would also be useful: tells you the source >>file and line number. >>I was not able to have enough working times to investigate the problem today. The problem still occurs with xen-4.0.0-rc2-pre. Attached the serial log. EIP:c01ed6c7 is the following function. c01ed6b0 <read_current_timer>: c01ed6b0: 81 3d 54 1f 37 c0 80 cmpl $0xc01ed680,0xc0371f54 c01ed6b7: d6 1e c0 c01ed6ba: 89 c1 mov %eax,%ecx c01ed6bc: b8 ff ff ff ff mov $0xffffffff,%eax c01ed6c1: 74 02 je c01ed6c5 <read_current_timer+0x15> c01ed6c3: f3 c3 repz ret c01ed6c5: 0f 31 rdtsc c01ed6c7: 89 01 mov %eax,(%ecx) c01ed6c9: 31 c0 xor %eax,%eax c01ed6cb: c3 ret c01ed6cc: 8d 74 26 00 lea 0x0(%esi),%esi Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2010-Jan-18 15:18 UTC
Re: [Xen-devel] Domain-0 kernel boot failure withxen-unstableandlinux-2.6.18-xen
On 14/01/2010 06:18, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote:> cs:20705 cs:967 failure >> cs:20710 cs:967 failure >>> cs:20714 cs:969 failure >>> cs:20729 cs:970 failure >>>> cs:20744 cs:970 failure >>>> cs:20779 cs:981 failure > > The problem occurs by xen-unstable changeset 20705. > I can pinpoint the changeset causing the problem, but I cannot find out > a bug in the changeset...Masaki, Please try the attached patch. We can put it in 4.0.0-rc2 if it works well for you. Thanks, Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Masaki Kanno
2010-Jan-19 10:14 UTC
Re: [Xen-devel] Domain-0 kernel boot failurewithxen-unstableandlinux-2.6.18-xen
Hi Keir, Great!! Domain-0 kernel is running on my machine by the patch. Best regards, Kan Mon, 18 Jan 2010 15:18:08 +0000, Keir Fraser wrote:>On 14/01/2010 06:18, "Masaki Kanno" <kanno.masaki@jp.fujitsu.com> wrote: > >> cs:20705 cs:967 failure >>> cs:20710 cs:967 failure >>>> cs:20714 cs:969 failure >>>> cs:20729 cs:970 failure >>>>> cs:20744 cs:970 failure >>>>> cs:20779 cs:981 failure >> >> The problem occurs by xen-unstable changeset 20705. >> I can pinpoint the changeset causing the problem, but I cannot find out >> a bug in the changeset... > >Masaki, > >Please try the attached patch. We can put it in 4.0.0-rc2 if it works well >for you. > > Thanks, > Keir > > >-------------------------------text/plain------------------------------- >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel