From owner-freebsd-emulation Wed Apr 15 04:20:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02136 for freebsd-emulation-outgoing; Wed, 15 Apr 1998 04:20:56 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from jua.res.cmu.edu (natty@JUA.RES.CMU.EDU [128.2.74.112]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02129; Wed, 15 Apr 1998 11:20:52 GMT (envelope-from natty@jua.res.cmu.edu) Received: from localhost (natty@localhost) by jua.res.cmu.edu (8.8.5/8.8.5) with SMTP id HAA07751; Wed, 15 Apr 1998 07:43:22 -0400 (EDT) Date: Wed, 15 Apr 1998 07:43:22 -0400 (EDT) From: Natty Dreds To: freebsd-stable@FreeBSD.ORG cc: freebsd-emulation@FreeBSD.ORG Subject: x11amp - possible with -STABLE? In-Reply-To: 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 I searched the mail list archives in vain on the web page; I was just wondering if it was possible to use the Linux x11amp with FreeBSD-STABLE? In the archives people seem to have success using it with -CURRENT. On #freebsd, I was informed that it would not work with STABLE, only CURRENT, due to changes in the Linux emulation library. I was also informed that the changed Linux-emul would not be migrated back to -STABLE but was not given a reason why. If this is the case, I'm just curious as to why... Are there underlying differences in the CURRENT kernel that make this impossible? thanks for your time... and sorry if I shouldnt have send this to the stable list; kindly ignore me if that is the case :) --graham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 15 04:26:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA03342 for freebsd-emulation-outgoing; Wed, 15 Apr 1998 04:26:55 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from saten.dyn.ml.org (201.ppp3.gulftel.com [208.222.58.201]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03336; Wed, 15 Apr 1998 11:26:47 GMT (envelope-from lists@saten.dyn.ml.org) Received: from localhost (lists@localhost) by saten.dyn.ml.org (8.8.8/8.8.5) with SMTP id HAA10733; Wed, 15 Apr 1998 07:26:37 -0500 (CDT) Date: Wed, 15 Apr 1998 07:26:36 -0500 (CDT) From: Phillip Salzman To: Natty Dreds cc: freebsd-stable@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: x11amp - possible with -STABLE? In-Reply-To: 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 Nope, doesn't work. The Linux-emu is different in -CURRENT and -STABLE. I was running it when I ran a -CURRENT box, but since deleted it when I decided to go back to -STABLE. Phillip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 15 13:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01807 for freebsd-emulation-outgoing; Wed, 15 Apr 1998 13:24:15 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01694 for ; Wed, 15 Apr 1998 20:23:41 GMT (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA01453; Wed, 15 Apr 1998 13:20:09 -0700 (PDT) Message-Id: <199804152020.NAA01453@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: alk@pobox.com cc: emulation@FreeBSD.ORG Subject: Re: Linux emulation problem In-reply-to: Your message of "Wed, 15 Apr 1998 15:07:12 CDT." <199804152007.PAA19718@compound.east.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 13:20:08 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (It is important to make a visual differentiation between the text you are quoting, and your own text. You need to reconfigure your mail software.) This question belongs on the emulation list, whence it has been copied. > > From: Mike Smith > > > > > > > > Is it possible to force the Linux emulator to use the /compat/linux > > > tree only for shared libraries and other system files but not on the > > > user level? > > > > Not in a useful fashion, no. There is no way to tell the difference > > between a Linux application searching for something that "should" be in > > /compat/linux and something that "shouldn't". > > It could fall though. If, for example, an app tries to open > /usr/share/dict/words, the kernel could try > /compat/linux/usr/share/dict/words, fail, and then try > /usr/share/dict/words before giving up. > I believe this would be genuinely useful behaviour. Oddly enough, this is exactly how it works now. The problem is that when the target of the lookup is a directory, and the directory is found in the compatibility area, traversing this directory will only yield the file entries for the files in the compatibility area. This is more or less unavoidable. -- \\ 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 Fri Apr 17 22:23:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA03905 for freebsd-emulation-outgoing; Fri, 17 Apr 1998 22:23:00 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles115.castles.com [208.214.165.115]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03896 for ; Sat, 18 Apr 1998 05:22:56 GMT (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id UAA00248; Fri, 17 Apr 1998 20:05:01 -0700 (PDT) Message-Id: <199804180305.UAA00248@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Alfred Perlstein cc: emulation@FreeBSD.ORG Subject: Re: Problems w/ Linux EMU In-reply-to: Your message of "Fri, 17 Apr 1998 19:07:54 -0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 17 Apr 1998 20:05:00 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > but the linux emu is quite borked in -current it seems. > > > > > > a LOT of stuff stopped working right about a month ago. > > > > Really? Where have your problem reports been then? > > mostly that i get "leaking" shared memory, this has been a problem as of a > month ago or so. I said "where", not "what". 8) Please send problem reports with the Linux emulation to emulation@freebsd.org (I've asked you to do this before...) > after staroffice 4 has been running for a few seconds it locks up and i do > a ipcs and see all my shared segments are used up. Do you have sound support of some sort enabled? I'm not seeing similar problems here. Try removing the SYSV_SHM option from your kernel - there are some fundamental problems to do with the differing layouts of shared memory segments. > this also happens with x11amp after every song it plays, it looses a > segment every time a new song is loaded. Turn it off, definitely. It's not actually very useful. 8) > also linux programs attempting to use raw sockets don't seem to work > anymore. all this "breakage" (for me) seems to have occured about a month > or so ago. This is a completely useless problem report. How about suggesting an application, mentioning where it can be obtained, how you installed it, and explicit steps to reproduce the problem. If you don't, we're not going to try to read your brain, or wander around trying to guess what it is you're talking about - we're going to delete your messages and go on to something that we have some hope of dealing with. In short - the lack of action on the problems you're talking about can be directly traced to the poor quality of your problem reports. If you're willing to participate just a little more in the resolution process, you might be amazed at how much faster things get fixed. -- \\ 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 Sat Apr 18 10:01:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA18986 for freebsd-emulation-outgoing; Sat, 18 Apr 1998 10:01:57 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18918 for ; Sat, 18 Apr 1998 17:01:41 GMT (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.1]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA192 for ; Sat, 18 Apr 1998 12:57:30 -0400 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.8) id NAA04337; Sat, 18 Apr 1998 13:01:46 GMT (envelope-from root) Message-ID: <19980418130146.53016@scsn.net> Date: Sat, 18 Apr 1998 13:01:46 +0000 From: dmaddox@scsn.net (Donald J. Maddox) To: emulation@FreeBSD.ORG Subject: Linux 'cpp' coredumping on -current Reply-To: dmaddox@scsn.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I can't seem to get any Linux apps compiled on my -current (actually about a week old) system... The Linux cpp is consistently dumping core. I completely reinstalled the linux_lib and linux_devel ports (even deleted and re-fetched the distfiles), but the problem persists. This is an excerpt from a ktrace (dumped with linux_kdump): ); extern void XRemoveConnectionWatch( #if NeedFunctionPrototypes Display* /* dpy */, XConnectionWatchProc /* callback */, XPointer /* client_data */ #endif ); _XFUNCPROTOEND #endif /* _XLIB_H_ */ " 4309 cpp RET read 108626/0x1a852 4309 cpp CALL close(0x4) 4309 cpp RET close 0 4309 cpp CALL #163 <<<--- What is this??? 4309 cpp PSIG SIGSYS SIG_DFL 4309 cpp NAMI "cpp.core" 4308 gcc RET linux_wait4 4309/0x10d5 4308 gcc CALL write(0x2,0xefbfc770,0x4) 4308 gcc GIO fd 2 wrote 4 bytes "cc: " 4308 gcc RET write 4 4308 gcc CALL write(0x2,0xefbfc778,0x37) 4308 gcc GIO fd 2 wrote 55 bytes "Internal compiler error: program cpp got fatal signal 0" 4308 gcc RET write 55/0x37 4308 gcc CALL write(0x2,0xefbfc75c,0x1) 4308 gcc GIO fd 2 wrote 1 byte ---------------------------------------------------------------- The whole ktrace.out is available on request if anyone is interested... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Apr 18 10:08:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20422 for freebsd-emulation-outgoing; Sat, 18 Apr 1998 10:08:43 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles306.castles.com [208.214.167.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA20380 for ; Sat, 18 Apr 1998 17:08:27 GMT (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id KAA05039; Sat, 18 Apr 1998 10:05:52 -0700 (PDT) Message-Id: <199804181705.KAA05039@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: dmaddox@scsn.net cc: emulation@FreeBSD.ORG Subject: Re: Linux 'cpp' coredumping on -current In-reply-to: Your message of "Sat, 18 Apr 1998 13:01:46 -0000." <19980418130146.53016@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 10:05:51 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I can't seem to get any Linux apps compiled on my -current (actually > about a week old) system... The Linux cpp is consistently dumping > core. I completely reinstalled the linux_lib and linux_devel ports > (even deleted and re-fetched the distfiles), but the problem persists. > This is an excerpt from a ktrace (dumped with linux_kdump): > > ); > > extern void XRemoveConnectionWatch( > #if NeedFunctionPrototypes > Display* /* dpy */, > XConnectionWatchProc /* callback */, > XPointer /* client_data */ > #endif > ); > > _XFUNCPROTOEND > > #endif /* _XLIB_H_ */ > " > 4309 cpp RET read 108626/0x1a852 > 4309 cpp CALL close(0x4) > 4309 cpp RET close 0 > 4309 cpp CALL #163 <<<--- What is this??? > 4309 cpp PSIG SIGSYS SIG_DFL An unimplemented system call, mremap() in particular. I presume you have updated some or all of the components of your cross-development system from those in the linux_devel kit? -- \\ 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 Sat Apr 18 10:19:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21987 for freebsd-emulation-outgoing; Sat, 18 Apr 1998 10:19:31 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA21948 for ; Sat, 18 Apr 1998 17:19:25 GMT (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.175]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA163; Sat, 18 Apr 1998 13:15:27 -0400 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.8) id NAA09863; Sat, 18 Apr 1998 13:19:43 GMT (envelope-from root) Message-ID: <19980418131943.53345@scsn.net> Date: Sat, 18 Apr 1998 13:19:43 +0000 From: dmaddox@scsn.net (Donald J. Maddox) To: Mike Smith , dmaddox@scsn.net Cc: emulation@FreeBSD.ORG Subject: Re: Linux 'cpp' coredumping on -current Reply-To: dmaddox@scsn.net References: <19980418130146.53016@scsn.net> <199804181705.KAA05039@antipodes.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199804181705.KAA05039@antipodes.cdrom.com>; from Mike Smith on Sat, Apr 18, 1998 at 10:05:51AM -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Apr 18, 1998 at 10:05:51AM -0700, Mike Smith wrote: > > An unimplemented system call, mremap() in particular. I presume you > have updated some or all of the components of your cross-development > system from those in the linux_devel kit? No. In fact, I deleted my entire /compat/linux tree, then reinstalled the linux-lib and linux-devel ports. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Apr 18 13:35:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24394 for freebsd-emulation-outgoing; Sat, 18 Apr 1998 13:35:47 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from feldman.dyn.ml.org (green@1Cust194.tnt5.tco2.da.uu.net [153.35.91.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA24351 for ; Sat, 18 Apr 1998 20:35:42 GMT (envelope-from green@feldman.dyn.ml.org) Received: from localhost (green@localhost) by feldman.dyn.ml.org (8.8.8/8.8.8) with SMTP id QAA09312 for ; Sat, 18 Apr 1998 16:35:36 -0400 (EDT) (envelope-from green@feldman.dyn.ml.org) Date: Sat, 18 Apr 1998 16:35:36 -0400 (EDT) From: Brian Feldman To: freebsd-emulation@FreeBSD.ORG Subject: Linux emu borkage 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 Quite literally, the linux emulation since about a month or two ago is very certainly broken. It includes, but is not limited to: Linux emulation failing with a SIGEMU coredumps attempting to load a linux binary after the system has been up for a while (read: 3+ days) complete failure to recognize certain Linux binaries at all, no matter if brandelf -t linux'd If you need specific examples, I'll post a uuencoded binary to try it with. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Brian Feldman green@feldman.dyn.ml.org fortune -o: "Nuke the gay, unborn, baby whales for Jesus." -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Apr 18 17:12:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05528 for freebsd-emulation-outgoing; Sat, 18 Apr 1998 17:12:27 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles324.castles.com [208.214.167.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA05520 for ; Sun, 19 Apr 1998 00:12:24 GMT (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id RAA06006; Sat, 18 Apr 1998 17:09:56 -0700 (PDT) Message-Id: <199804190009.RAA06006@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Feldman cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Linux emu borkage In-reply-to: Your message of "Sat, 18 Apr 1998 16:35:36 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 Apr 1998 17:09:54 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Quite literally, the linux emulation since about a month or two ago is > very certainly broken. It includes, but is not limited to: > Linux emulation failing with a SIGEMU There is no such signal. You may mean SIGEMT. > coredumps attempting to load a linux binary after the system has > been up for a while (read: 3+ days) I regularly leave my workstation up for many days; I also run a number of (heavy) Linux binaries on it regularly. You might want to check the kernel memory usage (vmstat -m) to see if you're experiencing a leak. > complete failure to recognize certain Linux binaries at all, no > matter if brandelf -t linux'd > If you need specific examples, I'll post a uuencoded binary to try it > with. There's nothing we can do if you don't at least give us a pointer. -- \\ 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