From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 16:41:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6F0816A4B3 for ; Wed, 17 Sep 2003 16:41:57 -0700 (PDT) Received: from smtp1.rockefeller.edu (smtp1.rockefeller.edu [129.85.249.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED1E743F3F for ; Wed, 17 Sep 2003 16:41:56 -0700 (PDT) (envelope-from dittmeb@mail.rockefeller.edu) Received: from octold.rockefeller.edu (bjorn@octold.rockefeller.edu [129.85.58.118])h8HNft62001326 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 17 Sep 2003 19:41:55 -0400 (EDT) Date: Wed, 17 Sep 2003 19:41:55 -0400 (EDT) From: Bjorn Dittmer-Roche X-X-Sender: bjorn@octold.rockefeller.edu To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 5.1 crashes with USB to IDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 23:41:58 -0000 Hey all, I've got a USB to IDE converter which, if I try and put it to use for any amount of time, causes my 5.1 release system to hang in various ways, and it either leaves me with a completely locked system or with disks that won't sync (meaning, amount other things, that I can't shutdown properly). Commands opperating on the offending disk are left in ps's "D" state, meaning uninterruptable sleep. Nothing wierd shows up in messeges or dmesg, and the drive worked okay in freebsd 4.8, though I didn't use it that much, so I can't be sure. The kernel is custom, but I was able to repeat the problem with a generic kernel. I was also able to reproduce the problem with both the built in USB driver (VIA 83C572 USB controller) and an old USB card I pulled out of my mac (OPTi 82C861 (FireLink) USB controller). I have also tried two drives, so the problem is either the adaptor or FreeBSD. My machine is currently up, but all processes accessing the drive are frozen (and so are a few others), in case someone wants to ask about that. Any help greatly appretiated! Here are the relevent parts of dmesg from boot: ohci0: mem 0xe7002000-0xe7002fff irq 5 at device 14.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 2 uhub1: 4 ports with 4 removable, self powered ums0: MOUSE SYSTEM U+P mouse, rev 1.00/0.00, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. pcm0: port 0xd800-0xd83f irq 11 at device 15.0 on pci0 pcm0: isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xdc00-0xdc0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 12 at device 17.2 on pci0 usb1: on uhci0 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci1: port 0xe400-0xe41f irq 12 at device 17.3 on pci0 usb2: on uhci1 usb2: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 12 at device 17.4 on pci0 usb3: on uhci2 usb3: USB revision 1.0 uhub4: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 2 ports with 2 removable, self powered ----------------------------------------------------------- Here are the relevent parts of dmesg from and from when I attach the USB to IDE adaptor: umass0: Genesys Logic USB TO IDE, rev 2.00/0.02, addr 6 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. Last line does seem mysterious.... bjorn