From: Artem Bityutskiy <dedekind1@gmail.com>
To: Ketil Froyn <ketil@froyn.name>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
Matthieu CASTET <matthieu.castet@parrot.com>,
Mike Frysinger <vapier.adi@gmail.com>
Subject: Re: Suggested patch: reset errno after isatty()
Date: Wed, 24 Nov 2010 16:12:39 +0200 [thread overview]
Message-ID: <1290607959.2793.11.camel@localhost> (raw)
In-Reply-To: <AANLkTinzqwsEFoG+Z0S0ep7JN3p4jHugkHhN-J19Y3cn@mail.gmail.com>
On Wed, 2010-11-24 at 10:59 +0100, Ketil Froyn wrote:
> On Wed, Nov 24, 2010 at 8:50 AM, Mike Frysinger <vapier.adi@gmail.com> wrote:
> > On Thu, Nov 18, 2010 at 06:13, Ketil Froyn wrote:
> >
> > so you'll want to dive into the ioctls to see what isnt working right.
> > strace is your friend.
>
> Thanks for the kick. I had tried that, but for some reason strace was
> dying with the error "syscall: unknown syscall trap 0xe8bd8008". A
> little more searching now led me to this patch, which fixed it for me:
>
> http://www.fluff.org/ben/patches/strace/strace-fix-arm-bad-syscall.patch
>
> Anyway, here's the full output:
So it dies very soon. You should easily find the line of code where this
happens with gdb. Just compile nanddump with -g -O0
But I guess we are calling some new ioctl on the system which does not
support it, and do not fall-back to the new ioctl. We tried to be
careful about this, though.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2010-11-24 14:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 14:37 Suggested patch: reset errno after isatty() Ketil Froyn
2010-11-03 8:23 ` Matthieu CASTET
2010-11-03 13:16 ` Ketil Froyn
2010-11-06 8:54 ` Mike Frysinger
2010-11-07 22:36 ` Ketil Froyn
2010-11-09 9:40 ` Mike Frysinger
2010-11-13 11:07 ` Artem Bityutskiy
2010-11-13 11:55 ` Artem Bityutskiy
2010-11-17 15:50 ` Ketil Froyn
2010-11-18 11:13 ` Ketil Froyn
2010-11-24 7:50 ` Mike Frysinger
2010-11-24 9:59 ` Ketil Froyn
2010-11-24 14:12 ` Artem Bityutskiy [this message]
2010-11-24 14:30 ` Ketil Froyn
2010-11-24 21:36 ` Mike Frysinger
2010-11-25 8:58 ` Ketil Froyn
2010-11-29 15:07 ` Artem Bityutskiy
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=1290607959.2793.11.camel@localhost \
--to=dedekind1@gmail.com \
--cc=ketil@froyn.name \
--cc=linux-mtd@lists.infradead.org \
--cc=matthieu.castet@parrot.com \
--cc=vapier.adi@gmail.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;
as well as URLs for NNTP newsgroup(s).