From owner-freebsd-current@FreeBSD.ORG Thu Oct 4 08:30:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A416216A46B; Thu, 4 Oct 2007 08:30:43 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id 92E4013C45B; Thu, 4 Oct 2007 08:30:42 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4704A4B6.70708@FreeBSD.org> Date: Thu, 04 Oct 2007 10:30:46 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Richard Puga References: <47047450.DDAF966D@mauibuilt.com> In-Reply-To: <47047450.DDAF966D@mauibuilt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: panic: sleeping thread wile using USB hard drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 08:30:43 -0000 Richard Puga wrote: > I have been installing FreeBSD 6.2 on IBM XSeries servers some of which > I need to run external USB drives. > > While backing up to a USB hard drive at random times the computer locks > up or reboots with some, but not all of the systems. > > > The XP3100's work fine and dmesg shows a ntel 82801GB/R ICH7 USB > controller. > The XP3400 shows a GENERIC usb 2.0 chipset and a scan of the PCI bus > shows a slightly differant motherboard chipset (I cant remember what it > was). > > > I set up my Dell server at home with 2 differant USB/PCI cards each with > a differant chipset and got the same type of errors. > > > One was NEC and dmesg shows > > ohci1: mem 0xfeb01000-0xfeb01fff irq 24 at > device 14.0 on pci1 > usb1: on ohci1 > uhub1: on usb1 > ohci2: mem 0xfeb00000-0xfeb00fff irq 23 at > device 14.1 on pci1 > usb2: on ohci2 > uhub2: on usb2 > ehci0: mem 0xfeb02000-0xfeb020ff irq > 22 at device 14.2 on pci1 > usb3: on ehci0 > uhub3: on usb3 > > > The via shows > > ohci0: mem 0xfe220000-0xfe220fff irq 5 > at device 15.2 on pci0 > usb1: on uhci0 > uhub1: on usb1 > uhci1: port 0xccc0-0xccdf irq 23 at device > 14.1 on pci1 > usb2: on uhci1 > uhub2: on usb2 > ehci0: mem 0xfeb00800-0xfeb008ff irq 22 > at device 14.2 on pci1 > usb3: on ehci0 > uhub3: on usb3 > > Both of thease chipsets freeze at ramdom times under FreeBSD 6.2 and > 7-CURRENT (as of a few days ago) > > > The errors on the screen which dont make it to the log are; > > > sleeping thread (tid 100015, pid 19) owns a non-sleepable-lock > panic: sleeping thread > cpuid=1 > > > and > > > panic: Trying sleep, but thread marked as sleeping prohimited > cpuid=0 > [thread pid 13 tid 100002] > stoped at kbd-enter + ox32: leave db7 > > > The only error in /var/log/messages is > > messages.error:Sep 19 19:19:04 mauibuilt savecore: reboot after panic: > sleeping thread > > Any help or suggestions would be greatly apriciated, and if anyone knows > of an add in PCI card with yet a differant chipset that does not have > problems, please let me know. Follow the instructions in the developers handbook chapter on kernel debugging to obtain the necessary debugging information, then submit a PR with the data. Kris