From owner-freebsd-usb@FreeBSD.ORG Sat Mar 31 06:40:35 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F06B16A401 for ; Sat, 31 Mar 2007 06:40:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id BF7A913C459 for ; Sat, 31 Mar 2007 06:40:34 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 451055623; Sat, 31 Mar 2007 08:40:29 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 31 Mar 2007 08:40:09 +0200 User-Agent: KMail/1.9.5 References: <008701c77317$1dfbc5f0$59f351d0$@net> In-Reply-To: <008701c77317$1dfbc5f0$59f351d0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703310840.09253.hselasky@c2i.net> Cc: Subject: Re: Memory leak / Kernel Panic using snd_uaudio (USB Sound Card) 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: Sat, 31 Mar 2007 06:40:35 -0000 On Saturday 31 March 2007 00:02, Hofmann, Laurent wrote: > Hello, > > > > I have a strange problem with my USB Sound Card. I found some records using > Google, but they are all old and never answered. > > > > I'm using the kernel module snd_uaudio to use an USB Sound Card (kldload > uaudio) on Freebsd 6.2-RELEASE. Usb Sound Card is a Hercule Muse Pocket LT. > > When playing audio (using PulseAudio), after around 2 hours, I get a kernel > panic followed by a system reboot : > > > > "19:33:14 dolphin kernel: usb0: isoc TD alloc failed" > > And/Or > > "Mar 30 17:56:58 dolphin kernel: panic: kmem_malloc(12288): kmem_map too > small: 42278912 total allocated". > > > > I can reproduce it as needed. > > > > How can we try to deal with this problem and find out what is wrong ? > The new USB stack has got a new uaudio driver also. I would try that first. How to get the latest sources: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b # # The following commands will # install the driver on FreeBSD: # cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install Then edit the file "install_uaudio.sh" and change it as needed, if you are not installing to /usr/src. ./install_uaudio.sh I am not sure what patches they MFC'ed from head to 6.2 release, regarding the sound system, so it might be that my "uaudio.c" won't compile. But that can easily be fixed if you send me the compile log where it breaks. --HPS