From owner-freebsd-emulation Sun Dec 20 10:58:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA09781 for freebsd-emulation-outgoing; Sun, 20 Dec 1998 10:58:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA09775; Sun, 20 Dec 1998 10:58:11 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id OAA17612; Sun, 20 Dec 1998 14:01:50 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Sun, 20 Dec 1998 14:01:50 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: emulation@FreeBSD.ORG cc: emulators@FreeBSD.ORG Subject: patch for doscmd for illegal lock prefix 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 up until a certain stepping point the 'lock' prefix was legal to use on just about any instruction, however pentium and above severly restrict its use and generate illegal instruction traps. i'm unsure of the correctness of the following patch, so could someone please take a look at it? Anyone want to forward it to the authors? when an instruction with a 0xF0 prefix (lock) generates a sigILL to doscmd i patch the opcode to be 0x90 (nop) and retry. i could change IP but the effect is the same. and this fixes makes the trap go away if it's encountered in a loop. this doesn't exactly get my program to run, but it's a step further. this could also be done to remain more silent. /usr # diff -u src/usr.bin/doscmd/trap.c.orig src/usr.bin/doscmd/trap.c --- src/usr.bin/doscmd/trap.c.orig Sun Dec 20 13:14:54 1998 +++ src/usr.bin/doscmd/trap.c Sun Dec 20 13:47:47 1998 @@ -591,9 +591,20 @@ sigill(struct sigframe *sf) { regcontext_t *REGS = (regcontext_t *)(&sf->sf_sc); + u_char *addr; fprintf(stderr, "Signal %d from DOS program\n", sf->sf_signum); + + addr = (u_char *)N_GETPTR(R_CS, R_IP); + if( *addr == (u_char) 0xf0 ){ + dump_regs(REGS); + fprintf(stderr, "illegal lock prefix, retry with NOP.\n"); + *addr = (u_char) 0x90; + return; + } + dump_regs(REGS); + fatal("%04x:%04x Illegal instruction\n", R_CS, R_IP); } btw, it's a pleasure reading doscmd code, really nifty stuff. later on i get this: ax=3278 bx=0000 cx=ff05 dx=0306 si=3346 di=0296 sp=8581 bp=0001 cs=0000 ss=1fee ds=9e9e es=f000 ip=4b eflags=b0206 f1 74 07 70 00 0a 00 00 f1 4a 08 70 00 14 00 00 (bad) unsupported instruction *sigh* time to break out the i386 manuals :) Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Dec 20 17:14:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA16360 for freebsd-emulation-outgoing; Sun, 20 Dec 1998 17:14:06 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles155.castles.com [208.214.165.155]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA16332 for ; Sun, 20 Dec 1998 17:13:59 -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 RAA48097; Sun, 20 Dec 1998 17:11:39 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812210111.RAA48097@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Jeroen Ruigrok/Asmodai cc: emulation@FreeBSD.ORG Subject: Re: IBM DB2 In-reply-to: Your message of "Sun, 20 Dec 1998 11:22:16 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Dec 1998 17:11:38 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > For those running Linux emulation and want to try IBM's DB2: > > http://www.software.ibm.com/data/db2/linux/ > > I just wondered since when these companies started to became charitable companies? I dunno about "charitable", IBM could give DB2 away and just live off shares in RAM vendors. Anyway, I'm looking at this one now; it's a real monster (and only a beta, remember), but it's documented at least an order of magnitude better than anything else I've encountered in this domain to date. If someone wants to make this one their personal mission, it looks like it's a *very* heavy shared memory consumer. Our shared memory semantics are quite possibly not up to it, so that's going to be somewhere worth studying carefully. -- \\ 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 Mon Dec 21 00:34:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22472 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 00:32:55 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22467 for ; Mon, 21 Dec 1998 00:32:52 -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 AAA50630 for ; Mon, 21 Dec 1998 00:30:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812210830.AAA50630@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: emulation@freebsd.org Subject: Linux RPM on FreeBSD, anyone doing this? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 00:30:36 -0800 From: Mike Smith Sender: owner-freebsd-emulation@freebsd.org Precedence: bulk X-Loop: FreeBSD.org I'm struggling with the IBM DB2 installer at the moment; they're wholesale sold on the RPM thing, which isn't necessarily a bad idea, however it means amongst other things that you need a functional rpm on your system, as well as a pile of RPMs installed (including some of the base system ones). The rpm binary from RedHat's 5.2 release segfaults on exit, unfortunately, which upsets the installer no end... Any suggestions? (This is starting to look like there's going to be a linux_lib-2.7 soon...) -- \\ 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 Mon Dec 21 02:00:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01067 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 02:00:15 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01055 for ; Mon, 21 Dec 1998 02:00:12 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id UAA26186; Mon, 21 Dec 1998 20:30:07 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA11121; Mon, 21 Dec 1998 20:30:07 +1030 Date: Mon, 21 Dec 1998 20:30:07 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812210830.AAA50630@dingo.cdrom.com> 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 On Mon, 21 Dec 1998, Mike Smith wrote: > I'm struggling with the IBM DB2 installer at the moment; they're > wholesale sold on the RPM thing, which isn't necessarily a bad idea, > however it means amongst other things that you need a functional rpm on > your system, as well as a pile of RPMs installed (including some of the > base system ones). > > The rpm binary from RedHat's 5.2 release segfaults on exit, > unfortunately, which upsets the installer no end... > > Any suggestions? /usr/ports/misc/rpm? I've only ever used this to install one RPM package, but it seemed to work. Or am I missing the point? Kris ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 21 02:07:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01744 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 02:07:34 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01739 for ; Mon, 21 Dec 1998 02:07:30 -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 CAA01419; Mon, 21 Dec 1998 02:04:57 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812211004.CAA01419@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Kris Kennaway cc: Mike Smith , emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Mon, 21 Dec 1998 20:30:07 +1030." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 02:04:54 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, 21 Dec 1998, Mike Smith wrote: > > > I'm struggling with the IBM DB2 installer at the moment; they're > > wholesale sold on the RPM thing, which isn't necessarily a bad idea, > > however it means amongst other things that you need a functional rpm on > > your system, as well as a pile of RPMs installed (including some of the > > base system ones). > > > > The rpm binary from RedHat's 5.2 release segfaults on exit, > > unfortunately, which upsets the installer no end... > > > > Any suggestions? > > /usr/ports/misc/rpm? I've only ever used this to install one RPM package, but > it seemed to work. > > Or am I missing the point? If you can tell me how to coerce it so that it will use /compat/linux as the root for all installations, that'd do the trick. Unfortunately it appears to be another piece of Quality Linux Software. Particularly, it appears that you can manipulate the state of *some* of the commandline options through the /etc/rpmrc file, but not all of them. Naturally, none of them are documented, and the sample defaults file may or may not contain a complete set of examples. So not so much missing the point as not having yet hit the problems I have. It actually seems that the Linux version is working, just segfaulting on exit, but it looks like basically I have to back to square one and build a complete linux_lib distball using it, as it's not possible to coerce it into installing something (Except using a commandline option, which of course you can't do when it's being called from inside another binary, and you can't supply the option in a wrapper script because the option isn't always valid... argh!). -- \\ 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 Mon Dec 21 02:14:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02677 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 02:14:53 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA02671 for ; Mon, 21 Dec 1998 02:14:49 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id UAA25919; Mon, 21 Dec 1998 20:44:46 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA15048; Mon, 21 Dec 1998 20:44:45 +1030 Date: Mon, 21 Dec 1998 20:44:45 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812211004.CAA01419@dingo.cdrom.com> 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 On Mon, 21 Dec 1998, Mike Smith wrote: > > /usr/ports/misc/rpm? I've only ever used this to install one RPM package, but > > it seemed to work. > > > > Or am I missing the point? > > If you can tell me how to coerce it so that it will use /compat/linux > as the root for all installations, that'd do the trick. Unfortunately > it appears to be another piece of Quality Linux Software. Ugh. Sorry, my one datapoint's worth of experience won't do you much good :) All I know about RPM is that it likes to install sources into /var and compile them from there, apparently :) Kris ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 21 09:40:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA24627 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 09:40:59 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles130.castles.com [208.214.165.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24621 for ; Mon, 21 Dec 1998 09:40:55 -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 JAA02363; Mon, 21 Dec 1998 09:38:39 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812211738.JAA02363@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Jeroen Ruigrok/Asmodai cc: emulation@FreeBSD.ORG Subject: Re: IBM DB2 In-reply-to: Your message of "Sun, 20 Dec 1998 11:22:16 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 09:38:38 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > For those running Linux emulation and want to try IBM's DB2: > > http://www.software.ibm.com/data/db2/linux/ Ok. I wasted Sunday on this sucker (and to think I could have cleaned the bathroom instead...). Their target with this build is clearly RedHat 5.2. We're not there yet in terms of environment support. To play with it you will need: - a working /compat/linux/bin/rpm - libraries from RedHat 5.2, installed using rpm - /compat/linux/bin/sh, installed using rpm - /compat/linux/bin/ksh, installed using rpm and that's as far as I've gotten. We may also have problems with its shared-memory requirements. The documentation for this beast is pretty good; the installation worksheets and general degree of assurance and handholding is fairly confidence-inspiring, as is the fact that no matter how irritating, they've actually taken the packaging requirements of the platform seriously. -- \\ 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 Mon Dec 21 10:47:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA03564 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 10:47:48 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA03545 for ; Mon, 21 Dec 1998 10:47:43 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from chronias.ninth-circle.org ([195.121.56.239]) by smtp04.wxs.nl (Netscape Messaging Server 3.6) with ESMTP id AAA58D8; Mon, 21 Dec 1998 19:47:35 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199812211738.JAA02363@dingo.cdrom.com> Date: Mon, 21 Dec 1998 19:53:58 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Mike Smith Subject: Re: IBM DB2 Cc: emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 21-Dec-98 Mike Smith wrote: > Ok. I wasted Sunday on this sucker (and to think I could have cleaned > the bathroom instead...). Ehm, no comment ;) > Their target with this build is clearly RedHat 5.2. We're not there > yet in terms of environment support. To play with it you will need: I hate all that platform specific stuff by now... Can't people at least provide a generic way and then mayhaps platform specific stuff? (OK, so I am rambling...) > - a working /compat/linux/bin/rpm > - libraries from RedHat 5.2, installed using rpm > - /compat/linux/bin/sh, installed using rpm > - /compat/linux/bin/ksh, installed using rpm Did the RPM in 5.2 change from what rpm.org is offering? Libraries: glib++ to name one? > and that's as far as I've gotten. We may also have problems with its > shared-memory requirements. > > The documentation for this beast is pretty good; the installation > worksheets and general degree of assurance and handholding is fairly > confidence-inspiring, as is the fact that no matter how irritating, > they've actually taken the packaging requirements of the platform > seriously. Heh, seems like Big Blue is learning, finally, after years... ;) --- Jeroen Ruigrok van der Werven Life is the only Pain asmodai(at)wxs.nl we endeavour... Network/Security Specialist BSD & picoBSD: The Power to Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 21 17:23:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25764 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 17:23:05 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from babylon.wsc.monash.edu.au (babylon.wsc.monash.edu.au [130.194.164.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25759 for ; Mon, 21 Dec 1998 17:23:02 -0800 (PST) (envelope-from graeme@babylon.wsc.monash.edu.au) Received: from localhost (graeme@localhost) by babylon.wsc.monash.edu.au (8.8.7/8.8.7) with ESMTP id MAA00890; Tue, 22 Dec 1998 12:23:57 +1100 Date: Tue, 22 Dec 1998 12:23:56 +1100 (EST) From: Graeme Cross Reply-To: Graeme.Cross@sci.monash.edu.au To: Mike Smith cc: emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812210830.AAA50630@dingo.cdrom.com> Message-ID: X-Attribution: gjc X-PGP-Key-ID: 702DB549 X-URL: http://www.wsc.monash.edu.au/~graeme/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 21 Dec 1998, Mike Smith wrote: > >I'm struggling with the IBM DB2 installer at the moment; they're >wholesale sold on the RPM thing, which isn't necessarily a bad idea, >however it means amongst other things that you need a functional rpm on >your system, as well as a pile of RPMs installed (including some of the >base system ones). > >The rpm binary from RedHat's 5.2 release segfaults on exit, >unfortunately, which upsets the installer no end... > >Any suggestions? You can bypass an RPM installation - use rpm2cpio to extract the cpio archive from the RPM file, and then extract the files from there. Not pretty, but certainly a lot nicer than trying to retrofit RPM into FreeBSD. You can get the rpm2cpio script from: http://www.eleves.ens.fr:8080/home/espel/hacks.html (it's listed about half way down the page) Cheers Graeme -- Graeme Cross Water Studies Centre, Monash University Phone: +61 3 990 54089 Clayton, Victoria, Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Dec 21 17:29:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26369 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 17:29:47 -0800 (PST) (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 RAA26364 for ; Mon, 21 Dec 1998 17:29:46 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA01795; Mon, 21 Dec 1998 17:26:54 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812220126.RAA01795@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Graeme.Cross@sci.monash.edu.au cc: Mike Smith , emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Tue, 22 Dec 1998 12:23:56 +1100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 17:26:54 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, 21 Dec 1998, Mike Smith wrote: > > > > >I'm struggling with the IBM DB2 installer at the moment; they're > >wholesale sold on the RPM thing, which isn't necessarily a bad idea, > >however it means amongst other things that you need a functional rpm on > >your system, as well as a pile of RPMs installed (including some of the > >base system ones). > > > >The rpm binary from RedHat's 5.2 release segfaults on exit, > >unfortunately, which upsets the installer no end... > > > >Any suggestions? > > > You can bypass an RPM installation - use rpm2cpio to extract the cpio > archive from the RPM file, and then extract the files from there. > > Not pretty, but certainly a lot nicer than trying to retrofit RPM into > FreeBSD. Unfortunately, IBM have done exactly the "right thing", and their installer frontends for RPM as well as doing other configuration things. It would probably be possible to bruteforce it and then reverse-engineer what it does, but it does a *lot* of stuff, and I would prefer to stick with their tools when possible. What I effectively need is rpm running in the linux context, ie. managing the contents of /compat/linux. I think it will actually work (it'd be nice to fix the secfault-on-exit problem of course), I just have to deal with all the prereqs. I just got a RedHat 5.2 CD today, so I may be able to make some more progress on this soon. > You can get the rpm2cpio script from: > > http://www.eleves.ens.fr:8080/home/espel/hacks.html > > (it's listed about half way down the page) > > Cheers > Graeme > > -- > Graeme Cross > Water Studies Centre, Monash University Phone: +61 3 990 54089 > Clayton, Victoria, Australia > > -- \\ 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 Mon Dec 21 18:08:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01682 for freebsd-emulation-outgoing; Mon, 21 Dec 1998 18:08:12 -0800 (PST) (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 SAA01667; Mon, 21 Dec 1998 18:08:05 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id SAA02024; Mon, 21 Dec 1998 18:05:20 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812220205.SAA02024@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Kenneth Wayne Culver cc: emulation@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: recent linux emu In-reply-to: Your message of "Mon, 21 Dec 1998 20:29:50 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 18:05:20 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I cvsupped the latest linux kernel, and now my WordPerfect 8 for linux > doesn't work. I just thought that you all should know. Posting here on -current isn't going to help you much. You should be posting this on -emulation. I've copied Soren, as it's likely one of his changes that's done it. -- \\ 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 Tue Dec 22 00:14:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA16159 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 00:14:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from freebsd.dk (sos.freebsd.dk [212.242.42.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA16151; Tue, 22 Dec 1998 00:14:16 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id JAA47675; Tue, 22 Dec 1998 09:13:37 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <199812220813.JAA47675@freebsd.dk> Subject: Re: recent linux emu In-Reply-To: <199812220205.SAA02024@dingo.cdrom.com> from Mike Smith at "Dec 21, 1998 6: 5:20 pm" To: mike@smith.net.au (Mike Smith) Date: Tue, 22 Dec 1998 09:13:37 +0100 (CET) Cc: culverk@wam.umd.edu, emulation@FreeBSD.ORG, sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Mike Smith wrote: > > I cvsupped the latest linux kernel, and now my WordPerfect 8 for linux > > doesn't work. I just thought that you all should know. > > Posting here on -current isn't going to help you much. You should be > posting this on -emulation. I've copied Soren, as it's likely one of > his changes that's done it. Hmm, could we have a little more info than just "it doesn't work" ?? We need a lot more info than that, ie what happens? >From the above it could look like you just updated the linux emu sources, that will probably not work, you need to update & compile the entire kernel and the lkm/kld module... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@freebsd.org) FreeBSD Core Team member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 22 09:43:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22977 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 09:43:35 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22971 for ; Tue, 22 Dec 1998 09:43:32 -0800 (PST) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id JAA02787; Tue, 22 Dec 1998 09:16:36 -0800 (PST) Date: Tue, 22 Dec 1998 09:16:34 -0800 (PST) From: Tom Bartol To: Mike Smith cc: Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812220126.RAA01795@dingo.cdrom.com> 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 On Mon, 21 Dec 1998, Mike Smith wrote: > > On Mon, 21 Dec 1998, Mike Smith wrote: > > > > > > > >I'm struggling with the IBM DB2 installer at the moment; they're > > >wholesale sold on the RPM thing, which isn't necessarily a bad idea, > > >however it means amongst other things that you need a functional rpm on > > >your system, as well as a pile of RPMs installed (including some of the > > >base system ones). > > > > > >The rpm binary from RedHat's 5.2 release segfaults on exit, > > >unfortunately, which upsets the installer no end... > > > > > >Any suggestions? > > > > > > You can bypass an RPM installation - use rpm2cpio to extract the cpio > > archive from the RPM file, and then extract the files from there. > > > > Not pretty, but certainly a lot nicer than trying to retrofit RPM into > > FreeBSD. > > Unfortunately, IBM have done exactly the "right thing", and their > installer frontends for RPM as well as doing other configuration things. > It would probably be possible to bruteforce it and then > reverse-engineer what it does, but it does a *lot* of stuff, and I > would prefer to stick with their tools when possible. > > What I effectively need is rpm running in the linux context, ie. > managing the contents of /compat/linux. I think it will actually work > (it'd be nice to fix the secfault-on-exit problem of course), I just > have to deal with all the prereqs. > How about running rpm in a chroot'd environment rooted at /compat/linux and adding a the /var tree under /compat/linux? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 22 13:28:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16370 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:28:37 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from freebsd.dk (sos.freebsd.dk [212.242.42.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16361 for ; Tue, 22 Dec 1998 13:28:28 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id WAA05225; Tue, 22 Dec 1998 22:27:41 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <199812222127.WAA05225@freebsd.dk> Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: from Tom Bartol at "Dec 22, 1998 9:16:34 am" To: bartol@salk.edu (Tom Bartol) Date: Tue, 22 Dec 1998 22:27:41 +0100 (CET) Cc: mike@smith.net.au, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Tom Bartol wrote: > > > > What I effectively need is rpm running in the linux context, ie. > > managing the contents of /compat/linux. I think it will actually work > > (it'd be nice to fix the secfault-on-exit problem of course), I just > > have to deal with all the prereqs. > > > > How about running rpm in a chroot'd environment rooted at /compat/linux > and adding a the /var tree under /compat/linux? Why all the trouble, how about: rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages That works for the Oracle senario.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@freebsd.org) FreeBSD Core Team member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 22 13:40:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20987 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:40:28 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20940 for ; Tue, 22 Dec 1998 13:40:21 -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 NAA00866; Tue, 22 Dec 1998 13:35:21 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812222135.NAA00866@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: SXren Schmidt cc: bartol@salk.edu (Tom Bartol), mike@smith.net.au, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Tue, 22 Dec 1998 22:27:41 +0100." <199812222127.WAA05225@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 22 Dec 1998 13:35:21 -0800 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA20977 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > It seems Tom Bartol wrote: > > > > > > What I effectively need is rpm running in the linux context, ie. > > > managing the contents of /compat/linux. I think it will actually work > > > (it'd be nice to fix the secfault-on-exit problem of course), I just > > > have to deal with all the prereqs. > > > > > > > How about running rpm in a chroot'd environment rooted at /compat/linux > > and adding a the /var tree under /compat/linux? > > Why all the trouble, how about: > > rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages > > That works for the Oracle senario.... Because, if you'd been following the thread, you'd have discovered that rpm is called out of the IBM DB2 installer binary. 8) Your observation about needing an RPM database for the installed components in the linux_lib port is spot-on too; this is going to be a prerequisite for linux_lib 2.7 I think. I mailed Eric to see if he had a list of libraries that he normally includes somewhere; failing that I guess it's just going to be time to sit down with a new RedHat CDROM. One other question - have you tried using the Linux 'rpm' binary? It segfaults on what seems to be exiting, but I can't see any reason for it... -- \\ 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 Tue Dec 22 13:41:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22523 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:41:46 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22494 for ; Tue, 22 Dec 1998 13:41:43 -0800 (PST) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id NAA10172; Tue, 22 Dec 1998 13:37:25 -0800 (PST) Date: Tue, 22 Dec 1998 13:37:24 -0800 (PST) From: Tom Bartol To: Søren Schmidt cc: mike@smith.net.au, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812222127.WAA05225@freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id NAA22499 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 22 Dec 1998, Søren Schmidt wrote: > It seems Tom Bartol wrote: > > > > > > What I effectively need is rpm running in the linux context, ie. > > > managing the contents of /compat/linux. I think it will actually work > > > (it'd be nice to fix the secfault-on-exit problem of course), I just > > > have to deal with all the prereqs. > > > > > > > How about running rpm in a chroot'd environment rooted at /compat/linux > > and adding a the /var tree under /compat/linux? > > Why all the trouble, how about: > > rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages > > That works for the Oracle senario.... > Cool! Thanks for pointing that out! Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 22 13:46:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27458 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:46:45 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from freebsd.dk (sos.freebsd.dk [212.242.42.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27280 for ; Tue, 22 Dec 1998 13:46:34 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id WAA05334; Tue, 22 Dec 1998 22:45:57 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <199812222145.WAA05334@freebsd.dk> Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-Reply-To: <199812222135.NAA00866@dingo.cdrom.com> from Mike Smith at "Dec 22, 1998 1:35:21 pm" To: mike@smith.net.au (Mike Smith) Date: Tue, 22 Dec 1998 22:45:57 +0100 (CET) Cc: bartol@salk.edu, mike@smith.net.au, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Mike Smith wrote: > > Why all the trouble, how about: > > > > rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages > > > > That works for the Oracle senario.... > > Because, if you'd been following the thread, you'd have discovered that > rpm is called out of the IBM DB2 installer binary. 8) Rename rpm to rpm.org make shellscript rpm that does what I wrote above. > Your observation about needing an RPM database for the installed > components in the linux_lib port is spot-on too; this is going to be a > prerequisite for linux_lib 2.7 I think. I mailed Eric to see if he had > a list of libraries that he normally includes somewhere; failing that I > guess it's just going to be time to sit down with a new RedHat CDROM. Yup, and then one should be able to upgrade etc with all the hassles that the linsux world has in that department :) > One other question - have you tried using the Linux 'rpm' binary? It > segfaults on what seems to be exiting, but I can't see any reason for > it... Hmm, no, I've used the ports one, but I'll look at it... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@freebsd.org) FreeBSD Core Team member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Dec 22 13:54:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA04161 for freebsd-emulation-outgoing; Tue, 22 Dec 1998 13:54:50 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03970 for ; Tue, 22 Dec 1998 13:54:40 -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 NAA00975; Tue, 22 Dec 1998 13:49:50 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812222149.NAA00975@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: SXren Schmidt cc: mike@smith.net.au (Mike Smith), bartol@salk.edu, Graeme.Cross@sci.monash.edu.au, emulation@FreeBSD.ORG Subject: Re: Linux RPM on FreeBSD, anyone doing this? In-reply-to: Your message of "Tue, 22 Dec 1998 22:45:57 +0100." <199812222145.WAA05334@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Tue, 22 Dec 1998 13:49:49 -0800 From: Mike Smith Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA04098 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > It seems Mike Smith wrote: > > > Why all the trouble, how about: > > > > > > rpm -i --ignoreos --root /compat/linux /path/to/the/rpm/packages > > > > > > That works for the Oracle senario.... > > > > Because, if you'd been following the thread, you'd have discovered that > > rpm is called out of the IBM DB2 installer binary. 8) > > Rename rpm to rpm.org make shellscript rpm that does what I wrote above. More or less what I was doing already; I got hung up on needing about a dozen things installed as dependancies. I also had problems with some of the options only being valid for some operations; I don't recall if --ignoreos is always valid... > > Your observation about needing an RPM database for the installed > > components in the linux_lib port is spot-on too; this is going to be a > > prerequisite for linux_lib 2.7 I think. I mailed Eric to see if he had > > a list of libraries that he normally includes somewhere; failing that I > > guess it's just going to be time to sit down with a new RedHat CDROM. > > Yup, and then one should be able to upgrade etc with all the hassles > that the linsux world has in that department :) Shouldn't be *too* bad; just update the RPMs in the fetch list. Whether it'll _work_, now that's another matter again. 8) > > One other question - have you tried using the Linux 'rpm' binary? It > > segfaults on what seems to be exiting, but I can't see any reason for > > it... > > Hmm, no, I've used the ports one, but I'll look at it... Ta. -- \\ 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 Dec 23 01:18:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA18198 for freebsd-emulation-outgoing; Wed, 23 Dec 1998 01:18:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles349.castles.com [208.214.167.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA18178; Wed, 23 Dec 1998 01:18:29 -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 BAA00767; Wed, 23 Dec 1998 01:08:51 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812230908.BAA00767@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John Fieber cc: emulation@FreeBSD.ORG, database@FreeBSD.ORG Subject: Re: Linux Threads patches available In-reply-to: Your message of "Fri, 18 Dec 1998 12:23:09 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Dec 1998 01:08:51 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Thu, 17 Dec 1998, Mike Smith wrote: > > > Any chance you could look at these changes in the light of the > > pipe-related problems you were having with Sybase? > > Hmmm.... I re-installed today and it looks like the async I/O on > a socket that I fixed a while back is broken again. :( > > Exactly the same symptoms as before, the dataserver never > receives SIGIO when data is available, but you can make it work > by firing SIGIO signals at the process from outside. Did your patches ever get committed? Did they get accidentally spammed? Are you running with the linuxthreads compatibility on or off? AFAIK the code does affect signal delivery, so it may be based on old code prior to your fixes... Any other ideas as to where the signal's getting lost? -- \\ 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 Dec 23 11:57:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00108 for freebsd-emulation-outgoing; Wed, 23 Dec 1998 11:57:11 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29990; Wed, 23 Dec 1998 11:57:08 -0800 (PST) (envelope-from jfieber@indiana.edu) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.9.1/8.9.1) with ESMTP id OAA16706; Wed, 23 Dec 1998 14:56:49 -0500 (EST) X-Authentication-Warning: fallout.campusview.indiana.edu: jfieber owned process doing -bs Date: Wed, 23 Dec 1998 14:56:49 -0500 (EST) From: John Fieber X-Sender: jfieber@fallout.campusview.indiana.edu To: Mike Smith cc: emulation@FreeBSD.ORG, database@FreeBSD.ORG Subject: Re: Linux Threads patches available In-Reply-To: <199812230908.BAA00767@dingo.cdrom.com> 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 On Wed, 23 Dec 1998, Mike Smith wrote: > > On Thu, 17 Dec 1998, Mike Smith wrote: > > > > > Any chance you could look at these changes in the light of the > > > pipe-related problems you were having with Sybase? > > > > Hmmm.... I re-installed today and it looks like the async I/O on > > a socket that I fixed a while back is broken again. :( > > > > Exactly the same symptoms as before, the dataserver never > > receives SIGIO when data is available, but you can make it work > > by firing SIGIO signals at the process from outside. > > Did your patches ever get committed? Did they get accidentally spammed? Yes and no. I see there were some changes to the native SIGIO handling that probably broke it. Will investigate after vacation. -john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Dec 23 11:59:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00499 for freebsd-emulation-outgoing; Wed, 23 Dec 1998 11:59:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (castles246.castles.com [208.214.165.246]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA00479; Wed, 23 Dec 1998 11:59:10 -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 LAA03836; Wed, 23 Dec 1998 11:56:46 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812231956.LAA03836@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John Fieber cc: emulation@FreeBSD.ORG, database@FreeBSD.ORG Subject: Re: Linux Threads patches available In-reply-to: Your message of "Wed, 23 Dec 1998 14:56:49 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Dec 1998 11:56:46 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes and no. I see there were some changes to the native SIGIO > handling that probably broke it. Will investigate after > vacation. Ok, thanks. Keep us posted. 8) -- \\ 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 Thu Dec 24 10:49:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04873 for freebsd-emulation-outgoing; Thu, 24 Dec 1998 10:49:57 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from law-f106.hotmail.com (law-f106.hotmail.com [209.185.131.169]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04868 for ; Thu, 24 Dec 1998 10:49:56 -0800 (PST) (envelope-from frix_t@hotmail.com) Received: (from root@localhost) by law-f106.hotmail.com (8.8.8/8.8.8) id KAA20080 for freebsd-emulation@freebsd.org; Thu, 24 Dec 1998 10:49:44 -0800 (PST) (envelope-from frix_t@hotmail.com) Message-Id: <199812241849.KAA20080@law-f106.hotmail.com> Received: from 196.27.5.35 by www.hotmail.com with HTTP; Thu, 24 Dec 1998 10:49:44 PST X-Originating-IP: [196.27.5.35] From: "Frikkie Thirion" To: freebsd-emulation@FreeBSD.ORG Subject: FreeBSD and wine Date: Thu, 24 Dec 1998 10:49:44 PST Mime-Version: 1.0 Content-Type: text/plain Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there I've been following the progress on the m$windows emulator through their mailing list and it seems that implementation on Linux boxes is quite good. FreeBSD functionality of wine is a bit restricted though, since the auto config script of wine doesn't detect the reentrand libc variant of bsd, aka libc_r with POSIX thread support. Anyone got any idea how to cross this herdel? Wine source at ftp://sunsite.unc.edu/pub/Linux/ALPHA/wine/development. More info regarding mailinglist and policy at www.winehq.com Regards and a merry Christmas Frikkie Thirion ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Dec 25 13:17:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA04617 for freebsd-emulation-outgoing; Fri, 25 Dec 1998 13:17:56 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from hotmail.com (law-f56.hotmail.com [209.185.131.119]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA04610 for ; Fri, 25 Dec 1998 13:17:54 -0800 (PST) (envelope-from frix_t@hotmail.com) Received: (qmail 19965 invoked by uid 0); 25 Dec 1998 21:17:41 -0000 Message-ID: <19981225211741.19964.qmail@hotmail.com> Received: from 196.27.5.35 by www.hotmail.com with HTTP; Fri, 25 Dec 1998 13:17:41 PST X-Originating-IP: [196.27.5.35] From: "Frikkie Thirion" To: freebsd-emulation@FreeBSD.ORG Subject: BSD threading and wine Date: Fri, 25 Dec 1998 13:17:41 PST Mime-Version: 1.0 Content-Type: text/plain Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there I know this may seem a bit repetative, but is there any future planning on providing kernel thread support under BSD ( I should probably have asked this at freebsd-hackers)? This question spreads forth from discussions regarding wine, which depends on user space as well as kernel threading. Regards and a Merrry Christmas Frikkie Thirion ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Dec 26 09:41:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA15888 for freebsd-emulation-outgoing; Sat, 26 Dec 1998 09:41:54 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15882 for ; Sat, 26 Dec 1998 09:41:52 -0800 (PST) (envelope-from dick@ns.tar.com) Received: (from dick@localhost) by ns.tar.com (8.9.1/8.9.1) id LAA10593; Sat, 26 Dec 1998 11:41:22 -0600 (CST) (envelope-from dick) Date: Sat, 26 Dec 1998 11:41:22 -0600 From: "Richard Seaman, Jr." To: Frikkie Thirion Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: BSD threading and wine Message-ID: <19981226114122.B5674@tar.com> References: <19981225211741.19964.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19981225211741.19964.qmail@hotmail.com>; from Frikkie Thirion on Fri, Dec 25, 1998 at 01:17:41PM -0800 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Dec 25, 1998 at 01:17:41PM -0800, Frikkie Thirion wrote: > Hi there > > I know this may seem a bit repetative, but is there any future planning > on providing kernel thread support under BSD ( I should probably have > asked this at freebsd-hackers)? > > This question spreads forth from discussions regarding wine, which > depends on user space as well as kernel threading. There has been discussion of kernel threading for FreeBSD, but I don't know if there is any effort other than the "port" of linux threads at http://lt.tar.com . Someone has tried to run a precompiled Linux Wine binary under FreeBSD Linux emulation. I believe that the result was that additional functions (modify_ldt, at least) need to be added to the Linux emulator. -- Richard Seamman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 414-367-5450 Chenequa WI 53058 fax: 414-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Dec 26 10:31:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA20668 for freebsd-emulation-outgoing; Sat, 26 Dec 1998 10:31:42 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA20663 for ; Sat, 26 Dec 1998 10:31:40 -0800 (PST) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co ([168.176.3.37]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.0) with ESMTP id AAA4824; Sat, 26 Dec 1998 13:34:09 +0500 Message-ID: <36852BB3.855B7076@bachue.usc.unal.edu.co> Date: Sat, 26 Dec 1998 13:32:19 -0500 From: "Pedro F. Giffuni" Organization: U. Nacional de Colombia X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: "Richard Seaman, Jr." CC: freebsd-emulation@FreeBSD.ORG Subject: Re: BSD threading and wine References: <19981225211741.19964.qmail@hotmail.com> <19981226114122.B5674@tar.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is also a requirement for WABI. I vaguely recall someone said the NetBSD or OpenBSD guys had WABI running. Pedro. Richard Seaman, Jr. wrote: > ... > > Someone has tried to run a precompiled Linux Wine binary under > FreeBSD Linux emulation. I believe that the result was that > additional functions (modify_ldt, at least) need to be added > to the Linux emulator. > > -- > Richard Seamman, Jr. email: dick@tar.com > 5182 N. Maple Lane phone: 414-367-5450 > Chenequa WI 53058 fax: 414-367-5852 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message