Bug 154091 - [netgraph] [panic] netgraph, unaligned mbuf?
Summary: [netgraph] [panic] netgraph, unaligned mbuf?
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2011-01-17 16:30 UTC by Monthadar
Modified: 2022-10-17 12:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Monthadar 2011-01-17 16:30:11 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-18 17:57:32 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:20 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:18:26 UTC
Keyword: 

    crash

– in lieu of summary line prefix: 

    [panic]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>