Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 21:21:49 +0530 (IST)
From:      Madhavi Suram <madhavis@sasken.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   bremfree() panic problem
Message-ID:  <Pine.LNX.4.21.0111072043280.4125-100000@pcka225.sasi.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0111072043280.4125-100000>