Re: Install 10.0-RC3 on MacBookPro Late 2013

From: Gavin Atkinson <gavin_at_FreeBSD.org>
Date: Sat, 25 Jan 2014 23:52:11 +0000 (GMT)
On Tue, 7 Jan 2014, Lundberg, Johannes wrote:
> 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 happened.

It seems that the frequency of these hangs depends on the speed of the 
CPU.  With "powerd -a max -b max" the machine can last hours without 
hanging, with the CPU throttled down the machine can hang within seconds.  
The MBA at least defaults to a CPU speed midway between minimum and 
maximum.

> 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.

Yes, mav_at_ committed the real fix for this in r258683.

Thanks,

Gavin

> --
> Johannes Lundberg
> BRILLIANTSERVICE CO., LTD.
> 
> 
> On Tue, Jan 7, 2014 at 12:05 PM, Huang Wen Hui <huanghwh_at_gmail.com> wrote:
> 
> > 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 <johannes_at_brilliantservice.co.jp>
> >
> >> 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 <huanghwh_at_gmail.com>wrote:
> >>
> >>> Hans,
> >>>
> >>> This wild guess do NOT works.
> >>> I binary sect xhci.c in SVN, found that *r245732
> >>> *<http://svnweb.freebsd.org/base?view=revision&revision=245732>*
> >>> introduce the bug.*
> >>>  <http://svnweb.freebsd.org/base?view=revision&revision=245732>
> >>>
> >>> 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 <hps_at_bitfrost.no>
> >>>
> >>> > 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_at_freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >>> To unsubscribe, send any mail to "
> >>> freebsd-current-unsubscribe_at_freebsd.org"
> >>>
> >>
> >>
> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >> $BHkL)J];}$K$D$$$F!'$3$NEE;R%a!<%k$O!"L>08?M$KAw?.$7$?$b$N$G$"$j!"HkF?FC8"$NBP>]$H$J$k>pJs$r4^$s$G$$$^$9!#(J
> >> $B$b$7!"L>08?M0J30$NJ}$,<u?.$5$l$?>l9g!"$3$N%a!<%k$NGK4~!"$*$h$S$3$N%a!<%k$K4X$9$k0l_at_Z$N3+<(!"(J
> >> $BJ#<L!"G[I[!"$=$NB>$NMxMQ!"$^$?$O5-:\FbMF$K4p$E$/$$$+$J$k9TF0$b$5$l$J$$$h$&$*4j$$?=$7>e$2$^$9!#(J
> >> ---
> >> 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.
> >>
> >
> >
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> $BHkL)J];}$K$D$$$F!'$3$NEE;R%a!<%k$O!"L>08?M$KAw?.$7$?$b$N$G$"$j!"HkF?FC8"$NBP>]$H$J$k>pJs$r4^$s$G$$$^$9!#(J
> $B$b$7!"L>08?M0J30$NJ}$,<u?.$5$l$?>l9g!"$3$N%a!<%k$NGK4~!"$*$h$S$3$N%a!<%k$K4X$9$k0l_at_Z$N3+<(!"(J
> $BJ#<L!"G[I[!"$=$NB>$NMxMQ!"$^$?$O5-:\FbMF$K4p$E$/$$$+$J$k9TF0$b$5$l$J$$$h$&$*4j$$?=$7>e$2$^$9!#(J
> ---
> 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.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sat Jan 25 2014 - 22:57:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC