From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 22 20:50:14 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E63B016A4CE for ; Sun, 22 Feb 2004 20:50:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE9243D2F for ; Sun, 22 Feb 2004 20:50:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1N4oDbv088956 for ; Sun, 22 Feb 2004 20:50:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1N4oDRD088954; Sun, 22 Feb 2004 20:50:13 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 22 Feb 2004 20:50:13 -0800 (PST) Resent-Message-Id: <200402230450.i1N4oDRD088954@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dr. Gary E. RAFE" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED67616A4CE for ; Sun, 22 Feb 2004 20:47:40 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF3E43D1F for ; Sun, 22 Feb 2004 20:47:40 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1N4le72082091 for ; Sun, 22 Feb 2004 20:47:40 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i1N4le1e082087; Sun, 22 Feb 2004 20:47:40 -0800 (PST) (envelope-from nobody) Message-Id: <200402230447.i1N4le1e082087@www.freebsd.org> Date: Sun, 22 Feb 2004 20:47:40 -0800 (PST) From: "Dr. Gary E. RAFE" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/63251: USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 04:50:14 -0000 >Number: 63251 >Category: kern >Synopsis: USB stops working after 2nd APM suspend/resume cycle, Toshiba Sat Pro 6100, 5.2-R >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 22 20:50:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Dr. Gary E. RAFE >Release: 5.2-RELEASE >Organization: The University of Toledo >Environment: FreeBSD gerpc2.nonet 5.2-RELEASE FreeBSD 5.2-RELEASE #5: Wed Jan 28 20:57:46 EST 2004 root@gerpc2.nonet:/usr/src/sys/i386/compile/TSP6100A i386 >Description: Toshiba Satellite Pro 6100 previously running 4.9-RELEASE without problem. Custom 5.2-R kernel with APM and USB (UHCI) compiled in. System responses correctly to first "apm -z" initiated suspend/resume cycle. Kernel messages regarding USB (with USB_DEBUG): usbd_new_device bus=0xc4777000 port=1 depth=1 speed=2 usbd_new_device: adding unit addr=2, rev=110, class=9, subclass=0, protocol=0, m axpacket=8, len=18, speed=2 usbd_new_device: new dev (addr 2), dev=0xc4723400, parent=0xc4723900 usbd_probe_and_attach: trying device specific drivers uhub1: Atmel Standard USB Hub, class 9/0, rev 1.10/3.00, addr 2 usbd_set_config_index: status=0x0000, error=NORMAL_COMPLETION usbd_set_config_index: (addr 1) cno=2 attr=0xe0, selfpowered=0, power=64 usbd_set_config_index: set config 1 uhub1: 4 ports with 4 removable, bus powered usbd_new_device bus=0xc4777000 port=4 depth=2 speed=1 usbd_new_device: adding unit addr=3, rev=200, class=0, subclass=0, protocol=0, m axpacket=8, len=18, speed=1 usbd_new_device: new dev (addr 3), dev=0xc4b6dc80, parent=0xc4723480 usbd_probe_and_attach: trying device specific drivers usbd_probe_and_attach: no device specific driver found usbd_probe_and_attach: looping over 1 configurations usbd_set_config_index: (addr 1) cno=3 attr=0xa0, selfpowered=0, power=98 usbd_set_config_index: set config 1 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. Following the *second* suspend/resume cycle, USB devices are not restarted. Kernel messages: usbd_new_device bus=0xc4777000 port=1 depth=1 speed=2 usbd_new_device: addr=2, getting first desc failed usbd_remove_device: 0xc4b86a00 uhub_explore: usb_new_device failed, error=TIMEOUT uhub0: device problem, disabling port 1 Neither builtin USB port is active until a reboot. Same result when no USB devices are connected across suspend/resume cycles. Further APM suspend/resume cycles continue to return with no USB function. Apart from the loss of USB, the system operates correctly following the APM resume. Since we use numerous USB devices, a reboot is necessary following this second suspend/resume cycle. >How-To-Repeat: Simply suspend & resume the system twice. >Fix: >Release-Note: >Audit-Trail: >Unformatted: