WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen compilation is giving errors

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen compilation is giving errors
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Tue, 1 Mar 2011 13:48:49 +0530
Delivery-date: Tue, 01 Mar 2011 00:19:56 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=8r8HdG5pO95qZXTMI/0ng7RybrT8vK3Gul+zrg/SoXk=; b=kzSb/iBMWcoQCUnBlSdgX1F35JNKI8jU5aem/vn/YUfFoaOehB4BhP9AexLKJjKuTt BBdNJ3ecn46ZEmaUhXDAAOE7FNSG5Z+K96f4IgaewDGelUGulf8yWBj2IX6uzfcJ/YZu lX8mzdAIseeUinzDAZSDFW8L4pG8ZjiN2A5+U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=R1g8PCMWj8kE8JoxRVxQAkrUVJMMtqCnIUdJPRAsqmWTa1maCm38gwjZN63yVkLE9F wQud8UA3xtY6qyDutur1WOjiIdQjxWKfNcA6A4wRMYHEiNmc5nkTjllNDciTs5icpWYn r/QhCvMQoe9+WXDotSsCuI8JCXftg2M7KeL4Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinJryB-XR-cnKhFe38s648692YCJS0zvzGk2ayZ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikyAErv3LRozjEPhibBX0K4sGf_C2SJuK4UmXCa@xxxxxxxxxxxxxx> <20110216085701.GA31840@xxxxxxxx> <AANLkTimY9E5j618XVUd9Dj1pGK7S6yd4-j9TPWg59Ug1@xxxxxxxxxxxxxx> <AANLkTikEuN5n0XCJVXvyNDGo0yEUO0LbaurFkibo4Tfr@xxxxxxxxxxxxxx> <20110216105748.GB31840@xxxxxxxx> <AANLkTinRD+XLEJtWPDQbtFr-aPrW+L8CUp_2Bnd-9WPi@xxxxxxxxxxxxxx> <AANLkTi=Uki0VmYkrTc4_OU7aLj+bXgexM5oqaETVBukJ@xxxxxxxxxxxxxx> <AANLkTi=M-keAsbfn+jOB6tcnpLpro5KCPjFqgKegquTo@xxxxxxxxxxxxxx> <AANLkTikxX2XLjxQbSnxvKcZJT47C_BCQxJBSikPPc0Qn@xxxxxxxxxxxxxx> <AANLkTinHkmn0uN21jGwx1obqD2bEOejH52Hjuobf5fVD@xxxxxxxxxxxxxx> <AANLkTinim62Y=uWYnMqWwMfypQ3xeFfkttWiCMzDCxiK@xxxxxxxxxxxxxx> <AANLkTikSPuCt6T6mHcHKhG=DXkJAr15bOZEuAT3W+70p@xxxxxxxxxxxxxx> <AANLkTi=Eu669qJ_dm_ZeQp-xqZ4KsU+-xhq1YUy0PQ2F@xxxxxxxxxxxxxx> <AANLkTimfUjPW+M_cRSGH4YSY4n08eNL_WEaGcHfJ7s8U@xxxxxxxxxxxxxx> <AANLkTimTLnToqUFWWfkh5wT_-brQzOqZ34PpKw4Y+cjy@xxxxxxxxxxxxxx> <AANLkTi=FCvgKEwXRVeu7y_g7j3DjgS_BnAxFtoqccQpC@xxxxxxxxxxxxxx> <AANLkTim2z4yG9W-oDKcY_uAGZvCXVcF4Yev_BFR=Op1S@xxxxxxxxxxxxxx> <AANLkTi=D2Zo+TVWY2m2YzPTgP6b3TcAKaQbgwEk9wHdY@xxxxxxxxxxxxxx> <AANLkTinFLe0GKEzBjrmARUNda_hq9yONJOn1cU_R0o62@xxxxxxxxxxxxxx> <AANLkTimHVh37RaGDVQQ4iv1+usKL7pt-rYeEf247NGTR@xxxxxxxxxxxxxx> <AANLkTikutVLU4VQ33g7svXGYR_ZFu9MdrBMFKFCj+=pn@xxxxxxxxxxxxxx> <AANLkTi=dVeuc2VLPGyFU2=P9baQJjg0nTW=CXKKTSCyN@xxxxxxxxxxxxxx> <AANLkTim4-SX8q5H-a+H=tSCEDQXSckZ9+t=XAAierYgZ@xxxxxxxxxxxxxx> <AANLkTikau7eGHaXT0rqDiVxWTy8Ur2SzcwnCgWYwSmH8@xxxxxxxxxxxxxx> <AANLkTikAVgSvcUx8P7AqCwXJ5SOyid-thSzqef-9-WVP@xxxxxxxxxxxxxx> <AANLkTinXg3Td46mW-_H3KP1abiRAdeo_pzVC3ojA3j2S@xxxxxxxxxxxxxx> <AANLkTi==-gbLv6Hs0P1nV2N6ENUbnZzPEjy2VRQbC3aw@xxxxxxxxxxxxxx> <AANLkTinJryB-XR-cnKhFe38s648692YCJS0zvzGk2ayZ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Mar 1, 2011 at 10:39 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> On Tue, Mar 1, 2011 at 10:01 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
>> On Tue, Mar 1, 2011 at 11:22 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>>>> Is there a way to undo things specially for the make commands?
>>> Ok I read the Makefile
>>> /mnt/1/fajar/xen-4.0.1/Makefile
>>> and found make clean and make uninstall have done the job.(Correct me
>>> if I am mistaken here)
>>> I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on.
>>
>> Since you're able to run "xm", you should only need to recompile the
>> kernel. Start with setting the options I sent to "y" (if it's
>> available, just ignore the ones that doesn't exist on your kernel).
>>
> Ok I was thinking of copying your .config options from this thread to
> the .config of mine if I do that would it be wrong?
> Since you mentioned to ignore the ones that don't exist on my kernel.
>
> Also I found when doing make install-tools
> the git pull was happening from
> buildconfigs/src.git-clone
> so I have commented these lines
>
>
> #               rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \
> #               mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \
> #               $(GIT) clone -o $(XEN_GIT_ORIGIN) -n
> $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
> #               (cd $(LINUX_SRCDIR).tmp; git checkout -b
> $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \
> #               mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \
>
>
> and from buildconfigs/mk.linux-2.6-common
>
>
> #       rm -rf $(LINUX_DIR)
> #       mkdir -p $(LINUX_DIR)
> #       rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR)
> #       rm -rf $(LINUX_SRCDIR)
>
> and what I did is I have a copy of linux-2.6-pvops.git so I manually
> copied it to
> /mnt/1/fajar/xen-4.0.1
> and now restarting process of make install-tools
>
> so my question is above way of commenting out git pull lines and then
> putting them in xen source dir is wrong or can lead to wrong results?
> The only problem being I can not each time do a git pull and wait for
> 4 hours for 850 Mb to download.
> If this is not then I am proceeding this way and going to compile the
> new kernel.
>


Ok finally I am answering my question I have done the way I mentioned
above as git pull was costly.
Things have worked finally without any error and almost perfectly.
for tools I had to use
 make install-tools PYTHON_PREFIX_ARG=

and after that I rebooted


xm info shows
host                   : tapas
release                : 2.6.32.27
version                : #1 SMP Tue Mar 1 12:52:19 IST 2011
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2100
hw_caps                :
bfebfbff:20100800:00000000:00000940:0408e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 3036
free_memory            : 128
node_to_cpu            : node0:0-1
node_to_memory         : node0:128
node_to_dma32_mem      : node0:128
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dummy=dummy
cc_compiler            : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Mar  1 10:51:33 IST 2011
xend_config_format     : 4


and

 xm list shows
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2870     2     r-----     36.9


Let me know if any one sees any error here.I think upto here things
are absolutely perfect.
I have used the .config file you mentioned in this thread and was able
to get all options as you mentioned.
For just sake of information I am mentioning what I got in xen.log
http://pastebin.com/ZJ9BCMLq
and xend-debug.log
http://pastebin.com/C6DQ5DP3

I was able to get Dom0 booting.
I wish if after this I can use my wireless also in Dom0.


The device on Dom0 I has PCI Id 14e4:4315


when booted with this new kernel pv-ops Dom0 kernel 2.6.32.27 checked
lspci -vnn
it shows

0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312
802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Flags: bus master, fast devsel, latency 0, IRQ 4
Memory at f69fc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>

Capabilities: [16c] Power Budgeting <?>
Kernel modules: ssb


where as in the old kernel (which still is there with working wifi
this is without Xen)

lspci -vnn shows


0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312
802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f69fc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: wl
Kernel modules: wl, ssb

In the above kernel the wifi works and you can see a wl driver in
use.How ever in the newly compiled  pv-ops kernel I mentioned wl
driver is missing.Is there a way to load it from system some how or
what more can I do to get my wifi back.When I had installed Ubuntu
then while being connected from my LAN from Ubuntu 10.04 (64 bit) gui
I had installed driver

in (default 2.6.32.24 kernel)

System->Administration-->Hard Ware Drivers-->Broad Com STA driver I
but if I do the same in new 2.6.32.27 kernel which I compiled)
System->Administration-->Hard Ware Drivers-->Broad Com STA driver

get a failure message which says me to check
/var/log/jockey.log
and here is the jockey.log
http://pastebin.com/VBTLGw42
how ever I feel the problem is rather simple and some thing is missing.

/etc/modprobe.d/blacklist.conf I have


# replaced by b43 and ssb.
blacklist bcm43xx


 also checked wl.ko driver in the old working kernel is at following location

/var/lib/dkms/bcmwl/5.60.48.36+bdcom/2.6.32-24-generic/x86_64/module/wl.ko

If you notice in above output it has path to 2.6.32-24-generic kernel.


I do not have any problem in using my wifi when I boot with
2.6.32.24 (which is what was installed during installation from Ubuntu CD)
but when I boot
2.6.32.27 (which I had compiled) I do not get my wireless back and
lspci shows above output as I mentioned where wl driver is missing.So
how can I get this back?

Is it possible to have some thing like


/var/lib/dkms/bcmwl/5.60.48.36+bdcom/2.6.32.27/x86_64/module/wl.ko

for new kernel that I compiled.Let me know how can I get beyond this
point.I feel this can give me the wifi back but how to go for this one
I am not clear.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] xen compilation is giving errors, Tapas Mishra <=