From owner-freebsd-stable@FreeBSD.ORG Wed May 19 17:27:14 2004 Return-Path: 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 45E8E16A4CE for ; Wed, 19 May 2004 17:27:14 -0700 (PDT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC2843D41 for ; Wed, 19 May 2004 17:27:13 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004052009:10:33:168967.13435.3032955824 for ; Thu, 20 May 2004 09:10:33 +0900 (KST) Message-ID: <40ABFB4A.9060508@users.sourceforge.net> Date: Thu, 20 May 2004 09:26:50 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:30.10) (by Terrace) Subject: USB/umass detach freezes system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 00:27:14 -0000 Hi, I am encountering this with lastest update of 4-STABLE. I saw a somewhat related discussion last March on "umass panic...", where USB VIA chipsets were considered to be troublesome: http://www.mail-archive.com/freebsd-stable@freebsd.org/msg60471.html I also have VIA chipsets, but slighltly different problems. It must be a FreeBSD problem, since the USB port worked just fine when previously Windows/XP was installed on this computer. (I also have tested it on another computer with Intel USB chips, and there things work flawlessly!). Boot up says (see below for full dmesg output): uhci0: port 0xc400-0xc41f irq 10 at device 7.2 on pci0 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 And when pluging in the storage device: umass0: vendor 0x090a product 0x1001, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (TIMEOUT) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: 62MB (127945 512 byte sectors: 64H 32S/T 62C) Mounting this device with "mount_msdos /dev/da0s1 /mnt" is okay. The umass filesystem is there. Problems start when unmounting it. The umount command will hang and eventually the whole system will hang. Power off/on is only what helps then. Any ideas how to deal with this? Regards, Rob. Full dmesg output: 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 4.10-PRERELEASE #0: Wed May 19 19:30:02 KST 2004 lahaye@iliev.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 467730446 Hz CPU: Pentium II/Pentium II Xeon/Celeron (467.73-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183f9ff real memory = 134152192 (131008K bytes) avail memory = 127127552 (124148K bytes) Preloaded elf kernel "kernel" at 0xc0363000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00fdc10 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 10 at device 7.2 on pci0 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 rl0: port 0xc800-0xc8ff mem 0xd9000000-0xd90000ff irq 11 at device 9.0 on pci0 rl0: Ethernet address: 00:c0:ca:31:57:0c miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xdc00-0xdc03,0xd800-0xd803,0xd400-0xd40f,0xd000-0xd00f,0xcc00-0xcc3f irq 5 at device 13.0 on pci0 rl1: port 0xe000-0xe0ff mem 0xd9001000-0xd90010ff irq 10 at device 15.0 on pci0 rl1: Ethernet address: 00:02:2a:c7:1e:39 miibus1: on rl1 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: on motherboard pci2: on pcib1 orm0: