Re: [Call for Tests] PAT issue on Apple hardware

From: Matthew Seaman <m.seaman_at_infracaninophile.co.uk>
Date: Mon, 22 Nov 2010 05:55:24 +0000
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=0") 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
> 
> <works for me too!>
> 
> Hi,
> 
> I patched the current 8.1-STABLE snapshot CD's kernel and baked it back
> into the iso.
> 
> Before the patch, the kernel would hang, now the livefs cd boots fine on
> my MacBookPro5,5 (2009 13" alu).
> 
> Thank you so much ! - I love it.
> 
> I attached a dmesg. - Please ask if you need more information, I'd be
> happy to help.
> 
> Keep up the awesome work :)
> 
> 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...

... on the build box, I'm getting problems accessing ZFS snapshots using
RELENG_8 from Sat 20th with the pat-stable.diff patches:

lucid-nonsense:/:# zfs snapshot -r zroot_at_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_at_20101122-0549                        45K      -  2.09G  -
zroot/tmp                                 148K   416G   120K  /tmp
zroot/tmp_at_20101122-0549                    28K      -   120K  -
zroot/usr                                12.8G   416G  2.13G  /usr
zroot/usr_at_20101122-0549                      0      -  2.13G  -
zroot/usr/home                           7.62G   416G  7.62G  /usr/home
zroot/usr/home_at_20101122-0549                 0      -  7.62G  -
zroot/usr/obj                            1.21G   416G  1.21G  /usr/obj
zroot/usr/obj_at_20101122-0549                53K      -  1.21G  -
zroot/usr/ports                          1.54G   416G   375M  /usr/ports
zroot/usr/ports_at_20101122-0549                0      -   375M  -
zroot/usr/ports/distfiles                1.04G   416G  1.04G
/usr/ports/distfiles
zroot/usr/ports/distfiles_at_20101122-0549      0      -  1.04G  -
zroot/usr/ports/packages                  134M   416G   134M
/usr/ports/packages
zroot/usr/ports/packages_at_20101122-0549       0      -   134M  -
zroot/usr/src                             306M   416G   305M  /usr/src
zroot/usr/src_at_20101122-0549               504K      -   305M  -
zroot/var                                10.3G   416G   297M  /var
zroot/var_at_20101122-0549                   162K      -   297M  -
zroot/var/crash                          21.5K   416G  21.5K  /var/crash
zroot/var/crash_at_20101122-0549                0      -  21.5K  -
zroot/var/db                             10.0G   416G  10.0G  /var/db
zroot/var/db_at_20101122-0549                   0      -  10.0G  -
zroot/var/db/pkg                         10.5M   416G  10.5M  /var/db/pkg
zroot/var/db/pkg_at_20101122-0549               0      -  10.5M  -
zroot/var/empty                            18K   416G    18K  /var/empty
zroot/var/empty_at_20101122-0549                0      -    18K  -
zroot/var/log                            3.36M   416G  3.36M  /var/log
zroot/var/log_at_20101122-0549                  0      -  3.36M  -
zroot/var/mail                           21.5K   416G  21.5K  /var/mail
zroot/var/mail_at_20101122-0549                 0      -  21.5K  -
zroot/var/run                             114K   416G  97.5K  /var/run
zroot/var/run_at_20101122-0549                17K      -  97.5K  -
zroot/var/tmp                             371K   416G   371K  /var/tmp
zroot/var/tmp_at_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

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew_at_infracaninophile.co.uk               Kent, CT11 9PW


Received on Mon Nov 22 2010 - 04:55:34 UTC

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