From owner-freebsd-emulation@FreeBSD.ORG  Mon Aug 23 01:18:27 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 592FE16A4CE
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 01:18:27 +0000 (GMT)
Received: from linda-1.paradise.net.nz (bm-1a.paradise.net.nz [202.0.58.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CCA2C43D48
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 01:18:26 +0000 (GMT)
	(envelope-from markir@paradise.net.nz)
Received: from smtp-1.paradise.net.nz (smtp-1b.paradise.net.nz [202.0.32.210])
 by linda-1.paradise.net.nz (Paradise.net.nz)
 with ESMTP id <0I2V00LH1KYPIH@linda-1.paradise.net.nz> for
 freebsd-emulation@freebsd.org; Mon, 23 Aug 2004 13:18:25 +1200 (NZST)
Received: from [192.168.1.11] (218-101-12-140.paradise.net.nz
	[218.101.12.140])
	by smtp-1.paradise.net.nz (Postfix) with ESMTP id 2A04D82A84	for
	<freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 13:18:25 +1200 (NZST)
Date: Mon, 23 Aug 2004 13:20:59 +1200
From: Mark Kirkwood <markir@paradise.net.nz>
To: freebsd-emulation@freebsd.org
Message-id: <4129467B.1080502@paradise.net.nz>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7bit
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a2) Gecko/20040715
Subject: No libpam.so in linux_base 7.1 on 4.10
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2004 01:18:27 -0000

Hi,

I have a linux binary that expects to link to libpam.so.0 :

$ ldd dataserver
dataserver:
        libdl.so.2 => /lib/libdl.so.2 (0x2901d000)
        libm.so.6 => /lib/libm.so.6 (0x29021000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x29043000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x2905a000)
        libpam.so.0 => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0x2909e000)
        libc.so.6 => /lib/libc.so.6 (0x290b5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x29004000)

Unfortunately there is no libpam.so anywhere under /usr/compat/linux.

Is it feasible to build a libpam.so to resolve this?

regards

Mark

From owner-freebsd-emulation@FreeBSD.ORG  Mon Aug 23 11:01:55 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5FAA516A4D9
	for <emulation@freebsd.org>; Mon, 23 Aug 2004 11:01:55 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3D6F043D45
	for <emulation@freebsd.org>; Mon, 23 Aug 2004 11:01:55 +0000 (GMT)
	(envelope-from owner-bugmaster@freebsd.org)
Received: from freefall.freebsd.org (peter@localhost [127.0.0.1])
	by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7NB1tSp029659
	for <emulation@freebsd.org>; Mon, 23 Aug 2004 11:01:55 GMT
	(envelope-from owner-bugmaster@freebsd.org)
