Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 16:27:27 GMT
From:      Monthadar <monthadar@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/154091: Panic: netgraph, unaligned mbuf?
Message-ID:  <201101171627.p0HGRRjk036805@red.freebsd.org>
Resent-Message-ID: <201101171630.p0HGUBVW094185@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154091
>Category:       misc
>Synopsis:       Panic: netgraph, unaligned mbuf?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 16:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Monthadar
>Release:        Current 201010
>Organization:
>Environment:
FreeBSD  9.0-CURRENT-201010 FreeBSD 9.0-CURRENT-201010 #17: Wed Dec 29 05:33:36 UTC 2010     root@FreeBSD.NFS:/usr/just_kernel_nfs/obj/mips.mips/usr/src/sys/RSPRO_NFS  mips

>Description:
when I try to connect wlan and weired to a Netgraph hub I get a panic


Trap cause = 4 (address error (load or I-fetch) - kernel mode)
[ thread pid 11 tid 100037 ]
Stopped at      ip_input+0xd8:  lw      v0,0(s0)

Register output:
db> show registers
at                   0
v0                   0
v1              0x2e0d  _DYNAMIC_LINKING+0x2e0c
a0          0xc0960200
a1              0x2e0c  _DYNAMIC_LINKING+0x2e0b
a2                   0
a3          0x806b4880
t0          0xc0960200
t1          0x805ef060
t2              0xec01  _DYNAMIC_LINKING+0xec00
t3          0xfffffffe
t4          0x504dc871
t5          0x504dc870
t6           0x171d000
t7            0x401310
s0          0xc0960246
s1          0xc0a82000
s2          0xc0aa3980
s3                   0
s4                   0
s5          0xc0d0ae40
s6          0xc0ccf880
s7          0xc0aa3980
t8                0x23  _DYNAMIC_LINKING+0x22
t9          0x5025a4f0
k0            0x14e24c
k1          0xd00bb489
gp                   0
sp          0xc76b1b48
s8          0xc7bd5ec4  ng_package_data
ra          0x80277b1c  netisr_dispatch_src+0x124
sr              0xec03  _DYNAMIC_LINKING+0xec02
lo                0x39  _DYNAMIC_LINKING+0x38
hi                   0
bad         0xc0960246
cs                0x10  _DYNAMIC_LINKING+0xf
pc          0x802d685c  ip_input+0xd8
ip_input+0xd8:  lw      v0,0(s0)
db>
>How-To-Repeat:
After creating wlan0 with wlanmode mesh I run the following ngctl commands:

mkpeer wlan0: hub lower hook0
name wlan0:lower hub
connect hub: wlan0: hook1 upper
connect hub: arge0: hook2 lower

after quiting a panic is generated.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101171627.p0HGRRjk036805>