Date: Wed, 17 Sep 2003 19:41:55 -0400 (EDT) From: Bjorn Dittmer-Roche <dittmeb@mail.rockefeller.edu> To: freebsd-questions@freebsd.org Subject: 5.1 crashes with USB to IDE Message-ID: <Pine.LNX.4.53.0309171907120.26619@octold.rockefeller.edu>
next in thread | raw e-mail | index | archive | help
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: <OPTi 82C861 (FireLink) USB controller> mem 0xe7002000-0xe7002fff irq 5 at device 14.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: <OPTi 82C861 (FireLink) USB controller> 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: <Creative CT5880-C> port 0xd800-0xd83f irq 11 at device 15.0 on pci0 pcm0: <TriTech TR28602 AC97 Codec> isab0: <PCI-ISA bridge> at device 17.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 8233 UDMA100 controller> port 0xdc00-0xdc0f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 12 at device 17.2 on pci0 usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 12 at device 17.3 on pci0 usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 12 at device 17.4 on pci0 usb3: <VIA 83C572 USB controller> 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: <ST312002 6A 0811> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.53.0309171907120.26619>