From nobody@nwww.freebsd.org  Fri May  3 23:35:29 2002
Return-Path: <nobody@nwww.freebsd.org>
Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 85A2437B41A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 May 2002 23:35:28 -0700 (PDT)
Received: from nwww.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g446aehG047593
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 3 May 2002 23:36:40 -0700 (PDT)
	(envelope-from nobody@nwww.freebsd.org)
Received: (from nobody@localhost)
	by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g446aeRi047592;
	Fri, 3 May 2002 23:36:40 -0700 (PDT)
Message-Id: <200205040636.g446aeRi047592@nwww.freebsd.org>
Date: Fri, 3 May 2002 23:36:40 -0700 (PDT)
From: Brett Wynkoop <wynkoop@wynn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: usbd start in wrong place in /etc/rc in 4.4 release
X-Send-Pr-Version: www-1.0
X-GNATS-Notify: iedowse

>Number:         37732
>Category:       conf
>Synopsis:       usbd start in wrong place in /etc/rc in 4.4 release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 03 23:40:01 PDT 2002
>Closed-Date:    Wed Mar 23 01:47:57 GMT 2005
>Last-Modified:  Wed Mar 23 01:47:57 GMT 2005
>Originator:     Brett Wynkoop
>Release:        4.4
>Organization:
Wynn Data Limited
>Environment:
FreeBSD net1.paf-law.com 4.4-RELEASE FreeBSD 4.4-RELEASE #3: Sat May  4 00:46:15 EDT 2002     wynkoop@net1.paf-law.com:/usr/src/sys/compile/NET1.LT.IPX  i386
      
>Description:
The start of usbd needs to be moved to be either just before 
or just after the start of pccardd.  In any case it needs to happen
before rc.network is called in case the only network interface
on the system is a usb network interface.  All network reliant
proesses hang or fail if usbd is started after rc.network
on a system with only a usb ethernet.
>How-To-Repeat:
1. configure a 4.4 system with only a USB ethernet adapter.
2. modify /etc/usbd.conf to ifconfig up the interface with a static IP address.

>Fix:
Move the start of usbd to be before /etc/rc.network in /etc/rc.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:34:52 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37732 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Fri Nov 5 02:41:04 GMT 2004 
State-Changed-Why:  

Does this problem still exist in more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37732 

From: wynkoop@wynn.com
To: iedowse@maths.tcd.ie (Ian Dowse)
Cc: wynkoop@wynn.com, greebsd-gnats-submit@freebsd.org
Subject: Re: conf/37732: usbd start in wrong place in /etc/rc in 4.4 release
Date: Fri, 5 Nov 2004 15:50:36 +0000 (GMT)

 > 
 > In message <200411050843.iA58hBuo000957@wa3yre.wynn.com>, wynkoop@wynn.com writ
 > es:
 > >> State-Changed-Why: 
 > >> 
 > >> Does this problem still exist in more recent releases?
 > >> 
 > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=37732
 > >> 
 > >
 > >Greeting-
 > >     I am not using any usb network devices on any more recent freebsd boxes.
 > >I could check /etc/rc by hand for you and let you know what I think, but 
 > >basicly usbd needs to start before any network setup starts in case
 > >the only network on the box is via a usb device.  I ran into the problem
 > >when I installed 4.4 om my Iopener.  I of course moved the usbd start
 > >to before the networking startup and all was well then.
 > >     I hope this helps!
 > 
 > Hi,
 > 
 > Thanks for the details. As far as I know, USB devices that are
 > present at boot time should appear before /etc/rc starts running,
 > so you should be able to get it to work by adding an "ifconfig_foo0"
 > line to /etc.rc.conf. This is the way it is supposed to be done in
 > 5.x and -CURRENT, since the new devd only gets 'insert' events for
 > devices that appear after the system has booted.
 > 
 > Would you be able to check if that approach works instead?
 > 
 > Ian
 > 
 
 Greeting-
      I do not have any 5.x systems here and the one site that I maintain 
 with 5.2.1 has no USB equiped systems.  I will be setting up a new system 
 in a few days.  I have not decided it it will be 4.10 of 5.x yet, but I 
 can and will check on that box when I set it up.
      I will also review things on my 4.4 Iopener and see if ifconfig_foo0 
 in rc.conf works on it, but as I recall it did not.  Will check probably 
 over the weekend and let you know.  That box is in use right now by one 
 of the office staff.
 
 -Brett
 
 -- 
 DRM is theft!  We are the stakeholders!  http://www.nyfairuse.org/
 
 
Responsible-Changed-From-To: joe->freebsd-usb 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Nov 10 11:03:59 GMT 2004 
Responsible-Changed-Why:  
Hand this over to the usb mailling list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37732 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 23 01:47:38 GMT 2005 
State-Changed-Why:  

Feedback timed out. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37732 
>Unformatted:
