[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.