amd64 module of linuxolator

Boris Samorodov bsam at ipt.ru
Tue Jun 6 08:35:59 PDT 2006


Hi Roman,


glad to see you enhancing FreeBSD linuxolator.

On Mon, 5 Jun 2006 14:26:03 +0200 Divacky Roman wrote:

> I made a patch which enables module build of linuxolator. you can get it at:
> www.stud.fit.vutbr.cz/~xdivac02/l64.patch, pls test it.

> I am especially interested in loading the module with/without COMPAT_*32
> various options

Here what I have:

=====
# uname -srm
FreeBSD 6.1-RELEASE amd64
# cd /usr/src/sys
# patch -C -p4 < l64.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/syscalls.master#1 - /root/projects/soc2006/amd64/linux32/syscalls.master ====
|--- /tmp/tmp.59671.0   Mon Jun  5 20:23:57 2006
|+++ /root/projects/soc2006/amd64/linux32/syscalls.master       Mon Jun  5 20:20:35 2006
--------------------------
Patching file amd64/linux32/syscalls.master using Plan A...
Hunk #1 succeeded at 4.
Hunk #2 failed at 14.
Hunk #3 failed at 43.
Hunk #4 succeeded at 318 (offset 1 line).
Hunk #5 succeeded at 403 (offset 1 line).
Hunk #6 succeeded at 416 (offset 1 line).
Hunk #7 succeeded at 429 (offset 1 line).
2 out of 7 hunks failed--saving rejects to amd64/linux32/syscalls.master.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/syscalls.master#1 - /root/projects/soc2006/i386/linux/syscalls.master ====
|--- /tmp/tmp.59671.1   Mon Jun  5 20:23:57 2006
|+++ /root/projects/soc2006/i386/linux/syscalls.master  Mon Jun  5 19:44:32 2006
--------------------------
Patching file i386/linux/syscalls.master using Plan A...
Hunk #1 succeeded at 429 (offset -5 lines).
done
=====

Should the patch be applied to -current?


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-emulation mailing list