From owner-freebsd-emulation Fri Aug 31 12:58:34 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by hub.freebsd.org (Postfix) with ESMTP id 2005337B407 for ; Fri, 31 Aug 2001 12:58:28 -0700 (PDT) Received: (from fpscha@localhost) by ns1.via-net-works.net.ar (8.9.3/8.9.3) id QAA60727 for freebsd-emulation@freebsd.org; Fri, 31 Aug 2001 16:58:44 -0300 (ART) X-Authentication-Warning: ns1.via-net-works.net.ar: fpscha set sender to fschapachnik@vianetworks.com.ar using -f Date: Fri, 31 Aug 2001 16:58:44 -0300 From: Fernando Schapachnik To: freebsd-emulation@freebsd.org Subject: ArcServer on FreeBSD Message-ID: <20010831165844.B10730@ns1.via-net-works.net.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm trying to port ArcServer 2000 Agent for Linux to FreeBSD (under emulation, actually). I plan to write a how-to on completition. I managed it to backup, but I'm having problems making it restore. I wonder is somebody would have an idea: On the logs, I find: 08/31 15:24:17(1177) - (DecideShmBuf) Failed to get shared memory (Can't assign memory) A ktrace: 1419 uagentd NAMI "/opt/uagent/logs/uag.ipc" 1419 uagentd RET access 0 1419 uagentd CALL getrusage(0x17,0,0x801408,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7e13f8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7c13e8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7a13d8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7813c8,0x180,0) 1419 uagentd RET getrusage -1 errno -12 Unknown error: -12 1419 uagentd CALL recvmsg(0xb4) 1419 uagentd RET recvmsg 0 1419 uagentd CALL pwrite(0xe,0xbfbfa9dc,0xbfbfa950,0x8) 1419 uagentd RET pwrite 0 1419 uagentd CALL old.recv(0x9,0xbfbfabc0) 1419 uagentd GIO fd 7 wrote 90 bytes "\0\0002\0\0\0\0R\0\0\0\f\0\0\0\^B\^B\v(DecideShmBuf) Failed to get \ shared memory (cannot assign memory)\0" The machine seems to have enough shared memory: kern.ipc.shmmax: 4194304 kern.ipc.shmmin: 1 kern.ipc.shmmni: 96 kern.ipc.shmseg: 64 kern.ipc.shmall: 1024 kern.ipc.shm_use_phys: The documentation says: System shared memory: -------------------- For certain OS release, the default max shared memory segment size (SHMMAX) is not big enough for the Client Agent to function properly. The SHMMAX value must be set to a minimum of 1048576. Any ideas? Thanks! Fernando P. Schapachnik Planificación de red y tecnología VIA NET.WORKS ARGENTINA S.A. fschapachnik@vianetworks.com.ar Tel.: (54-11) 4323-3381 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Sep 1 12:42:57 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 26BBD37B406 for ; Sat, 1 Sep 2001 12:42:54 -0700 (PDT) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f81JgrU36091 for ; Sat, 1 Sep 2001 12:42:53 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.11.6/8.11.5) id f81Jgri11908 for freebsd-emulation@FreeBSD.org; Sat, 1 Sep 2001 12:42:53 -0700 (PDT) (envelope-from marcel) Date: Sat, 1 Sep 2001 12:42:53 -0700 From: Marcel Moolenaar To: freebsd-emulation@FreeBSD.org Subject: Linuxulator (and port) update Message-ID: <20010901124253.I11062@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gang, I locked myself up and worked on the Linuxulator for a couple of days. The most important change is that the Linuxulator now has most of the new syscalls needed to upgrade the linux_base port to RH 7.1. For those running on i386, you can can download the bits for your amusement. I'm going to work on the Alpha bits in the mean time. If you find anything majorly wrong in the i386 bits, let me know. Note that I introduced seperate types to express the Linux world in. This should provide with the "terra firma" in the fluid world of FreeBSD and Linux (you notice that locking yourself up has a strange effect on rhetorics :-) This causes some large diffs, but will only proof beneficial in the long run. Note also that what you download is almost too hot to handle. Use the necessary precaution when installing. Make sure you upgrade your source tree to get linux_uid16.c. i386 bits can be downloaded here: http://www.xcllnt.net/~marcel/linux-2.4.2.diff http://www.xcllnt.net/~marcel/linux_base-7.tar.gz I'll lock myself up again for the Alpha bits. Any and all feedback is welcome. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Sep 1 22:52: 6 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 52DFA37B401; Sat, 1 Sep 2001 22:51:38 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f825pbU37131; Sat, 1 Sep 2001 22:51:37 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f825piE00971; Sat, 1 Sep 2001 22:51:44 -0700 (PDT) (envelope-from marcel) Date: Sat, 1 Sep 2001 22:51:44 -0700 From: Marcel Moolenaar To: emulation@FreeBSD.org, alpha@FreeBSD.org Subject: Linuxulator update and new linux_base port Message-ID: <20010901225144.A593@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org All, I updated the Linuxulator to be in sync with Linux 2.4.2 and also created a linux_base port based on Red Hat 7.1 packages. You can download the bits here: http://www.xcllnt.net/~marcel/linux-2.4.2.diff http://www.xcllnt.net/~marcel/linux_base-7.tar.gz The change applies to both Alpha and i386. I intend to commit it shortly. The changes include the initial work to create seperate types for use in Linux structs and parameters. This should help cleaning up the code and keeping it clean. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Sep 1 23: 0: 5 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 6650E37B403 for ; Sat, 1 Sep 2001 23:00:01 -0700 (PDT) Received: from randy by rip.psg.com with local (Exim 3.33 #1) id 15dQIZ-000PpP-00; Sat, 01 Sep 2001 22:59:59 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Marcel Moolenaar Cc: freebsd emulator list Subject: Re: Linuxulator update and new linux_base port References: <20010901225144.A593@dhcp01.pn.xcllnt.net> Message-Id: Date: Sat, 01 Sep 2001 22:59:59 -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org before commit or shortly thereafter, could i beg o testing with vmware2 o testing with vmware2 with the major number 30 blocked devices hack which is necessary for vmware to use raw disk partitions randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message