From owner-freebsd-emulation Tue Sep 25 13: 0:23 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from web14604.mail.yahoo.com (web14604.mail.yahoo.com [216.136.224.84]) by hub.freebsd.org (Postfix) with SMTP id 0C89B37B415 for ; Tue, 25 Sep 2001 13:00:18 -0700 (PDT) Message-ID: <20010925200016.19544.qmail@web14604.mail.yahoo.com> Received: from [66.156.8.150] by web14604.mail.yahoo.com via HTTP; Tue, 25 Sep 2001 13:00:16 PDT Date: Tue, 25 Sep 2001 13:00:16 -0700 (PDT) From: Jerry Murdock Subject: Linux Emulation - fstat64 errors on 4.4 To: questions@freebsd.org, emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 I'm getting the console message 3 times: linux: syscall fstat64 is obsoleted or not implemented When trying to run a linux binary that otherwise appears to work fine. I found some messages in the archive implying that it had been fixed, but if so, it evidently didn't make into 4.4. Does anyone know the official status of this? Any idea one when -stable will see a fix? Is there a way to disable these messages? Thanks, Jerry __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Sep 25 14:29:31 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id BD8A837B414; Tue, 25 Sep 2001 14:29:26 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.4/8.11.4) id f8PLSnq08267; Tue, 25 Sep 2001 16:28:49 -0500 (CDT) (envelope-from dan) Date: Tue, 25 Sep 2001 16:28:48 -0500 From: Dan Nelson To: Jerry Murdock Cc: questions@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: Linux Emulation - fstat64 errors on 4.4 Message-ID: <20010925162848.A14354@dan.emsphone.com> References: <20010925200016.19544.qmail@web14604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010925200016.19544.qmail@web14604.mail.yahoo.com> User-Agent: Mutt/1.3.22.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Sep 25), Jerry Murdock said: > I'm getting the console message 3 times: > > linux: syscall fstat64 is obsoleted or not implemented > > When trying to run a linux binary that otherwise appears to work fine. Linux's libc will fall back to the 32-but file calls if the 64-bit calls are not available. > I found some messages in the archive implying that it had been fixed, > but if so, it evidently didn't make into 4.4. The commits were made to -current; I doubt it will be MFC'd until a RedHat 7.1 userland works with it (there are apparently still issues). > Does anyone know the official status of this? Any idea one when > -stable will see a fix? > > Is there a way to disable these messages? At the bottom of /sys/compat/linux/linux_util.h, either comment out or add an if(verbose) to the printf in unsupported_msg(), and rebuild your kernel. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Sep 25 14:49:43 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from web14605.mail.yahoo.com (web14605.mail.yahoo.com [216.136.224.85]) by hub.freebsd.org (Postfix) with SMTP id 8C47937B407 for ; Tue, 25 Sep 2001 14:49:38 -0700 (PDT) Message-ID: <20010925214938.44039.qmail@web14605.mail.yahoo.com> Received: from [66.156.8.150] by web14605.mail.yahoo.com via HTTP; Tue, 25 Sep 2001 14:49:38 PDT Date: Tue, 25 Sep 2001 14:49:38 -0700 (PDT) From: Jerry Murdock Subject: Re: Linux Emulation - fstat64 errors on 4.4 To: Dan Nelson Cc: questions@FreeBSD.ORG, emulation@FreeBSD.ORG In-Reply-To: <20010925162848.A14354@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- Dan Nelson wrote: > In the last episode (Sep 25), Jerry Murdock said: > > I'm getting the console message 3 times: > > > > linux: syscall fstat64 is obsoleted or not implemented > > > > When trying to run a linux binary that otherwise appears to work fine. > > Linux's libc will fall back to the 32-but file calls if the 64-bit > calls are not available. > > > I found some messages in the archive implying that it had been fixed, > > but if so, it evidently didn't make into 4.4. > > The commits were made to -current; I doubt it will be MFC'd until a > RedHat 7.1 userland works with it (there are apparently still issues). Thanks, at least I know it wasn't something I did. > > Does anyone know the official status of this? Any idea one when > > -stable will see a fix? > > > > Is there a way to disable these messages? > > At the bottom of /sys/compat/linux/linux_util.h, either comment out or > add an if(verbose) to the printf in unsupported_msg(), and rebuild your > kernel. I'll take a look at it. It's just an annoyance right now, but I'd rather not have a scrren full of error messages when it gets to the client. Jerry __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Sep 25 21:31:45 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 7DD6137B405 for ; Tue, 25 Sep 2001 21:31:41 -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 f8Q4VbI26227; Tue, 25 Sep 2001 21:31:37 -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 f8Q4VYP05805; Tue, 25 Sep 2001 21:31:34 -0700 (PDT) (envelope-from marcel) Date: Tue, 25 Sep 2001 21:31:33 -0700 From: Marcel Moolenaar To: Mitsuru IWASAKI Cc: emulation@FreeBSD.org Subject: Fix for linux_semctl - please test Message-ID: <20010925213133.A5791@athlon.pn.xcllnt.net> References: <200109081907.f88J74P38588@freefall.freebsd.org> <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> 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 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 25, 2001 at 05:57:50PM +0900, Mitsuru IWASAKI wrote: > > It seems that this change breaks Linux sysv syscalls (at least, i386 > version of linux_semctl()) and my Oracle 8.1.7 stopped working. Please try attached patch. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="linux.diff" Index: linux_ipc.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_ipc.c,v retrieving revision 1.25 diff -u -r1.25 linux_ipc.c --- linux_ipc.c 15 Sep 2001 09:50:31 -0000 1.25 +++ linux_ipc.c 26 Sep 2001 03:32:21 -0000 @@ -224,9 +224,14 @@ caddr_t sg; sg = stackgap_init(); + + /* Make sure the arg parameter can be copied in. */ + unptr = stackgap_alloc(&sg, sizeof(union semun)); + bcopy(unptr, &args->arg, sizeof(union semun)); + bsd_args.semid = args->semid; bsd_args.semnum = args->semnum; - bsd_args.arg = (union semun *)&args->arg; + bsd_args.arg = unptr; switch (args->cmd) { case LINUX_IPC_RMID: @@ -253,10 +258,8 @@ sizeof(linux_semid)); if (error) return (error); - unptr = stackgap_alloc(&sg, sizeof(union semun)); unptr->buf = stackgap_alloc(&sg, sizeof(struct semid_ds)); linux_to_bsd_semid_ds(&linux_semid, unptr->buf); - bsd_args.arg = unptr; return __semctl(td, &bsd_args); case LINUX_IPC_STAT: case LINUX_SEM_STAT: @@ -264,9 +267,7 @@ bsd_args.cmd = IPC_STAT; else bsd_args.cmd = SEM_STAT; - unptr = stackgap_alloc(&sg, sizeof(union semun)); unptr->buf = stackgap_alloc(&sg, sizeof(struct semid_ds)); - bsd_args.arg = unptr; error = __semctl(td, &bsd_args); if (error) return error; --/9DWx/yDrRhgMJTb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Sep 25 22: 9:36 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from polaris.hitachi-to.co.jp (regulus.hitachi-to.co.jp [210.130.175.6]) by hub.freebsd.org (Postfix) with ESMTP id 0C5D837B411 for ; Tue, 25 Sep 2001 22:09:34 -0700 (PDT) Date: Wed, 26 Sep 2001 14:09:26 +0900 (JST) Message-Id: <20010926.140926.07647105.iwasaki@jp.FreeBSD.org> To: marcel@xcllnt.net Cc: emulation@FreeBSD.org, iwasaki@jp.FreeBSD.org Subject: Re: Fix for linux_semctl - please test From: Mitsuru IWASAKI In-Reply-To: <20010925213133.A5791@athlon.pn.xcllnt.net> References: <200109081907.f88J74P38588@freefall.freebsd.org> <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> <20010925213133.A5791@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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, > > It seems that this change breaks Linux sysv syscalls (at least, i386 > > version of linux_semctl()) and my Oracle 8.1.7 stopped working. > > Please try attached patch. Perfect! My Oracle8i is working again. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Sep 26 5:25: 3 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id E88D237B417 for ; Wed, 26 Sep 2001 05:24:57 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.85.154]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 26 Sep 2001 08:24:20 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: freebsd-emulation@freebsd.org Subject: Re: Weird Linux / nameserver interaction Date: Wed, 26 Sep 2001 08:24:20 -0400 X-Mailer: KMail [version 1.2] References: <01092608154803.00563@i8k.babbleon.org> In-Reply-To: <01092608154803.00563@i8k.babbleon.org> MIME-Version: 1.0 Message-Id: <01092608242005.00563@i8k.babbleon.org> Content-Transfer-Encoding: 8bit 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 [In a somewhat bizarre twist, I'm following up to my own posting. This is becuase I previously posted the query to an internal FreeBSD group, and got one reply, so I have some more information to add. After this, however, we hit a wall, so now I'm hoping that the emulation list be able to help.] In article , Kevin Neal wrote: |On 15 Aug 2001 20:18:10 GMT, bts@wnt.sas.com (Brian T. Schellenberger) |wrote: | |>I'm running a local nameserver on FreeBSD so that when I have VPN access |>up I can get SAS names from the SAS name server but external names from |>the RoadRunner name server. |> |>This works just peachy for serving up names to FreeBSD programs, but |>when I run Linux Netscape* it can't resolve any names via the name |>server. That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD |>apps find names just fine, but Linux apps to do not. | |Is Linux Netscape managing to get DNS queries out to any network |interface if resolv.conf points to 127.0.0.1? | |Can you tcpdump lo0 and find out? Excellent idea. No traffic is generated to my local node from Netscape (linux), though Mozilla (native) does (as expected) generate traffic. |Or, can you ktrace (or alternate) Linux Netscape to see what it is |doing when it is supposed to be doing a DNS lookup? Another very good idea. Not sure what it means, but a SIGALRM is generated. I'm thinking Netscape bug (big surprise there), but maybe somebody else has an idea: 19644 navigator-linux- GIO fd 4 wrote 23 bytes "lookup: www.excite.com " 19644 navigator-linux- PSIG SIGALRM caught handler=0x84f7180 mask=0x0 code=0x0 19644 navigator-linux- RET write 23/0x17 19644 navigator-linux- CALL mincore(0xbfbfabe4,0) (With the static /etc/resolv.conf, this of course doesn't get the signal and all is good.) -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org --------------------> Free Dmitry Sklyarov! <------------------------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Sep 26 11:14:32 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from tholian.securitydynamics.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 2643F37B419 for ; Wed, 26 Sep 2001 11:14:23 -0700 (PDT) Received: from sdtihq24.securid.com by tholian.securitydynamics.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 26 Sep 2001 18:11:23 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id OAA07227 for ; Wed, 26 Sep 2001 14:14:21 -0400 (EDT) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.9.3+Sun/8.9.1) with SMTP id OAA23657 for ; Wed, 26 Sep 2001 14:14:18 -0400 (EDT) Received: (qmail 22655 invoked from network); 26 Sep 2001 18:14:16 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 26 Sep 2001 18:14:16 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.6/8.11.3) id f8QIEDi74396; Wed, 26 Sep 2001 11:14:13 -0700 (PDT) (envelope-from mikko) Date: Wed, 26 Sep 2001 11:14:13 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200109261814.f8QIEDi74396@explorer.rsa.com> To: bts@babbleon.org Cc: emulation@freebsd.org Subject: Re: Weird Linux / nameserver interaction Newsgroups: local.freebsd.emulation References: <01092608154803.00563@i8k.babbleon.org> <01092608242005.00563@i8k.babbleon.org> X-Newsreader: NN version 6.5.6 (NOV) 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 In local.freebsd.emulation you write: [...] >In article , >Kevin Neal wrote: >|On 15 Aug 2001 20:18:10 GMT, bts@wnt.sas.com (Brian T. Schellenberger) >|wrote: >| >|>I'm running a local nameserver on FreeBSD so that when I have VPN access >|>up I can get SAS names from the SAS name server but external names from >|>the RoadRunner name server. >|> >|>This works just peachy for serving up names to FreeBSD programs, but >|>when I run Linux Netscape* it can't resolve any names via the name >|>server. That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD >|>apps find names just fine, but Linux apps to do not. When I had this (?) problem, it turned out that linux clients needed an explicit "nameserver 127.0.0.1" line in /etc/resolv.conf, but FreeBSD clients implicitly default to localhost. After adding that line, linux clients could do DNS lookups. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Sep 26 14:16:53 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 4E3B937B444 for ; Wed, 26 Sep 2001 14:16:50 -0700 (PDT) Received: (qmail 24538 invoked by uid 1000); 26 Sep 2001 21:16:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 26 Sep 2001 21:16:48 -0000 Date: Wed, 26 Sep 2001 23:16:48 +0200 (CEST) From: Attila Nagy To: Mikko Tyolajarvi Cc: , Subject: Re: Weird Linux / nameserver interaction In-Reply-To: <200109261814.f8QIEDi74396@explorer.rsa.com> Message-ID: <20010926231455.M24503-100000@scribble.fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hello, > >|>This works just peachy for serving up names to FreeBSD programs, but > >|>when I run Linux Netscape* it can't resolve any names via the name > >|>server. That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD > >|>apps find names just fine, but Linux apps to do not. I had similar results. With Debian Potato name resolving works, with Debian Woody it doesn't. Woody uses a newer Glibc, maybe that's the problem, I don't know. I did my tests on FreeBSD RELENG_4, not on the HEAD. -------------------------------------------------------------------------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Budapest Polytechnic (BMF.HU) @work: +361 210 1415 (194) H-1084 Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Sep 26 14:25:41 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id EC17737B417 for ; Wed, 26 Sep 2001 14:25:37 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.85.154]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 26 Sep 2001 08:15:48 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: freebsd-emulation@freebsd.org Subject: Weird Linux / nameserver interaction Date: Wed, 26 Sep 2001 08:15:48 -0400 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01092608154803.00563@i8k.babbleon.org> Content-Transfer-Encoding: 8bit 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 Ok, here's an odd one . . . I'm running a local nameserver on FreeBSD so that when I have VPN access up I can get internal names from my workplace's name server but external names from my ISP's name server. This works just peachy for serving up names to FreeBSD programs, but when I run Linux Netscape* it can't resolve any names via the name server. That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD apps find names just fine, but Linux apps to do not. If /etc/resolv.conf points to 24.93.67.64 (my ISP's name server), then both of them resolve external names just fine, but of course cannot resolve names internal to my workplace's network. Since none of the sites that I really need to use Netscape for (mostly java-using sites) are within SAS, I have a reasonably satisfactory workaround by creating a /usr/compat/linux/etc/resolv.conf that points to the 24.93.67.64 nameserver while the "real" resolv.conf points to 127.0.0.1, but I still find the behavior rather puzzling. Any ideas? -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org --------------------> Free Dmitry Sklyarov! <------------------------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Sep 26 20: 5:32 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail8.nc.rr.com (fe8.southeast.rr.com [24.93.67.55]) by hub.freebsd.org (Postfix) with ESMTP id E5EAF37B432 for ; Wed, 26 Sep 2001 20:05:28 -0700 (PDT) Received: from i8k.babbleon.org ([66.57.85.154]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 26 Sep 2001 23:05:14 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Mikko Tyolajarvi , bts@babbleon.org Subject: Re: Weird Linux / nameserver interaction Date: Wed, 26 Sep 2001 23:05:12 -0400 X-Mailer: KMail [version 1.2] Cc: emulation@freebsd.org References: <01092608154803.00563@i8k.babbleon.org> <01092608242005.00563@i8k.babbleon.org> <200109261814.f8QIEDi74396@explorer.rsa.com> In-Reply-To: <200109261814.f8QIEDi74396@explorer.rsa.com> MIME-Version: 1.0 Message-Id: <01092623051200.00591@i8k.babbleon.org> Content-Transfer-Encoding: 8bit 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 On Wednesday 26 September 2001 14:14, Mikko Tyolajarvi wrote: > In local.freebsd.emulation you write: > > >|>I'm running a local nameserver on FreeBSD so that when I have VPN access > >|>up I can get SAS names from the SAS name server but external names from > >|>the RoadRunner name server. > >|> > >|>This works just peachy for serving up names to FreeBSD programs, but > >|>when I run Linux Netscape* it can't resolve any names via the name > >|>server. That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD > >|>apps find names just fine, but Linux apps to do not. > > When I had this (?) problem, it turned out that linux clients needed > an explicit "nameserver 127.0.0.1" line in /etc/resolv.conf, but > FreeBSD clients implicitly default to localhost. After adding that > line, linux clients could do DNS lookups. Geez, I can't believe it was that simple. Thank you very much. That's all it was. This fails for Linux: search unx.sas.com pc.sas.com us.sas.com sas.com 127.0.0.1 But this works: search unx.sas.com pc.sas.com us.sas.com sas.com nameserver 127.0.0.1 It's like the keyword "nameserver" is implicit for FreeBSD but explicitly required for Linux. Thank you very much! > > $.02, > /Mikko -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org --------------------> Free Dmitry Sklyarov! <------------------------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Sep 27 4:32:15 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from gullo.com.br (200-207-50-37.dsl.telesp.net.br [200.207.50.37]) by hub.freebsd.org (Postfix) with ESMTP id EAFB937B40E for ; Thu, 27 Sep 2001 04:32:12 -0700 (PDT) Received: (from root@localhost) by gullo.com.br (8.11.3/8.11.3) id f8RBVwv47772 for freebsd-emulation@freebsd.org; Thu, 27 Sep 2001 08:31:58 -0300 (BRT) (envelope-from mtv@gullo.com.br) Received: from mtv (trilluser@dhcp101.gullo.com.br [192.168.1.101]) by gullo.com.br (8.11.3/8.11.3av) with ESMTP id f8RBVuH47762 for ; Thu, 27 Sep 2001 08:31:56 -0300 (BRT) (envelope-from mtv@gullo.com.br) Date: Thu, 27 Sep 2001 08:31:56 -0300 From: Marcos Tischer Vallim To: freebsd-emulation@freebsd.org Subject: Oracle 8i Message-Id: <20010927081955.488D.MTV@gullo.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.07 X-Virus-Scanned: by AMaViS perl-10 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 Helo to all! I am with a server FreeBSD 4.3 with Oracle 8.0.1.5, necessary to bring up to date my Oracle 8 for Oracle 8i somebody knows of some how it to you, that it can help me in this task? :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Sep 27 8:27:19 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 1F48D37B421 for ; Thu, 27 Sep 2001 08:27:16 -0700 (PDT) Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id f8RFR7m31953; Fri, 28 Sep 2001 00:27:07 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Fri, 28 Sep 2001 00:27:04 +0900 (JST) Message-Id: <20010928.002704.07647057.iwasaki@jp.FreeBSD.org> To: marcel@xcllnt.net Cc: emulation@FreeBSD.org, iwasaki@jp.FreeBSD.org Subject: Re: Fix for linux_semctl - please test From: Mitsuru IWASAKI In-Reply-To: <20010926.140926.07647105.iwasaki@jp.FreeBSD.org> References: <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> <20010925213133.A5791@athlon.pn.xcllnt.net> <20010926.140926.07647105.iwasaki@jp.FreeBSD.org> X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > > It seems that this change breaks Linux sysv syscalls (at least, i386 > > > version of linux_semctl()) and my Oracle 8.1.7 stopped working. > > > > Please try attached patch. > > Perfect! My Oracle8i is working again. Oops, sorry. My testing was incomplete. Now it should be perfect, I hope ;-) Index: linux_ipc.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_ipc.c,v retrieving revision 1.26 diff -u -r1.26 linux_ipc.c --- linux_ipc.c 26 Sep 2001 05:39:59 -0000 1.26 +++ linux_ipc.c 27 Sep 2001 15:19:31 -0000 @@ -227,7 +227,7 @@ /* Make sure the arg parameter can be copied in. */ unptr = stackgap_alloc(&sg, sizeof(union semun)); - bcopy(unptr, &args->arg, sizeof(union semun)); + bcopy(&args->arg, unptr, sizeof(union semun)); bsd_args.semid = args->semid; bsd_args.semnum = args->semnum; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Sep 27 18:16:43 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 2303A37B410 for ; Thu, 27 Sep 2001 18:16:27 -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 f8S1GQI31746; Thu, 27 Sep 2001 18:16:26 -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 f8S1GP302835; Thu, 27 Sep 2001 18:16:25 -0700 (PDT) (envelope-from marcel) Date: Thu, 27 Sep 2001 18:16:25 -0700 From: Marcel Moolenaar To: Mitsuru IWASAKI Cc: emulation@FreeBSD.org Subject: Re: Fix for linux_semctl - please test Message-ID: <20010927181625.A663@athlon.pn.xcllnt.net> References: <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> <20010925213133.A5791@athlon.pn.xcllnt.net> <20010926.140926.07647105.iwasaki@jp.FreeBSD.org> <20010928.002704.07647057.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010928.002704.07647057.iwasaki@jp.FreeBSD.org> 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 On Fri, Sep 28, 2001 at 12:27:04AM +0900, Mitsuru IWASAKI wrote: > > > > It seems that this change breaks Linux sysv syscalls (at least, i386 > > > > version of linux_semctl()) and my Oracle 8.1.7 stopped working. > > > > > > Please try attached patch. > > > > Perfect! My Oracle8i is working again. > > Oops, sorry. My testing was incomplete. > Now it should be perfect, I hope ;-) Are you sure? :-) Fixed. Thanks! -- 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