From owner-freebsd-net@FreeBSD.ORG Wed Apr 16 22:08:42 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43CEB106567A for ; Wed, 16 Apr 2008 22:08:42 +0000 (UTC) (envelope-from agile.quad@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 019838FC23 for ; Wed, 16 Apr 2008 22:08:22 +0000 (UTC) (envelope-from agile.quad@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2846223fgg.35 for ; Wed, 16 Apr 2008 15:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:x-mailer:reply-to:x-priority:message-id:to:subject:mime-version:content-type; bh=dXS5w6Xi5Nv75dTF9GHKP/z31lf46gf4s+XRDFe53gk=; b=oZOHqXceVX92s6xzkb9vxtkVNON/hin+bv6M9HWA3iY3KGbwOTnMWAhsjVxdPjShh37CC6UDMoLi6HRAfaYUqz5n+FOyTMyDo+n+rN1V9z+MJi/S0MMOQXHpE7S64op3IKo9bF1JRkxdDyHEkH7dthxC/AM/bnv/EVomUvupwfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:x-mailer:reply-to:x-priority:message-id:to:subject:mime-version:content-type; b=ZDIp0zppQcQ3Yh+w8MpMXDducOUkbYL6lyGNCVUZ7dOifDtmILcao2Rvl0vCmm7lPCGtNkVjXLcHDs2++3RnH2g/D2f42e8yWmWuoNId36IFnkGz+Foy7aDvXt3K71smIOkr49rIbQ4moqTjVibb+uXGrS/S3bpjfkXo6p3SKxk= Received: by 10.86.50.8 with SMTP id x8mr1015846fgx.30.1208382237158; Wed, 16 Apr 2008 14:43:57 -0700 (PDT) Received: from AEONXP ( [87.238.159.51]) by mx.google.com with ESMTPS id o11sm15226400fkf.9.2008.04.16.14.43.54 (version=SSLv3 cipher=OTHER); Wed, 16 Apr 2008 14:43:56 -0700 (PDT) Date: Thu, 17 Apr 2008 00:43:53 +0300 From: quad X-Mailer: The Bat! (v3.60.07) Professional X-Priority: 3 (Normal) Message-ID: <1733112647.20080417004353@gmail.com> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------108F5841BDFF1DB" Subject: [bfe] [panic] Serious error: bfe failed to map RX buffer X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: quad List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 22:08:42 -0000 ------------108F5841BDFF1DB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, FreeBSD amd64 7.0-RELEASE, ULE, SMP. On heavy loads bfe network driver after few messages Serious error: bfe failed to map RX buffer Serious error: bfe failed to map RX buffer Serious error: bfe failed to map RX buffer ... make kernel panic. Here patch. -- Best regards, Oleg Dolgov mailto:agile.quad@gmail.com ------------108F5841BDFF1DB Content-Type: application/octet-stream; name="if_bfe.diff" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="if_bfe.diff" LS0tIGlmX2JmZV9vcmlnLmMJMjAwOC0wNC0xNyAwMDoyNjo0My41NTkzNzUwMDAgKzAzMDAN CisrKyBpZl9iZmUuYwkyMDA4LTA0LTE3IDAwOjMzOjAzLjEyMTg3NTAwMCArMDMwMA0KQEAg LTY0OCwxMCArNjQ4LDEyIEBADQogCXN0cnVjdCBiZmVfZGF0YSAqcjsNCiAJdV9pbnQzMl90 IGN0cmw7DQogCWludCBlcnJvcjsNCisJaW50IGFsbG9jYXRlZDsNCiANCiAJaWYgKChjIDwg MCkgfHwgKGMgPj0gQkZFX1JYX0xJU1RfQ05UKSkNCiAJCXJldHVybiAoRUlOVkFMKTsNCiAN C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