[openib-general] ip_ipoib works on IA64! (woohoo! :^)

Grant Grundler iod00d at hp.com
Fri Dec 10 15:36:54 PST 2004


On Fri, Dec 10, 2004 at 01:22:19PM -0800, Grant Grundler wrote:
> The "netserver" (rx4640) is getting the following:
> kernel unaligned access to 0xe0000001008b0f5c, ip=0xa000000200152f10
> 
> a000000200152e60 t ipoib_start_xmit     [ib_ipoib]
> a000000200153880 t ipoib_get_stats      [ib_ipoib]

f10 - e60 == 0xb0

        if (!spin_trylock(&priv->tx_lock)) {
                local_irq_restore(flags);
                return NETDEV_TX_LOCKED;
        }

    1e3c:       01 40 20 e6                         cmp4.eq p9,p8=0,r8
    1e40:       1c 48 01 42 00 21       [MFB]       mov r41=r33
    1e46:       00 00 00 02 80 04                   nop.f 0x0
    1e4c:       50 09 00 43                   (p09) br.cond.dpnt.few 2790 <ipoib_start_xmit+0x9b0>

        if (skb->dst && skb->dst->neighbour) {

    1e50:       0b 50 01 40 00 21       [MMI]       mov r42=r32;;
    1e56:       e0 00 50 30 20 00                   ld8 r14=[r20]
    1e5c:       00 00 04 00                         nop.i 0x0;;
    1e60:       11 40 40 1c 01 21       [MIB]       adds r8=144,r14
    1e66:       80 00 38 12 72 04                   cmp.eq p8,p9=0,r14
    1e6c:       60 03 00 42                   (p08) br.cond.dptk.few 21c0 <ipoib_start_xmit+0x3e0>;;
    1e70:       0a 78 00 10 18 10       [MMI]       ld8 r15=[r8];;
    1e76:       90 e0 3e 00 42 40                   adds r9=92,r15
    1e7c:       01 78 2c e4                         cmp.eq p10,p11=0,r15
    1e80:       11 80 10 1f 00 21       [MIB]       adds r16=68,r15
    1e86:       00 00 00 02 00 05                   nop.i 0x0
    1e8c:       40 03 00 42                   (p10) br.cond.dptk.few 21c0 <ipoib_start_xmit+0x3e0>;;

                if (unlikely(!*to_ipoib_path(skb->dst->neighbour))) {

    1e90:       1d 70 00 12 18 10       [MFB]       ld8 r14=[r9]

0x1e90 is the faulting insn.

Roland, yeah - this is because of the "neigh->ha + 24" issue. 
I'll play with it.

thanks,
grant



More information about the general mailing list