From owner-freebsd-current@FreeBSD.ORG Mon Jan 6 03:01:06 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 21883BBA for ; Mon, 6 Jan 2014 03:01:06 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9EFAF1D82 for ; Mon, 6 Jan 2014 03:01:05 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id x18so9670588lbi.31 for ; Sun, 05 Jan 2014 19:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=89/SEXczdShg9e6z+RsTAJZYGK2xIqYjsHgmGZTPGqY=; b=ThbDp8rgHVgZtVGUsDITE4KQyROkJjFEPw052uiUeiXtf6pOTYA4AJB3zc9M1OGZ4I XQBq/8NzQQnxsRooh2QfkNN/ZviGXIkOy4K+zyCP7BYqHmo8StH8dqK6SxyJlFRj0DX8 isMWBi6P3ff41rPW8+Q7wVkRqFCj+g7Op4myprTU5ND7OAULIIH5o1ZBhgKUvTDyObsg dRE42bC0Xd2CbItQsDAV08Mezt3dIdrrWabKDvkTfpiK/QkbIZzz85ANfbTX3q0hn7BA 4g6WWQ3WUJNtAoM9o6BVPf3Ebp2YuZj75Co80Wz915V3WctnNPkYM9VssBd7nbQTB6L1 A1LA== MIME-Version: 1.0 X-Received: by 10.152.44.225 with SMTP id h1mr43729696lam.22.1388977263084; Sun, 05 Jan 2014 19:01:03 -0800 (PST) Received: by 10.112.135.195 with HTTP; Sun, 5 Jan 2014 19:01:02 -0800 (PST) Date: Mon, 6 Jan 2014 11:01:02 +0800 Message-ID: Subject: Install 10.0-RC3 on MacBookPro Late 2013 From: Huang Wen Hui To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Mon, 06 Jan 2014 03:01:06 -0000 Hi, I am trying to install FreeBSD on MacBookPro Late 2013, I got 3 main problems: 1. USB problem This MacBookPro model only have xhci controller, 10.0-RC3 and 9.2R not working, keyboard and touchpad not respond. Error messages are "xhci_do_command: Command timeout!" and "USB_ERR_TIMEOUT". I also try to set "hw.usb.xhci.msi=0", no lucky. But 9.1R is OK, I copy xhci*.* file from 9.1R to 10.0, with very small change, and xhci works under 10.0-RC3! dmesg in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/dmesg-10.0.txt vmstat -i in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/vmstat-10.0.txt pciconf in 10.0-RC3: http://sw.gddsn.org.cn/freebsd/pciconf.txt dmesg in 10.0 + xhci of 9.1R: http://sw.gddsn.org.cn/freebsd/dmesg-10.0+9.1.txt vmstat -i in + xhci of 9.1R: http://sw.gddsn.org.cn/freebsd/vmstat-10.0+9.1.txt 2. AHCI timeout problem After booting, system quickly hit ahci timeout problem, I have to set "camcontrol tags ada0 -N 1". this can decrease timeout problem, but still happen when running heavy IO. "hint.ahci.0.msi=0" seem to fix this problem, but ahci and xhci use same IRQ 16, this make 10.0+9.1xhci unstable:( Internal keyboard and touchpad not working, external keyboard and mouse working. vmstat -i in 10.0+9.1xhci with "hint.ahci.0.msi=0": http://sw.gddsn.org.cn/freebsd/vmstat-10.0+9.1+msi.txt camcontrol identify: http://sw.gddsn.org.cn/freebsd/cam-identify.txt smartctl: http://sw.gddsn.org.cn/freebsd/smartctl.txt 3. Random hang Sometimes the system(10.0+9.1xhci) hang without any message, keyboard, mouse and ping ping not respond. console no message, ctrl+alt+esc also could not break into ddb, I may try firewire/dcons, help it can get some useful information. I really like to have a working freebsd on MacBookPro, anything I can provide or any ideas? Cheers, Huang Wen Hui