Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 05:55:24 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-current@freebsd.org
Subject:   Re: [Call for Tests] PAT issue on Apple hardware
Message-ID:  <4CEA05CC.4050600@infracaninophile.co.uk>
In-Reply-To: <4CE9A83E.8010005@googlemail.com>
References:  <201011152036.48181.jkim@FreeBSD.org>	<201011161530.20165.jkim@FreeBSD.org>	<201011191354.25486.jkim@FreeBSD.org> <4CE9A83E.8010005@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> <works for me too!>
>=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CEA05CC.4050600>