From owner-freebsd-current@FreeBSD.ORG Mon Aug 17 08:19:42 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49D74106568E for ; Mon, 17 Aug 2009 08:19:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.tele2.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id D4DBB8FC51 for ; Mon, 17 Aug 2009 08:19:41 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=gg2W7PyvkLb8p4ie143lBA==:17 a=ylFMtTpzSNTu0OfOyC0A:9 a=kmst0aUsRWAuG2unrSFrThVcC_8A:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 551451318; Mon, 17 Aug 2009 09:19:38 +0200 From: Hans Petter Selasky To: Deniz , current@freebsd.org Date: Mon, 17 Aug 2009 09:19:46 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <791271c80908151025k344d906ar17cc585ae70927c7@mail.gmail.com> <200908152139.02493.hselasky@c2i.net> <791271c80908151621g4aec8548mc64e7c3f43f666ff@mail.gmail.com> In-Reply-To: <791271c80908151621g4aec8548mc64e7c3f43f666ff@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908170919.47870.hselasky@c2i.net> Cc: Subject: Re: unable to mount root from USB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 17 Aug 2009 08:19:42 -0000 Hi, I suspect that your problem might have something to do with suspend/resume support. Assuming your device is High Speed, could you edit: /sys/dev/usb/controller/ehci.c and find the function: ehci_set_hw_power() There you change: if (flags & (USB_HW_POWER_CONTROL | USB_HW_POWER_BULK)) { DPRINTF("Async is active\n"); temp |= EHCI_CMD_ASE; } if (flags & (USB_HW_POWER_INTERRUPT | USB_HW_POWER_ISOC)) { DPRINTF("Periodic is active\n"); temp |= EHCI_CMD_PSE; } Into: if (1) { DPRINTF("Async is active\n"); temp |= EHCI_CMD_ASE; } if (1) { DPRINTF("Periodic is active\n"); temp |= EHCI_CMD_PSE; } Lookup ohci_set_hw_power() and uhci_set_hw_power() and patch likewise. --HPS