From owner-freebsd-current@FreeBSD.ORG Sun May 23 20:31:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73E7816A4CE for ; Sun, 23 May 2004 20:31:46 -0700 (PDT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95FD843D1F for ; Sun, 23 May 2004 20:31:45 -0700 (PDT) (envelope-from luked@pobox.com) Received: from sdf.lonestar.org (IDENT:lukas@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i4O3VBwO012217; Mon, 24 May 2004 03:31:11 GMT Received: from localhost (lukas@localhost)i4O3VAvs028151; Sun, 23 May 2004 20:31:11 -0700 (PDT) X-Authentication-Warning: otaku.freeshell.org: lukas owned process doing -bs Date: Sun, 23 May 2004 20:31:10 -0700 (PDT) From: Luke X-X-Sender: lukas@otaku.freeshell.org To: Ian Dowse In-Reply-To: <200405232109.aa46210@salmon.maths.tcd.ie> Message-ID: References: <200405232109.aa46210@salmon.maths.tcd.ie> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: USB patch for better bus_dma and detachment support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: LukeD@pobox.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 03:31:46 -0000 On Sun, 23 May 2004, Ian Dowse wrote: > > In case anybody is interested in testing or helping with this, > there's a patch at > > http://people.freebsd.org/~iedowse/usb.diff > > that attempts to begin addressing a number of problems with our > current USB code: I'd love to try this out. I'm using a Netgear FA120 USB ethernet adapter with the axe driver, and my kernel panics with a page fault in usb_transfer_complete every time I attempt to bring the interface down. This means I can't reboot without a panic. It looks like this code might address my problem. I've never tested a patch in this manner before though. I assume there's some utility like mergemaster to merge this into my existing code. If somebody can tell me how to merge in these changes I'll try them out this week and let you know how it goes.