Received: (from peter@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7NB1saT029653
	for emulation@freebsd.org; Mon, 23 Aug 2004 11:01:54 GMT
	(envelope-from owner-bugmaster@freebsd.org)
Date: Mon, 23 Aug 2004 11:01:54 GMT
Message-Id: <200408231101.i7NB1saT029653@freefall.freebsd.org>
X-Authentication-Warning: freefall.freebsd.org: peter set sender to
	owner-bugmaster@freebsd.org using -f
From: FreeBSD bugmaster <bugmaster@freebsd.org>
To: emulation@FreeBSD.org
Subject: Current problem reports assigned to you
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2004 11:01:55 -0000

Current FreeBSD problem reports
Critical problems

S  Submitted   Tracker     Resp.       Description
-------------------------------------------------------------------------------
o [2003/06/28] kern/53874  emulation   /usr/ports/emulators/linux_base isn't wor

1 problem total.

Serious problems

S  Submitted   Tracker     Resp.       Description
-------------------------------------------------------------------------------
o [2000/09/22] kern/21463  emulation   Linux compatability mode should not allow
o [2000/11/13] kern/22826  emulation   Memory limits have no effect in linux com
o [2000/12/15] misc/23561  emulation   Linux compatibility mode does not support
o [2001/03/28] kern/26171  emulation   not work Linux-emulator, but hi is work i
f [2004/03/04] ports/63747 emulation   vmmon is not performing
o [2004/06/18] kern/68079  emulation   linux ibm jdk 1.4.1 fails with: JVMLH050:
o [2004/06/22] ports/68202 emulation   [patch] Make vmware2 compile on -current
o [2004/06/24] ports/68265 emulation   [patch] Make rtc compile on -current (nee

8 problems total.

Non-critical problems

S  Submitted   Tracker     Resp.       Description
-------------------------------------------------------------------------------
o [2000/06/20] misc/19391  emulation   Evilness with Linux Terminus, causes X to
o [2001/08/14] kern/29698  emulation   linux ipcs doesn'work
p [2002/04/16] misc/37161  emulation   ext2 linux file system, error handling la
o [2002/06/12] kern/39201  emulation   ptrace(2) and rfork(RFLINUXTHPN) confuse 
o [2002/08/11] kern/41543  emulation   Easier wine/w23 support
p [2002/09/04] kern/42404  emulation   TIOCSCTTY not implemented in linuxulator
o [2002/11/27] kern/45785  emulation   Linux WineX seems to require a few new li
p [2003/01/22] kern/47349  emulation   Fake a sound ioctl (plus linux hook)
o [2003/08/21] kern/55835  emulation   Linux IPC emulation missing SETALL syscal
o [2003/09/24] kern/57192  emulation   linux-ibm-java1.4 freeze
o [2004/06/20] kern/68131  emulation   java/linux-ibm-jdk14: linux ibm jdk 1.4.1
f [2004/06/30] ports/68532 emulation   Add support for multiple VMWare instances

12 problems total.

From owner-freebsd-emulation@FreeBSD.ORG  Mon Aug 23 16:44:52 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ACCC016A4CE
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 16:44:52 +0000 (GMT)
Received: from mwinf0107.wanadoo.fr (smtp1.wanadoo.fr [193.252.22.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 556CB43D58
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 16:44:52 +0000 (GMT)
	(envelope-from lebabouk@yahoo.fr)
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf0107.wanadoo.fr (SMTP Server) with SMTP id 394A318000F6
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 18:44:51 +0200 (CEST)
Received: from yahoo.fr (AStDenis-101-1-1-90.w193-252.abo.wanadoo.fr
	[193.252.52.90])
	by mwinf0107.wanadoo.fr (SMTP Server) with ESMTP id E32B918000F1
	for <freebsd-emulation@freebsd.org>;
	Mon, 23 Aug 2004 18:44:49 +0200 (CEST)
Date: Mon, 23 Aug 2004 20:44:59 +0400
Mime-Version: 1.0 (Apple Message framework v553)
Content-Type: text/plain; charset=US-ASCII; format=flowed
From: LeBaBouk <lebabouk@yahoo.fr>
To: freebsd-emulation@freebsd.org
Content-Transfer-Encoding: 7bit
Message-Id: <C56B20E2-F523-11D8-B83E-000A95747694@yahoo.fr>
X-Mailer: Apple Mail (2.553)
Subject: Run the last VMware version under FreeBSD 5.2.1
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2004 16:44:52 -0000

Does anyone know if it is possible to run the last version of VMware 
under FreeBSD 5.2.1 ?

Thank a lot for any information.

From owner-freebsd-emulation@FreeBSD.ORG  Mon Aug 23 20:40:31 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 976E416A4D4
	for <emulation@hub.freebsd.org>; Mon, 23 Aug 2004 20:40:31 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 78BAF43D78
	for <emulation@hub.freebsd.org>; Mon, 23 Aug 2004 20:40:31 +0000 (GMT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7NKeV4k041261
	for <emulation@freefall.freebsd.org>; Mon, 23 Aug 2004 20:40:31 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7NKeVWM041260;
	Mon, 23 Aug 2004 20:40:31 GMT
	(envelope-from gnats)
Date: Mon, 23 Aug 2004 20:40:31 GMT
Message-Id: <200408232040.i7NKeVWM041260@freefall.freebsd.org>
To: emulation@FreeBSD.org
From: No Name <arundel@h3c.de>
Subject: Re: kern/45785: Linux WineX seems to require a few new linux
	syscalls
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: No Name <arundel@h3c.de>
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Aug 2004 20:40:31 -0000

The following reply was made to PR kern/45785; it has been noted by GNATS.

From: No Name <arundel@h3c.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/45785: Linux WineX seems to require a few new linux syscalls
Date: Mon, 23 Aug 2004 22:41:53 +0200 (CEST)

 >Submitter-Id:  current-users
 >Originator:    No Name
 >Organization:  
 >Confidential:  no 
 >Synopsis:      Re: kern/45785: Linux WineX seems to require a few new linux syscalls
 >Severity:      non-critical
 >Priority:      medium
 >Category:      kern
 >Class:         sw-bug
 >Release:       FreeBSD 4.10-STABLE i386
 >Environment:
 System: FreeBSD skatecity 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Aug 23 20:56:48 CEST 2004 arundel@skatecity:/usr/obj/usr/src/sys/ARUNDEL i386
 
 
 	
 >Description:
 	I don't know abou the current state of mmap2 in -STABLE, but I got really pissed with the constant error output to tty.
 	Since the original patch by Kenneth does not apply 100% clean to RELENG_4 I made a few dirty changes to it.
 	Surprisingly I got an increas of roughly 70 frames running this patch and quake3-linux (timedemo 1 - four.dm_68).
 
 >How-To-Repeat:
 	
 >Fix:
 
 --- mmap2-patch.diff begins here ---
 --- compat/linux/linux_file.c.orig	Mon Aug 23 21:19:35 2004
 +++ compat/linux/linux_file.c		Mon Aug 23 21:39:21 2004
 @@ -685,6 +685,37 @@
  }
  
  int
 +linux_truncate64(struct proc *p, struct linux_truncate64_args *args)
 +{
 +	struct truncate_args bsd;
 +	caddr_t sg;
 +
 +	sg = stackgap_init();
 +	CHECKALTEXIST(p, &sg, args->path);
 +
 +#ifdef DEBUG
 +	if (ldebug(truncate))
 +		printf(ARGS(truncate, "%s, %ld"), args->path,
 +		    (long)args->length);
 +#endif
 +	bsd.path = args->path;
 +	bsd.length = args->length; 
 +
 +	return truncate(p, &bsd);
 +}
 +
 +int
 +linux_ftruncate64(struct proc *p, struct linux_ftruncate64_args *args)
 +{
 +       struct ftruncate_args bsd;
 +       
 +       bsd.fd = args->fd;
 +       bsd.length = args->length;
 +       
 +       return ftruncate(p, &bsd);
 +}
 +
 +int
  linux_link(struct proc *p, struct linux_link_args *args)
  {
      struct link_args bsd;
 --- i386/linux/linux_dummy.c.orig	Mon Aug 23 21:19:35 2004
 +++ i386/linux/linux_dummy.c		Mon Aug 23 21:37:54 2004
 @@ -64,8 +64,6 @@
  DUMMY(capget);
  DUMMY(capset);
  DUMMY(sendfile);
 -DUMMY(mmap2);
 -DUMMY(truncate64);
  DUMMY(setfsuid);
  DUMMY(setfsgid);
  DUMMY(pivot_root);
 --- i386/linux/linux_machdep.c.orig	Mon Aug 23 21:19:35 2004
 +++ i386/linux/linux_machdep.c		Mon Aug 23 21:41:57 2004
 @@ -381,6 +381,120 @@
  #define GUARD_SIZE  (4 * PAGE_SIZE)
  
  int
 +linux_mmap2(struct proc *p, struct linux_mmap2_args *linux_args)
 +{
 +	struct mmap_args /* {
 +		caddr_t addr;
 +		size_t len;
 +		int prot;
 +		int flags;
 +		int fd;
 +		long pad;
 +		off_t pos;
 +	} */ bsd_args;
 +
 +#ifdef DEBUG
 +	if (ldebug(mmap2))
 +		printf(ARGS(mmap2, "%p, %d, %d, 0x%08x, %d, %d"),
 +		    (void *)linux_args->addr, linux_args->len, linux_args->prot,
 +		    linux_args->flags, linux_args->fd, linux_args->pos);
 +#endif
 +	    
 +	bsd_args.flags = 0;
 +	if (linux_args->flags & LINUX_MAP_SHARED)
 +		bsd_args.flags |= MAP_SHARED;
 +	if (linux_args->flags & LINUX_MAP_PRIVATE)
 +		bsd_args.flags |= MAP_PRIVATE;
 +	if (linux_args->flags & LINUX_MAP_FIXED)
 +		bsd_args.flags |= MAP_FIXED;
 +	if (linux_args->flags & LINUX_MAP_ANON)
 +		bsd_args.flags |= MAP_ANON;
 +	else
 +		bsd_args.flags |= MAP_NOSYNC;
 +	if (linux_args->flags & LINUX_MAP_GROWSDOWN) {
 +		bsd_args.flags |= MAP_STACK;
 +
 +		/* The linux MAP_GROWSDOWN option does not limit auto
 +		 * growth of the region.  Linux mmap with this option
 +		 * takes as addr the inital BOS, and as len, the initial
 +		 * region size.  It can then grow down from addr without
 +		 * limit.  However, linux threads has an implicit internal
 +		 * limit to stack size of STACK_SIZE.  Its just not
 +		 * enforced explicitly in linux.  But, here we impose
 +		 * a limit of (STACK_SIZE - GUARD_SIZE) on the stack
 +		 * region, since we can do this with our mmap.
 +		 *
 +		 * Our mmap with MAP_STACK takes addr as the maximum
 +		 * downsize limit on BOS, and as len the max size of
 +		 * the region.  It them maps the top SGROWSIZ bytes,
 +		 * and autgrows the region down, up to the limit
 +		 * in addr.
 +		 *
 +		 * If we don't use the MAP_STACK option, the effect
 +		 * of this code is to allocate a stack region of a
 +		 * fixed size of (STACK_SIZE - GUARD_SIZE).
 +		 */
 +
 +		/* This gives us TOS */
 +		bsd_args.addr = (caddr_t)(linux_args->addr + linux_args->len);
 +
 +		if (bsd_args.addr > p->p_vmspace->vm_maxsaddr) {
 +			/* Some linux apps will attempt to mmap
 +			 * thread stacks near the top of their
 +			 * address space.  If their TOS is greater
 +			 * than vm_maxsaddr, vm_map_growstack()
 +			 * will confuse the thread stack with the
 +			 * process stack and deliver a SEGV if they
 +			 * attempt to grow the thread stack past their
 +			 * current stacksize rlimit.  To avoid this,
 +			 * adjust vm_maxsaddr upwards to reflect
 +			 * the current stacksize rlimit rather
 +			 * than the maximum possible stacksize.
 +			 * It would be better to adjust the
 +			 * mmap'ed region, but some apps do not check
 +			 * mmap's return value.
 +			 */
 +			p->p_vmspace->vm_maxsaddr = (char *)USRSTACK -
 +			    p->p_rlimit[RLIMIT_STACK].rlim_cur;
 +		}
 +
 +		/* This gives us our maximum stack size */
 +		if (linux_args->len > STACK_SIZE - GUARD_SIZE)
 +			bsd_args.len = linux_args->len;
 +		else
 +			bsd_args.len  = STACK_SIZE - GUARD_SIZE;
 +
 +		/* This gives us a new BOS.  If we're using VM_STACK, then
 +		 * mmap will just map the top SGROWSIZ bytes, and let
 +		 * the stack grow down to the limit at BOS.  If we're
 +		 * not using VM_STACK we map the full stack, since we
 +		 * don't have a way to autogrow it.
 +		 */
 +		bsd_args.addr -= bsd_args.len;
 +	} else {
 +		bsd_args.addr = (caddr_t)linux_args->addr;
 +		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.fd = -1;
 +	else
 +		bsd_args.fd = linux_args->fd;
 +	bsd_args.pos = ctob(linux_args->pgoff);
 +	bsd_args.pad = 0;
 +
 +#ifdef DEBUG
 +	if (ldebug(mmap2))
 +		printf("-> (%p, %d, %d, 0x%08x, %d, %d)\n",
 +		    (void *)bsd_args.addr, bsd_args.len, bsd_args.prot,
 +		    bsd_args.flags, bsd_args.fd, (int)bsd_args.pos);
 +#endif
 +
 +	return (mmap(p, &bsd_args));
 +}
 +
 +int
  linux_mmap(struct proc *p, struct linux_mmap_args *args)
  {
  	struct mmap_args /* {
 @@ -790,7 +904,7 @@
  	return (error);
  }
  
 -int
 +/* int
  linux_ftruncate64(struct proc *p, struct linux_ftruncate64_args *args)
  {
  	struct ftruncate_args sa;
 @@ -804,4 +918,4 @@
  	sa.pad = 0;
  	sa.length = args->length;
  	return ftruncate(p, &sa);
 -}
 +} */
 --- i386/linux/linux_sysvec.c.orig	Mon Aug 23 21:19:35 2004
 +++ i386/linux/linux_sysvec.c		Mon Aug 23 21:33:06 2004
 @@ -722,6 +722,7 @@
  	args[2] = tf->tf_edx;
  	args[3] = tf->tf_esi;
  	args[4] = tf->tf_edi;
 +	args[5] = tf->tf_ebp;   /* tf_ebp taken from linux glibc sources */
  	*params = NULL;		/* no copyin */
  }
  
 --- mmap2-patch.diff ends here ---
 

From owner-freebsd-emulation@FreeBSD.ORG  Tue Aug 24 20:53:56 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 135BE16A4DE; Tue, 24 Aug 2004 20:53:56 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id D682443D31; Tue, 24 Aug 2004 20:53:55 +0000 (GMT)
	(envelope-from jhb@FreeBSD.org)
Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1])
	i7OKrtDc068802;	Tue, 24 Aug 2004 20:53:55 GMT
	(envelope-from jhb@freefall.freebsd.org)
Received: (from jhb@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7OKrtVZ068798;
	Tue, 24 Aug 2004 20:53:55 GMT
	(envelope-from jhb)
Date: Tue, 24 Aug 2004 20:53:55 GMT
From: John Baldwin <jhb@FreeBSD.org>
Message-Id: <200408242053.i7OKrtVZ068798@freefall.freebsd.org>
To: gwk@rahn-koltermann.de, jhb@FreeBSD.org, emulation@FreeBSD.org
Subject: Re: kern/68079: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal
	stack registration failed (errno=22)
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Aug 2004 20:53:56 -0000

Synopsis: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal stack registration failed (errno=22)

State-Changed-From-To: open->closed
State-Changed-By: jhb
State-Changed-When: Tue Aug 24 20:53:10 GMT 2004
State-Changed-Why: 
Fix from PR committed, thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=68079

From owner-freebsd-emulation@FreeBSD.ORG  Thu Aug 26 20:13:29 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 046C816A4CE; Thu, 26 Aug 2004 20:13:29 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id DB42943D31; Thu, 26 Aug 2004 20:13:28 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	i7QKDSpa076674;	Thu, 26 Aug 2004 20:13:28 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7QKDSVe076670;
	Thu, 26 Aug 2004 20:13:28 GMT
	(envelope-from linimon)
Date: Thu, 26 Aug 2004 20:13:28 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200408262013.i7QKDSVe076670@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	emulation@FreeBSD.org
Subject: Re: kern/45023: flexlm does not run with linux-base-7, stops matlab
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2004 20:13:29 -0000

Synopsis: flexlm does not run with linux-base-7, stops matlab

Responsible-Changed-From-To: freebsd-bugs->emulation
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Aug 26 20:13:18 GMT 2004
Responsible-Changed-Why: 
Reassign to appropriate mailing list.

http://www.freebsd.org/cgi/query-pr.cgi?pr=45023

From owner-freebsd-emulation@FreeBSD.ORG  Thu Aug 26 20:17:53 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 9EB3E16A4CE; Thu, 26 Aug 2004 20:17:53 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 8145943D39; Thu, 26 Aug 2004 20:17:53 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	i7QKHrFW077189;	Thu, 26 Aug 2004 20:17:53 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7QKHrvU077185;
	Thu, 26 Aug 2004 20:17:53 GMT
	(envelope-from linimon)
Date: Thu, 26 Aug 2004 20:17:53 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200408262017.i7QKHrvU077185@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	emulation@FreeBSD.org
Subject: Re: kern/46576: FreeBSD 4.6 broke linux emulation install w/SVR4
	emulation enabled.
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2004 20:17:53 -0000

Synopsis: FreeBSD 4.6 broke linux emulation install w/SVR4 emulation enabled.

Responsible-Changed-From-To: freebsd-bugs->emulation
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Aug 26 20:17:40 GMT 2004
Responsible-Changed-Why: 
Reassign to appropriate mailing list.

http://www.freebsd.org/cgi/query-pr.cgi?pr=46576

From owner-freebsd-emulation@FreeBSD.ORG  Thu Aug 26 20:52:16 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id F084C16A4CE; Thu, 26 Aug 2004 20:52:16 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id D520D43D1F; Thu, 26 Aug 2004 20:52:16 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	i7QKqG6h081282;	Thu, 26 Aug 2004 20:52:16 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7QKqG8m081278;
	Thu, 26 Aug 2004 20:52:16 GMT
	(envelope-from linimon)
Date: Thu, 26 Aug 2004 20:52:16 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200408262052.i7QKqG8m081278@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	emulation@FreeBSD.org
Subject: Re: kern/42466: linux: 'ipc' typ=258 not implemented
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2004 20:52:17 -0000

Synopsis: linux: 'ipc' typ=258 not implemented

Responsible-Changed-From-To: freebsd-bugs->emulation
Responsible-Changed-By: linimon
Responsible-Changed-When: Thu Aug 26 20:52:05 GMT 2004
Responsible-Changed-Why: 
Reassign to appropriate mailing list.

http://www.freebsd.org/cgi/query-pr.cgi?pr=42466

From owner-freebsd-emulation@FreeBSD.ORG  Fri Aug 27 09:20:26 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id B06AC16A4CF; Fri, 27 Aug 2004 09:20:26 +0000 (GMT)
Received: from mail836.megamailservers.com
	(mail836.carrierinternetsolutions.com [69.49.106.46])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 55AA143D48; Fri, 27 Aug 2004 09:20:26 +0000 (GMT)
	(envelope-from strick@covad.net)
X-POP-User: scorpiogirl.covad.net
Received: from mist.nodomain (h-68-164-175-152.snfccasy.dynamic.covad.net
	[68.164.175.152])i7R9KOHX007464;	Fri, 27 Aug 2004 05:20:25 -0400
Received: from mist.nodomain (localhost [127.0.0.1])
	by mist.nodomain (8.12.11/8.12.11) with ESMTP id i7R9KOsN000621;
	Fri, 27 Aug 2004 02:20:24 -0700 (PDT)
	(envelope-from dan@mist.nodomain)
Received: (from dan@localhost)
	by mist.nodomain (8.12.11/8.12.11/Submit) id i7R9KNvr000620;
	Fri, 27 Aug 2004 02:20:23 -0700 (PDT)
	(envelope-from dan)
Date: Fri, 27 Aug 2004 02:20:23 -0700 (PDT)
From: Dan Strick <strick@covad.net>
Message-Id: <200408270920.i7R9KNvr000620@mist.nodomain>
To: emulation@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	linimon@FreeBSD.org
Subject: Re: kern/46576: FreeBSD 4.6 broke linux emulation install w/SVR4
	emulation enabled.
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Aug 2004 09:20:26 -0000

>
> Synopsis: FreeBSD 4.6 broke linux emulation install w/SVR4 emulation enabled.
>
> ...
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=46576
>

I believe I also submitted a PR on this one a while back.

The cause of the problem seems to be that Linux (or at least the Redhat
Linux executable binaries used by most of the Linux emulation ports)
uses the ELF OS ABI code assigned for SYSV (which happens to be zero)
and not the code assigned for LINUX.  Perhaps Linux ELF executables are
simply not branded by default.

(See the symbols ELFOSABI* defined in /usr/include/sys/elf_common.h.)

I won't speculate as to whose "fault" this is.  The upshot is that if
you have enabled both the SVR4 and LINUX emulators, FreeBSD may choose
the wrong emulator some of the time.  I vaguely recall that there is
a sysctl variable that can establish a default brand other than zero.
I don't see how this can help if you have both Linux and SVR4 binaries
on your system.

Since I didn't actually have any SVR4 binaries to run at the time, my
workaround was simply to disable the SVR4 emulator.  I think I recently
read in one of the FreeBSD mailing lists that SVR4 emulation is scheduled
for the scrap heap since nobody seems to be using it.  Perhaps this is
one reason why.

Perhaps the Linux emulator ports should rebrand all Linux ELF files
before installing them.

Dan Strick
strick@covad.net

From owner-freebsd-emulation@FreeBSD.ORG  Fri Aug 27 22:47:27 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C336416A4CE
	for <freebsd-emulation@freebsd.org>;
	Fri, 27 Aug 2004 22:47:27 +0000 (GMT)
Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.240])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B569A43D2F
	for <freebsd-emulation@freebsd.org>;
	Fri, 27 Aug 2004 22:47:27 +0000 (GMT)
	(envelope-from phusion2k@gmail.com)
Received: by mproxy.gmail.com with SMTP id u22so90271cwc
	for <freebsd-emulation@freebsd.org>;
	Fri, 27 Aug 2004 15:47:14 -0700 (PDT)
Received: by 10.11.120.32 with SMTP id s32mr94865cwc;
        Fri, 27 Aug 2004 15:47:14 -0700 (PDT)
Received: by 10.11.100.40 with HTTP; Fri, 27 Aug 2004 15:47:14 -0700 (PDT)
Message-ID: <c3ed3fdc04082715476010a44f@mail.gmail.com>
Date: Fri, 27 Aug 2004 17:47:14 -0500
From: phusion <phusion2k@gmail.com>
To: freebsd-emulation@freebsd.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: VMware3 problems?
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: phusion <phusion2k@gmail.com>
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Aug 2004 22:47:27 -0000

Hi, I'm having two little problems with the VMware3 port.

-The first problem is with the mouse, giving this message:
unsupported host mouse type "sysmouse"
I have the mouse set to autodetect.

-The second problem is with the cdrom drive, giving this message:
VMware Workstation was unable to read from file /dev/acd1. This can be
caused by a Linux kernel bug and will prevent your guest operating
system from properly accessing the CD-ROM drive. The kernels which are
known to exhibit this problem are 2.2.16-3 and 2.2.16-22. Please see
the http://www.vmware.com/support/reference/common/cdrom_guest.html
web page for more information on workarounds.
I have the cdrom drive set to /dev/acd1. Acd0 is my first drive, but
I'm using acd1 for vmware.

I'm wondering if the second problem has to do with me using
linux_base. I see that there is also a linux_base-8 port as well. I
have the linux_base port installed. Let me know what you think.
Thanks.

From owner-freebsd-emulation@FreeBSD.ORG  Sat Aug 28 07:38:57 2004
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: freebsd-emulation@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3155C16A4CE; Sat, 28 Aug 2004 07:38:57 +0000 (GMT)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 118B543D48; Sat, 28 Aug 2004 07:38:57 +0000 (GMT)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1])
	i7S7cuqf035963;	Sat, 28 Aug 2004 07:38:56 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7S7cuco035959;
	Sat, 28 Aug 2004 07:38:56 GMT
	(envelope-from linimon)
Date: Sat, 28 Aug 2004 07:38:56 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Message-Id: <200408280738.i7S7cuco035959@freefall.freebsd.org>
To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org,
	emulation@FreeBSD.org
Subject: Re: ports/55032: java/jdk13: SVr4 emulation interferes with install
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>,
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Aug 2004 07:38:57 -0000

Synopsis: java/jdk13: SVr4 emulation interferes with install

Responsible-Changed-From-To: freebsd-java->emulation
Responsible-Changed-By: linimon
Responsible-Changed-When: Sat Aug 28 07:38:42 GMT 2004
Responsible-Changed-Why: 
Assign to emulation alias.

http://www.freebsd.org/cgi/query-pr.cgi?pr=55032