From owner-freebsd-usb@FreeBSD.ORG Sun Feb 26 17:20:09 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 9B4A816A420 for ; Sun, 26 Feb 2006 17:20:09 +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 7F1F643D45 for ; Sun, 26 Feb 2006 17:20:08 +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 k1QHK8S7083438 for ; Sun, 26 Feb 2006 17:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1QHK8Jv083437; Sun, 26 Feb 2006 17:20:08 GMT (envelope-from gnats) Date: Sun, 26 Feb 2006 17:20:08 GMT Message-Id: <200602261720.k1QHK8Jv083437@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Ian Dowse 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: Ian Dowse List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 17:20:09 -0000 The following reply was made to PR usb/81524; it has been noted by GNATS. From: Ian Dowse To: Eugene Grosbein Cc: bug-followup@freebsd.org Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold Date: Sun, 26 Feb 2006 17:15:04 +0000 In message <20060226162422.GA7479@grosbein.pp.ru>, Eugene Grosbein writes: >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. >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? Ian 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 --- usb.c 30 Apr 2005 01:48:02 -0000 1.26.2.13 +++ usb.c 26 Feb 2006 17:08:56 -0000 @@ -980,6 +980,6 @@ DRIVER_MODULE(usb, ohci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, uhci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, ehci, usb_driver, usb_devclass, 0, 0); -SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, +SYSINIT(usb_cold_explore, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, usb_cold_explore, NULL); #endif