From owner-freebsd-current@FreeBSD.ORG Tue Apr 15 21:46:29 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B6337B401 for ; Tue, 15 Apr 2003 21:46:29 -0700 (PDT) Received: from srv2.resnet.ohio-state.edu (srv2.resnet.ohio-state.edu [164.107.3.56]) by mx1.FreeBSD.org (Postfix) with SMTP id E7D1243FAF for ; Tue, 15 Apr 2003 21:46:27 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: (qmail 19685 invoked by uid 506); 16 Apr 2003 05:16:04 -0000 Received: from mistry.7@osu.edu by srv2.resnet.ohio-state.edu by uid 503 with qmail-scanner-1.14 ( Clear:. Processed in 0.019672 secs); 16 Apr 2003 05:16:04 -0000 Received: from rdrt-164-107-204-104.resnet.ohio-state.edu (HELO 192.168.1.100) (164.107.204.104) by srv2.resnet.ohio-state.edu with SMTP; 16 Apr 2003 05:16:03 -0000 From: Anish Mistry To: freebsd-current@freebsd.org Date: Wed, 16 Apr 2003 00:46:22 -0400 User-Agent: KMail/1.5 References: <200304051238.52084.mistry.7@osu.edu> <200304080042.25690.mistry.7@osu.edu> In-Reply-To: <200304080042.25690.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304160046.22779.mistry.7@osu.edu> Subject: Re: USB Ohci Suspend/Resume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 04:46:30 -0000 > > I've worked a bit more at this, but the only thing I can seem to do to fix > this for the ums and ukbd is to comment out the usbd_close_pipe() call. Then > device then seems to work perfectly with no panics or other visible side > effects, but this just doesn't seem like a correct procedure. If any USB > people have any suggestions it would be appreciated. > > Thanks, > > -- > Anish Mistry > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > Even though I seem to be talking to myself, I figured out that the problem with the panic is due to the fact that a process is reading/writing from the usb device during suspend time, thus leaving the pipe not being able to be closed, and the panic seems to happen with all types of usb devices, not just the ones that I mentioned before. Is there a way to force a device to detach? So that all the devices are detached before the suspend, and then reattached, which should fix the problem. Thanks for any help, -- Anish Mistry