Ok; I think dmart and Will Deacon were discussing this bug on IRC
earlier and planned getting together tomorrow to see whether they could
do something about smc911x.c.
12:02 < wildea01> I had a brief dig in the smsc9118 driver and found a bunch of
problems
[...]
12:03 < wildea01> (off the top of my head): (1) There's a must-be-one bit in
one of the control registers that is 0 out of reset and we don't
write it
12:03 < wildea01> (2) There are read-after-read, read-after-write etc minimum
delays that the driver doesn't honour
12:03 < wildea01> (3) the fifo fast forward function is called with number of
bytes instead of number of words (or the other way around, can't
remember)
12:04 < wildea01> (4) the locking is done too low-level (i.e. around the
register accessors) which gives scope for deadlock if the caller
holds other locks
12:05 < wildea01> they're the main things I can remember
[...]
12:05 < wildea01> I remember having to add some locks to the NAPI poll handler
to make it play nice with the IRQ handler
[...]
12:06 < wildea01> on top of this, the hardware could be broken too
12:06 < dmart> mattman had a pretty reliable testcase for this ... I can repost
it to linaro-dev if anyone is interested
12:06 < wildea01> I started writing a new driver so I could at least validate
the hardware but I didn't get very far because I had other stuff to do
[...]
12:11 < lool> wildea01, dmart: I'm not sure who will work on this bug; I don't
see anybody working on bugs which affect vexpress these days because
we don't have an ARM LT; if it affects Samsung, we could try to
mention it there
12:11 < wildea01> I have a hunch that the problem is related to receiving bad
data from the network / flow control
12:11 < lool> wildea01, dmart, davidgiluk: If any of you has the bandwidth to
work on it, that would be good :-)
12:11 < davidgiluk> lool: I don't have physical access to any of the boards
12:12 < wildea01> dmart: I can look at this tomorrow with you if you like but
after that I doubt I'll have any time
** Changed in: linux-linaro
Assignee: (unassigned) => Paweł Moll (pawel-moll)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/673820
Title:
Ethernet dies during large file transfers on vexpress
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs