From owner-freebsd-emulation Mon Jan 26 14:47:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA13630 for freebsd-emulation-outgoing; Mon, 26 Jan 1998 14:47:36 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA13593 for ; Mon, 26 Jan 1998 14:47:27 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 26 Jan 1998 17:46:53 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA06611; Mon, 26 Jan 98 17:46:52 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA17730; Mon, 26 Jan 1998 17:45:22 -0500 Received: from ct.picker.com by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id HAA05492; Sat, 24 Jan 1998 07:08:55 -0500 Received: from sarip.sol.net ([169.207.30.120]) by ct.picker.com (4.1/SMI-4.1) id AA05218; Sat, 24 Jan 98 07:10:07 EST Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by sarip.sol.net (8.8.8/8.8.8/SNNS-1.02) with ESMTP id GAA19301; Sat, 24 Jan 1998 06:08:52 -0600 (CST) Received: from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA05817; Sat, 24 Jan 1998 04:08:44 -0800 (PST) (envelope-from owner-freebsd-questions) Received: by hub.freebsd.org (bulk_mailer v1.6); Sat, 24 Jan 1998 04:07:04 -0800 Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05708 for questions-outgoing; Sat, 24 Jan 1998 04:07:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iconmail.bellatlantic.net (iconmail.bellatlantic.net [199.173.162.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA05691; Sat, 24 Jan 1998 04:06:58 -0800 (PST) (envelope-from dmm125@bellatlantic.net) Received: from myname.my.domain (client201-122-10.bellatlantic.net [151.201.122.10]) by iconmail.bellatlantic.net (IConNet Sendmail) with SMTP id HAA08467; Sat, 24 Jan 1998 07:07:05 -0500 (EST) Newsgroups: comp.unix.bsd.freebsd.misc Date: Sat, 24 Jan 1998 07:06:14 +0000 (GMT) From: Donn Miller X-Sender: dmm125@myname.my.domain To: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: doscmd & vga (raw mode) 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 had a question about doscmd... I know that raw mode isn't yet supported, and neither is vga mode. Does it need to cooperate with syscons via the libvgl interface, or does it directly access video memory via the bios/other? Does raw mode work on BSDI? I tried executing a self-displaying picture with doscmd -r picture.exe and got doscmd: fatal error reading program text. What needs to be done to do access VGA? Also, VGA should be doable under X, even though it would be much tougher. Thanks, Donn P.S. This is far fetched, but I thought I might even be possible to do a non-vga (libvga, syscons) port of netscape since the sources are going to be released soon. This could be tough. From owner-freebsd-emulation Mon Jan 26 17:48:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA11935 for freebsd-emulation-outgoing; Mon, 26 Jan 1998 17:48:30 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA11930 for ; Mon, 26 Jan 1998 17:48:29 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: by watermarkgroup.com (4.1/SMI-4.1) id AA28843; Mon, 26 Jan 98 20:47:56 EST Date: Mon, 26 Jan 98 20:47:56 EST From: luoqi@watermarkgroup.com (Luoqi Chen) Message-Id: <9801270147.AA28843@watermarkgroup.com> To: emulation@FreeBSD.ORG Subject: I've got quake2 running, but not network mode Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After hacked a version of mremap() that only implements shrinking, I was able to play single-player games (softx version). But I had trouble with network mode. When I chose join a game from the multiplayer menu, it exited before showing the server and port menu. The error printed was Net_Sendpacket error -99, which is EADDRNOTAVAIL. I did a ktrace, it was a sendto() call to broadcast address 255.255.255.255, and since my default route is a non- broadcastable ppp link, it returned error EADDRNOTAVAIL. So I added a piece of code in linux_sendto(), whenever it saw a 0xffffffff address, I changed to broadcast address of my ethernet card (not connected). The -99 error message went away, but quake2 still shutdown at the same point. Does anyone have any idea? It seems that networking code has changed a lot from quake to quake2. -lq From owner-freebsd-emulation Mon Jan 26 23:56:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA06086 for freebsd-emulation-outgoing; Mon, 26 Jan 1998 23:56:54 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from fang.cs.sunyit.edu (root@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA06072 for ; Mon, 26 Jan 1998 23:56:52 -0800 (PST) (envelope-from umji@cs.sunyit.edu) Received: from pirahna (A-W33.rh.sunyit.edu [150.156.211.115]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id DAA00314; Tue, 27 Jan 1998 03:58:16 GMT Message-Id: <199801270358.DAA00314@fang.cs.sunyit.edu> X-Sender: umji@fang.cs.sunyit.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Tue, 27 Jan 1998 02:52:48 -0500 To: luoqi@watermarkgroup.com (Luoqi Chen) From: Michael Imor Subject: Re: I've got quake2 running, but not network mode Cc: emulation@FreeBSD.ORG In-Reply-To: <9801270147.AA28843@watermarkgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Any chance of getting your hacked mremap()? Quake2 uses basically the same networking code as QuakeWorld (which runs OK under FreeBSD). Mike At 08:47 PM 1/26/98 -0500, Luoqi Chen wrote: >After hacked a version of mremap() that only implements shrinking, I was >able to play single-player games (softx version). But I had trouble with >network mode. When I chose join a game from the multiplayer menu, it exited >before showing the server and port menu. The error printed was Net_Sendpacket >error -99, which is EADDRNOTAVAIL. I did a ktrace, it was a sendto() call >to broadcast address 255.255.255.255, and since my default route is a non- >broadcastable ppp link, it returned error EADDRNOTAVAIL. So I added a piece >of code in linux_sendto(), whenever it saw a 0xffffffff address, I changed >to broadcast address of my ethernet card (not connected). The -99 error >message went away, but quake2 still shutdown at the same point. Does anyone >have any idea? It seems that networking code has changed a lot from quake >to quake2. > >-lq > From owner-freebsd-emulation Tue Jan 27 11:26:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17613 for freebsd-emulation-outgoing; Tue, 27 Jan 1998 11:26:58 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA17606 for ; Tue, 27 Jan 1998 11:26:55 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: by watermarkgroup.com (4.1/SMI-4.1) id AA04414; Tue, 27 Jan 98 14:26:24 EST Date: Tue, 27 Jan 98 14:26:24 EST From: luoqi@watermarkgroup.com (Luoqi Chen) Message-Id: <9801271926.AA04414@watermarkgroup.com> To: umji@cs.sunyit.edu Subject: Re: I've got quake2 running, but not network mode Cc: emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Any chance of getting your hacked mremap()? Quake2 uses basically the same I'm attaching the diff at the end of this message. > networking code as QuakeWorld (which runs OK under FreeBSD). I did strings on both qw and q2, they looked similar. But the error message when q2 quited, "Net_SendPacket: bad address type", was missing from qw. So Id had added something to q2's networking code. > > Mike -lq ----------------------CUT HERE--------------------- Index: linux.h =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/linux.h,v retrieving revision 1.19 diff -u -r1.19 linux.h --- linux.h 1997/12/15 06:09:11 1.19 +++ linux.h 1998/01/25 11:34:56 @@ -407,6 +407,9 @@ #define LINUX_MAP_FIXED 0x0010 #define LINUX_MAP_ANON 0x0020 +/* mremap options */ +#define LINUX_MREMAP_MAYMOVE 1 + /* SystemV ipc defines */ #define LINUX_SEMOP 1 #define LINUX_SEMGET 2 Index: linux_misc.c =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/linux_misc.c,v retrieving revision 1.33 diff -u -r1.33 linux_misc.c --- linux_misc.c 1997/11/06 19:28:58 1.33 +++ linux_misc.c 1998/01/27 17:00:06 @@ -628,6 +628,37 @@ } int +linux_mremap(struct proc *p, struct linux_mremap_args *args) +{ + struct munmap_args /* { + void *addr; + size_t len; + } */ bsd_args; + int error = 0; + +#ifdef DEBUG + printf("Linux-emul(%d): mremap(%08x, %08x, %08x, %08x)\n", + p->p_pid, args->addr, args->old_len, args->new_len, args->flags); +#endif + args->new_len = round_page(args->new_len); + args->old_len = round_page(args->old_len); + + if (args->new_len > args->old_len) { + p->p_retval[0] = 0; + return ENOMEM; + } + + if (args->new_len < args->old_len) { + bsd_args.addr = args->addr + args->new_len; + bsd_args.len = args->old_len - args->new_len; + error = munmap(p, &bsd_args); + } + + p->p_retval[0] = error ? 0 : (int)args->addr; + return error; +} + +int linux_pipe(struct proc *p, struct linux_pipe_args *args) { int error; Index: linux_proto.h =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/linux_proto.h,v retrieving revision 1.7 diff -u -r1.7 linux_proto.h --- linux_proto.h 1997/12/17 03:16:05 1.7 +++ linux_proto.h 1998/01/25 11:25:45 @@ -362,6 +362,12 @@ int len; int fl; }; +struct linux_mremap_args { + caddr_t addr; + int old_len; + int new_len; + int flags; +}; int linux_setup __P((struct proc *, struct linux_setup_args *)); int linux_fork __P((struct proc *, struct linux_fork_args *)); int linux_open __P((struct proc *, struct linux_open_args *)); @@ -456,6 +462,7 @@ int linux_getdents __P((struct proc *, struct linux_getdents_args *)); int linux_newselect __P((struct proc *, struct linux_newselect_args *)); int linux_msync __P((struct proc *, struct linux_msync_args *)); +int linux_mremap __P((struct proc *, struct linux_mremap_args *)); #ifdef COMPAT_43 Index: linux_syscall.h =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/linux_syscall.h,v retrieving revision 1.5 diff -u -r1.5 linux_syscall.h --- linux_syscall.h 1997/12/17 03:16:08 1.5 +++ linux_syscall.h 1998/01/25 11:25:45 @@ -148,4 +148,5 @@ #define LINUX_SYS_linux_msync 144 #define LINUX_SYS_readv 145 #define LINUX_SYS_writev 146 -#define LINUX_SYS_MAXSYSCALL 147 +#define LINUX_SYS_linux_mremap 163 +#define LINUX_SYS_MAXSYSCALL 164 Index: linux_sysent.c =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/linux_sysent.c,v retrieving revision 1.10 diff -u -r1.10 linux_sysent.c --- linux_sysent.c 1997/12/17 03:16:11 1.10 +++ linux_sysent.c 1998/01/25 11:25:45 @@ -168,4 +168,21 @@ { 3, (sy_call_t *)linux_msync }, /* 144 = linux_msync */ { 3, (sy_call_t *)readv }, /* 145 = readv */ { 3, (sy_call_t *)writev }, /* 146 = writev */ + { 0, (sy_call_t *)nosys }, /* 147 = getsid */ + { 0, (sy_call_t *)nosys }, /* 148 = fdatasync */ + { 0, (sy_call_t *)nosys }, /* 149 = sysctl */ + { 0, (sy_call_t *)nosys }, /* 150 = mlock */ + { 0, (sy_call_t *)nosys }, /* 151 = munlock */ + { 0, (sy_call_t *)nosys }, /* 152 = mlockall */ + { 0, (sy_call_t *)nosys }, /* 153 = munlockall */ + { 0, (sy_call_t *)nosys }, /* 154 = sys_sched_setparam */ + { 0, (sy_call_t *)nosys }, /* 155 = sys_sched_getparam */ + { 0, (sy_call_t *)nosys }, /* 156 = sys_sched_setscheduler */ + { 0, (sy_call_t *)nosys }, /* 157 = sys_sched_getscheduler */ + { 0, (sy_call_t *)nosys }, /* 158 = sys_sched_yield */ + { 0, (sy_call_t *)nosys }, /* 159 = sys_sched_get_priority_max */ + { 0, (sy_call_t *)nosys }, /* 160 = sys_sched_get_priority_min */ + { 0, (sy_call_t *)nosys }, /* 161 = sys_sched_rr_get_interval */ + { 0, (sy_call_t *)nosys }, /* 162 = sys_nanosleep */ + { 4, (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */ }; Index: syscalls.master =================================================================== RCS file: /fun/cvs/src/sys/i386/linux/syscalls.master,v retrieving revision 1.6 diff -u -r1.6 syscalls.master --- syscalls.master 1997/12/17 03:12:35 1.6 +++ syscalls.master 1998/01/25 11:25:41 @@ -207,3 +207,21 @@ u_int iovcnt); } 146 NOPROTO LINUX { int writev(int fd, struct iovec *iovp, \ u_int iovcnt); } +147 UNIMPL LINUX getsid +148 UNIMPL LINUX fdatasync +149 UNIMPL LINUX sysctl +150 UNIMPL LINUX mlock +151 UNIMPL LINUX munlock +152 UNIMPL LINUX mlockall +153 UNIMPL LINUX munlockall +154 UNIMPL LINUX sys_sched_setparam +155 UNIMPL LINUX sys_sched_getparam +156 UNIMPL LINUX sys_sched_setscheduler +157 UNIMPL LINUX sys_sched_getscheduler +158 UNIMPL LINUX sys_sched_yield +159 UNIMPL LINUX sys_sched_get_priority_max +160 UNIMPL LINUX sys_sched_get_priority_min +161 UNIMPL LINUX sys_sched_rr_get_interval +162 UNIMPL LINUX sys_nanosleep +163 STD LINUX { int linux_mremap(caddr_t addr, int old_len, \ + int new_len, int flags); } From owner-freebsd-emulation Wed Jan 28 14:37:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10521 for freebsd-emulation-outgoing; Wed, 28 Jan 1998 14:37:40 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dns.pinpt.com (dns.pinpt.com [205.179.195.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10515 for ; Wed, 28 Jan 1998 14:37:38 -0800 (PST) (envelope-from schluntz@clicknet.com) Received: from clicknet.com (gatemaster.pinpt.com [205.179.195.65]) by dns.pinpt.com (8.8.7/8.8.7) with ESMTP id OAA07016 for ; Wed, 28 Jan 1998 14:30:24 -0800 (PST) Message-ID: <34CFB2C1.ED88EBC@clicknet.com> Date: Wed, 28 Jan 1998 14:35:45 -0800 From: "Sean J. Schluntz" Organization: PinPoint Software Corporation X-Mailer: Mozilla 4.02 [en]C-DIAL (WinNT; U) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: Executor launch error, can't find libdb? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm attempting to run executor under XInsides' cde on Xaccel on a FreeBSD v2.2.5 system. When I run executor it errors out: executor: can't load library 'libdb.so.2' I've located the library (from the RedHad distribution of Linux) and placed it in the /usr/compat/linux/usr/i486-linuxaout/lib directory with the libdb.so.1.85.1 file and the libdb.so.1 file that's a link to the 1.85.1 file. I've also run the /compat/linux/sbin/ldconfig. But still executor gives me this same error. What can I try now? -Sean From owner-freebsd-emulation Wed Jan 28 23:10:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14885 for freebsd-emulation-outgoing; Wed, 28 Jan 1998 23:10:55 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14871 for ; Wed, 28 Jan 1998 23:10:48 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id RAA01951; Thu, 29 Jan 1998 17:33:52 +1030 (CST) Message-Id: <199801290703.RAA01951@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Sean J. Schluntz" cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Executor launch error, can't find libdb? In-reply-to: Your message of "Wed, 28 Jan 1998 14:35:45 -0800." <34CFB2C1.ED88EBC@clicknet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 29 Jan 1998 17:33:51 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" > I'm attempting to run executor under XInsides' cde on Xaccel on a > FreeBSD v2.2.5 system. When I run executor it errors out: > > executor: can't load library 'libdb.so.2' > > I've located the library (from the RedHad distribution of Linux) and > placed it in the /usr/compat/linux/usr/i486-linuxaout/lib directory with > the libdb.so.1.85.1 file and the libdb.so.1 file that's a link to the > 1.85.1 file. This directory is only searched for a.out binaries; isn't Executor ELF these days? > I've also run the /compat/linux/sbin/ldconfig. But still executor gives > me this same error. What can I try now? When you ran ldconfig, did it create a libdb.so.2 symlink? If not, then it hasn't looked in the correct directory, and you may want to try making it yourself. -- \\ 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. \\ From owner-freebsd-emulation Thu Jan 29 06:40:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA16799 for freebsd-emulation-outgoing; Thu, 29 Jan 1998 06:40:50 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gromit.pinpt.com (gromit.pinpt.com [205.179.195.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA16793 for ; Thu, 29 Jan 1998 06:40:47 -0800 (PST) (envelope-from schluntz@dns.pinpt.com) Received: from [206.170.30.28] (ppp-206-170-30-28.hywr01.pacbell.net [206.170.30.28]) by gromit.pinpt.com (8.7.5/8.6.12) with SMTP id GAA05074; Thu, 29 Jan 1998 06:40:29 -0800 (PST) Message-Id: <199801291440.GAA05074@gromit.pinpt.com> Subject: Re: Executor launch error, can't find libdb? Date: Thu, 29 Jan 98 06:45:52 -0700 x-sender: schluntz@dns.pinpt.com x-mailer: Claris Emailer 2.0v2, June 6, 1997 From: "Sean J. Schluntz" To: "Mike Smith" cc: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" *From the fingers of Mike Smith >> I'm attempting to run executor under XInsides' cde on Xaccel on a >> FreeBSD v2.2.5 system. When I run executor it errors out: >> >> executor: can't load library 'libdb.so.2' >> >> I've located the library (from the RedHad distribution of Linux) and >> placed it in the /usr/compat/linux/usr/i486-linuxaout/lib directory with >> the libdb.so.1.85.1 file and the libdb.so.1 file that's a link to the >> 1.85.1 file. > >This directory is only searched for a.out binaries; isn't Executor ELF >these days? It's both, but I installed the a.out binaries because I wasn't sure about FreeBSD's support of ELF at this time. Would I have better luck running the ELF version? >> I've also run the /compat/linux/sbin/ldconfig. But still executor gives >> me this same error. What can I try now? > >When you ran ldconfig, did it create a libdb.so.2 symlink? If not, >then it hasn't looked in the correct directory, and you may want to try >making it yourself. No it didn't, but then again I got a copy of libdb.so.2 from RedHat so I didn't think I would need a symlink since I have the file. Also, according to the info on libdb versions after 1.86 are not compatible with versions before 1.85, 1.85 is what FreeBSD ships with. But even with the libdb.so.2 in the directory executor still errors out. ? -Sean ---------------------------------------------------------------------- Sean J. Schluntz schluntz@pinpt.com Systems Engineer (408) 997-6900 x222 PinPoint Software Corporation http://www.pinpt.com From owner-freebsd-emulation Thu Jan 29 06:57:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA18303 for freebsd-emulation-outgoing; Thu, 29 Jan 1998 06:57:25 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp4.portal.net.au [202.12.71.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA18298 for ; Thu, 29 Jan 1998 06:57:20 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id BAA00724; Fri, 30 Jan 1998 01:20:07 +1030 (CST) Message-Id: <199801291450.BAA00724@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Sean J. Schluntz" cc: "Mike Smith" , freebsd-emulation@FreeBSD.ORG Subject: Re: Executor launch error, can't find libdb? In-reply-to: Your message of "Thu, 29 Jan 1998 06:45:52 PDT." <199801291440.GAA05074@gromit.pinpt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Jan 1998 01:20:04 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" > *From the fingers of Mike Smith > >> I'm attempting to run executor under XInsides' cde on Xaccel on a > >> FreeBSD v2.2.5 system. When I run executor it errors out: > >> > >> executor: can't load library 'libdb.so.2' > >> > >> I've located the library (from the RedHad distribution of Linux) and > >> placed it in the /usr/compat/linux/usr/i486-linuxaout/lib directory with > >> the libdb.so.1.85.1 file and the libdb.so.1 file that's a link to the > >> 1.85.1 file. > > > >This directory is only searched for a.out binaries; isn't Executor ELF > >these days? > > It's both, but I installed the a.out binaries because I wasn't sure about > FreeBSD's support of ELF at this time. FreeBSD supports ELF just fine. > Would I have better luck running the ELF version? I don't know. As a general rule, avoid attempting to use a.out Linux applications, as they are normally obsolete these days. > >> I've also run the /compat/linux/sbin/ldconfig. But still executor gives > >> me this same error. What can I try now? > > > >When you ran ldconfig, did it create a libdb.so.2 symlink? If not, > >then it hasn't looked in the correct directory, and you may want to try > >making it yourself. > > No it didn't, but then again I got a copy of libdb.so.2 from RedHat so I > didn't think I would need a symlink since I have the file. Also, > according to the info on libdb versions after 1.86 are not compatible > with versions before 1.85, 1.85 is what FreeBSD ships with. If you got the library from RedHat, it is probably an ELF library. Check with the 'file' command; if it is, you've put it in the wrong place. (And it won't work with your a.out executable). > But even with the libdb.so.2 in the directory executor still errors out. > ? > > -Sean > > ---------------------------------------------------------------------- > Sean J. Schluntz schluntz@pinpt.com > Systems Engineer (408) 997-6900 x222 > PinPoint Software Corporation http://www.pinpt.com > > -- \\ 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. \\ From owner-freebsd-emulation Thu Jan 29 15:00:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11165 for freebsd-emulation-outgoing; Thu, 29 Jan 1998 15:00:34 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA11127 for ; Thu, 29 Jan 1998 15:00:28 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 29 Jan 1998 17:59:57 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA25192; Thu, 29 Jan 98 17:59:56 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA08882; Thu, 29 Jan 1998 17:59:52 -0500 Message-Id: <19980129175952.14780@ct.picker.com> Date: Thu, 29 Jan 1998 17:59:52 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: doscmd: Back-TAB patch Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Simple patch I found I needed yesterday in Quicken. Randall --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="doscmd-backtab.patch" --- ORIG.2/tty.c Wed Jan 28 18:44:52 1998 +++ tty.c Wed Jan 28 20:32:24 1998 @@ -573,7 +573,7 @@ { 0x0c2d, 0x0c5f, 0x0c1f, 0x8200 }, /* key 12 - '-' */ { 0x0d3d, 0x0d2b, 0xffff, 0x8300 }, /* key 13 - '=' */ { 0x0e08, 0x0e08, 0x0e7f, 0xffff }, /* key 14 - backspace */ - { 0x0f09, 0xffff, 0xffff, 0xffff }, /* key 15 - tab */ + { 0x0f09, 0x0f00, 0xffff, 0xffff }, /* key 15 - tab */ { 0x1071, 0x1051, 0x1011, 0x1000 }, /* key 16 - 'Q' */ { 0x1177, 0x1157, 0x1117, 0x1100 }, /* key 17 - 'W' */ { 0x1265, 0x1245, 0x1205, 0x1200 }, /* key 18 - 'E' */ @@ -1328,6 +1330,7 @@ goto docode; case XK_Tab: + case XK_ISO_Left_Tab: scan = 15; goto docode; --k+w/mQv8wyuph6w0-- From owner-freebsd-emulation Thu Jan 29 15:10:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13136 for freebsd-emulation-outgoing; Thu, 29 Jan 1998 15:10:35 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA13129 for ; Thu, 29 Jan 1998 15:10:31 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 29 Jan 1998 18:10:01 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA25355; Thu, 29 Jan 98 18:09:59 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA08908; Thu, 29 Jan 1998 18:09:56 -0500 Message-Id: <19980129180955.42881@ct.picker.com> Date: Thu, 29 Jan 1998 18:09:55 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: Ctrl-Enter doesn't work in Quicken Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" Back-tab was easy; this one is -- interesting. I verified that when Ctrl-Enter is hit, the same keycode and scancode pair are put in the DOSCMD BIOS keyboard buffer as in DOS 6.2 under DEBUG.EXE. I also verified the state of the keyboard shift flags in the DOSCMD BIOS seg. Oddly, Quicken just doesn't see Ctrl-Enter. "Enter" works, other Ctrl sequences work, but not Ctrl-Enter. I guess this might mean that Quicken is relying (at least partially) on keyboard probes at the port level. (I notice that Quicken sets its own INT9 KB intr hdlr when it fires up) Any tips on going after this one? Does someone possibly have a keyboard patch waiting-in-the-wings I could try :-) Thanks, Randall (Unfortunately, Ctrl-Enter is the only way to get out of the split-transaction dialog in Quicken 5, so I'm motivated to dig into this)