From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 3 22:05:28 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EF6A16A415; Wed, 3 Jan 2007 22:05:28 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.freebsd.org (Postfix) with ESMTP id 76AA113C441; Wed, 3 Jan 2007 22:05:27 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Thu, 04 Jan 2007 06:05:25 +0800 id 0011F80B.459C28A5.000097CD References: <20070103122134.GA74544@stud.fit.vutbr.cz> In-Reply-To: <20070103122134.GA74544@stud.fit.vutbr.cz> From: "Intron is my alias on the Internet" To: freebsd-emulation@freebsd.org, freebsd-hackers@freebsd.org Date: Thu, 04 Jan 2007 06:05:25 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Mailman-Approved-At: Thu, 04 Jan 2007 06:06:33 +0000 Cc: Subject: Successfully Unbreak Adobe Reader 7.0.8 for the New Linux Emulator X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 22:05:28 -0000 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