From owner-freebsd-usb@FreeBSD.ORG Fri Nov 20 08:37:01 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E431065694 for ; Fri, 20 Nov 2009 08:37:01 +0000 (UTC) (envelope-from gem@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6544E8FC0C for ; Fri, 20 Nov 2009 08:36:59 +0000 (UTC) Received: from [10.30.16.50] ([10.30.16.50]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nAK8BlZG022213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Nov 2009 11:11:48 +0300 (MSK) Message-ID: <4B064F48.50506@parallels.com> Date: Fri, 20 Nov 2009 11:11:52 +0300 From: Maxim Giryaev User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Alexander Samarin , freebsd-usb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [madwimax] madwimax-0.1.1 patch for FreeBSD 8 (very buggy) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 08:37:01 -0000 I create similar patch, you can see it here: http://code.google.com/p/madwimax/issues/detail?id=39 Periodical crashes in libusb triggered by sigchild handler in madwimax. I check to way to fix it: 1. remove sigchild handler and call wait3() in scan_loop() 2. check for NULL result of libusb20_tr_get_priv_sc1() inside lubusb. Second way fixes crashes but periodically libusb_submit_trasfer() returns error 99. There are no disconnects from Internet on my router during last week. -- Maxim Giryaev