Roland Dreier | 1 Dec 2009 01:06
Gravatar

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

 > 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 related to 2661.

 - R.

Holger Mikolon | 1 Dec 2009 23:57
Favicon

crunchgen diff

Below is a crunchgen diff, which enables a new keyword "proglibs".
This basically allows to specify per-program libraries for the linker.

With that change it is possible to make for example a crunched binary
with ssh, sshd and ssh-keygen ... something I couldn't manage to do
with the default crunchgen tool in base.

Here is an example:

# cat ./ssh.cbin.conf
libs -lgssapi -lkrb5 -lkafs -lcrypto -lutil -lz -ldes
progs ssh sshd ssh-keygen
special ssh srcdir /usr/src/usr.bin/ssh/ssh
special ssh proglibs /usr/src/usr.bin/ssh/lib/obj/libssh.a
special sshd srcdir /usr/src/usr.bin/ssh/sshd
special sshd proglibs /usr/src/usr.bin/ssh/lib/obj/libssh.a /usr/lib/libwrap.a
special ssh-keygen srcdir /usr/src/usr.bin/ssh/ssh-keygen
special ssh-keygen proglibs /usr/src/usr.bin/ssh/lib/obj/libssh.a

Here is the diff:

Index: usr.sbin/crunchgen/crunchgen.8
===================================================================
RCS file: /cvs/src/usr.sbin/crunchgen/crunchgen.8,v
retrieving revision 1.4
diff -u usr.sbin/crunchgen/crunchgen.8
--- usr.sbin/crunchgen/crunchgen.8	24 Nov 2008 18:03:22 -0000	1.4
+++ usr.sbin/crunchgen/crunchgen.8	1 Dec 2009 22:52:54 -0000
 <at>  <at>  -237,6 +237,10  <at>  <at> 
  .Ar progname .
(Continue reading)

Brad | 2 Dec 2009 01:10

bge(4) diff to correct input error counter handling

Do not count input errors twice. We always read input errors from
the MAC in bge_tick(). Previously this would result in bge(4) claiming
a greater number of input errors than what has actually occured.

From FreeBSD

Index: if_bge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.286
diff -u -p -r1.286 if_bge.c
--- if_bge.c	11 Oct 2009 16:53:13 -0000	1.286
+++ if_bge.c	11 Nov 2009 22:38:13 -0000
 <at>  <at>  -2521,7 +2527,6  <at>  <at>  bge_rxeof(struct bge_softc *sc)

 			if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
 				m_freem(m);
-				ifp->if_ierrors++;
 				continue;
 			}
 		} else {
 <at>  <at>  -2538,7 +2543,6  <at>  <at>  bge_rxeof(struct bge_softc *sc)

 			if (cur_rx->bge_flags & BGE_RXBDFLAG_ERROR) {
 				m_freem(m);
-				ifp->if_ierrors++;
 				continue;
 			}
 		}

(Continue reading)


Gmane