From owner-freebsd-hackers Wed Aug 6 14:33:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA21261 for hackers-outgoing; Wed, 6 Aug 1997 14:33:58 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA21248 for ; Wed, 6 Aug 1997 14:33:51 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by mail.cdsnet.net (8.8.6/8.8.6) with SMTP id OAA08840; Wed, 6 Aug 1997 14:33:43 -0700 (PDT) Date: Wed, 6 Aug 1997 14:33:41 -0700 (PDT) From: Jaye Mathisen To: Greg Lehey cc: hackers@FreeBSD.ORG Subject: Re: Ktrace output of BSD binary: In-Reply-To: <199708060150.LAA04493@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm running 2.2.2-stable, the binary is the Cheyenne ArcServe Backup Agent version 1.0, although I don't know which version of BSD/OS it's for. I was hoping to avoid installing BSD/OS just to feed my tape system, but it's kind of looking like it. Oh well. The linux version fails with similar problems. Maybe they can do a port. I already suggested it to their tech support guys, but I doubt that will get very far. On Wed, 6 Aug 1997, Greg Lehey wrote: > Jaye Mathisen writes: > > > > > > Short and sweet, but it doesn't tell me anything that I can really use... > > > > # kdump > > 8626 ktrace RET ktrace 0 > > 8626 ktrace CALL execve(0xefbfdd83,0xefbfdd44,0xefbfdd4c) > > 8626 ktrace NAMI "./asbr" > > 8626 asbr RET execve 0 > > 8626 asbr PSIG SIGSEGV SIG_DFL > > 8626 asbr NAMI "asbr.core" > > > > > > Doesn't even look like it really gets fired up. > > > > # file asbr > > asbr: BSD/386 demand paged (first page unmapped) pure ex > > There was a problem quite a while ago with BSD/386 executables. They > accessed something in the startup code (before main) which isn't > (wasn't?) mapped in FreeBSD, a pointer to ps strings (see page 430 of > "Porting UNIX Software", which by chance mentions this very problem. > I thought the problem had been solved a long time ago--what version of > FreeBSD are you running, and what version of BSD/OS did the executable > come with? > > Greg >