From owner-freebsd-current@FreeBSD.ORG Tue Jun 14 06:16:58 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04AFB1065672 for ; Tue, 14 Jun 2011 06:16:58 +0000 (UTC) (envelope-from rickvanderzwet@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id B1FF58FC22 for ; Tue, 14 Jun 2011 06:16:57 +0000 (UTC) Received: by yic13 with SMTP id 13so1486642yic.13 for ; Mon, 13 Jun 2011 23:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=iFDg7At14EkX1OSc6mdP3o24tyhJLjWjJapYnWfDlCo=; b=t6yqmwx1oYhMap7fNc4g63WvIu3mMnl+auDneK6eETPmbXl1U5Mx31l0TfYSe1Ay0U I6UsJ8KxdhHNbVdfqhN/TDxw/EbmjcQoRAQedPQ4kLSxkKc9VNgOoIGF6LwTFj8UQbGI bKpN246Y4B/X1N75w02qFInIWJp6dJizWG25I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=E96f4wgqKEDcWgCHIpoAJiL7kLExEvzsEBwxnhUXX04/YudanU8ukqUUuh9jrIa8+m aUjHJ0Dej6JrLn3bu9848PaM5rG9pV05rXZzQ0hnc4rSlInux7aN3w5NqxgvcamAXHr1 geV8puKnT54l5gzF+hChIZW2egpR+0/N1+Gx0= MIME-Version: 1.0 Received: by 10.236.182.230 with SMTP id o66mr5915928yhm.228.1308032216446; Mon, 13 Jun 2011 23:16:56 -0700 (PDT) Sender: rickvanderzwet@gmail.com Received: by 10.236.76.41 with HTTP; Mon, 13 Jun 2011 23:16:56 -0700 (PDT) Date: Tue, 14 Jun 2011 08:16:56 +0200 X-Google-Sender-Auth: jyTdPNKqiJf_P5pSX7YWrkfFm7o Message-ID: From: Rick van der Zwet To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary=20cf305639b59db56904a5a5fbc5 Subject: ATA_PERIODIC_POLL on ATA_I82801HBM_S1 causes lockups X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Jun 2011 06:16:58 -0000 --20cf305639b59db56904a5a5fbc5 Content-Type: text/plain; charset=ISO-8859-1 The ICH8M found in the MacBookPro4,1 has an known issue [1] which locks up when enabling the periodic poll using sidpr (introduced a ``little'' while ago in r214016), making it impossible to boot. Attached patch disables the polling and thus fixes the issue. Br. /Rick [1] http://www.spinics.net/lists/linux-ide/msg23487.html -- http://rickvanderzwet.nl --20cf305639b59db56904a5a5fbc5 Content-Type: text/x-patch; charset=US-ASCII; name="disable-ata-periodic-poll-for-ATA_I82801HBM_S1.diff" Content-Disposition: attachment; filename="disable-ata-periodic-poll-for-ATA_I82801HBM_S1.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gowgkg260 SW5kZXg6IHN5cy9kZXYvYXRhL2NoaXBzZXRzL2F0YS1pbnRlbC5jCj09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5 cy9kZXYvYXRhL2NoaXBzZXRzL2F0YS1pbnRlbC5jCShyZXZpc2lvbiAyMjI5NDkpCisrKyBzeXMv ZGV2L2F0YS9jaGlwc2V0cy9hdGEtaW50ZWwuYwkod29ya2luZyBjb3B5KQpAQCAtMzY2LDcgKzM2 NiwxMCBAQAogCQkJCXNtYXBbMV0gPSAzOwogCQkJfQogCQl9Ci0JCWlmIChjaC0+ZmxhZ3MgJiBB VEFfU0FUQSkgeworICAJICAJaWYgKGN0bHItPmNoaXAtPmNoaXBpZCA9PSBBVEFfSTgyODAxSEJN X1MxKSB7CisJCQkvKiBEaXNhYmxlIHBvbGxpbmcsIGxvY2tzIHVwIGFmdGVyIGVuYWJsaW5nIHNp ZHByICovCisJCQljdGxyLT5zZXRtb2RlID0gYXRhX2ludGVsX25ld19zZXRtb2RlOworCQl9IGVs c2UgaWYgKGNoLT5mbGFncyAmIEFUQV9TQVRBKSB7CiAJCQlpZiAoKGN0bHItPmNoaXAtPmNmZzEg JiBJTlRFTF9JQ0g1KSkgewogCQkJCWNoLT5mbGFncyB8PSBBVEFfUEVSSU9ESUNfUE9MTDsKIAkJ CQljaC0+aHcuc3RhdHVzID0gYXRhX2ludGVsX3NhdGFfc3RhdHVzOwo= --20cf305639b59db56904a5a5fbc5--