From owner-freebsd-current@FreeBSD.ORG Fri Aug 30 13:54:07 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7B26BD76 for ; Fri, 30 Aug 2013 13:54:07 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 44ADB26C3 for ; Fri, 30 Aug 2013 13:54:06 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id 9so3244240iec.2 for ; Fri, 30 Aug 2013 06:54:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ZFWryosK9HUcnvL6zhlZA8ZN72s3Yoi9n4zC/eZKcAs=; b=aj4Z5tNkpcRg7zkPmrsBxy8ICOqfbKm09IKnzJghFy6a41k18xPNgvFJil/mAlqs0M SRVEBULVvm2iQIq04LQaxkWcqe2B9PHAE5ORh05bNsxe56MsDnrzmQ04K2Rn7VUaMGGe +joGXtguJg2u88mTSUfS8EKEb7yjEKbTQY0SvE5qXUvva34UT5WhApE3aZx49tBFeJUR wg9rsjOi8V85Pk2fNg8utfXMu5kfqv9/HWTwYxxXDqmT1NiV6h4E6FwpNIirQohEd8mS uNtZBo6Jc3iHtQVblC92BObHKf7ekpDbDpCECeowqlKkmoCRCnrbgUJGB4HcKXDMT2P/ FelQ== X-Gm-Message-State: ALoCoQmpHCv8Yb6LX/EFpyjMB//7iuoozh+8uyWQUCt2k4Pj06ueAF0ocJMtm9kGxLxjuEosY2yA X-Received: by 10.50.124.65 with SMTP id mg1mr2389810igb.43.1377870846279; Fri, 30 Aug 2013 06:54:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.158.74 with HTTP; Fri, 30 Aug 2013 06:53:51 -0700 (PDT) In-Reply-To: <52209EEC.6060609@bitfrost.no> References: <521B9CD7.8010902@bitfrost.no> <521C6C26.7050207@bitfrost.no> <52203EC9.4060808@bitfrost.no> <52207030.8050107@bitfrost.no> <52208F63.4060308@bitfrost.no> <52209EEC.6060609@bitfrost.no> From: "Lundberg, Johannes" Date: Fri, 30 Aug 2013 15:53:51 +0200 Message-ID: Subject: Re: xhci broken on 10-CURRENT and 2013 MacBook Air? To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alexander Motin , FreeBSD Current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 30 Aug 2013 13:54:07 -0000 I added printf at every 100,000th iteration in both locations but I didn't get any output at all.. Seems it stuck in some other place. During my test I actually passed that stage a couple of times but still the xhci_do_command times out and I get the mountroot> prompt.... With the 9.1 driver I never get either of the errors. Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Aug 30, 2013 at 3:32 PM, Hans Petter Selasky wrote: > On 08/30/13 15:19, Lundberg, Johannes wrote: > >> Hi Hans >> >> I tried that too and no change... But, the variable overflow you >> introduced, it is never increased, right? So, it will never become zero... >> >> > It will become zero when it wraps. Maybe 2**32 is too long. You could add > a printf while it is running, and see if it goes == 1000000 for example. > > --HPS > > Johannes Lundberg >> BRILLIANTSERVICE CO., LTD. >> > >> >> >> On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky > >wrote: >> >> On 08/30/13 13:54, Lundberg, Johannes wrote: >>> >>> Still got the same behaviour after applying the patch... >>>> >>>> Johannes Lundberg >>>> BRILLIANTSERVICE CO., LTD. >>> http://www.**brilliantservice.co.jp >>>> > >>>> >>> >