From owner-freebsd-current@FreeBSD.ORG Tue Jan 7 13:22:29 2014 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 ESMTPS id 469F7402 for ; Tue, 7 Jan 2014 13:22:29 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 02EDB174F for ; Tue, 7 Jan 2014 13:22:28 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at1so323760iec.35 for ; Tue, 07 Jan 2014 05:22:22 -0800 (PST) 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:date :message-id:subject:from:to:cc:content-type; bh=skcVnC729Fx7PMfqtLneL3SsjM6yJzggY7EOrej5swI=; b=L0G/DUkCgku7mcysoPoty2Cg2AbmJVgKxzHz9aNn70rD0IVKJP9IEudNuCnuM8Xpbs NEtzh4rIx4oExx35gGz5W4MOPU/0YkP6MiYAcBjlsHe96NmMBotM88AKxt9K/c3cYJwq Tu1W6WOLVokqWh2OuNTbNtTxx5lEC9XJ33FubxpSDeGk91qoOauwoB54TF6k9DyFuVht GPP5i2KWewfjN/emvrb5gRJqce9woDV7ttjizrmZI/i2SKRX2DhFLmICZohll8UBKn/l 3AKYmi1RPsC66+bE/zozl/iL+3awdXgdpg5ka+4fa5t+YoHWRHFXfCbxb1GXOTTQ64id KeHw== X-Gm-Message-State: ALoCoQnDvHAjnJbXCCAWGVqWaGA9vT+winbNjNFJ3Dd7UwKC+/wh8of0HXT9U4n4bV9DD7gSxK9osqXqX6DnjVT/ssL2X0gDr+u3mea2IE7QbVDia1CRllI= MIME-Version: 1.0 X-Received: by 10.50.176.201 with SMTP id ck9mr25559194igc.46.1389100942680; Tue, 07 Jan 2014 05:22:22 -0800 (PST) Received: by 10.42.128.200 with HTTP; Tue, 7 Jan 2014 05:22:22 -0800 (PST) In-Reply-To: References: <52CA56E5.8030101@bitfrost.no> <52CA6E3F.9000301@bitfrost.no> <52CA7CE0.7070202@bitfrost.no> <52CACBB8.1020905@bitfrost.no> <52CB2591.9050401@bitfrost.no> Date: Tue, 7 Jan 2014 22:22:22 +0900 Message-ID: Subject: Re: Install 10.0-RC3 on MacBookPro Late 2013 From: "Lundberg, Johannes" To: "huanghwh@gmail.com" Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Hans Petter Selasky , Adrian Chadd , freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 07 Jan 2014 13:22:29 -0000 Lucky you! I tried the latest src just now, made memstick on amd64 and ran on MBA2013 but no luck. Reverting xhci* to 243780 as I've done before made it pass the boot sequence and to the installer. Was hoping the same fix applied to Air as well :( On Tuesday, January 7, 2014, Huang Wen Hui wrote: > Hi, > After USB problem fixed, I run some test: builworld/builkernel, mate, > chrome and > eclipse, every thing is fine, no random hang! I guess the hang problem is > gone with > USB problem fixed... > > Cheers, > Huang Wen Hui > > 2014/1/7 Huang Wen Hui > > USB problem fixed by revert to r245731, > set "hint.ahci.0.msi=0" seem to fixed timeout problem of AHCI. > > Random hang I think still exist, will check later... > > Cheers, > Huang Wen Hui > > > 2014/1/7 Lundberg, Johannes > > Hi Huang > > Good job!! By "works", which parts do you mean has been fixed? > > 1. USB problem > or > 2. AHCI timeout problem > or > 3. Random hang > > Best regards! > > -- > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > > > On Tue, Jan 7, 2014 at 11:30 AM, Huang Wen Hui wrote: > > Hans, > > This wild guess do NOT works. > I binary sect xhci.c in SVN, found that *r245732 > ** > introduce the bug.* > > > revert to r345731 fixed this USB problem in 9.2R > > I also copy xhci_interrupt(struct xhci_softc *sc) from 9.1R to CURRENT, > CURRENT also works! > > Cheers, > Huang Wen Hui. > > > 2014/1/7 Hans Petter Selasky > > > On 01/06/14 16:28, Hans Petter Selasky wrote: > > > >> On 01/06/14 15:17, Adrian Chadd wrote: > >> > >>> Right, but it used to work. That's the confusing bit. How'd you make > >>> it not work? :) > >>> > >> > >> Binary sect the sys/dev/usb/controller/xhci.c revision history? There > >> has been several bug reports for the Lynx point, and others XHCI > >> chipsets are working just fine. > >> > >> > > A wild guess: > > > > Copy the USB-code from -current. > > > > Add "#if 0" as shown sys/dev/usb/controller/xhci_pci.c > > > > static int > > xhci_pci_port_route(device_t self, uint32_t set, uint32_t clear) > > { > > #if 0 > > uint32_t temp; > > > > temp = pci_read_config(self, PCI_XHCI_INTEL_USB3_PSSEN, 4) | > > pci_read_config(self, PCI_XHCI_INTEL_XUSB2PR, 4); > > > > temp |= set; > > temp &= ~clear; > > > > pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4); > > pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4); > > > > device_printf(self, "Port routing mask set to 0x%08x\n", temp); > > #endif > > return (0); > > } > > > > --HPS > > > _______________________________________________ > 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" > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > -- -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message.