>Number: 146726 >Category: kern >Synopsis: Linux InstallJammer fails to execute on 8-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 19 11:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Thomas Mueller >Release: 8-STABLE >Organization: >Environment: FreeBSD tom.ulm.sysgo.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #9: Wed May 19 11:58:16 CEST 2010 t...@tom.ulm.sysgo.com:/usr/obj/usr/src/sys/TOM amd64
>Description: The Linux executable of the InstallJammer multiplatform GUI installer program (http://www.installjammer.com/) fails to start on a recent 8-STABLE (amd64). A second system with an 8-STABLE kernel built with sources from January runs the program just fine. $ file ./InstallJammer-1.2.14-Linux-x86-Install ./InstallJammer-1.2.14-Linux-x86-Install: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped $ sysctl compat.linux.osrelease compat.linux.osrelease: 2.6.16 $ pkg_info -qo linux_base\* emulators/linux_base-f10 $ ktrace ./InstallJammer-1.2.14-Linux-x86-Install PROT_EXEC|PROT_WRITE failed. $ linux_kdump -f ktrace.out 27433 ktrace RET linux_brk 0 27433 ktrace CALL linux_olduname(0x7fffffffe8e7,0x7fffffffe630,0x7fffffffe640) 27433 ktrace NAMI "./InstallJammer-1.2.14-Linux-x86-Install" 27433 InstallJammer-1.2.1 RET linux_olduname 0 27433 InstallJammer-1.2.1 CALL linux_mmap(0xffffd7ac) 27433 InstallJammer-1.2.1 RET linux_mmap -1 errno 22 Invalid argument 27433 InstallJammer-1.2.1 CALL write(0x2,0xc547d6,0x1d) 27433 InstallJammer-1.2.1 GIO fd 2 wrote 29 bytes "PROT_EXEC|PROT_WRITE failed. " 27433 InstallJammer-1.2.1 RET write 29/0x1d 27433 InstallJammer-1.2.1 CALL exit(0x7f) Log messages of a debug-enabled linux.ko: May 19 11:39:40 tom kernel: linux(24917): mmap(0x00c55000, 4096, 7, 0x00000032, -1, 12931072) May 19 11:39:40 tom kernel: -> linux_mmap_common(0xc55000, 4096, 7, 0x00001012, -1, 0xc55000) May 19 11:39:40 tom kernel: -> linux_mmap_common() return: 0x16 (0x00000000) It appears that the program calls mmap() with MAP_ANON and an offset!=0. Reverting the changes in this MFC http://svn.freebsd.org/viewvc/base?view=revision&revision=206602 lets me run the program without problems. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"