Message from discussion
VIMAGE crashes on 9.x with hotplug net80211 devices
Received: by 10.66.75.164 with SMTP id d4mr1881559paw.10.1350846317187;
Sun, 21 Oct 2012 12:05:17 -0700 (PDT)
Path: 6ni11059pbd.1!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Adrian Chadd <adr...@freebsd.org>
Newsgroups: fa.freebsd.hackers
Subject: VIMAGE crashes on 9.x with hotplug net80211 devices
Date: Sun, 21 Oct 2012 19:05:16 UTC
Organization: Internet mailing list
Lines: 30
Sender: owner-freebsd-hack...@freebsd.org
Message-ID: <fa.iUcC0+Zbw5G6GCY1F5X38VTaSZ4@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1350846316 603 129.240.7.9 (21 Oct 2012 19:05:16 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sun, 21 Oct 2012 19:05:16 +0000 (UTC)
To: FreeBSD Net <freebsd-...@freebsd.org>, freebsd-hack...@freebsd.org
Delivered-To: freebsd-hack...@freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:sender:date:x-google-sender-auth:message-id:subject
:from:to:content-type;
bh=uq7T6Yrnz95wG1fhFQRkfDB1nstfvF9tfZSBFz+bVhY=;
b=HI/euCG3XCHsOSs0+JQ4QhRz7yJEdaOtux1jkLfJg1+69R874dZYpA/EcR32lacWd7
vwK2c74/BRSDoyKxJBKdWHSKH3fynf8DNt8eyvaTkqD4HCP1vJy8oEPAYLoyWYme3ojr
2DX63MNVW0reRZTC2P+PhNI0ivow1/QpL0DJvaKXvKEeJDJ8RsAQGP8Da8H0VoUKElz5
3Qu5gLVvfhJWUOboPhFZ28mcjqMKTpREdgdV9X4zTb633GOTKiWrljqNy35D3X1FzAi7
3Hrsc1meNbcvvpSOVeL+DR6nOWM0GXInq+2PKliggTbL7g3bIeSHaUTtyL5rLD/RqeDm
/0aw==
X-BeenThere: freebsd-hack...@freebsd.org
X-Mailman-Version: 2.1.14
List-Id: Technical Discussions relating to FreeBSD
<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>,
<mailto:freebsd-hackers-requ...@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hack...@freebsd.org>
List-Help: <mailto:freebsd-hackers-requ...@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
<mailto:freebsd-hackers-requ...@freebsd.org?subject=subscribe>
Original-Date: Sun, 21 Oct 2012 12:04:41 -0700
Original-Message-Id: <CAJ-VmomchJZ7GUKrAjmmyBXDw-6H6O5fAxT_tfAFfhU=Hkn...@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all,
I have some crashes in the VIMAGE code on releng_9. Specifically, when
I enable VIMAGE and then hotplug some cardbus ath(4) NICs.
The panics are dereferencing the V_ ifindex and related fields.
If I start adding CURVNET_SET(vnet0) and CURVNET_RESTORE() around the
ifnet calls (attach, detach) then things stop panicing - however,
things are slightly more complicated than that.
Since it's possible that the cloned interfaces (and maybe the parent
interface?) are placed into other VNETs, I have to make sure that the
right vnet context is switched to before I free interfaces.
So, may I please have some help by some VIMAGE-cluey people to sort
out how to _properly_ get VIMAGE up on net80211? I'd like to fix this
in -HEAD and -9 so people are able to use VIMAGEs for hostapd
interfaces (and so I can abuse it for lots of local testing on a
single laptop.)
Thanks!
Adrian
_______________________________________________
freebsd-hack...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"