Re: panic: sleeping thread wile using USB hard drive

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Thu, 04 Oct 2007 10:30:46 +0200
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: <NEC uPD 9210 USB controller> mem 0xfeb01000-0xfeb01fff irq 24 at
> device 14.0 on pci1
> usb1: <NEC uPD 9210 USB controller> on ohci1
> uhub1: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> ohci2: <NEC uPD 9210 USB controller> mem 0xfeb00000-0xfeb00fff irq 23 at
> device 14.1 on pci1
> usb2: <NEC uPD 9210 USB controller> on ohci2
> uhub2: <NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xfeb02000-0xfeb020ff irq
> 22 at device 14.2 on pci1
> usb3: <NEC uPD 720100 USB 2.0 controller> on ehci0
> uhub3: <NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
> 
> 
> The via shows
> 
> ohci0: <OHCI (generic) USB controller> mem 0xfe220000-0xfe220fff irq 5
> at device 15.2 on pci0
> usb1: <VIA 83C572 USB controller> on uhci0
> uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhci1: <VIA 83C572 USB controller> port 0xccc0-0xccdf irq 23 at device
> 14.1 on pci1
> usb2: <VIA 83C572 USB controller> on uhci1
> uhub2: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfeb00800-0xfeb008ff irq 22
> at device 14.2 on pci1
> usb3: <VIA VT6202 USB 2.0 controller> on ehci0
> uhub3: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> 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
Received on Thu Oct 04 2007 - 06:30:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC