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.osrelease=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
|
| | 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/acroread' 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,0x2822aff4) 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_sigprocmask(0,0,0x80f341c,0x8) 16618 bash RET linux_rt_sigprocmask 0 16618 bash CALL read(0xff,0x8112fd0,0x32) 16618 bash GIO fd 255 read 50 bytes "#!/usr/compat/linux/bin/sh bar=`true` foo=`false` " 16618 bash RET read 50/0x32 16618 bash CALL linux_rt_sigprocmask(0,0,0x80f341c,0x8) 16618 bash RET linux_rt_sigprocmask 0 16618 bash CALL linux_pipe(0xffffd054) 16618 bash RET linux_pipe 0 16618 bash CALL linux_rt_sigprocmask(0,0xffffcf08,0xffffce88,0x8) 16618 bash RET linux_rt_sigprocmask 0 16618 bash CALL linux_llseek(0xff,0xffffffff,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_sigprocmask(0x2,0xffffce88,0,0x8) 16618 bash RET linux_rt_sigprocmask 0 16618 bash CALL linux_rt_sigaction(0x11,0xffffcdb0,0xffffcd24,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(0xffffffff,0xffffcc7c,0x1) 16618 bash RET linux_waitpid 16619/0x40eb 16618 bash CALL linux_waitpid(0xffffffff,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?450894EF.1020101
Thanks,
Jung-uk Kim
* PS: I have modified ports/devel/linux_kdump to build without gentoo. If anybody is interested, you can get it from here:
http://people.freebsd.org/~jkim/linux_kdump.tar.gz
I just added Linux header files as a patch.
|
| | 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.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
|
| | 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=cust19053]
|
| | Add comment |
|
| [ports-amd64@pointyhat.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@pointyhat.freebsd.org> -----
X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.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@pointyhat.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/native/java/net/Inet6AddressImpl.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/native/java/net/NetworkInterface.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/net/NetworkInterface.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/NetworkInterface.c3 Jan 2005 18:32:00 -00001.3 -------------------------- Patching file j2se/src/solaris/native/java/net/NetworkInterface.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/native/java/net/PlainDatagramSocketImpl.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.4 |diff -u -r1.1.1.1 -r1.4 |--- j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c16 Jan 2005 09:46:46 -00001.4 -------------------------- Patching file j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.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/native/java/net/PlainSocketImpl.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/net/PlainSocketImpl.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/PlainSocketImpl.c20 Dec 2004 10:40:45 -00001.2 -------------------------- Patching file j2se/src/solaris/native/java/net/PlainSocketImpl.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/native/java/net/linux_close.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/net/linux_close.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/linux_close.c20 Dec 2004 10:40:45 -00001.2 -------------------------- Patching file j2se/src/solaris/native/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/native/java/net/net_util_md.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/net/net_util_md.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/net_util_md.c7 Mar 2006 15:02:19 -00001.9 -------------------------- Patching file j2se/src/solaris/native/java/net/net_util_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/native/java/net/net_util_md.h |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/net/net_util_md.h8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/net/net_util_md.h3 Jan 2005 18:32:00 -00001.3 -------------------------- Patching file j2se/src/solaris/native/java/net/net_util_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/native/java/net/port_after.h |=================================================================== |RCS file: j2se/src/solaris/native/java/net/port_after.h |diff -N j2se/src/solaris/native/java/net/port_after.h |--- j2se/src/solaris/native/java/net/port_after.h1 Jan 1970 00:00:00 -0000 |+++ j2se/src/solaris/native/java/net/port_after.h20 Dec 2004 10:40:45 -00001.1 -------------------------- (Creating file j2se/src/solaris/native/java/net/port_after.h...) Patching file j2se/src/solaris/native/java/net/port_after.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/native/java/net/port_before.h |=================================================================== |RCS file: j2se/src/solaris/native/java/net/port_before.h |diff -N j2se/src/solaris/native/java/net/port_before.h |--- j2se/src/solaris/native/java/net/port_before.h1 Jan 1970 00:00:00 -0000 |+++ j2se/src/solaris/native/java/net/port_before.h3 Jan 2005 18:32:00 -00001.2 -------------------------- (Creating file j2se/src/solaris/native/java/net/port_before.h...) Patching file j2se/src/solaris/native/java/net/port_before.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/native/java/nio/MappedByteBuffer.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/java/nio/MappedByteBuffer.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/nio/MappedByteBuffer.c10 Jan 2005 15:10:23 -00001.2 -------------------------- Patching file j2se/src/solaris/native/java/nio/MappedByteBuffer.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/native/java/util/FileSystemPreferences.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/native/java/util/FileSystemPreferences.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.3 |diff -u -r1.1.1.1 -r1.3 |--- j2se/src/solaris/native/java/util/FileSystemPreferences.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/util/FileSystemPreferences.c3 Jan 2005 18:32:01 -00001.3 -------------------------- Patching file j2se/src/solaris/native/java/util/FileSystemPreferences.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/native/java/util/TimeZone_md.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/native/java/util/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/native/java/util/TimeZone_md.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/java/util/TimeZone_md.c11 Aug 2005 18:32:16 -00001.6 -------------------------- Patching file j2se/src/solaris/native/java/util/TimeZone_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/native/sun/awt/VDrawingArea.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/sun/awt/VDrawingArea.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/sun/awt/VDrawingArea.c3 Jan 2005 18:32:01 -00001.3 -------------------------- Patching file j2se/src/solaris/native/sun/awt/VDrawingArea.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/native/sun/awt/X11CachingSurfaceManager.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/native/sun/awt/X11CachingSurfaceManager.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.3 |diff -u -r1.1.1.1 -r1.3 |--- j2se/src/solaris/native/sun/awt/X11CachingSurfaceManager.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/sun/awt/X11CachingSurfaceManager.c3 Jan 2005 18:32:01 -00001.3 -------------------------- Patching file j2se/src/solaris/native/sun/awt/X11CachingSurfaceManager.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/native/sun/awt/X11Color.c |=================================================================== |RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/solaris/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/native/sun/awt/X11Color.c8 Nov 2004 22:27:39 -00001.1.1.1 |+++ j2se/src/solaris/native/sun/awt/X11Color.c3 Jan 2005 18:32:01 -00001.3 -------------------------- Patching file j2se/src/solaris/native/sun/awt/X11Color.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/native/sun/awt/X11Surf | |