Date: Thu, 03 Feb 2000 14:50:24 -0800 From: Parag Patel <parag@cgt.com> To: freebsd-emulation@freebsd.org Subject: Re: Still no luck with Linux Framemaker under FreeBSD Message-ID: <95691.949618224@pinhead.parag.codegen.com> In-Reply-To: Message from Parag Patel <parag@pinhead.parag.codegen.com> of "Tue, 01 Feb 2000 13:55:31 PST." <75661.949442131@pinhead.parag.codegen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've gotten Frame to run just fine under Linux and NetBSD's emulation layer but still not under FreeBSD. NetBSD has NFS-mounted its /emul/linux directory from my FreeBSD's /compat/linux so they're running the *identical* Linux configuration. I also NFS-mounted the Framemaker dir from the FBSD box, so that is identical as well. I'm not closer to why it crashes under FBSD and not NBSD, but in the process of comparing ktrace output from both, it looks like either ktrace on FBSD is not displaying the correct calls. Either that, or the Linux layer is calling the wrong syscalls. (I've compiled it into my FBSD kernel rather than loading it as a module to eliminate version problems.) I've appended portions two dumps below - just before it crashes on FBSD and the same area under NetBSD, which appears to be displaying the right kernel entry-points. Note that FBSD's "mincore" seems to really be gettimeofday, or things are really confused. (The kdump/ktrace binaries are built from the same CVS 3.4-STABLE source snapshot as the kernel. I built a new kdump but it still generates the same output as below.) Things appear to be running swimmingly up until it crashes. :) Both the NetBSD and FreeBSD call traces are largely similar barring the name printing problems. -- Parag NetBSD output: [...] 1394 fm_flb-real CALL close(0x1) 1394 fm_flb-real RET close 0 1394 fm_flb-real CALL socketcall(0x1,0xefbfd684) 1394 fm_flb-real RET socketcall 1 1394 fm_flb-real CALL socketcall(0x2,0xefbfd650) 1394 fm_flb-real RET socketcall -1 errno -13 Permission denied 1394 fm_flb-real CALL ioctl(0x1,_IO('T',0x21,0),0xefbfd6a0) 1394 fm_flb-real RET ioctl 0 1394 fm_flb-real CALL socketcall(0xb,0xefbfb350) 1394 fm_flb-real GIO fd 1 wrote 56 bytes "^r\M-Q\M-s\0\0\0\0\0\0\0\^B\0\^A\M^F\240\0\0\0\^B\0\0\0\^A\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\^D\M^T\M-6\0\0\0\^A\0\0\0\^Q\0\0\M^?\M-g" 1394 fm_flb-real RET socketcall 56/0x38 1394 fm_flb-real CALL poll(0xefbfb3f8,0x1,0x1388) 1394 fm_flb-real RET poll 1 1394 fm_flb-real CALL socketcall(0xc,0xefbfb350) 1394 fm_flb-real GIO fd 1 read 28 bytes "^r\M-Q\M-s\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A" 1394 fm_flb-real RET socketcall 28/0x1c 1394 fm_flb-real CALL close(0x1) 1394 fm_flb-real RET close 0 1394 fm_flb-real CALL gettimeofday(0x80579c0,0) 1394 fm_flb-real RET gettimeofday 0 1394 fm_flb-real CALL select(0x1,0xefbfd720,0,0,0xefbfd724) 1392 fm_flb-real RET nanosleep 0 1392 fm_flb-real CALL exit(0) 1394 fm_flb-real RET select 1 1394 fm_flb-real CALL gettimeofday(0x80579c0,0) 1394 fm_flb-real RET gettimeofday 0 1394 fm_flb-real CALL socketcall(0xc,0xefbfd0b8) 1394 fm_flb-real GIO fd 0 read 44 bytes "\r ZQ\0\0\0\0\0\0\0\^B\0\^D\M^T\M-6\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0 )\M-?" 1394 fm_flb-real RET socketcall 44/0x2c 1394 fm_flb-real CALL socketcall(0xb,0xefbfd014) [...] FreeBSD output: [...] 75278 fm_flb-real CALL close(0x1) 75278 fm_flb-real RET close 0 75278 fm_flb-real CALL old.recv(0x1,0xbfbfd984) 75278 fm_flb-real RET old.recv 1 75278 fm_flb-real CALL old.recv(0x2,0xbfbfd950) 75278 fm_flb-real RET old.recv -1 errno -13 Unknown error: -13 75278 fm_flb-real CALL ioctl(0x1,0x5421 ,0xbfbfd9a0) 75278 fm_flb-real RET ioctl 0 75278 fm_flb-real CALL old.recv(0xb,0xbfbfb650) 75278 fm_flb-real GIO fd 1 wrote 56 bytes "{\M^J\M^X\M-7\0\0\0\0\0\0\0\^B\0\^A\M^F\240\0\0\0\^B\0\0\0\^A\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\0\^D\M^T\M-6\0\0\0\^A\0\0\0\^Q\0\0\^R\M^K" 75278 fm_flb-real RET old.recv 56/0x38 75278 fm_flb-real CALL #168(0xbfbfb6f8,0x1,0x1388) 75278 fm_flb-real RET #168 1 75278 fm_flb-real CALL old.recv(0xc,0xbfbfb650) 75278 fm_flb-real GIO fd 1 read 28 bytes "{\M^J\M^X\M-7\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A" 75278 fm_flb-real RET old.recv 28/0x1c 75278 fm_flb-real CALL close(0x1) 75278 fm_flb-real RET close 0 75278 fm_flb-real CALL mincore(0x80579c0,0) 75278 fm_flb-real RET mincore 0 75278 fm_flb-real CALL old.gethostid(0x1,0xbfbfda20,0,0,0xbfbfda24) 75273 fm_flb-real RET getdomainname 0 75273 fm_flb-real CALL exit(0) 75278 fm_flb-real RET old.gethostid 1 75278 fm_flb-real CALL mincore(0x80579c0,0) 75278 fm_flb-real RET mincore 0 75278 fm_flb-real CALL old.recv(0xc,0xbfbfd3b8) 75278 fm_flb-real GIO fd 0 read 44 bytes "[\M^@\^OF\0\0\0\0\0\0\0\^B\0\^D\M^T\M-6\0\0\0\^A\0\0\0\^A\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0 )\M-?" 75278 fm_flb-real RET old.recv 44/0x2c 75278 fm_flb-real CALL old.recv(0xb,0xbfbfd314) 75278 fm_flb-real GIO fd 0 wrote 28 bytes "[\M^@\^OF\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \^SP" 75278 fm_flb-real RET old.recv 28/0x1c 75278 fm_flb-real PSIG SIGSEGV SIG_DFL [crash] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95691.949618224>