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

Re: [Xen-devel] xen 2.0.1, 2.4.27, 2.6.9, non-bridge



On Sat, 1 Jan 2005, Adam Heath wrote:

> On Fri, 31 Dec 2004, Adam Heath wrote:
>
> > However, with *both* 2.4.27 *and* 2.6.9, I am getting kernel panics.  I have
> > not run the oops on 2.4 thru ksymoops.  The built in oops decode logic in
> > 2.6.9 shows a null pointer in the arp_send routine.
>
> Attached you'll find the oops and ksymoops output for a 2.4 dom0 kernel.
>
> The oops for 2.6 is very similiar.
>
> I have to enable *both* proxy_arp and ip_forward for this to happen.  If I
> only enable ip_forward, then gateway route the ip of xenU, the pings enter
> vifX.X(as shown by tcpdump), but they don't return, as dom0 is not arping the
> machine doing the ping.

00000160 <netif_be_start_xmit>:
     160:       55                      push   %ebp
     161:       89 e5                   mov    %esp,%ebp
     163:       57                      push   %edi
     164:       56                      push   %esi
     165:       53                      push   %ebx
     166:       83 ec 18                sub    $0x18,%esp
     169:       8b 45 0c                mov    0xc(%ebp),%eax
     16c:       8b 5d 08                mov    0x8(%ebp),%ebx
     16f:       8b 40 6c                mov    0x6c(%eax),%eax
     172:       89 c2                   mov    %eax,%edx
     174:       89 45 f0                mov    %eax,0xfffffff0(%ebp)
     177:       8b 40 1c                mov    0x1c(%eax),%eax
     17a:       8b 72 20                mov    0x20(%edx),%esi
     17d:       3b 30                   cmp    (%eax),%esi
     17f:       0f 84 6b 01 00 00       je     2f0 <netif_be_start_xmit+0x190>
     185:       8b 7a 24                mov    0x24(%edx),%edi
     188:       89 f0                   mov    %esi,%eax
     18a:       29 f8                   sub    %edi,%eax
     18c:       3d 00 01 00 00          cmp    $0x100,%eax
     191:       0f 84 59 01 00 00       je     2f0 <netif_be_start_xmit+0x190>
     197:       8b 43 74                mov    0x74(%ebx),%eax
     19a:       48                      dec    %eax
     19b:       0f 85 a2 01 00 00       jne    343 <netif_be_start_xmit+0x1e3>
     1a1:       80 7b 6d 00             cmpb   $0x0,0x6d(%ebx)
     1a5:       0f 84 68 01 00 00       je     313 <netif_be_start_xmit+0x1b3>
     1ab:       8b 83 8c 00 00 00       mov    0x8c(%ebx),%eax
     1b1:       8b 00                   mov    (%eax),%eax
     1b3:       48                      dec    %eax
     1b4:       0f 84 59 01 00 00       je     313 <netif_be_start_xmit+0x1b3>
     1ba:       8b 83 80 00 00 00       mov    0x80(%ebx),%eax
     1c0:       89 45 ec                mov    %eax,0xffffffec(%ebp)
     1c3:       8d b6 00 00 00 00       lea    0x0(%esi),%esi

17d is the faulting instruction, so eax is null.

>From looking at the source and other lines(esp. the je 313, which is the first
condition that does a goto drop), eax contains dev->priv, which this function
assumes is a netif_t.

So, something is not setting ->priv.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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®.