Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-12-31 Thread Roland Dreier
On Nov 23 Roland Dreir sent a patch for interrupt handling, but it doesn't apply on -current since the file rt2661.c changed slightly a few weeks earlier (1.51, date: 2009/11/01). two es in Dreier :) This patch just changes Roland's patch to update against rt2661.c r1.51 from the

Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-12-05 Thread Roland Dreier
Mind sharing your hostname.ral0 and the tools you use to trigger this situation? I've tried hping, tcpbench, ping -f, rsync, etc to no avail. max ~8000 intr/s with hping 2.5MB/s with scp hostname.ral0 is: inet 10.2.0.1 255.255.0.0 NONE \ mode 11g \ mediaopt

How can I get my driver bug fix committed?

2009-12-04 Thread Roland Dreier
About two weeks ago, I sent a fix for the ral(4) driver ([PATCH] Fix interrupt handling in ral(4) for RT2661 under load, http://www.mail-archive.com/t...@openbsd.org/msg01155.html). I have not gotten any response from any OpenBSD developers, and I have not seen the patch committed. I'm happy to

Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-11-30 Thread Roland Dreier
Hi Damien / OpenBSD devs, Did anyone get a chance to look at this diff? These fixes are the difference for me between ral being usable as an AP and getting stuck almost immediately under heavy load. Is there anything I need to do to get this committed? Thanks, Roland

Re: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-11-30 Thread Roland Dreier
Does it do anything for 2860? I have that as an AP now and every once in a while it stops working, I need to restart the interface. No, the driver code is a completely different C file. It's possible there are analogous bugs for 2860 though, since the hardware and driver are both closely

[PATCH] Fix interrupt handling in ral(4) for RT2661 under load

2009-11-22 Thread Roland Dreier
The interrupt handling in ral(4) for RT2661 has a couple of problems, which causes the interface to get stuck under heavy load with OACTIVE set (the problems are likely especially severe on slow systems such as my 600MHz VIA system); bouncing the interface down and back up fixes things. As I

strange multicast send bug with ral(4) (was: [PATCH] Fix interrupt handling in ral(4) for RT2661 under load)

2009-11-22 Thread Roland Dreier
By the way, I forgot to mention that even with this patch applied, I do have one odd problem with ral on my system -- after some time (hours it appears), the ral interface stops being able to send multicasts/broadcasts. All other traffic works fine, including receiving multicasts, but no

RT2661/ral(4) interface hangs with heavy traffic (OpenBSD 4.5)

2009-07-08 Thread Roland Dreier
Hi, I have a mini-itx system being used as a wireless router with a Ralink RT2661 wifi card (driven by ral(4)) in host AP mode. I've found that if I copy a lot of data from my laptop connected via wifi to another system connected via wired (100 mbit) ethernet, say doing a big rsync, that the ral