Flash 9 crash problems

Novembre novembre at gmail.com
Wed Mar 11 17:14:12 PDT 2009


On Wed, Mar 4, 2009 at 2:43 AM, Alexander Leidinger <Alexander at leidinger.net
> wrote:

> Quoting Novembre <novembre at gmail.com> (from Tue, 3 Mar 2009 20:41:03
> -0600):
>
>  I found two posts containing patches regarding this issue:
>> 1)
>>
>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2008/freebsd-emulation/20081228.freebsd-emulation
>> 2)
>>
>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-emulation/20090215.freebsd-emulation
>>
>> The first post contains two patches, of which one is marked specifically
>> for
>> 7-STABLE (as of Dec 21, 2008 when the patches were made available). The
>> second post also has a patch, but I don't know whether it is for 8-CURRENT
>> or 7-STABLE. Which one should I apply?
>>
>
> If you do not want to wait: the patch utility has the option "-C" which
> just tries to apply the patch but does not really apply it. This way you can
> see if a patch is applicable to what you have or not. This way you can test
> if one of all those patches applies at all to what you have. In the worst
> case it applies, but you get a kernel panic upon use of some linux stuff
> (you may lose data because of this). In the best case at least one applies
> and it works perfectly.
>
> Bye,
> Alexander.
>
> --
> If we see the light at the end of the tunnel
> It's the light of an oncoming train.
>                -- Robert Lowell
>
>
> http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
> http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
>


I copied both files to /usr/src/sys/ and tried patching with -C option. It
asks me a question about
which file to patch! Here's the result:

#pwd
/usr/src/sys
#patch -C < futexes_partial_II.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sys/amd64/amd64/elf_machdep.c b/sys/amd64/amd64/elf_machdep.c
|index 4f6d178..0aea61d 100644
|--- a/sys/amd64/amd64/elf_machdep.c
|+++ b/sys/amd64/amd64/elf_machdep.c
--------------------------
File to patch:

# patch -C < mega-st7.linux.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
|index 0a386be..3c2cd20 100644
|--- a/sys/amd64/include/elf.h
|+++ b/sys/amd64/include/elf.h
--------------------------
File to patch:

I have no idea what to tell it, so I just press Ctrl-C to cancel the
command. Any ideas?

Thanks


More information about the freebsd-emulation mailing list