From owner-freebsd-usb@FreeBSD.ORG Sun Feb 10 19:22:44 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1CEC37D for ; Sun, 10 Feb 2013 19:22:44 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-da0-f47.google.com (mail-da0-f47.google.com [209.85.210.47]) by mx1.freebsd.org (Postfix) with ESMTP id 78175E32 for ; Sun, 10 Feb 2013 19:22:44 +0000 (UTC) Received: by mail-da0-f47.google.com with SMTP id s35so2419375dak.20 for ; Sun, 10 Feb 2013 11:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=8dQkHLfmYsJbg/xgF83zdMlmyO2fSBHbIVKLWLEYQcI=; b=Fzm1Gl7//GQr1ULoMmgRDd2zRF8wjDuIKgGcEaZJWv9fWSVGzxsoPO7/iM54xxXiD3 iYBAEyuK+O+4+LDULJdqz2qQ1zrtma0Byet4X8oPTqjCzt3k0rAial4HW9jh4ZCgaw3s WDVt8W5copaPHOeotLWD7zsYc0z3gaqd18Jrk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=8dQkHLfmYsJbg/xgF83zdMlmyO2fSBHbIVKLWLEYQcI=; b=aTO7R8cuMJa/EChW8irLySH9mNP4d1dg3ZwzqQT8KNZPHR4cYzQ2YklqzyV3cNioli gr4zdoMuRk7y9BCE67nnH9xYPIShUcdoEYnUQdg7XFjTdhBgycVb+9qkFf1hYM1DguDk PAfgRSQSvy5Z7ZPjEer41i24brMUqTSJ4QtTPnJhqXlCbfqfrkQ9qe2n1BQkYbNCR54T myc4OLJO7Di4zJtffLt5bABILWOIBRHFwD+miZJNB2S+buYY45celvTmh79zIcKriX/P +CvDRq74YJE0YUM/gdNfa+JHcUuuIlI4Z4XB0NO1XcltVZ2dRa68VOnZCDStlgbI2WWU MWBg== X-Received: by 10.68.189.197 with SMTP id gk5mr12885739pbc.21.1360523737469; Sun, 10 Feb 2013 11:15:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.148.10 with HTTP; Sun, 10 Feb 2013 11:15:07 -0800 (PST) In-Reply-To: <201302101427.24768.hselasky@c2i.net> References: <201302100905.37797.hselasky@c2i.net> <201302101427.24768.hselasky@c2i.net> From: Eitan Adler Date: Sun, 10 Feb 2013 14:15:07 -0500 Message-ID: Subject: Re: panic on removing urtw0 To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkgXOs5WyyEBgU+5MFQudU6vok230pphRheabx0g7sARBMB9zyLLa30WPq4Not8tj5a88Dn Cc: Adrian Chadd , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 19:22:44 -0000 On 10 February 2013 08:27, Hans Petter Selasky wrote: > On Sunday 10 February 2013 14:19:21 Eitan Adler wrote: >> [moving to -usb where this seemingly belongs] >> >> On 10 February 2013 03:05, Hans Petter Selasky wrote: >> > On Sunday 10 February 2013 03:17:03 Adrian Chadd wrote: >> >> Yes to both - i think some USB stack / memory buffer changes are >> >> responsible for your issue. :-) >> > >> > Hi, >> > >> > Can you send me the backtrace of the panic and I'll fix it. I fixed panic >> > upon attach. >> >> [ textdump & kernel available upon request ] >> >> Unread portion of the kernel message buffer: >> urtw0: failed to stop (USB_ERR_NOT_CONFIGURED) >> > > Hi, > > Can you try this again with latest -current as of now. It happens because the > nodes are freed after the IEEE802.11 adapter is gone. I can not test because the device does not attach at all on r246623. -- Eitan Adler