From owner-freebsd-emulation Mon Jan 18 11:12:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22187 for freebsd-emulation-outgoing; Mon, 18 Jan 1999 11:12:05 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles250.castles.com [208.214.165.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22181 for ; Mon, 18 Jan 1999 11:12:03 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id LAA18013; Mon, 18 Jan 1999 11:08:34 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901181908.LAA18013@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: talon@lpthe.jussieu.fr (Michel TALON) cc: freebsd-emulation@FreeBSD.ORG Subject: Re: linux emulation In-reply-to: Your message of "Mon, 18 Jan 1999 11:04:00 +0100." <199901181004.LAA11129@niobe.lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 Jan 1999 11:08:34 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Please send emulation-related problems to the freebsd-emulation list. > I have problems with linux emulation of programs compiled under > libc6 under FreeBSD 2.2.8-stable. This happens with simple programs not > using /proc or clone(). I have installed the port linux_lib-2.6. > My old programs using libc5 like Maple continue to work without problem. > > Now any new program compiled on a Linux Redhat 5.2 machine and working > on such machine immediately core dump on the FreeBSD box with sigsev. > > I have ktraced them and read with linux_kdump. I see correct invocations > of the libc6 and the loader: > > 8580 tree NAMI "/compat/linux/lib/libc.so.6" > 8580 tree NAMI "/compat/linux" > 8580 tree NAMI "/compat/linux/lib/libc.so.6" > 8580 tree RET linux_open 3 > 8580 tree CALL read(0x3,0xefbfc558,0x1000) > > 8580 tree NAMI "/compat/linux/lib/ld-linux.so.2" > 8580 tree NAMI "/compat/linux" > 8580 tree NAMI "/compat/linux/lib/ld-linux.so.2" > 8580 tree RET linux_open 3 > 8580 tree CALL read(0x3,0xefbfc558,0x1000) > > then a call to getpid as under linux with strace: > > 8580 tree CALL getpid > 8580 tree RET getpid 8580/0x2184 > 8580 tree PSIG SIGSEGV SIG_DFL > 8580 tree NAMI "tree.core" > > and the program dies without ever beginning execution. Is this a known > bug or am i doing something wrong? The only time I've seen this was when I was having problems with the wrong dynamic linker being invoked (because I had a non-glibc linker). I don't think there have been any major changes post 2.2.8, but there have certainly been major improvements in the Linux emulation in the 3.x branch which may address your problems. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Jan 20 17:52:21 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18970 for freebsd-emulation-outgoing; Wed, 20 Jan 1999 17:52:21 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from lips.lcse.umn.edu (lips.lcse.umn.edu [128.101.182.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18965 for ; Wed, 20 Jan 1999 17:52:19 -0800 (PST) (envelope-from cattelan@thebarn.com) Received: from thebarn.com (ysam.mappcc.mapp.org [148.142.0.3]) by lips.lcse.umn.edu (8.9.1/8.9.1) with ESMTP id TAA42580 for ; Wed, 20 Jan 1999 19:45:53 -0600 (CST) Message-ID: <36A686A3.9E88334B@thebarn.com> Date: Wed, 20 Jan 1999 19:45:08 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: Working version of xcopilot for 3.0-current? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I everything I try core dumps one of the threads. looks like the one that actually loads the rom. I've tried the one in the ports tree and the lastest version (0.6.7) no luck on either. Cannot access memory at address 0x400104a4. #0 load_rom (dir=Cannot access memory at address 0xefbfd0b8. ) at memory.c:460 460 *p = (*bp << 8) | *(bp + 1); (gdb) list 455 for (i = 0; i < rom_size/2; i++) { 456 UWORD *p; 457 UBYTE *bp; 458 p = rommemory + i; 459 bp = (UBYTE *)p; 460 *p = (*bp << 8) | *(bp + 1); 461 } 462 #endif 463 464 close(f); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jan 21 12:58:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27209 for freebsd-emulation-outgoing; Thu, 21 Jan 1999 12:58:38 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from smtp.enteract.com (thor.enteract.com [207.229.143.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA27203 for ; Thu, 21 Jan 1999 12:58:36 -0800 (PST) (envelope-from jrs@enteract.com) Received: (qmail 17327 invoked from network); 21 Jan 1999 20:58:24 -0000 Received: from adam.enteract.com (jrs@206.54.252.1) by thor.enteract.com with SMTP; 21 Jan 1999 20:58:24 -0000 Date: Thu, 21 Jan 1999 14:58:23 -0600 (CST) From: John Sconiers To: freebsd-emulation@FreeBSD.ORG Subject: emulating solaris Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org when i run: bash# kldload /modules/svr4.ko My machine reboots. I hand made the directory then did make install because it kept makeing just modules file in the root directory. It then made a svr4.ko within the module directory. This is on 3.0-current from off the net on monday. Can someone help or give me a correct module. I followed the diretions and did the patches. I'm trying to get Lotus notes client on Freebsd that was made for sun TIA JOHN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jan 21 13:31:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00596 for freebsd-emulation-outgoing; Thu, 21 Jan 1999 13:31:14 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from atdot.dotat.org (atdot.dotat.org [203.23.150.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00587 for ; Thu, 21 Jan 1999 13:31:11 -0800 (PST) (envelope-from newton@atdot.dotat.org) Received: (from newton@localhost) by atdot.dotat.org (8.9.1/8.7) id IAA14889; Fri, 22 Jan 1999 08:00:09 +1030 (CST) From: Mark Newton Message-Id: <199901212130.IAA14889@atdot.dotat.org> Subject: Re: emulating solaris To: jrs@enteract.com (John Sconiers) Date: Fri, 22 Jan 1999 08:00:09 +1030 (CST) Cc: freebsd-emulation@FreeBSD.ORG In-Reply-To: from "John Sconiers" at Jan 21, 99 02:58:23 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Sconiers wrote: > when i run: > bash# kldload /modules/svr4.ko > > My machine reboots. Oops. You're using an ELF kernel, I trust (you must, because you got 3.0-current on Monday). Check OBJFORMAT in /sys/compile/KERNELNAME/Makefile just to be sure, though. I do remember that modules in general used to crash a.out kernels back in the days when a.out kernels were actually used... My -current machine is presently awaiting a new disk which should, uh, "make it more useful" (the disk should be arriving today; I'll make time to install it over the weekend). I hope to be able to help you out more then. > I hand made the directory then did make install > because it kept makeing just modules file in the root directory. > It then made a svr4.ko within the module directory. > This is on 3.0-current from off the net on monday. The fact that /modules didn't exist already leads me to believe that perhaps you haven't done a "make world" since you grabbed -current (since /modules *should* be in the mtree file that make world uses). I don't expect the emulator to work at all if you haven't done a "make world" and then built a kernel. Could it be that you're still running an old release even though you have -current sources? Which release did you have before you grabbed -current? > Can someone help or give me a correct module. > I followed the diretions and did the patches. I'll check it out when I get the -current box up and running. > I'm trying to get Lotus > notes client on Freebsd that was made for sun Hmm, that could be interesting. Bear in mind that the emulator is still in early days, though. - mark -------------------------------------------------------------------- I tried an internal modem, newton@atdot.dotat.org but it hurt when I walked. Mark Newton ----- Voice: +61-4-1958-3414 ------------- Fax: +61-8-83034403 ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Jan 22 14:44:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25797 for freebsd-emulation-outgoing; Fri, 22 Jan 1999 14:44:42 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from smtp.enteract.com (thor.enteract.com [207.229.143.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA25792 for ; Fri, 22 Jan 1999 14:44:40 -0800 (PST) (envelope-from jrs@enteract.com) Received: (qmail 6094 invoked from network); 22 Jan 1999 22:44:31 -0000 Received: from adam.enteract.com (jrs@206.54.252.1) by thor.enteract.com with SMTP; 22 Jan 1999 22:44:31 -0000 Date: Fri, 22 Jan 1999 16:44:30 -0600 (CST) From: John Sconiers To: Mark Newton cc: freebsd-emulation@FreeBSD.ORG Subject: Re: emulating solaris In-Reply-To: <199901212130.IAA14889@atdot.dotat.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > when i run: > > bash# kldload /modules/svr4.ko > > My machine reboots. > Oops. > You're using an ELF kernel, I trust (you must, because you got 3.0-current > on Monday). Check OBJFORMAT in /sys/compile/KERNELNAME/Makefile just to > be sure, though. I do remember that modules in general used to crash > a.out kernels back in the days when a.out kernels were actually used... The first install was from 3.0 -current last week a monday. cvsuped on monday. Then tried to install. > My -current machine is presently awaiting a new disk which should, uh, > "make it more useful" (the disk should be arriving today; I'll make > time to install it over the weekend). I hope to be able to help you > out more then. Thanks. I did a buildworld just to make sure and it still crashed my box. It may be a problem with my install. I don't have a cd-rom on the box so mounted the cd-rom from my sparc box....if that matters.... I will attempt to just copy the contents over to the /cdrom directory..... > > I hand made the directory then did make install > > because it kept makeing just modules file in the root directory. > > It then made a svr4.ko within the module directory. > > This is on 3.0-current from off the net on monday. > The fact that /modules didn't exist already leads me to believe that > perhaps you haven't done a "make world" since you grabbed -current > (since /modules *should* be in the mtree file that make world uses). > I don't expect the emulator to work at all if you haven't done a "make > world" and then built a kernel. Could it be that you're still running > an old release even though you have -current sources? did a cvs and build world just to make sure. > Which release did you have before you grabbed -current? none. Fresh install on a test box to see if I could get the Solaris version of the Lotus notes client working so I can help with the development of the sparc port. Has anyone reported lotus notes is working? > > Can someone help or give me a correct module. > > I followed the diretions and did the patches. > I'll check it out when I get the -current box up and running. Sounds great....I'll make sure its not the mounting the cd-rom from the sparc problem. > > I'm trying to get Lotus > > notes client on Freebsd that was made for sun > Hmm, that could be interesting. Bear in mind that the emulator is > still in early days, though. Yeah...but from what I've heard and seen it's nothing more than perl adnd a web interface that looks like a *REAL* application. Thanks for your help. JOHN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message