From owner-freebsd-stable@FreeBSD.ORG Sat May 27 02:56:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE60916A6FA for ; Sat, 27 May 2006 02:56:18 +0000 (UTC) (envelope-from wtd@pobox.com) Received: from as2.dm.egate.net (shell1.dm.egate.net [216.235.15.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 582F243D46 for ; Sat, 27 May 2006 02:56:18 +0000 (GMT) (envelope-from wtd@pobox.com) Received: by as2.dm.egate.net (Postfix, from userid 5562) id 39C884AEF; Fri, 26 May 2006 22:56:17 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by as2.dm.egate.net (Postfix) with ESMTP id 3036E4AE9 for ; Fri, 26 May 2006 22:56:17 -0400 (EDT) Date: Fri, 26 May 2006 22:56:17 -0400 (EDT) From: William Denton X-X-Sender: buff@as2.dm.egate.net To: freebsd-stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: New mobo means USB problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 02:56:21 -0000 I recently got a new motherboard and now I have trouble with USB. I had no problems with my two USB drives before, but now a) I can't boot with my external USB hard drive connected and powered on, and b) moving files onto my Creative MP3 player causes that file system to hang. This second problem seems to be the same as was mentioned here on 5 May, at The new motherboard is an ASUS P5S800-VM and the BIOS is right up to date. It comes with USB 2.0 built in. I'm running FreeBSD 6.1-STABLE, and built a new world on 6 May, after I got this new mobo home. A healthy dmesg is at the bottom of this message. I saw some talk on mailing lists about ACPI being related to this kind of thing, so I tried booting without it (with "unset acpi_load" at the boot prompt) and it panicked, which wasn't helpful. a) Timeouts and failures when booting with external USB hard drive plugged in and turned on. I have a Maxtor drive in an external USB 2.0 enclosure. When it's connected and turned on, I cannot boot. The different bits from dmesg look like this: [same stuff as usual up to this point; see below] uhub3: 8 ports with 8 removable, self powered [ten-second or so delay, which I don't see on a normal boot] atapci1: port 0xeff0-0xeff7,0xefe4-0xefe7,0xefa8-0xefaf,0xefe0-0xefe3,0xef90-0xef9f,0xe480-0xe4ff irq 17 at device 5.0 on pci0 [continues as normal until ...] ad0: 39205MB at ata0-master UDMA133 ad1: 19092MB at ata0-slave UDMA100 acd0: CDRW at ata1-master UDMA33 pcm0: ac97 link rate calibration timed out after 1952041 us ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 ad0: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ad0: TIMEOUT - FAILURE [something] ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 ad1: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0 ad1: TIMEOUT - FAILUER [someting] [repeats two more times] acd0: TIMEOUT - READ_BIG retrying (1 retry left) [acd0 TIMEOUTs and FAILURES repeated many times] I usually don't see that pcm0 warning. Finally after lots of errors I have to power cycle it. I can boot with the USB hard drive turned off, and then turn it on and mount it normally, in which case I see: umass0: vendor 0x04b4 USB Mass Storage Device, rev 2.00/2.40, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 156334MB (320173056 512 byte sectors: 255H 63S/T 19929C) I have no trouble moving files on or off the drive after that, so it's annoying that I have to worry about it when I boot, but it's still usable. b) USB Creative Muvo TX FM hangs: BBB reset failed, TIMEOUT I have an MP3 player that has a 1 GB flash drive, and it is no longer usable on this box. Here's what it is: umass0: CREATIVE MuVo TX FM, rev 2.00/11.91, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 993MB (2035456 512 byte sectors: 64H 32S/T 993C) When I mount the file and moves some files onto it, after a couple of files, it stops and hangs. I can't access the file system any more, and get these errors: umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR That continues on and I have to reboot, at which point I see scores of errors like this: g_vfs_done():da0[WRITE(offset=995237848, length=4096)]error = 5 Then I get more BBB reset failed messages, and I have to power cycle. As I said, I used to be able to use this just fine with my old mobo, and my other FreeBSD 6.1-STABLE box can handle it without trouble. Bill -- William Denton : Toronto, Canada : www.miskatonic.org : www.frbr.org Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #4: Sat May 6 22:18:56 EDT 2006 buff@sherlock.miskatonic.org:/usr/obj/usr/src/sys/SHERLOCK ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2653.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf49 Stepping = 9 Features=0xbfebfbff Features2=0x651d> AMD Features=0x20000000 AMD Features2=0x1 real memory = 1576730624 (1503 MB) avail memory = 1535930368 (1464 MB) ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.5 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xe800-0xe8ff,0xec00-0xec7f irq 18 at device 2.7 on pci0 pcm0: ohci0: mem 0xdfff4000-0xdfff4fff irq 20 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xdfff5000-0xdfff5fff irq 21 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ohci2: mem 0xdfff6000-0xdfff6fff irq 22 at device 3.2 on pci0 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfff7000-0xdfff7fff irq 23 at device 3.3 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 3 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered atapci1: port 0xeff0-0xeff7,0xefe4-0xefe7,0xefa8-0xefaf,0xefe0-0xefe3,0xef90-0xef9f,0xe480-0xe4ff irq 17 at device 5.0 on pci0 ata2: on atapci1 ata3: on atapci1 rl0: port 0xe000-0xe0ff mem 0xdfff3800-0xdfff38ff irq 19 at device 11.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:f2:5b:d3:d5 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: flags 0x200 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP Probing for PnP devices on ppbus0: ppbus0: PRINTER PJL,HBP plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2653536680 Hz quality 800 Timecounters tick every 1.000 msec ad0: 39205MB at ata0-master UDMA133 ad1: 19092MB at ata0-slave UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s2a WARNING: /disk2 was not properly dismounted rl0: link state changed to UP