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-devel

RE: [Xen-devel] Badness in local_bh_enable

To: "Nicholas Lee" <nic-lists@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Badness in local_bh_enable
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 8 Mar 2005 11:05:01 -0000
Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Tue, 08 Mar 2005 11:07:07 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUjwktv82UXGhhHQ2qAKGdkuV2y4AAC88ig
Thread-topic: [Xen-devel] Badness in local_bh_enable
 > nic@stateless:~$ strings 
> /lib/modules/2.6.10-xen0/kernel/net/rxrpc/rxrpc.ko | grep vermagic=
> vermagic=2.6.10-xen0 preempt PENTIUM4 gcc-3.3 
> 
> These seems to be compiled with ARCH=xen.

Not necessarily. You may have used that -xen0 tree, but not specified
ARCH=xen. There's no way to tell :-(

> nic@stateless:~$ strings 
> /lib/modules/2.6.10-xenU/kernel/net/ipv4/netfilter/ipt_REJECT.
> ko | grep vermagic=
> vermagic=2.6.10-xenU preempt PENTIUM4 gcc-3.3
> nic@stateless:~$ objdump -d 
> /lib/modules/2.6.10-xenU/kernel/net/ipv4/netfilter/ipt_REJECT.
> ko | egrep  -e sti
>  b3f:   fb                      sti

Just finding a cli/sti in the disassembled output does not necessarily
indicate a problem -- objdump frequently gets confused and disassembles
things that are data, particularly after an undefined instruction e.g.
the uda2 used for BUG messages.

You'll need to look at the instructions around the cli/sti to determine
whether they're real or not.

Ian

> nic@stateless:~$ strings 
> /lib/modules/2.6.10-xenU/kernel/net/rxrpc/rxrpc.ko | grep vermagic=
> vermagic=2.6.10-xenU preempt PENTIUM4 gcc-3.3
> nic@stateless:~$ objdump -d 
> /lib/modules/2.6.10-xenU/kernel/net/rxrpc/rxrpc.ko | egrep  -e sti
>     1f94:       fb                      sti
> 
> 
> find /lib/modules/2.6.10-xenU -name \*.ko -exec 
> /tmp/version-check  {}  \;
> nic@stateless:~$ cat /tmp/version-check
> #!/bin/bash
> 
> strings $1 | grep vermagic= | grep -v 'xenU'
> objdump -d $1 | perl -n -e 'print $_ if /\scli/'
> objdump -d $1 | perl -n -e 'print $_ if /\ssti/'
> 
> 
> Nicholas
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>