On Tue, 15 Apr 2008 00:28:07 -0400 Philip M. Gollucci wrote:

> $ uname -a
> FreeBSD h.d.t 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Apr 14 17:22:56
> EDT 2008 root@h.d.t:/usr/obj/usr/src/sys/K i386


> $ grep COMPAT /usr/src/sys/i386/conf/KERNEL
> options COMPAT_FREEBSD5
> options COMPAT_FREEBSD6
> options COMPAT_FREEBSD7
> options COMPAT_43TTY
> options COMPAT_LINUX


> $ ls -1d /var/db/pkg/linux* /var/db/pkg/acroread*
> /var/db/pkg/acroread8-8.1.2/
> /var/db/pkg/acroreadwrapper-0.0.20080110/
> /var/db/pkg/linux-atk-1.9.1/
> /var/db/pkg/linux-cairo-1.0.2/
> /var/db/pkg/linux-expat-1.95.8/
> /var/db/pkg/linux-fontconfig-2.2.3_7/
> /var/db/pkg/linux-glib2-2.6.6/
> /var/db/pkg/linux-gtk2-2.6.10/
> /var/db/pkg/linux-hicolor-icon-theme-0.5_1/
> /var/db/pkg/linux-jpeg-6b.34/
> /var/db/pkg/linux-nvu-1.0/
> /var/db/pkg/linux-pango-1.10.2/
> /var/db/pkg/linux-png-1.2.8_2/
> /var/db/pkg/linux-scim-libs-1.4.4/


What is it?

> /var/db/pkg/linux-tiff-3.7.1/
> /var/db/pkg/linux-xorg-libs-6.8.2_5/
> /var/db/pkg/linux_base-f8-8_1/


> $ sysctl -a |grep compat
> kern.features.compat_freebsd7: 1
> kern.features.compat_freebsd6: 1
> kern.features.compat_freebsd5: 1
> hw.snd.compat_linux_mmap: 0
> compat.linux.oss_version: 198144
> compat.linux.osrelease: 2.6.16
> compat.linux.osname: Linux


> $ cd ~
> $ rm -rf .adobe .conf.d conf.d
> $ acroread
> rm: cannot remove
> `/home/pgollucci/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js':
> Function not implemented


I had an impression that that function should have been implemented at
some recent kib commits. But I may be wrong here.

> cp: cannot remove
> `/home/pgollucci/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js':
> Permission denied
> Fontconfig error: "conf.d", line 1: not well-formed (invalid token)


So far those errors were reported to be harmful. Can you try to
delete/rename /compat/linux/etc/fonts/conf.d?

> $ find .adobe
> .adobe/
> .adobe/Acrobat
> .adobe/Acrobat/8.0
> .adobe/Acrobat/8.0/Preferences
> .adobe/Acrobat/8.0/Preferences/Collab
> .adobe/Acrobat/8.0/Preferences/Collab/Temp
> .adobe/Acrobat/8.0/Cert
> .adobe/Acrobat/8.0/Cert/curl-ca-bundle.crt


> $ ls -ls .conf.d conf.d
> ls: .conf.d: No such file or directory
> ls: conf.d: No such file or directory


> (strace itself segfaults, acroread does not)
> $ strace acroread 2> strace.log 1>strace.log
> Segmentation fault: 11 (core dumped)
> [attached]


> $ ktrace -i acroread


> (kdump segfaults, but ktrace doesn't)
> $ kdump > kdump.log
> Segmentation fault: 11 (core dumped)
> [attached]


Yep, devel/linux_kdump should be used here.

> $ sudo chroot /compat/linux /bin/bash
> $ touch foo
> $ rm foo
> (works)


> I can/will provide more feedback on request.



WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...ebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"