From owner-freebsd-current@FreeBSD.ORG Tue Jan 7 03:18:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9B4982C for ; Tue, 7 Jan 2014 03:18:41 +0000 (UTC) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AB7321922 for ; Tue, 7 Jan 2014 03:18:41 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id e14so18537490iej.26 for ; Mon, 06 Jan 2014 19:18:40 -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:from:date :message-id:subject:to:cc:content-type; bh=6LYbCDAjiTymb4tUNyCp5JH5qDClKbKT5TPLMTG3Sfk=; b=bRliJ/AtrtWEQeJpq6TQ8UKw1Fv2f/9H87rwibaNTo1pDlUPRrzpTymbOcaS1zbXrr 7sQJIOwGITOlVLn5/IV8pbPQjCVEoiWoorbLzDCiuvgFI/dT5Rbi2SDeHzPO7SYBcCjN wSYgDiS3iRWbg9Rl261pnkG2D/h40okDufalMQVhnrzM/5TCTi0YhYHmPBr/yl+hW4uu GyMle8Dk44RoTYBmValHDaK4C6EpfYEBFkJwOQxM/Ws00C2xe93qubc5i7sG9LoJ9jaM CTiPsbadocKTKD5I40bjY5y1AmoZMtoCwddLceCMa1u1SKYEwTA7DYrt17fil2JO9pCR 5yYw== X-Gm-Message-State: ALoCoQlwaTlNyATTr/rg1GK1aHIPrLUjUgfCMntW0arTQr5iGYBL0Qu7FzaEpcn8UJsSU93x6Jp/tm5Qj9K3+7W0viQKasCdz11rBFYBmqOA4eHb8tHEdfU= X-Received: by 10.43.182.74 with SMTP id pl10mr207172icc.70.1389063216344; Mon, 06 Jan 2014 18:53:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.128.200 with HTTP; Mon, 6 Jan 2014 18:53:20 -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> From: "Lundberg, Johannes" Date: Tue, 7 Jan 2014 11:53:20 +0900 Message-ID: Subject: Re: Install 10.0-RC3 on MacBookPro Late 2013 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 03:18:42 -0000 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" > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- 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.