From owner-freebsd-current@FreeBSD.ORG Mon Nov 22 05:55:34 2010 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 BDFFA106566C for ; Mon, 22 Nov 2010 05:55:34 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 152058FC22 for ; Mon, 22 Nov 2010 05:55:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id oAM5tUJI006577 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 22 Nov 2010 05:55:30 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk oAM5tUJI006577 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1290405330; bh=YTd5+uNUw4mtaHXR7vTVKP/CIPdb33JRjQVPIlbxzLM=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4CEA05CC.4050600@infracaninophile.co.uk>|Date:=20M on,=2022=20Nov=202010=2005:55:24=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac= 20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.2.12)=20Gecko/20101027=20Th underbird/3.1.6|MIME-Version:=201.0|To:=20freebsd-current@freebsd. org|Subject:=20Re:=20[Call=20for=20Tests]=20PAT=20issue=20on=20App le=20hardware|References:=20<201011152036.48181.jkim@FreeBSD.org>= 09<201011161530.20165.jkim@FreeBSD.org>=09<201011191354.25486.jkim @FreeBSD.org>=20<4CE9A83E.8010005@googlemail.com>|In-Reply-To:=20< 4CE9A83E.8010005@googlemail.com>|X-Enigmail-Version:=201.1.1|OpenP GP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3 Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D= 0A=20boundary=3D"------------enig3AE12A105A917EA01653036C"; b=NYCcW1/kg/G90EP/8NgTDlfWQlnWq6kRxH/TdXRTqNU2jxkeMuaJZd8OUgYP6QXGs WkkXo/2a06AmVZOPprArk//4S7S5KftzbHSIAvio9hBTaiZf8Gpt0j4Ypnoz5oTO6i LubW00VrWArhiSjPDAGQ5phmUfFRq9xd9WtljIJU= Message-ID: <4CEA05CC.4050600@infracaninophile.co.uk> Date: Mon, 22 Nov 2010 05:55:24 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <201011152036.48181.jkim@FreeBSD.org> <201011161530.20165.jkim@FreeBSD.org> <201011191354.25486.jkim@FreeBSD.org> <4CE9A83E.8010005@googlemail.com> In-Reply-To: <4CE9A83E.8010005@googlemail.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3AE12A105A917EA01653036C" X-Virus-Scanned: clamav-milter 0.96.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: [Call for Tests] PAT issue on Apple hardware 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: Mon, 22 Nov 2010 05:55:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3AE12A105A917EA01653036C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21/11/2010 23:16, army.of.root wrote: > On 10\11\19 19:54, Jung-uk Kim wrote: >> On Tuesday 16 November 2010 03:30 pm, Jung-uk Kim wrote: >>> On Monday 15 November 2010 08:36 pm, Jung-uk Kim wrote: >>>> Often times I hear complaints like "my Mac hangs after upgrading >>>> to 8.1" or "snapshot CD hangs on my brand new Mac". I know some >>>> of these complaints started happening when we switched to new PAT >>>> layout. It is so puzzling because it never happened on non-Apple >>>> hardware, AFAIK. I really like to fix this problem but I cannot >>>> afford a Mac. :-P >>>> >>>> If you are one of those lucky people, please test the attached >>>> patch and report your hardware model and any improvement or >>>> regression. >>>> >>>> Also, I added a new tunable "vm.pmap.pat_works" so that you can >>>> turn it off from loader (i.e., "set vm.pmap.pat_works=3D0") and >>>> restore old behaviour without recompiling a new kernel. >>> >>> I revised this patch to make it more robust. >>> >>> http://people.freebsd.org/~jkim/pat-current.diff >>> >>> Also, I prepared a patch for stable/8. If you have recent Apple >>> hardware and it hangs with 8.1 or stable/8, please test this patch. >>> >>> http://people.freebsd.org/~jkim/pat-stable.diff >> >> Anyone? I don't want to commit it blindly. :-( >> >> Jung-uk Kim >=20 > >=20 > Hi, >=20 > I patched the current 8.1-STABLE snapshot CD's kernel and baked it back= > into the iso. >=20 > Before the patch, the kernel would hang, now the livefs cd boots fine o= n > my MacBookPro5,5 (2009 13" alu). >=20 > Thank you so much ! - I love it. >=20 > I attached a dmesg. - Please ask if you need more information, I'd be > happy to help. >=20 > Keep up the awesome work :) >=20 > Thanks Still trying to get the patched 8.1-STABLE built as a release DVD so I can try it out on my MacBookPro, but... =2E.. on the build box, I'm getting problems accessing ZFS snapshots usin= g RELENG_8 from Sat 20th with the pat-stable.diff patches: lucid-nonsense:/:# zfs snapshot -r zroot@20101122-0549 lucid-nonsense:/:# cd /.zfs/snapshot/20101122-0549 /.zfs/snapshot/20101122-0549: Not a directory. lucid-nonsense:/:# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT zroot 25.3G 416G 2.09G legacy zroot@20101122-0549 45K - 2.09G - zroot/tmp 148K 416G 120K /tmp zroot/tmp@20101122-0549 28K - 120K - zroot/usr 12.8G 416G 2.13G /usr zroot/usr@20101122-0549 0 - 2.13G - zroot/usr/home 7.62G 416G 7.62G /usr/home zroot/usr/home@20101122-0549 0 - 7.62G - zroot/usr/obj 1.21G 416G 1.21G /usr/obj zroot/usr/obj@20101122-0549 53K - 1.21G - zroot/usr/ports 1.54G 416G 375M /usr/ports zroot/usr/ports@20101122-0549 0 - 375M - zroot/usr/ports/distfiles 1.04G 416G 1.04G /usr/ports/distfiles zroot/usr/ports/distfiles@20101122-0549 0 - 1.04G - zroot/usr/ports/packages 134M 416G 134M /usr/ports/packages zroot/usr/ports/packages@20101122-0549 0 - 134M - zroot/usr/src 306M 416G 305M /usr/src zroot/usr/src@20101122-0549 504K - 305M - zroot/var 10.3G 416G 297M /var zroot/var@20101122-0549 162K - 297M - zroot/var/crash 21.5K 416G 21.5K /var/crash zroot/var/crash@20101122-0549 0 - 21.5K - zroot/var/db 10.0G 416G 10.0G /var/db zroot/var/db@20101122-0549 0 - 10.0G - zroot/var/db/pkg 10.5M 416G 10.5M /var/db/pkg= zroot/var/db/pkg@20101122-0549 0 - 10.5M - zroot/var/empty 18K 416G 18K /var/empty zroot/var/empty@20101122-0549 0 - 18K - zroot/var/log 3.36M 416G 3.36M /var/log zroot/var/log@20101122-0549 0 - 3.36M - zroot/var/mail 21.5K 416G 21.5K /var/mail zroot/var/mail@20101122-0549 0 - 21.5K - zroot/var/run 114K 416G 97.5K /var/run zroot/var/run@20101122-0549 17K - 97.5K - zroot/var/tmp 371K 416G 371K /var/tmp zroot/var/tmp@20101122-0549 0 - 371K - Possibly coincidental -- I'm building world without the patches now, but I won't know the result until I get back from work this evening. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig3AE12A105A917EA01653036C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzqBdIACgkQ8Mjk52CukIx6KQCeLmRagBl8JFAJUJTcMn65dxjY +dYAn1y3Q1yqb8+RpzXSgoLTgSMznUHi =dJqU -----END PGP SIGNATURE----- --------------enig3AE12A105A917EA01653036C--