Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2007 06:05:25 +0800
From:      "Intron is my alias on the Internet" <intron@intron.ac>
To:        freebsd-emulation@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Successfully Unbreak Adobe Reader 7.0.8 for the New Linux Emulator
Message-ID:  <courier.459C28A5.000097CD@intron.ac>
In-Reply-To: <20070103122134.GA74544@stud.fit.vutbr.cz>
References:  <courier.459AEF10.00006EA6@intron.ac> <20070103122134.GA74544@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
It's dawning in Beijing now. I'm quite tired. Here, I only summarize
the solution as is. I will write a complete hacking report after a rest.

1. Restore your /sys/compat/linux/linux_file.c to the original revision
    1.99 (7.0-CURRENT) if you have applied my yesterday's patch. You have
    two convenient ways to do this:

    1) Overwrite linux_file.c with linux_file.c.orig backuped by patch(1)

    OR

    2) Download the revision 1.99 from:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_file.c

2. Apply my new patch for /sys/compat/linux/linux_file.c:
       http://ftp.intron.ac/tmp/linux_file.c.2.diff

3. Recompile and reload the module linux.ko.

4. sysctl compat.linux.osrelease=2.6.16

5. Remove ~/.adobe/Acrobat/7.0/UserCache.bin if something troubles you.

My brain is a little foggy now. If I make something wrong, please do not
laugh at me.

Screenshots:

1. FreeBSD Developers' Handbook, Chinese version:

   http://ftp.intron.ac/tmp/adobereader-20070104-1.png

2. Unicode 4.1 Code Charts, a page for ancient Chinese characters:

   http://ftp.intron.ac/tmp/adobereader-20070104-2.png

3. The English novel Jane Eyre (got from http://www.planetpdf.com/):

   http://ftp.intron.ac/tmp/adobereader-20070104-3.png

------------------------------------------------------------------------
                                                From Beijing, China




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.459C28A5.000097CD>