From owner-freebsd-current@FreeBSD.ORG Tue Jan 7 06:38:14 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 C065FDA7; Tue, 7 Jan 2014 06:38:14 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D2557164A; Tue, 7 Jan 2014 06:38:13 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id y6so10594781lbh.33 for ; Mon, 06 Jan 2014 22:38:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=URLkFW9HNmOz2BqVftl4gBrip4ukJkpJONGsgOzoVhM=; b=x9Aal4fV4eES+jaqcthwRwXNkykUpuSRwnSTi8W1Sx8lVLiZExy4lafF3ufqp2gnh0 Ftvo2v1EKV1Y8CIMlp2tDcuZTcnMcJ42JNs1LEEi5JbvMMEM3Izcvrc4qh6V7erFY/pR 5UrfUBasQjlFtYZIoG5P4Z1h2DvyaBaEwJY+4pbasFJ0AvRw0v80pkwoyTZIt2lUOaoI gYW7HOASe0DXYDwAhTj4ckkUgkRz8eE8TyXq9HcU8rp2e0Eu77OjEYYpOvzUSq156bR/ ddwET68YiNBPQD/xUXM/FMNYL2Zk5hhTUD5tKxleyyoVChA42SybNKr2yFJNFoFQ7NMR inPQ== MIME-Version: 1.0 X-Received: by 10.112.141.225 with SMTP id rr1mr2271188lbb.59.1389076691828; Mon, 06 Jan 2014 22:38:11 -0800 (PST) Received: by 10.112.135.195 with HTTP; Mon, 6 Jan 2014 22:38:11 -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 14:38:11 +0800 Message-ID: Subject: Re: Install 10.0-RC3 on MacBookPro Late 2013 From: Huang Wen Hui To: "Lundberg, Johannes" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Reply-To: huanghwh@gmail.com 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 06:38:14 -0000 Hi, 2014/1/7 Lundberg, Johannes > Hi Huang > > I have also experienced random hangs. However, I'm not sure if they are > really hangs or just the USB driver stopped working. Since mouse pad, > keyboard everything is run through USB I couldn't tell really what happen= ed. > If LAN is on, you can ping to check if the system is really hangs. > > Did you have any problems with the identifier of the ssd? When I first > tried FreeBSD on MBA2013 it couldn't identify the ssd because there was > some weird characters in the ssd's identifier. Gavin helped me create a > patch that solved the problem temporary (by hard coding a different ident= ) > but I'm not sure if a permanent fix has been merged. > NO, my MBP have customized 1TB SSD: # camcontrol identify ada0 pass0: ATA-8 SATA 3.x device pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 3.x device model APPLE SSD SM1024F firmware revision UXM6JA1Q serial number S1K6NYADC02996 WWN 5002538655584d30 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 4096, offset 0 LBA supported 268435455 sectors LBA48 supported 1954210120 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM non-rotating > > -- > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > > > On Tue, Jan 7, 2014 at 12:05 PM, Huang Wen Hui wrote= : > >> USB problem fixed by revert to r245731, >> set "hint.ahci.0.msi=3D0" 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 wrot= e: >>> >>>> 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 ma= ke >>>> >>> it not work? :) >>>> >>> >>>> >> >>>> >> Binary sect the sys/dev/usb/controller/xhci.c revision history? The= re >>>> >> 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 =3D pci_read_config(self, PCI_XHCI_INTEL_USB3_PSSEN, 4)= | >>>> > pci_read_config(self, PCI_XHCI_INTEL_XUSB2PR, 4); >>>> > >>>> > temp |=3D set; >>>> > temp &=3D ~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" >>>> >>> >>> >>> =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- >>> =E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81= =A6=EF=BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB= =E3=81=AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3= =81=97=E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7= =98=E5=8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA= =E3=82=8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3= =81=BE=E3=81=99=E3=80=82 >>> =E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4= =96=E3=81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F= =E5=A0=B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3= =81=AE=E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81= =AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80= =E5=88=87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81 >>> =E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81= =AE=E4=BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF= =E8=A8=98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3= =81=84=E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82= =8C=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3= =E3=81=97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82 >>> --- >>> 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. >>> >> >> > > =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > =E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6= =EF=BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3= =81=AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81= =97=E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98= =E5=8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3= =82=8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81= =BE=E3=81=99=E3=80=82 > =E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96= =E3=81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5= =A0=B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81= =AE=E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE= =E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5= =88=87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81 > =E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE= =E4=BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8= =A8=98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81= =84=E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C= =E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3= =81=97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82 > --- > 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. >