All of lore.kernel.org
 help / color / mirror / Atom feed
From: David F Barrera <dfbp@us.ibm.com>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	Ryan Harper <ryanh@us.ibm.com>,
	xen-devel@lists.xensource.com, "Nakajima,
	Jun" <jun.nakajima@intel.com>
Subject: Re: x86_64 SLES 9 SP2 build break
Date: Fri, 19 Aug 2005 15:06:03 -0500	[thread overview]
Message-ID: <43063BAB.1060302@us.ibm.com> (raw)
In-Reply-To: <43063352.8000205@us.ibm.com>

OK. More info on the x86_64 build on SLES 9 SP2. It built and booted 
fine; however, when I can't create a domU.

When attempting to create domU, it gives me the VFS: Unable to mount 
root fs on unknown-block (0,0) message.
This configurations have routinely worked before, so it is not a setup 
issue.

 From console:

bl2-1 login: (XEN) (file=traps.c, line=878) Non-priv domain attempted 
RDMSR(0000
0000c0000080,00020000,00020000).
(XEN) (file=traps.c, line=870) Non-priv domain attempted 
WRMSR(00000000c0000100,
00000000,00000000).
(XEN) (file=traps.c, line=870) Non-priv domain attempted 
WRMSR(00000000c0000102,
00000000,00000000).
(XEN) (file=traps.c, line=878) Non-priv domain attempted 
RDMSR(00000000c0000080,
00000000,00000000).
stop_this_cpu disable_local_APIC
(XEN) (file=grant_table.c, line=523) Bad handle (0).
(XEN) (file=grant_table.c, line=1086) Grant unref rd(1) ld(0) frm(3f485) 
flgs(0)
.
(XEN) (file=traps.c, line=878) Non-priv domain attempted 
RDMSR(00000000c0000080,
00020000,00020000).
(XEN) (file=traps.c, line=870) Non-priv domain attempted 
WRMSR(00000000c0000100,
00000000,00000000).
(XEN) (file=traps.c, line=870) Non-priv domain attempted 
WRMSR(00000000c0000102,
00000000,00000000).
(XEN) (file=traps.c, line=878) Non-priv domain attempted 
RDMSR(00000000c0000080,
00000000,00000000).
stop_this_cpu disable_local_APIC





David F Barrera wrote:

> It seems that the x86_64 build still broken on FC4. It built on SLES 
> 9, but I got the following error on FC4:
>
>
> gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing 
> -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe 
> -I/tmp/xen-unstable.hg/xen/include 
> -I/tmp/xen-unstable.hg/xen/include/asm-x86/mach-generic 
> -I/tmp/xen-unstable.hg/xen/include/asm-x86/mach-default -O3 
> -fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic 
> -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG -DVERBOSE 
> -c physdev.c -o physdev.o
> cc1: warnings being treated as errors
> physdev.c: In function âdo_physdev_opâ:
> physdev.c:109: warning: pointer targets in assignment differ in 
> signedness
> make[3]: *** [physdev.o] Error 1
> make[3]: Leaving directory `/tmp/xen-unstable.hg/xen/arch/x86'
> make[2]: *** [/tmp/xen-unstable.hg/xen/xen] Error 2
> make[2]: Leaving directory `/tmp/xen-unstable.hg/xen'
> make[1]: *** [xen] Error 2
> make[1]: Leaving directory `/tmp/xen-unstable.hg'
> make: *** [world] Error 2
>
>
> Nakajima, Jun wrote:
>
>> Ryan Harper wrote:
>>  
>>
>>>>> You need x86_64 to run ASAP, not HOTPLUG_CPU for x86_64 smp,
>>>>> correct?       
>>>>
>>>> No, we _do_ need HOTPLUG_CPU for x86_64 smp. The build problem is
>>>> not a big deal.
>>>>     
>>>
>>> Ah. OK.  I don't think it will be a problem for Xen, but currently in
>>> plain linux-2.6.13-rc6 (which has x86_64 HOTPLUG_CPU support),
>>> support is non-functional, at least on my two-way Opteron box.  I can
>>> remove a cpu (echo 0 > /sys/devices/system/cpu/cpu1/online) fine, but
>>> when I try to restore (echo 1), the processor fails to come back. 
>>> Part of this is that they are integrating the physical hotplug
>>> support which requires a full reboot of the processor (a second run
>>> through do_boot_cpu()) since it would have been physically removed.  
>>> I really wanted to see HOTPLUG_CPU work on plain Linux before
>>> bringing the code into XenLinux, but the issues may be tied up in
>>> code that Xen doesn't need.  The hypervisor will have to support
>>> physical hotplug before XenLinux will need it.
>>>   
>>
>>
>> That's right. As long as we handle VCPU, that should be Xen-specific and
>> common between x86 and x86_64 (although smp.c & smpboot.c are slightly
>> different there at this point).
>>
>>  
>>
>>> There are some other subtle differences in HOTPLUG_CPU in the newer
>>> 2.6.13 series for x86_64 compared to the level of HOTPLUG_CPU we have
>>> patched into the 2.6.12 tree.
>>>
>>> I'll go ahead and work up a patch that brings in HOTPLUG_CPU for
>>> x86_64 and share that so we both can work on getting it working.
>>>   
>>
>>
>> Great.
>> Jun
>> ---
>> Intel Open Source Technology Center
>>
>> _______________________________________________
>> 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
>

  reply	other threads:[~2005-08-19 20:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-19 18:41 x86_64 SLES 9 SP2 build break Nakajima, Jun
2005-08-19 19:30 ` David F Barrera
2005-08-19 20:06   ` David F Barrera [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-19 20:03 Ian Pratt
2005-08-19 18:20 Nakajima, Jun
2005-08-19 18:17 Ian Pratt
2005-08-19 18:11 Nakajima, Jun
2005-08-19 18:26 ` Ryan Harper
2005-08-19 17:43 Nakajima, Jun
2005-08-19 17:29 Ian Pratt
2005-08-19 17:13 Nakajima, Jun
2005-08-19 18:07 ` Ryan Harper
2005-08-19 16:43 Ian Pratt
2005-08-19 16:20 Nakajima, Jun
2005-08-19 15:01 David F Barrera
2005-08-19 16:31 ` Steven Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43063BAB.1060302@us.ibm.com \
    --to=dfbp@us.ibm.com \
    --cc=jun.nakajima@intel.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=ryanh@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.