From owner-freebsd-emulation Thu Nov 20 00:43:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA21477 for emulation-outgoing; Thu, 20 Nov 1997 00:43:32 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from ghpc8.ihf.rwth-aachen.de (ghpc8.ihf.RWTH-Aachen.DE [134.130.90.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA21459 for ; Thu, 20 Nov 1997 00:43:22 -0800 (PST) (envelope-from thomas@ghpc8.ihf.rwth-aachen.de) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.rwth-aachen.de [134.130.90.6]) by ghpc8.ihf.rwth-aachen.de (8.8.7/8.8.6) with ESMTP id JAA02004 for ; Thu, 20 Nov 1997 09:43:20 +0100 (CET) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.7/8.8.5) id JAA00961; Thu, 20 Nov 1997 09:43:19 +0100 (CET) To: emulation@freebsd.org Subject: Problems with spicecad for Linux From: Thomas Gellekum Date: 20 Nov 1997 09:43:17 +0100 Message-ID: <87aff0dkgq.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 79 X-Mailer: Gnus v5.4.37/XEmacs 19.16 Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Moin, sorry if you're receiving this mail a second time. Looks like there was a problem with the lists yesterday. Anyway, I'm trying to run spicecad-1.5 for Linux on 2.2.5-STABLE. The binary crashes short after startup after a SIGBUS. Output from ktrace looks like this: 2566 ktrace RET ktrace 0 2566 ktrace CALL execve(0xefbfd668,0xefbfd598,0xefbfd5a0) 2566 ktrace NAMI "../bin/spicecad-linux" 2566 ktrace CSW stop kernel 2566 ktrace CSW resume kernel 2566 spicecad-linux RET execve 0 2566 spicecad-linux CALL mkdir(0) 2566 spicecad-linux RET mkdir 0 2566 spicecad-linux CALL getlogin 2566 spicecad-linux RET getlogin 1000/0x3e8 2566 spicecad-linux CALL getuid 2566 spicecad-linux RET getuid 1000/0x3e8 2566 spicecad-linux CALL getgid 2566 spicecad-linux RET getgid 1000/0x3e8 2566 spicecad-linux CALL setlogin 2566 spicecad-linux RET setlogin 1000/0x3e8 2566 spicecad-linux CALL ktrace(0) 2566 spicecad-linux RET ktrace 139378688/0x84ec000 2566 spicecad-linux CALL ktrace(0x84ef000) 2566 spicecad-linux RET ktrace 139390976/0x84ef000 2566 spicecad-linux CALL ktrace(0x84f0000) 2566 spicecad-linux RET ktrace 139395072/0x84f0000 2566 spicecad-linux CALL ktrace(0x84f1000) 2566 spicecad-linux RET ktrace 139399168/0x84f1000 2566 spicecad-linux CALL ktrace(0x84f2000) 2566 spicecad-linux RET ktrace 139403264/0x84f2000 2566 spicecad-linux CALL ktrace(0x84f3000) 2566 spicecad-linux RET ktrace 139407360/0x84f3000 2566 spicecad-linux CALL ktrace(0x84f5000) 2566 spicecad-linux RET ktrace 139415552/0x84f5000 2566 spicecad-linux CALL ktrace(0x84f7000) 2566 spicecad-linux RET ktrace 139423744/0x84f7000 2566 spicecad-linux CALL ktrace(0x84f8000) 2566 spicecad-linux RET ktrace 139427840/0x84f8000 2566 spicecad-linux CALL ktrace(0x84f9000) 2566 spicecad-linux RET ktrace 139431936/0x84f9000 2566 spicecad-linux CALL ioctl(0,0x5401 ,0xefbfd09c) 2566 spicecad-linux RET ioctl 0 2566 spicecad-linux CALL getpid 2566 spicecad-linux RET getpid 2566/0xa06 2566 spicecad-linux CALL ktrace(0x84f9000) 2566 spicecad-linux RET ktrace 139431936/0x84f9000 2566 spicecad-linux CALL obs_vread(0xb,0xefbfd084,0xefbfd074) 2566 spicecad-linux RET obs_vread 0 2566 spicecad-linux PSIG SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc 2566 spicecad-linux CALL obs_vread(0xb,0xefbfd020,0xefbfd010) 2566 spicecad-linux RET obs_vread 0 2566 spicecad-linux PSIG SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc 2566 spicecad-linux CALL obs_vread(0xb,0xefbfd020,0xefbfd010) 2566 spicecad-linux RET obs_vread 0 2566 spicecad-linux PSIG SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc 2566 spicecad-linux CALL obs_vread(0xb,0xefbfd020,0xefbfd010) 2566 spicecad-linux RET obs_vread 0 2566 spicecad-linux PSIG SIGSEGV caught handler=0x8058180 mask=0x0 code=0xc 2566 spicecad-linux CALL obs_vread(0xb,0xefbfd020,0xefbfd010) 2566 spicecad-linux RET obs_vread 0 2566 spicecad-linux PSIG SIGBUS SIG_DFL 2566 spicecad-linux NAMI "spicecad-linux.core" 2566 spicecad-linux CSW stop kernel 2566 spicecad-linux CSW resume kernel 2566 spicecad-linux CSW stop kernel 2566 spicecad-linux CSW resume kernel 2566 spicecad-linux CSW stop kernel 2566 spicecad-linux CSW resume kernel If I read /sys/kern/syscalls.master and /sys/i386/linux/syscalls.master correctly, obs_vread() corresponds to sigaction(). Any ideas or suggestions? tg