FINALLY! Re: linux32 breakage in current..
Steve Kargl
sgk at troutmask.apl.washington.edu
Wed Aug 30 17:10:22 UTC 2006
On Tue, Aug 29, 2006 at 07:28:58PM -0400, John Baldwin wrote:
>
> But when you add printf's linux_ipc() isn't being called? *sigh* Try
> this anyway:
>
> Index: linux32_machdep.c
> ===================================================================
> RCS file: /host/cvs/usr/cvs/src/sys/amd64/linux32/linux32_machdep.c,v
> retrieving revision 1.17
> diff -u -r1.17 linux32_machdep.c
The printf is not triggered. :( I did a ktrace of acroread. kdump
shows
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/home/kargl/bin/acroread"
929 ktrace RET execve -1 errno 2 No such file or directory
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/sbin/acroread"
929 ktrace RET execve -1 errno 2 No such file or directory
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/usr/sbin/acroread"
929 ktrace RET execve -1 errno 2 No such file or directory
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/bin/acroread"
929 ktrace RET execve -1 errno 2 No such file or directory
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/usr/bin/acroread"
929 ktrace RET execve -1 errno 2 No such file or directory
929 ktrace CALL execve(0x7fffffffe140,0x7fffffffe6a0,0x7fffffffe6b0)
929 ktrace NAMI "/usr/X11R6/bin/acroread"
929 ktrace NAMI "/compat/linux/bin/sh"
929 ktrace NAMI "/compat/linux/lib/ld-linux.so.2"
929 bash RET execve 0
929 bash CALL settimeofday(0xffffd508)
929 bash RET settimeofday 0
929 bash CALL ktrace(0)
929 bash RET ktrace 135159808/0x80e6000
929 bash CALL open(0x280eb675,O_RDONLY,<unused>0)
929 bash NAMI "/compat/linux/etc/ld.so.preload"
929 bash NAMI "/etc/ld.so.preload"
929 bash RET open JUSTRETURN
929 bash CALL open(0x280eba93,O_RDONLY,<unused>0)
929 bash NAMI "/compat/linux/etc/ld.so.cache"
929 bash NAMI "/compat/linux"
929 bash NAMI "/compat/linux/etc/ld.so.cache"
929 bash RET open 3
929 bash CALL mmap(0x3,0xffffcd88,<invalid>672064960,MAP_FILE,0,0,0,0,
At this pointi, there is a boatload of 0,0,0, ... until the segfault.
"/compat/linux/sbin/ldconfig -p" suggests that the file isn't
mangled. Recreating linux/etc/ld.so.cashe does not help. The
file mode is 644, so it should be readable.
I was unable to get a ktrace of one of the times that acroread
accidentally worked. "ktrace acroread" ended with a segfault
100% of the times.
If there is anything else you want me to try, just ask.
Thanks for your help. At this point, I'll note that I can use
xpdf and I have a native openoffice, so the linux programs that
I previously needed are not crucial to me. If you have other
urgent FreeBSD issues, you may want to investigate those.
--
Steve
More information about the freebsd-amd64
mailing list