From owner-freebsd-usb@FreeBSD.ORG Tue Nov 2 09:32:20 2010 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07C8A106566C for ; Tue, 2 Nov 2010 09:32:20 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 921038FC1F for ; Tue, 2 Nov 2010 09:32:19 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3A76A.dip.t-dialin.net [87.179.167.106]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 57F2684400D; Tue, 2 Nov 2010 10:32:14 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id E4CF71445; Tue, 2 Nov 2010 10:32:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1288690331; bh=vFQez4rS7PtbiYUyf1mLArh6qMStlNsEwjzgqUuSzVw=; h=Message-ID:Date:From:To:Cc:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding; b=BMgSn9wGK4Kyw0IBozceziolxIYjfdetHxnyLKHz6duWdh0ZUjPxJu3ohqz7Je2At sjXuHpjtYUdAaO/pKL+Smjmd1qsO6BtVdWFNR/eSdKCPv+IioSCUdpYlQ7fJKgXz+y bwuplye9R2/xQXwOEmEG16uCGDCtORlS6NbVJajSHCEZK/eV9/Gxy4H7BkWpVkrBwN gJ+77gV++c1LPc3Ss+2vOwBbY042PI8hGcLgDZiaXjsixp7SikG67KnDdq1u4cMNw9 ye4LFwiBc2tl5kD4va6V00vV5+tqsBUlI7VjQoMyugkQf+oL3rFwtF92JuSNjpvzTQ +ZvPh/k+RO/PQ== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id oA29W9XL049222; Tue, 2 Nov 2010 10:32:09 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 02 Nov 2010 10:32:08 +0100 Message-ID: <20101102103208.45064dxs60sp833w@webmail.leidinger.net> Date: Tue, 02 Nov 2010 10:32:08 +0100 From: Alexander Leidinger To: hselasky@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 57F2684400D.A6B82 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.854, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_24 0.60, J_CHICKENPOX_32 0.60, J_CHICKENPOX_34 0.60, TW_UH 0.08, TW_XD 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1289295136.5941@lxqlIL+89hGk2onDU84AuQ X-EBL-Spam-Status: No Cc: usb@FreeBSD.org Subject: usbconfig reset ugen4.2 hanging since an hour X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 09:32:20 -0000 Hi, I have a memory stick which made problems (the stick is used as a ZFS cache and it moaned about 8xxM write problems) in 9-current r214509. I removed the device from the config, made a camcontrol reset all, camcontrol rescan all (-> device disappeared), and then tried an usbconfig reset ugen4.2 (relevant devlist part from before the call is below). The usbconfig reset does not return to the shell. I do not know if the problem with the USB memory stick is related to software or hardware. The stick survived just a weekend, I replaced it because the old one showed similar problems after surviving about 9 months... I updated -current just before the problems appeared (and then again after a week or two), but I do not remember from which revision of -current I was updating from. I will try to stress-test the memory sticks on a 8.1 system so see if it is some software problem. The big question I have for now is: shouldn't there be some kind of safety mechanism kicking in (timeout) with the usbconfig command (in this case the reset)? devlist: ---snip--- ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ---snip--- dmesg | grep -i usb: ---snip--- uhci0: port 0xdc00-0xdc1f irq 16 at device 29.0 on pci0 usbus0: on uhci0 uhci1: port 0xe000-0xe01f irq 19 at device 29.1 on pci0 usbus1: on uhci1 uhci2: port 0xe400-0xe41f irq 18 at device 29.2 on pci0 usbus2: on uhci2 uhci3: port 0xe800-0xe81f irq 16 at device 29.3 on pci0 usbus3: on uhci3 ehci0: mem 0xfe77fc00-0xfe77ffff irq 23 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4: on ehci0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 ugen4.2: at usbus4 umass0: on usbus4 Root mount waiting for: usbus4 pass3: Removable Direct Access SCSI-2 device da0: Removable Direct Access SCSI-2 device Root mount waiting for: usbus4 ugen1.2: at usbus1 ugen1.3: at usbus1 ulpt0: on usbus1 ugen2.2: at usbus2 uhub5: on usbus2 ugen2.3: at usbus2 ukbd0: on usbus2 ugen2.4: at usbus2 ums0: on usbus2 ---snip--- Bye, Alexander. -- The man who laughs has not yet been told the terrible news. -- Bertolt Brecht http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137