From owner-freebsd-net Wed Nov 7 9:43:55 2001 Delivered-To: freebsd-net@freebsd.org Received: from samar.sasken.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id A560937B405 for ; Wed, 7 Nov 2001 09:43:51 -0800 (PST) Received: from samar (localhost [127.0.0.1]) by samar.sasken.com (8.11.3/8.11.3) with SMTP id fA7Fppc25909 for ; Wed, 7 Nov 2001 21:23:11 +0530 (IST) Received: from pcka225.sasi.com (IDENT:madhavis@pcka225.sasi.com [10.0.82.225]) by sunk2.sasi.com (8.9.3/8.9.3) with ESMTP id VAA22850 for ; Wed, 7 Nov 2001 21:21:50 +0530 (IST) Date: Wed, 7 Nov 2001 21:21:49 +0530 (IST) From: Madhavi Suram X-Sender: madhavis@pcka225.sasi.com To: freebsd-net@FreeBSD.ORG Subject: bremfree() panic problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi This is a slightly big mail. But, the problem is so vague that I needed to explain it as clearly as possible. Please bear with this. I am doing some sort of hacking in the file if_ethersubr.c. I have added an extra file, say "file2" also in /usr/src/sys/net directory. The new code in if_ethersubr.c is controlled by a flag value. This won't get executed as long as the flag is 0. I install a module from userland and during initialization, this flag value will get changed to 1. When I compile and boot on this new kernel, I am able to install my module and all intended operations are working fine. But, when I give a find command that involves lot of file/inode accesses, the kernel panics and gives a panic message as follows: panic: bremfree() removing a buffer not in a queue This panic comes even when I do a 'find' immediately after rebooting the kernel(without my module installed). This problem wasn't there with the standard configurations. I have replaced the if_ethersubr.c with standard if_ethersubr.c and compiled the kernel with my configurations. This kernel was also giving the same panic problem. I changed the location of my "file2" from net to netinet directory (changed /usr/src/sys/conf/files accordingly) and compiled the kernel with standard if_ethersubr.c, file2 and my configurations. When I rebooted, 'find' wasn't giving any problem on this kernel. I have seen in FreeBSD bug reports that this problem was there earlier. Can someone tell me why this problem is coming. thanks & regards Madhavi. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message