From owner-freebsd-usb@FreeBSD.ORG Mon Feb 27 15:50:07 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC2A16A420 for ; Mon, 27 Feb 2006 15:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4322C43D45 for ; Mon, 27 Feb 2006 15:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1RFo7NO077631 for ; Mon, 27 Feb 2006 15:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1RFo7U8077630; Mon, 27 Feb 2006 15:50:07 GMT (envelope-from gnats) Date: Mon, 27 Feb 2006 15:50:07 GMT Message-Id: <200602271550.k1RFo7U8077630@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 15:50:07 -0000 The following reply was made to PR usb/81524; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@freebsd.org Cc: iedowse@freebsd.org Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold Date: Mon, 27 Feb 2006 22:47:54 +0700 >>I've upgraded my system to RELENG_4 today. >>The kernel still panices the same way when compiled >>with INVARIANS and INVARIANT_SUPPORT but without >>these options it detects devices only once. >Could you try the patch below to see if it helps? I forget all the >details of the USB backports that caused this, so I'm probably >missing something obvious. > Index: usb.c > =================================================================== > RCS file: /home/iedowse/CVS/src/sys/dev/usb/usb.c,v > retrieving revision 1.26.2.13 > diff -u -r1.26.2.13 usb.c I've applied your patch to 1.26.2.14 (that's the latest revision in RELENG_4 for now) and it broke my USB. The kernel prints at the boot time: usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED uhub0: device problem (SET_ADDR_FAILED), disabling port 1 usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED uhub0: device problem (SET_ADDR_FAILED), disabling port 2 >>Also, my APC UPS now is detected as ugen and not as uhid device >>due to recent USB blacklist MFC. >Is that a good or a bad thing? That's good thing, now apcupsd from ports works with BackUPS CS USB using /dev/ugen0. It couldn't use /dev/uhid0 and that's why USB blacklist came to be. Eugene Grosbein