Bug 195074 - FreeBSD 10.1 regression: iwn kernel panic when starting pidgin
Summary: FreeBSD 10.1 regression: iwn kernel panic when starting pidgin
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 10.1-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
: 195042 205169 (view as bug list)
Depends on: 202482
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-16 16:47 UTC by Nikolai Lifanov
Modified: 2016-11-06 16:45 UTC (History)
1 user (show)

See Also:


Attachments
core summary for the crash (158.40 KB, text/plain)
2014-11-16 16:47 UTC, Nikolai Lifanov
no flags Details
core crash summary: 10.2-BETA1 (180.97 KB, text/plain)
2015-07-12 17:18 UTC, Nikolai Lifanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov 2014-11-16 16:47:38 UTC
Created attachment 149487 [details]
core summary for the crash

I get a reproducible panic on 10.1-RELEASE with iwn (does not panic on 10.0-RELEASE or the wired interface) when starting Pidgin v2.10.10 from official pkg repository. I'm attaching crash summary.
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2015-02-18 11:54:22 UTC
Updated 10.1-BETA and 10.1-RC versioned bugs to 10.1-STABLE.
Comment 2 Glen Barber freebsd_committer freebsd_triage 2015-07-07 16:03:34 UTC
Can you verify if the problem persists on 10.2-PRERELEASE?
Comment 3 Nikolai Lifanov 2015-07-12 17:18:53 UTC
Created attachment 158658 [details]
core crash summary: 10.2-BETA1

I confirmed that this is still an issue with 10.2-BETA1.
Comment 4 Andriy Voskoboinyk freebsd_committer freebsd_triage 2015-07-12 17:24:40 UTC
(In reply to Nikolai Lifanov from comment #3)
> #8  0xffffffff8058773a in iwn_tx_data (sc=0xfffffe0000974000, 
>     m=0xfffff80011f97000, ni=0x0) at /usr/src/sys/dev/iwn/if_iwn.c:3546

> ni=0x0

IMHO, this is not iwn issue.
Comment 5 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-01-18 21:06:02 UTC
Fixed in r288990; I will close this PR after MFC.
Comment 6 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-01-31 17:55:31 UTC
*** Bug 205169 has been marked as a duplicate of this bug. ***
Comment 7 Andriy Voskoboinyk freebsd_committer freebsd_triage 2016-05-17 17:41:00 UTC
*** Bug 195042 has been marked as a duplicate of this bug. ***
Comment 8 commit-hook freebsd_committer freebsd_triage 2016-11-06 16:45:20 UTC
A commit references this bug:

Author: avos
Date: Sun Nov  6 16:44:33 UTC 2016
New revision: 308376
URL: https://svnweb.freebsd.org/changeset/base/308376

Log:
  MFC r288990:
  Fix regression from r248371. We need to copy packet header to new
  mbuf. Unlike in the pre-r248371 code, assert that M_PKTHDR is set
  only on a first mbuf.

  PR:		195074

Changes:
_U  stable/10/
  stable/10/sys/kern/uipc_mbuf.c