Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Martin Michlmayr <tbm@cyrius.com>
Cc: linux-mips@linux-mips.org
Subject: Re: 1480: "bad address" instead of "argument list too"
Date: Fri, 17 Mar 2006 17:35:21 +0000	[thread overview]
Message-ID: <20060317173521.GA12862@linux-mips.org> (raw)
In-Reply-To: <20060317172127.GZ18750@deprecation.cyrius.com>

On Fri, Mar 17, 2006 at 05:21:27PM +0000, Martin Michlmayr wrote:

> * Ralf Baechle <ralf@linux-mips.org> [2006-03-17 17:02]:
> > Chances are this is caused by the return value of some syscall.  Can you
> > use strace on a shell to isolate it?
> 
> I tried, but I don't know how.  "strace echo *" immediately gives a
> "bad address" because the wildcard is evaluated before strace is
> invoked.  How can I call strace in this case?

Log into a second shell from another tty, find out the PID of the first
shell.  Then do an strace -ff -v -p <PID of first shell> in the second
shell, go back to the first shell and do your echo *.  You now should
have the interesting bits of the log in the second window.

> > Is this 32-bit software on a 64-bit kernel?

There remain corner cases to be fixed in that emulation layer even though
it's good enough for general use since a long time.

  Ralf

  reply	other threads:[~2006-03-17 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17 16:56 1480: "bad address" instead of "argument list too" Martin Michlmayr
2006-03-17 17:02 ` Ralf Baechle
2006-03-17 17:21   ` Martin Michlmayr
2006-03-17 17:35     ` Ralf Baechle [this message]
2006-03-17 18:11       ` Martin Michlmayr
2006-03-17 18:38         ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060317173521.GA12862@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=tbm@cyrius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox