From owner-freebsd-emulation Mon Jun 9 19:05:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA00385 for emulation-outgoing; Mon, 9 Jun 1997 19:05:00 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA00321; Mon, 9 Jun 1997 19:04:37 -0700 (PDT) Received: (from msagre@localhost) by cactus.fi.uba.ar (8.8.5/8.8.5) id XAA26412; Mon, 9 Jun 1997 23:06:09 GMT Date: Mon, 9 Jun 1997 23:06:09 +0000 () From: Miguel Angel Sagreras To: hackers@freebsd.org, current@freebsd.org, emulation@freebsd.org Subject: IBCS2 emulation bug installing ORACLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Installing Oracle from CD-ROM, with ORACLE 7.3.2.1 Installer, I got a bus error caused by a 16 bits versus 32 bits alignament problem in ftime xenix system call The original code is in ibcs2_xenix.c in function xenix_ftime line 132 return copyout((caddr_t)&itb, (caddr_t)SCARG(uap, tp), sizeof(struct timeb)); The modify code is return copyout((caddr_t)&itb, (caddr_t)SCARG(uap, tp), sizeof(struct timeb)-2); I know this is not the best way to correct the code but it works. I think that there are more bugs like this. Now I working with another bug with the ibcs2_getgroups, with ORACLE Installer too. Regards Miguel Angel