From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 03:20:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CFA616A4D0 for ; Thu, 12 Feb 2004 03:20:10 -0800 (PST) Received: from mail.teledes.ru (host241-net53-vved7.miran.ru [213.221.53.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6413C43D1D for ; Thu, 12 Feb 2004 03:20:05 -0800 (PST) (envelope-from DAntrushin@mail.ru) Received: from mail.ru ([10.1.1.31]) (authenticated bits=0) by mail.teledes.ru (8.12.11/8.12.11) with ESMTP id i1CBG10I000624 for ; Thu, 12 Feb 2004 14:16:02 +0300 (MSK) Message-ID: <402B5E39.8020301@mail.ru> Date: Thu, 12 Feb 2004 14:06:33 +0300 From: Denis Antrushin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6a) Gecko/20031029 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------010904070209060009000108" Subject: USB umass problem on 5.2-release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 12 Feb 2004 11:20:10 -0000 This is a multi-part message in MIME format. --------------010904070209060009000108 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, This kind of questions was asked many times before, but after reading all that postings I still cannot fix things by myself, so I'm asking for help here... I have USB Flash Drive (Pretec i-Disk 128Mb), and it was working OK with my home 5.1 freebsd machine (ASUS A7M266 motherboard with AMD 761/VIA xxxx) Recently I decided to upgrade to 5.2-release and whoops... I've got that nasty messages: umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT Well, I digged archives and read about USB quirks, so I added DA_OLD_QUIRKS to kernel config and recompiled... no effect. I played a bit with quirks in umass.c, but this ended up with hangs and panics :-) But, the this flash drive works OK on my work machine, which is 5.2-release as well (but is ASUS P4BGL MB with Intel 845GL chipset), so I guess, this is not device itself, but USB controller/hub/... issue? I attach dmesg output (with CAMDEBUG options in kernel, and w/o USB quirks) and my kernel config What should I do to fix that problem? Any help is highly appretiated! Thanks, Denis --------------010904070209060009000108 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2004 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 5.2-RELEASE #2: Wed Feb 11 21:07:32 GMT 2004 root@:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc099c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc099c21c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1200.05-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000 real memory = 536788992 (511 MB) avail memory = 511754240 (488 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00f1370 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 4 INTD is routed to irq 5 pcib0: slot 4 INTD is routed to irq 5 pcib0: slot 5 INTA is routed to irq 10 agp0: port 0xe000-0xe003 mem 0xf7800000-0xf7800fff,0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 5 INTA is routed to irq 11 pci1: at device 5.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xd400-0xd41f irq 5 at device 4.2 on pci0 uhci0: LegSup = 0x003a usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered umass0: USB Flash Disk, rev 1.10/1.10, addr 2 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0xd000-0xd01f irq 5 at device 4.3 on pci0 uhci1: LegSup = 0x0010 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 4.4 (no driver attached) pci0: at device 5.0 (no driver attached) fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: