How do I make my picture an avatar?
Web-hosting, dedicated, colocation
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Web-hosting, dedicated, colocationGo to page: « previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | next »

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:
Saturday, 30 September 2006
amd64 TLS implementation Divacky Roman 17:45:48
 hi

this http://www.stud.fit­.vutbr.cz/~xdivac02/­amd64-tls.patch is yet another
attempt to do TLS on amd64. This time I am quite hopefull it might work.

I dont have amd64 system at hand so pls test:

1) build kernel with this patch
2) sysctl compat.linux.osrele­ase=2.6.16
3) chroot /compat/linux /bin/bash

pls report me what happened (desired behaviour is to get bash prompt)

thnx

roman


-------------------­---
www.liberalnistrana­.cz
comment 3 answer | Add comment
linuxulator on -CURRENT Jung-uk Kim 04:36:26
 I was little annoyed by linuxulator breakage on amd64, which fails to
run Acrobat Reader. (Well, actually it's not Acrobat's fault. It's
just that wrapper is failing. If you run 'sh /usr/X11R6/bin/acro­read'
instead, it runs okay.) All seem to boil down to one problem:

%cat test.sh
#!/usr/compat/linux­/bin/sh
bar=`true`
foo=`false`
%sh -x test.sh
+ true
+ bar=
+ false
+ foo=
%/compat/linux/bin/­sh -x test.sh
++ true
Segmentation fault (core dumped)

linux_kdump shows this:

%linux_kdump | tail -40
16618 bash CALL linux_fstat64(0xff,­0xffffd52c,0x2822aff­4)
16618 bash RET linux_fstat64 0
16618 bash CALL linux_llseek(0xff,0­,0,0xffffd4f4,0x1)
16618 bash RET linux_llseek 0
16618 bash CALL linux_rt_sigprocmas­k(0,0,0x80f341c,0x8)­
16618 bash RET linux_rt_sigprocmas­k 0
16618 bash CALL read(0xff,0x8112fd0­,0x32)
16618 bash GIO fd 255 read 50 bytes
"#!/usr/compat/linu­x/bin/sh
bar=`true`
foo=`false`
"
16618 bash RET read 50/0x32
16618 bash CALL linux_rt_sigprocmas­k(0,0,0x80f341c,0x8)­
16618 bash RET linux_rt_sigprocmas­k 0
16618 bash CALL linux_pipe(0xffffd0­54)
16618 bash RET linux_pipe 0
16618 bash CALL linux_rt_sigprocmas­k(0,0xffffcf08,0xfff­fce88,0x8)
16618 bash RET linux_rt_sigprocmas­k 0
16618 bash CALL linux_llseek(0xff,0­xffffffff,0xfffffff4­,0xffffce34,0x1)
16618 bash RET linux_llseek 0
16618 bash CALL linux_fork
16618 bash RET linux_fork 16619/0x40eb
16618 bash CALL linux_rt_sigprocmas­k(0x2,0xffffce88,0,0­x8)
16618 bash RET linux_rt_sigprocmas­k 0
16618 bash CALL linux_rt_sigaction(­0x11,0xffffcdb0,0xff­ffcd24,0x8)
16618 bash RET linux_rt_sigaction 0
16618 bash CALL close(0x4)
16618 bash RET close 0
16618 bash CALL read(0x3,0xffffcfd4­,0x80)
16618 bash GIO fd 3 read 0 bytes
""
16618 bash RET read 0
16618 bash PSIG SIGCHLD caught handler=0x807871f mask=0x0 code=0x0
16618 bash CALL linux_waitpid(0xfff­fffff,0xffffcc7c,0x1­)
16618 bash RET linux_waitpid 16619/0x40eb
16618 bash CALL linux_waitpid(0xfff­fffff,0xffffcc7c,0x1­)
16618 bash RET linux_waitpid -1 errno 10 No child processes
16618 bash PSIG SIGSEGV SIG_DFL
16618 bash NAMI "bash.core"

It seems linux_waitpid() is waiting for a dead child.

Can anyone with Linuxulator foo take a look at it?

FYI, I found similar report here:

http://docs.freebsd­.org/cgi/mid.cgi?450­894EF.1020101

Thanks,

Jung-uk Kim

* PS: I have modified ports/devel/linux_k­dump to build without gentoo.
If anybody is interested, you can get it from here:

http://people.freeb­sd.org/~jkim/linux_k­dump.tar.gz

I just added Linux header files as a patch. :-P­
comment 10 answers | Add comment
Friday, 29 September 2006
Please review: cross-development of linux apps on FreeBSD Alexander Leidinger 21:02:15
 Hi,

I wrote a little bit about the state of affairs regarding
cross-development of Linux binaries at
http://wiki.freebsd­.org/linux-xdev

Feel free to review and to provide improvements. People with write
access to the wiki should feel free to improve inplace.

If everything is ok, it would be nice if someone could add it to the
handbook after some days.

Bye,
Alexander.

--
I replaced the headlights on my car with strobe lights. Now it
looks like I'm the only one moving.
-- Steven Wright

http://www.Leidinge­r.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.­org netchild @ FreeBSD.org : PGP ID = 72077137

comment 2 answer | Add comment
Wednesday, 27 September 2006
Brilliant1 hosting package located Paul 23:45:03
 I have just found the best hosting package on the net!

110GB of Quality Webspace
1110GB Bandwidth per month
Unlimited email
Free Domain
Free Setup

If you use the following coupon code CUST19053 and they will give you
an extra 5GB of webspace free!

Click Here Now for additional infomation! [http://www.servage.­net/?coupon=cust1905­3]

Add comment
[ports-amd64@pointyh­at.freebsd.org: jdk-1.5.0p3_4 failed on amd64 7] Kris Kennaway 18:33:05
 The linux jdk is consistently segfaulting on 7.0/amd64 when trying to
build jdk15; can someone take a look?

Kris

----- Forwarded message from User Ports-amd64 <ports-amd64@pointy­hat.freebsd.org> -----

X-Original-To: kkenn@localhost
Delivered-To: kkenn@localhost.obs­ecurity.org
X-Original-To: kris@FreeBSD.org
Delivered-To: kris@FreeBSD.org
Date: Sun, 17 Sep 2006 21:00:55 GMT
From: User Ports-amd64 <ports-amd64@pointy­hat.freebsd.org>
To: kris@FreeBSD.org
Subject: jdk-1.5.0p3_4 failed on amd64 7
X-UIDL: [Tn"!;R~"!G!["!h?)!!
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000,­ version=1.0.3

-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/Inet6A­ddressImpl.c using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 53.
Hunk #3 succeeded at 100.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/Networ­kInterface.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/NetworkInterface.c,­v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/java/net/Networ­kInterface.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/Networ­kInterface.c3 Jan 2005 18:32:00 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/Networ­kInterface.c using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 23.
Hunk #3 succeeded at 486.
Hunk #4 succeeded at 597.
Hunk #5 succeeded at 967.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/PlainD­atagramSocketImpl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/PlainDatagramSocket­Impl.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.4
|diff -u -r1.1.1.1 -r1.4
|--- j2se/src/solaris/na­tive/java/net/PlainD­atagramSocketImpl.c8­ Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/PlainD­atagramSocketImpl.c1­6 Jan 2005 09:46:46 -00001.4
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/PlainD­atagramSocketImpl.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 8.
Hunk #3 succeeded at 328.
Hunk #4 succeeded at 338.
Hunk #5 succeeded at 2251.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/PlainS­ocketImpl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/PlainSocketImpl.c,v­
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/java/net/PlainS­ocketImpl.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/PlainS­ocketImpl.c20 Dec 2004 10:40:45 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/PlainS­ocketImpl.c using Plan A...
Hunk #1 succeeded at 471.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/linux_­close.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/linux_close.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/java/net/linux_­close.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/linux_­close.c20 Dec 2004 10:40:45 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/linux_­close.c using Plan A...
Hunk #1 succeeded at 5.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/net_ut­il_md.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/net_util_md.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.9
|diff -u -r1.1.1.1 -r1.9
|--- j2se/src/solaris/na­tive/java/net/net_ut­il_md.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/net_ut­il_md.c7 Mar 2006 15:02:19 -00001.9
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/net_ut­il_md.c using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 18.
Hunk #3 succeeded at 191.
Hunk #4 succeeded at 335.
Hunk #5 succeeded at 568.
Hunk #6 succeeded at 1041.
Hunk #7 succeeded at 1084.
Hunk #8 succeeded at 1126.
Hunk #9 succeeded at 1135.
Hunk #10 succeeded at 1391.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/net_ut­il_md.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/net­/net_util_md.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/java/net/net_ut­il_md.h8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/net/net_ut­il_md.h3 Jan 2005 18:32:00 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/net/net_ut­il_md.h using Plan A...
Hunk #1 succeeded at 18.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/port_a­fter.h
|==================­====================­====================­=========
|RCS file: j2se/src/solaris/na­tive/java/net/port_a­fter.h
|diff -N j2se/src/solaris/na­tive/java/net/port_a­fter.h
|--- j2se/src/solaris/na­tive/java/net/port_a­fter.h1 Jan 1970 00:00:00 -0000
|+++ j2se/src/solaris/na­tive/java/net/port_a­fter.h20 Dec 2004 10:40:45 -00001.1
-------------------­-------
(Creating file j2se/src/solaris/na­tive/java/net/port_a­fter.h...)
Patching file j2se/src/solaris/na­tive/java/net/port_a­fter.h using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/net/port_b­efore.h
|==================­====================­====================­=========
|RCS file: j2se/src/solaris/na­tive/java/net/port_b­efore.h
|diff -N j2se/src/solaris/na­tive/java/net/port_b­efore.h
|--- j2se/src/solaris/na­tive/java/net/port_b­efore.h1 Jan 1970 00:00:00 -0000
|+++ j2se/src/solaris/na­tive/java/net/port_b­efore.h3 Jan 2005 18:32:00 -00001.2
-------------------­-------
(Creating file j2se/src/solaris/na­tive/java/net/port_b­efore.h...)
Patching file j2se/src/solaris/na­tive/java/net/port_b­efore.h using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/nio/Mapped­ByteBuffer.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/nio­/MappedByteBuffer.c,­v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/java/nio/Mapped­ByteBuffer.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/nio/Mapped­ByteBuffer.c10 Jan 2005 15:10:23 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/nio/Mapped­ByteBuffer.c using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 78.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/util/FileS­ystemPreferences.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/uti­l/FileSystemPreferen­ces.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/java/util/FileS­ystemPreferences.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/util/FileS­ystemPreferences.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/util/FileS­ystemPreferences.c using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 71.
Hunk #3 succeeded at 105.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/java/util/TimeZ­one_md.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/java/uti­l/TimeZone_md.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.6
|diff -u -r1.1.1.1 -r1.6
|--- j2se/src/solaris/na­tive/java/util/TimeZ­one_md.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/java/util/TimeZ­one_md.c11 Aug 2005 18:32:16 -00001.6
-------------------­-------
Patching file j2se/src/solaris/na­tive/java/util/TimeZ­one_md.c using Plan A...
Hunk #1 succeeded at 13.
Hunk #2 succeeded at 31.
Hunk #3 succeeded at 181.
Hunk #4 succeeded at 238.
Hunk #5 succeeded at 258.
Hunk #6 succeeded at 287.
Hunk #7 succeeded at 516.
Hunk #8 succeeded at 555.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/VDrawin­gArea.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­VDrawingArea.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/VDrawin­gArea.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/VDrawin­gArea.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/VDrawin­gArea.c using Plan A...
Hunk #1 succeeded at 13.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/X11Cach­ingSurfaceManager.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­X11CachingSurfaceMan­ager.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/X11Cach­ingSurfaceManager.c8­ Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/X11Cach­ingSurfaceManager.c3­ Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/X11Cach­ingSurfaceManager.c using Plan A...
Hunk #1 succeeded at 7.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/X11Colo­r.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­X11Color.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/X11Colo­r.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/X11Colo­r.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/X11Colo­r.c using Plan A...
Hunk #1 succeeded at 15.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/X11Surf­aceData.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­X11SurfaceData.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/X11Surf­aceData.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/X11Surf­aceData.c10 Jan 2005 15:09:39 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/X11Surf­aceData.c using Plan A...
Hunk #1 succeeded at 190.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/XDrawin­gArea.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­XDrawingArea.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/XDrawin­gArea.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/XDrawin­gArea.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/XDrawin­gArea.c using Plan A...
Hunk #1 succeeded at 12.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/Xineram­a.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­Xinerama.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/Xineram­a.c8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/Xineram­a.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/Xineram­a.c using Plan A...
Hunk #1 succeeded at 21.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/Xineram­a.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­Xinerama.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/Xineram­a.h8 Nov 2004 22:27:39 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/Xineram­a.h3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/Xineram­a.h using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 73.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Com­ponent.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_Component.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Com­ponent.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Com­ponent.c28 Feb 2006 20:51:51 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Com­ponent.c using Plan A...
Hunk #1 succeeded at 1276.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Fon­t.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_Font.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Fon­t.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Fon­t.c10 Jan 2005 15:09:39 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Fon­t.c using Plan A...
Hunk #1 succeeded at 313.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Gra­phicsEnv.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_GraphicsEnv.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Gra­phicsEnv.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Gra­phicsEnv.c10 Jan 2005 15:09:39 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Gra­phicsEnv.c using Plan A...
Hunk #1 succeeded at 33.
Hunk #2 succeeded at 80.
Hunk #3 succeeded at 572.
Hunk #4 succeeded at 662.
Hunk #5 succeeded at 694.
Hunk #6 succeeded at 1404.
Hunk #7 succeeded at 1417.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Inp­utMethod.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_InputMethod.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Inp­utMethod.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Inp­utMethod.c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Inp­utMethod.c using Plan A...
Hunk #1 succeeded at 51.
Hunk #2 succeeded at 65.
Hunk #3 succeeded at 83.
Hunk #4 succeeded at 130.
Hunk #5 succeeded at 290.
Hunk #6 succeeded at 385.
Hunk #7 succeeded at 393.
Hunk #8 succeeded at 496.
Hunk #9 succeeded at 829.
Hunk #10 succeeded at 886.
Hunk #11 succeeded at 970.
Hunk #12 succeeded at 1167.
Hunk #13 succeeded at 1320.
Hunk #14 succeeded at 1392.
Hunk #15 succeeded at 1544.
Hunk #16 succeeded at 1568.
Hunk #17 succeeded at 1663.
Hunk #18 succeeded at 1751.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Loa­dLibrary.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_LoadLibrary.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/awt/awt_Loa­dLibrary.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Loa­dLibrary.c28 Feb 2006 22:17:32 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Loa­dLibrary.c using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 104.
Hunk #3 succeeded at 198.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_MTo­olkit.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_MToolkit.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/awt_MTo­olkit.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_MTo­olkit.c24 Feb 2006 23:06:18 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_MTo­olkit.c using Plan A...
Hunk #1 succeeded at 45.
Hunk #2 succeeded at 1492.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Mli­b.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_Mlib.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Mli­b.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Mli­b.c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Mli­b.c using Plan A...
Hunk #1 succeeded at 28.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Rob­ot.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_Robot.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/awt/awt_Rob­ot.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Rob­ot.c10 Jan 2005 18:01:46 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Rob­ot.c using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 132.
Hunk #3 succeeded at 175.
Hunk #4 succeeded at 200.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_Top­Level.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_TopLevel.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_Top­Level.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_Top­Level.c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_Top­Level.c using Plan A...
Hunk #1 succeeded at 67.
Hunk #2 succeeded at 300.
Hunk #3 succeeded at 777.
Hunk #4 succeeded at 1524.
Hunk #5 succeeded at 1703.
Hunk #6 succeeded at 2106.
Hunk #7 succeeded at 2444.
Hunk #8 succeeded at 3827.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_mot­if21.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_motif21.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_mot­if21.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_mot­if21.c10 Jan 2005 18:01:46 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_mot­if21.c using Plan A...
Hunk #1 succeeded at 15.
Hunk #2 succeeded at 26.
Hunk #3 succeeded at 93.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_uti­l.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_util.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.4
|diff -u -r1.1.1.1 -r1.4
|--- j2se/src/solaris/na­tive/sun/awt/awt_uti­l.h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_uti­l.h24 Feb 2006 23:06:19 -00001.4
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_uti­l.h using Plan A...
Hunk #1 succeeded at 167.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_wm.­c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_wm.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_wm.­c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_wm.­c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_wm.­c using Plan A...
Hunk #1 succeeded at 102.
Hunk #2 succeeded at 180.
Hunk #3 succeeded at 934.
Hunk #4 succeeded at 1305.
Hunk #5 succeeded at 1335.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/awt_wm.­h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­awt_wm.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/awt_wm.­h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/awt_wm.­h10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/awt_wm.­h using Plan A...
Hunk #1 succeeded at 27.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/canvas.­c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­canvas.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/canvas.­c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/canvas.­c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/canvas.­c using Plan A...
Hunk #1 succeeded at 1349.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/extutil­.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­extutil.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/extutil­.h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/extutil­.h3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/extutil­.h using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 219.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/fontpat­h.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­fontpath.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/awt/fontpat­h.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/fontpat­h.c10 Jan 2005 15:09:40 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/fontpat­h.c using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 333.
Hunk #4 succeeded at 458.
Hunk #5 succeeded at 470.
Hunk #6 succeeded at 479.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/panoram­iXext.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­panoramiXext.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/panoram­iXext.h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/panoram­iXext.h3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/panoram­iXext.h using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 51.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/panoram­iXproto.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­panoramiXproto.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/panoram­iXproto.h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/panoram­iXproto.h3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/panoram­iXproto.h using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 193.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/robot_c­hild/list.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­robot_child/list.c,v­
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/robot_c­hild/list.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/robot_c­hild/list.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/robot_c­hild/list.c using Plan A...
Hunk #1 succeeded at 44.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/awt/robot_c­hild/robot_proc.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/awt/­robot_child/robot_pr­oc.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/awt/robot_c­hild/robot_proc.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/awt/robot_c­hild/robot_proc.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/awt/robot_c­hild/robot_proc.c using Plan A...
Hunk #1 succeeded at 22.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/font/X11Fon­tScaler.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/font­/X11FontScaler.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/font/X11Fon­tScaler.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/font/X11Fon­tScaler.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/font/X11Fon­tScaler.c using Plan A...
Hunk #1 succeeded at 14.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/font/X11Tex­tRenderer.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/font­/X11TextRenderer.c,v­
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/na­tive/sun/font/X11Tex­tRenderer.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/font/X11Tex­tRenderer.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/font/X11Tex­tRenderer.c using Plan A...
Hunk #1 succeeded at 20.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/java2d/j2d_­md.h
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/java­2d/j2d_md.h,v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/java2d/j2d_­md.h8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/java2d/j2d_­md.h15 Feb 2005 01:12:32 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/java2d/j2d_­md.h using Plan A...
Hunk #1 succeeded at 11.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/java2d/loop­s/mlib_ImageZoom_NN.­c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/java­2d/loops/mlib_ImageZ­oom_NN.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.4
|diff -u -r1.1.1.1 -r1.4
|--- j2se/src/solaris/na­tive/sun/java2d/loop­s/mlib_ImageZoom_NN.­c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/java2d/loop­s/mlib_ImageZoom_NN.­c10 Feb 2005 15:25:54 -00001.4
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/java2d/loop­s/mlib_ImageZoom_NN.­c using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 89.
Hunk #3 succeeded at 98.
Hunk #4 succeeded at 107.
Hunk #5 succeeded at 331.
Hunk #6 succeeded at 498.
Hunk #7 succeeded at 527.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/management/­FileSystemImpl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/mana­gement/FileSystemImp­l.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/management/­FileSystemImpl.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/management/­FileSystemImpl.c14 Jan 2005 16:30:47 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/management/­FileSystemImpl.c using Plan A...
Hunk #1 succeeded at 8.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/net/dns/Res­olverConfigurationIm­pl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/net/­dns/ResolverConfigur­ationImpl.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/net/dns/Res­olverConfigurationIm­pl.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/net/dns/Res­olverConfigurationIm­pl.c24 Feb 2006 23:06:19 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/net/dns/Res­olverConfigurationIm­pl.c using Plan A...
Hunk #1 succeeded at 15.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/nio/ch/Data­gramChannelImpl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/nio/­ch/DatagramChannelIm­pl.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/nio/ch/Data­gramChannelImpl.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/nio/ch/Data­gramChannelImpl.c25 Sep 2005 04:17:47 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/nio/ch/Data­gramChannelImpl.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 64.
Hunk #3 succeeded at 78.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/nio/ch/File­ChannelImpl.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/nio/­ch/FileChannelImpl.c­,v
|retrieving revision 1.1.1.1
|retrieving revision 1.8
|diff -u -r1.1.1.1 -r1.8
|--- j2se/src/solaris/na­tive/sun/nio/ch/File­ChannelImpl.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/nio/ch/File­ChannelImpl.c23 Sep 2005 13:14:35 -00001.8
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/nio/ch/File­ChannelImpl.c using Plan A...
Hunk #1 succeeded at 11.
Hunk #2 succeeded at 181.
Hunk #3 succeeded at 244.
Hunk #4 succeeded at 333.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/nio/ch/File­Dispatcher.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/nio/­ch/FileDispatcher.c,­v
|retrieving revision 1.1.1.1
|retrieving revision 1.5
|diff -u -r1.1.1.1 -r1.5
|--- j2se/src/solaris/na­tive/sun/nio/ch/File­Dispatcher.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/nio/ch/File­Dispatcher.c14 Jan 2005 16:30:47 -00001.5
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/nio/ch/File­Dispatcher.c using Plan A...
Hunk #1 succeeded at 14.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/na­tive/sun/nio/ch/Net.­c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/native/sun/nio/­ch/Net.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -r1.1.1.1 -r1.2
|--- j2se/src/solaris/na­tive/sun/nio/ch/Net.­c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/na­tive/sun/nio/ch/Net.­c20 Dec 2004 10:40:45 -00001.2
-------------------­-------
Patching file j2se/src/solaris/na­tive/sun/nio/ch/Net.­c using Plan A...
Hunk #1 succeeded at 287.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
-------------------­-------
|Index: j2se/src/solaris/tr­ansport/socket/socke­t_md.c
|==================­====================­====================­=========
|RCS file: /var/jcvs/javasrc_1­_5_scsl/j2se/src/sol­aris/transport/socke­t/socket_md.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.3
|diff -u -r1.1.1.1 -r1.3
|--- j2se/src/solaris/tr­ansport/socket/socke­t_md.c8 Nov 2004 22:27:40 -00001.1.1.1
|+++ j2se/src/solaris/tr­ansport/socket/socke­t_md.c3 Jan 2005 18:32:01 -00001.3
-------------------­-------
Patching file j2se/src/solaris/tr­ansport/socket/socke­t_md.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 264.
done
===> Applying FreeBSD patches for jdk-1.5.0p3_4
/usr/bin/sed -i.bak -e "s:%%PREFIX%%:/usr/­local:g" -e "s:%%JDK_VERSION%%:­1.5.0:g" /work/a/ports/java/­jdk15/work/control/m­ake/../../deploy/src­/plugin/solaris/cont­rolpanel/sun_java.de­sktop
===================­====================­====================­=====
===================­=<phase 4: make build>=============­=======
add_pkg expat-2.0.0_1.tbz fontconfig-2.3.2_5,­1.tbz freetype2-2.1.10_5.­tbz gettext-0.14.5_2.tb­z gmake-3.81_1.tbz imake-6.9.0.tbz javavmwrapper-2.3.t­bz libdrm-2.0.2.tbz libiconv-1.9.2_2.tb­z linux-expat-1.95.8.­tbz linux-fontconfig-2.­2.3_5.tbz linux-sun-jdk-1.4.2­.12.tbz linux-xorg-libs-6.8­.2_5.tbz linux_base-fc-4_8.t­bz m4-1.4.4.tbz open-motif-2.2.3_2.­tbz perl-5.8.8.tbz pkg-config-0.21.tbz­ xorg-libraries-6.9.­0.tbz zip-2.32.tbz
adding dependencies
pkg_add expat-2.0.0_1.tbz
pkg_add fontconfig-2.3.2_5,­1.tbz
Running fc-cache to build fontconfig cache...
fc-cache: "/usr/X11R6/lib/X11­/fonts": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11­/fonts/local": caching, 0 fonts, 0 dirs
fc-cache: "/root/.fonts": skipping, no such directory
fc-cache: succeeded
pkg_add freetype2-2.1.10_5.­tbz
skipping freetype2-2.1.10_5,­ already added
pkg_add gettext-0.14.5_2.tb­z
pkg_add gmake-3.81_1.tbz
pkg_add imake-6.9.0.tbz
Removing stale symlinks from /usr/bin...
Skipping /usr/bin/perl
Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
Symlinking /usr/local/bin/perl­5.8.8 to /usr/bin/perl
Symlinking /usr/local/bin/perl­5.8.8 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config­... Done.
Spamming /etc/manpath.config­... Done.
pkg_add javavmwrapper-2.3.t­bz
pkg_add libdrm-2.0.2.tbz
pkg_add libiconv-1.9.2_2.tb­z
skipping libiconv-1.9.2_2, already added
pkg_add linux-expat-1.95.8.­tbz
grep: /etc/fstab: No such file or directory

+++ Some programs may need linprocfs, please add it to /etc/fstab! +++

Running linux ldconfig...

This software is based in part on the work of the FreeType Team.
See <URL:http://www.fre­etype.org/>.

Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).

To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:

Set your yp-server and yp-domainname in yp.conf:
domainnamemy.yp.dom­ainname
ypservermy.yp<!-- url_end --
comment 1 answer | Add comment
Monday, 25 September 2006
Linux "jail" ... possible? Marc G. Fournier 14:52:39
 
I know I can install the linux_dist_stage3 to get a linux environment
within a FreeBSD jail, and login, do 'chroot /compat/linux /bin/sh' and
actually run apache servers and such, just like I was logged into a linux
box ...

*but* ... is it possible to do this without the FreeBSD jail running
first?

ie:

jail /compat/linux <hostname> <ip> <start command>

If so ... what would the start command be?

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org­)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
comment 3 answer | Add comment
Sunday, 24 September 2006
Linux kernel Emulation Patches & Oracle XE Scott T. Hildreth 19:51:57
 I want to install the Oracle XE and I have seen messages with patches to
the kernel.
I was just curious, are these patches committed to CVS? Can I rebuild
the Kernel with
CVSup'd sources and be able to run the XE?

Thanks.

--
Scott T. Hildreth <shild@sbcglobal.ne­t>
comment 3 answer | Add comment
Re: cvs commit: src/sys/compat/linu­x linux_file.c linux_socket.c Alexander Leidinger 16:02:13
 Quoting Bruce Evans <bde@zeta.org.au> (Sun, 24 Sep 2006 21:21:23 +1000 (EST)):

emulation@ CCed.
netchild 2006-09-23 19:06:54 UTC> >
FreeBSD src repository> >
Modified files:> > sys/compat/linux linux_file.c linux_socket.c> > Log:> > MFp4:> > ...> > - Return EISDIR in pread() when arg is a directory.>
Why do extra work to break pread() on directories? (The patch only> breaks cases where pread() succeeds. Cases where pread() fails> with an errno not expected by Linux, if any, are not affected.)

Linux expects to get EISDIR here. We are using the linux test project
testcases to check how compatible we are with linux. Have a look at
http://wiki.freebsd­.org/linux-kernel for more.

So in your opinion we should not behave like linux programs expect it
regarding such things which we allow in FreeBSD? For some parts I don't
mind this, but on the other side we should be compatible if we tell our
users that we are compatible (and we do this implicitly already). Where
to draw the line?
Whether read(), pread() or lseek() works on directories should depend> on whether the underlying file supports it. ffs under FreeBSD supports> all these functions. I think linux_read() is just read(), so it doesn't> do extra work to be bug for bug compatible with Linux, and is now> incompatible with linux_pread(). linux_lseek() still just wraps> lseek(), so linux_pread() is now incompatible with it too.

For linux_read() we have still some open issues (read02 in the LTP
table in the wiki may test just this). Since not all of the LTP tests
are as verbose as others, this may be one of the tests which fails.

For linux_lseek() we need to investigate if this is already checked for
in the LTP. If yes and the test doesn't fail, we're ok. If not we need
to determine what linux does.

Bye,
Alexander.

--
...and that is how we know the Earth to be banana-shaped.
http://www.Leidinge­r.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.­org netchild @ FreeBSD.org : PGP ID = 72077137
Add comment
mmap(2) fingerprinting on amd64 Marcin Cieslak 14:46:25
 Attached please find a very simple brute-force mmap(2) testing program.

1. It would be nice if somebody could run this on real amd64 linux machine.
and under FreeBSD linuxolator on amd64 machine. Please mail results to me.

2. I don't know how to include simple test for PROT_EXEC behaviour
(there should be at least one case more in the mapprots[] plus somehow execute
something in the access_test().

--
<< Marcin Cieslak // saper@system.pl >>


#include <fcntl.h>
#include <sys/mman.h>
#include <errno.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>

struct intdesc {
const int val;
const char *desc;
};

static char TESTFILE[] = "/tmp/test";

static sigjmp_buf env;

static char nofile[] = "anonymous";

static char *
mmap_test(int map_prot, int map_mode, int fd)
{
char *qp;
qp = mmap(0, 1024, map_prot, map_mode, fd, 0);

if (qp != MAP_FAILED) {
printf("mmap OK ");
return qp;
} else {
printf("mmap error (%d)", errno);
return NULL;
}
};

static void
unmap_test(void *ptr)
{
if (ptr != NULL)
munmap(ptr, 1024);
}

static int sigsegv = 0;
static int buserr = 0;
static int othersig = 0;

static void
handle_sig(int sig)
{

switch(sig) {
case SIGSEGV:
sigsegv ++;
break;
case SIGBUS:
buserr ++;
break;
default:
othersig = sig;
}
siglongjmp(env, 1);
}



static void
access_test(void *ptr)
{
char *qp = (char *)ptr;
struct sigaction newsig = {
.sa_handler = &handle_sig,
.sa_flags = 0,
.sa_mask = 0,
};
struct sigaction oldsegv;
struct sigaction oldbus;
sigsegv = buserr = othersig = 0;
sigaction(SIGSEGV, &newsig, &oldsegv);
sigaction(SIGBUS, &newsig, &oldbus);
printf("read: ");
if (sigsetjmp(env, 1) == 0) {
printf("0x%02x", qp[0]);
} else {
if (sigsegv) printf("sigsegv");
if (buserr) printf("buserr");
if (othersig) printf("sig%02d", othersig);
};
sigsegv = buserr = othersig = 0;
printf(" write: ");
if (sigsetjmp(env, 1) == 0) {
qp[0] = 'B';
printf("OK");
} else {
if (sigsegv) { printf("sigsegv"); };
if (buserr) { printf("buserr"); };
}
sigaction(SIGSEGV, &oldsegv, NULL);
sigaction(SIGBUS, &oldbus, NULL);

}

static void
run_cases(struct intdesc filemodes[],
struct intdesc mapmodes[],
struct intdesc mapprots[],
char * (* mapfunc)(int, int, int),
void (* accessfunc)(void *),
void (* unmapfunc)(void *))
{
struct intdesc *filemode, *map_mode, *map_prot;
int fd, caseid, anon;
void *region;
caseid = 1;
for (filemode = filemodes; filemode->desc != NULL; filemode++)
for (map_mode = mapmodes; map_mode->desc != NULL; map_mode++)
for (map_prot = mapprots;
map_prot->desc != NULL; map_prot++) {

if (filemode->desc != nofile) {
anon = 0;
if ((fd = open(TESTFILE,
filemode->val, 0644)) < 0 ) {
perror("open testfile");
return;
};
} else {
fd = -1;
anon = MAP_ANON;
}

printf("%04d: mmap(0, 1024, %s, %s%s, ...)\n"
" for filemode %s: ",
caseid, map_prot->desc,
anon ? "MAP_ANON|":"",
map_mode->desc,
filemode->desc);

region = (*mapfunc)(map_prot­->val,
anon | map_mode->val, fd);
if (region) {
(*accessfunc)(regio­n);
(*unmapfunc)(region­);
};
caseid ++;
if (fd > 0)
close(fd);
printf("\n");
};
}

int
main()
{
struct intdesc filemodes[] = {
{O_RDONLY, "O_RDONLY"},
{O_WRONLY, "O_WRONLY"},
{O_RDWR, "O_RDWR"},
{-1, nofile},
{-1, NULL},
};
struct intdesc mapmodes[] = {
#if 0
{0, "none"},
#endif
{MAP_SHARED, "MAP_SHARED"},
{MAP_PRIVATE, "MAP_PRIVATE"},
{-1, NULL},
};
struct intdesc mapprots[] = {
{PROT_NONE, "PROT_NONE"},
{PROT_READ, "PROT_READ"},
{PROT_WRITE, "PROT_WRITE"},
{PROT_READ|PROT_WRI­TE, "PROT_READ|PROT_WRI­TE"},
{-1, NULL},
};
char *qp;
int fd, caseid, anon;
fd = open(TESTFILE, O_CREAT|O_WRONLY, 0644);
write(fd, "ABCD");
if (fd > -1)
close(fd);

run_cases(filemodes­, mapmodes, mapprots,
&mmap_test, &access_test, &unmap_test);
};



comment 1 answer | Add comment
Saturday, 23 September 2006
Stock News Blast Therese Elisabetta 14:16:12
 Company- A L L I A N C E E N T E R P R I S E
Symbol - A E T R (Pink Sheets)
C u r r e n t P r i c e: $ 0.48
Estimated Target - $ 2.00 +
S T R O N G B U Y

AE TR is undergoing a massive promotion and NOW is the time to get in. Add this Gem to your Watch list.
Watch it Start a run monday

About A L L I A N C E E N T E R P R I S E (.TaeCorp.)

TaeCorp's vision is to be the recognized leader in providing Aerial Detection Systems including global de-mining, clearing a path to a safer planet for all humankind. TaeCorp's mission is to reclaim lands around the globe embedded with landmines that victimize countries and their stakeholders.

N E W S
TaeCorp Appoints TAM Oilfield Services as Representative in Sudan

The A L L I A N C E E N T E R P R I S E Corporation ("TaeCorp") (AETR - News) is pleased to announce that it has appointed TAM Oilfield Services ("TAM"), of Khartoum, the capital of Sudan, as its representative to introduce and establish business relationships with oil and related companies interested in TaeCorp's unique landmine detection, location, mapping and removal systems and services.

TAM Oilfield Services, established in 2001 under the laws and regulations of the Sudan government, has forged strong relationships with the leading petroleum companies that operate in the Sudan. "TAM's experience in the petroleum field, both with government and operating companies, will allow TaeCorp to 0ffer its services more efficiently and effectively and we are very pleased to have TAM join our team," says Ralph Proceviat, CFO of TaeCorp.

Read more

A C T N O W on this great news and get in before the move starts.



The sun will shine into our yard to. Raking it in. A place in the sun. A place in the sun. Some like carrots others like cabbage. Under the weather. A stick in the mud. Sweating blood. Wait and see. Sow dry and set wet. Worked night and day. We'll hand you out to dry. Survival of the fittest. Shiver me timber. Plant kindness and gather love. Spill the beans. Water doesn't run uphill. Put that in your pipe and smoke it. Under the weather. Worry often gives a small thing a big shadow.

Add comment
php*-oci8 or an alternative ? Ion-Mihai "IOnut" Tetcu 00:26:44
 Hi,


// Background info: I'm migrating a site from a Linux shop.

I have an working installation (soon to be a port) of Oracle 10g XE on
my 6-STABLE box.


I need some way to connect to it from php. Ideally (since the site it's
already done and runs OK on Linux) I should use: php4 + php-oci +
ZendAccelerator + Smarty + pear-*

I'm already behind the schedule. I don't really care if I have to
switch to php5 to use oci8 or whatever (even if this means I have to
write some wrapper functions in php); I wouldn't object right now to
run everything under linuxulator, provided it works.

1. Trying to apply the same trick from php5-oci8 port to make a
php4-oci8 port:
for lib in ${LOCALBASE}/oracle­8-client/lib/libclnt­sh /usr/lib/libpthread­; do \
/usr/bin/ar x $${lib}.a; \
done; \
/usr/bin/ar rcs liboci8.a *.o
results, at run-time in:
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php­/20020429/oci8.so' - /usr/local/lib/php/­20020429/oci8.so: Undefined symbol "pthread_kill" in Unknown on line 0

# objdump -TR /usr/local/lib/php/­20020429/oci8.so | grep pthread_kill
00000000 D *UND* 00000000 pthread_kill
0040d00c R_386_PC32 pthread_kill
004fb188 R_386_JUMP_SLOT pthread_kill


2. php5-oci8 port doesn't work:

On a FreeBSD 7.0-CURRENT #1: Thu Oct 12 15:41:06 EEST 2006 box: > php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php­/20050922/oci8.so' - /usr/local/lib/php/­20050922/oci8.so: Undefined symbol "__h_error" in Unknown on line 0

On my 6-STABLE:
php -r '$conn = oci_connect("hr", "hr", "//localhost/XE");'­
Segmentation fault (core dumped) > gdb php php.core
...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault
...
#0 0x48a771eb in ?? () from /usr/local/lib/php/­20050922-debug/oci8.­so
[New LWP 100093]
(gdb) bt
#0 0x48a771eb in ?? () from /usr/local/lib/php/­20050922-debug/oci8.­so
#1 0x48746b25 in __sigsetjmp () from /usr/local/lib/php/­20050922-debug/oci8.­so
Previous frame inner to this frame (corrupt stack?)


Same if using databases/pecl-PDO_­OCI. Same for php-cli or when running
from a threaded apache22.

So ... does php5-oci work for you ? If so, could you please share your
configuration ? (uname -a, php config, apache config, ...).


Many thanks for your help,

--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"

BOFH excuse #198:
Post-it Note Sludge leaked into the monitor


Add comment
Friday, 22 September 2006
linux cross-development (was: Re: /dev/null: No such file or directory) Alexander Leidinger 13:23:36
 Quoting Kris Kennaway <kris@obsecurity.or­g> (from Tue, 19 Sep 2006
21:41:27 -0400):
What happened to the linux_devtools port (which is supposed to take> care of this) - was it never updated to parity with linux_base?

No. There are several reasons.

The current devtools port is a mess and interfered with the old
linux_base port in undesirable ways (can't remember exactly how, I
would have to have a look at it again). Bringing it into shape would
be a lot of work (nobody stepped up so far, but I didn't asked for
help for this because of the next reason).

To cross-develop you need a full system, the linux_base port is a lean
and mean system. The current linux_base port is designed to extend the
FreeBSD system and to provide a good user experience for those ports
which are available in the ports collection (and most probably for a
lot of other applications). We rely on the fallthrough to the native
stuff in various places (e.g. we have symlinks to the corresponding
FreeBSD configs where it applies). Doing a chroot into /compat/linux
may work for some use cases, but not for all (and you need to do a
chroot for cross-compiling, else you may pickup FreeBSD native stuff
and get a lot of trouble) and it is not advised to to a chroot into it
(I should add a note about this to the port...).

The linux_dist ports are full linux systems. You can chroot into them
and you already have all you need (and you can use the gentoo
package-stuff to add additional stuff).

Bye,
Alexander.

--
Whatever carrousel you stand by, your baggage will
come in on another one.

http://www.Leidinge­r.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.­org netchild @ FreeBSD.org : PGP ID = 72077137

comment 10 answers | Add comment
Thursday, 21 September 2006
Re: linux cross-development Marcin Cieslak 17:40:49
 Alexander Leidinger wrote:> Quoting Kris Kennaway <kris@obsecurity.or­g> (from Wed, 20 Sep 2006 > 16:02:15 -0400):>
Actually none of these seem to be critical for typical compilation>> needs, except for /dev and /tmp. The former you'll have to mount>> devfs to supply (in principle linux_devtools can do this>> automatically, by startup script), and you can make linux_devtools>> create a /compat/linux/tmp to handle that problem too (it's not ideal>> to have it use a private /tmp, but not a big deal either).>
Try to print something in acroread while having /compat/linux/tmp. > Acroread will use the linux tmp while the FreeBSD native lpr command > (configured in acroread to be able to print something) searches in the > FreeBSD tmp.>
Currently you don't need to mount anything for a lot of linux programs > to work just fine. I like to keep it this way as long as possible.>
The common case is that people just use the linux base to run linux > programs, and not to cross-develop something. What's the problem to tell > those people which want to cross-develop something to use the linux_dist > ports? Maintaining linux_base as it is is not hard (if you know the > pitfalls and some design decissions). Maintaining linux_dist is easy too > (it borrows a lot of knowledge from linux_base). Maintaining a > linux_base and a linux_devtools port which uses the linux_base port is > much harder than maintaining distinct linux_base and linux_dist ports. > And distinct ports don't cause as much problems (see the icc part below > for an example) as a combination.

I would like to second Alexander on this. linux_base-fc-4 is the first
fully-working-for-m­e Linux emulation port since almost two years.
Finally I have everything running as it should (acroread, skype, etc.)
and you can have Oracle 10 Express Edition fully up and running - that's
considerable achievement. I would like to thank Alexander and all
project participants for making this possible.

I was a bit reluctant to give linux_dist ports a try because I misread
CONFLICTS_* Makefile clauses. It runs perfectly completely independent
from the base package and provides full chroot Linux-like environment.
I even got a color "ls" there to remind me it's Linux (although no vi by
default). And I *do* mind cluttering my nicely working small
/compat/linux with more mis-versioned crap libraries needed for hacking.

This setup really encouraged me to join development of the linuxolator
since once I got Oracle running you can see that real compatibility is
achievable.

Alex: more patches to fix small issues in LTP tests are ready, in the
meantime I try to improve my style(9) skills... :-)­

--
<< Marcin Cieslak // saper@system.pl >>
Add comment
Wednesday, 20 September 2006
/dev/null: No such file or directory Marc G. Fournier 22:59:43
 
I have linux_base-fc-4_8 installed, clean install, and the two sysctl
referred to in /usr/ports/UPDATING­ haven't been changed from the default:

# sysctl -a | grep compat.linux.osname­
compat.linux.osname­: Linux
# sysctl -a | grep compat.linux.osrele­ase
compat.linux.osrele­ase: 2.4.2

But, when I try to run configure from a chroot environment, I get:

../gcc-4.0.3/config­ure: line 533: /dev/null: No such file or directory

I've searched through /usr/ports/UPDATING­, but am not finding anything
except for the section on "remove /compat/linux completely", which I've
done ...

So, either the port isn't creating something, or I'm missing something in
the UPDATING doc :(­

Help ...

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org­)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
comment 9 answers | Add comment
i386 mmap(2) fixed for LTP Marcin Cieslak 13:22:44
 Hallo,

Using my mmap fingerprinter (see amd64 post above) I have managed
to compare basic mmap(2) behaviour between real Linux and FreeBSD machine.

Our mmap(2) allows you map write-only file for writing, Linux
is giving up immediately on that. (Probably because they always
need the file to be open for reading as well and then they add PROT_READ
internally).

Using this patch I guess we have all mmap()-related LTP issues solved.
This fixes outstanding map07 test.

I guess that writev03 and writev04 - that started to fail after my initial quick
fix for mmap() - were just false positives initially.
Since linuxolator mmap() added PROT_READ that gave access to whole iovec
address space, writev() calls suceeded although not in a way meant by author tests:

http://sf.net/track­er/index.php?func=de­tail&aid=1561083&gro­up_id=3382&atid=1033­82

The only thing left is the amd64 part of the fix for mmap(2).
Please feel free to review.

--
<< Marcin Cieslak // saper@system.pl >>

Index: /usr/src/sys/i386/l­inux/linux_machdep.c­
===================­====================­====================­========
RCS file: /usr/home/ncvs/src/­sys/i386/linux/linux­_machdep.c,v
retrieving revision 1.48.2.1
diff -u -u -r1.48.2.1 linux_machdep.c
--- /usr/src/sys/i386/l­inux/linux_machdep.c­4 Aug 2005 23:25:32 -00001.48.2.1
+++ /usr/src/sys/i386/l­inux/linux_machdep.c­19 Sep 2006 00:34:53 -0000
@@ -31,6 +31,8 @@

#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/imgact.h>
#include <sys/lock.h>
#include <sys/malloc.h>
@@ -469,9 +471,19 @@
off_t pos;
} */ bsd_args;
int error;
+struct file *fp;

error = 0;
bsd_args.flags = 0;
+fp = NULL;
+
+/* Linux mmap(2):
+ * You must specify exactly one of MAP_SHARED and MAP_PRIVATE.
+ */
+if (! ((linux_args->flags­ & LINUX_MAP_SHARED) ^
+(linux_args->flags­ & LINUX_MAP_PRIVATE))­)
+return EINVAL;
+
if (linux_args->flags & LINUX_MAP_SHARED)
bsd_args.flags |= MAP_SHARED;
if (linux_args->flags & LINUX_MAP_PRIVATE)
@@ -549,11 +561,34 @@
bsd_args.len = linux_args->len;
}

-bsd_args.prot = linux_args->prot | PROT_READ;/* always required */
-if (linux_args->flags & LINUX_MAP_ANON)
+bsd_args.prot = linux_args->prot;
+if (linux_args->flags & LINUX_MAP_ANON) {
bsd_args.fd = -1;
-else
+} else {
+/*
+ * Linux follows Solaris mmap(2) description:
+ * The file descriptor fildes is opened with
+ * read permission, regardless of the
+ * protection options specified.
+ * If PROT_WRITE is specified, the application
+ * must have opened the file descriptor
+ * fildes with write permission unless
+ * MAP_PRIVATE is specified in the flags
+ * argument as described below.
+ */
+
+if ((error = fget(td, linux_args->fd, &fp)) != 0)
+ return error;
+if (fp->f_type != DTYPE_VNODE)
+return EINVAL;
+
+/* Linux mmap() just fails for O_WRONLY files */
+if (! (fp->f_flag & FREAD))
+return EACCES;
+
bsd_args.fd = linux_args->fd;
+fdrop(fp, td);
+}
bsd_args.pos = linux_args->pos;
bsd_args.pad = 0;


comment 1 answer | Add comment
Monday, 18 September 2006
Re: linux_base-fc4_9 install problem Boris Samorodov 23:53:25
 Forwarding this to freebsd-emulation@ just for archives.

On Mon, 18 Sep 2006 21:58:31 +0300 adrian790@catv.embi­t.ro wrote:> Quoting Boris Samorodov <bsam@ipt.ru>:
thanx for suggestion. i've commented out in make.conf NO_CHECKSUM=YES and this> did the trick.
On Mon, 18 Sep 2006 19:24:46 +0300 Adrian Vraciu wrote:> >
===> Vulnerability check disabled, database not found> > > ===> Extracting for linux_base-fc-4_9> > > ===> linux_base-fc-4_9 depends on file: /usr/local/bin/rpm2­cpio - found> > > error reading header from package> > > /usr/bin/cpio: premature end of archive> > > *** Error code 1> >
how can i fix that?> >
How did you install the port? What if you do a make checksum at the> > port (you didn't show that output):> > -----> > # cd /usr/ports/emulatio­n/linux_base-fc4> > # make checksum> > -----

WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.­org The Power To Serve
Add comment
Fix for errno 2 - expected 14 (EFAULT) problems Marcin Cieslak 11:32:00
 
LTP tests illegal memory by mmaping one-byte area region with PROT_NONE.
Old FreeBSD (before 1.333 version of /sys/vm/vm_map.c) always silently allowed
reada access - see http://www.freebsd.­org/cgi/query-pr.cgi­?pr=64573.
Linux emulation (initial version of linux_machdep.c) always added PROT_READ
to match FreeBSD behaviour, I think this is no longer necessary.

The fix for i386 is easy:

--- /usr/home/saper/b/s­rc/sys/i386/linux/li­nux_machdep.c Fri Aug 5
01:25:32 2005
+++ /sys/i386/linux/lin­ux_machdep.c Sat Sep 16 15:13:47 2006
@@ -549,7 +549,7 @@
bsd_args.len = linux_args->len;
}

- bsd_args.prot = linux_args->prot | PROT_READ; /* always required */
+ bsd_args.prot = linux_args->prot;
if (linux_args->flags & LIN