From: Rob Kendrick <rob.kendrick@codethink.co.uk>
To: Markos Chandras <Markos.Chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Subject: Re: EdgeRouter Pro supported? Strange FP problems
Date: Tue, 22 Jul 2014 15:33:12 +0100 [thread overview]
Message-ID: <20140722143311.GK30723@humdrum> (raw)
In-Reply-To: <53CE736E.1060009@imgtec.com>
On Tue, Jul 22, 2014 at 03:21:34PM +0100, Markos Chandras wrote:
> On 07/22/2014 02:06 PM, Rob Kendrick wrote:
>
> When you say "master from linux-mti" I presume you mean this tree:
>
> http://git.linux-mips.org/?p=linux-mti.git;a=shortlog;h=refs/heads/master
>
> right?
Correct.
> What FPU problem are you seeing exactly? Could you show us a log for the
> failure? Can you post a simple test case which will allow someone to
> reproduce it?
A strange problem with awk (substr() doesn't work in either gawk or
mawk). I've tried binaries of awk that I've built myself, and binaries
from Debian. They all fail with my kernel, work fine with the 3.4
kernel (with a load of Cavium patches) that ship with the EdgeRouter
Pro.
I can see it with this awk script:
{
line = $ 0
prefix = substr(line, 1, 3)
suffix = substr(line, 9)
print "prefix is '" prefix "'"
print "suffix is '" suffix "'"
}
execute with `echo "foo bar baz" | awk -f test.awk`. With gawk, I get
both outputs being "foo bar baz" and with mawk "". Correct answers
occur when using the shipped 3.4.
When you run gawk in linting mode, you get amusing errors like:
warning: substr: length 3 too big for string indexing,
truncating to 1.84467e+19
(Both are using doubles as internal representations, AFAICT.)
> (I am also surprised you have ethernet support since the ethernet
> support has not reached the mainline tree yet as far as I know
> https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/?id=ec3a2207c322e518f7f42c80e54b8ecaf8a6f03e).
I was happily NFS-booting. The activity LEDs don't work, the two
banks of four ports are identified in a different order, and it
complains about the board type being unknown, but otherwise it works.
--
Rob Kendrick, Senior Consulting Developer Codethink Ltd.
Telephone: +44 7880 657 193 302 Ducie House, Ducie Street,
http://www.codethink.co.uk/ Manchester, M1 2JW, United Kingdom.
next prev parent reply other threads:[~2014-07-22 16:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 13:06 EdgeRouter Pro supported? Strange FP problems Rob Kendrick
2014-07-22 14:21 ` Markos Chandras
2014-07-22 14:21 ` Markos Chandras
2014-07-22 14:33 ` Rob Kendrick [this message]
2014-07-22 15:38 ` Markos Chandras
2014-07-22 15:38 ` Markos Chandras
2014-07-22 15:49 ` Rob Kendrick
2014-07-22 18:41 ` Aaro Koskinen
2014-07-23 9:03 ` Rob Kendrick
2014-07-23 9:06 ` Markos Chandras
2014-07-23 9:06 ` Markos Chandras
2014-07-22 15:26 ` John Crispin
2014-07-23 7:03 ` Rob Kendrick
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=20140722143311.GK30723@humdrum \
--to=rob.kendrick@codethink.co.uk \
--cc=Markos.Chandras@imgtec.com \
--cc=linux-mips@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.