Date: Fri, 19 Oct 2007 09:51:54 +0400 From: "Victor M. Blood" <freebsd@masm.elcom.ru> To: Max Laier <max@love2party.net>, freebsd-current@freebsd.org Subject: Re: ipfilter cannot be build within because warning's are present Message-ID: <169896312.20071019095154@masm.elcom.ru> In-Reply-To: <200710180021.39250.max@love2party.net> References: <359284519.20071018014832@masm.elcom.ru> <200710172357.18221.max@love2party.net> <6210619899.20071018020530@masm.elcom.ru> <200710180021.39250.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
------------EA1DC1B433A7E538 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 18.10.2007, Max Laier wrote: > On Thursday 18 October 2007, Victor M. Blood wrote: >> On 18.10.2007, Max Laier wrote: >> > On Wednesday 17 October 2007, Victor M. Blood wrote: >> >> Hi, All. >> >> >> >> I try to use options in kernel instead of a module build of the >> >> ipfilter and got error then kernel builds. >> >> >> >> I'm edit files: fil.c, ip_auth.h, ip_auth.h, ip_log.c ip_compat.h >> >> and correct #ifdef statament :) no more warnings... >> > >> > ipf is likely broken anyway. See thread: "7.0 CURRENT, need help >> > with panic: Trying sleep, but thread marked as sleeping prohibited" >> > on this ML a few days back. That this warning went unnoticed tells >> > you something, too. >> >> New version, new problems, no more to say) few days back I have panic >> with ip filter, now it seems as worked, after upgrade. >> >> #ipf -V >> ipf: IP Filter: v4.1.27 (404) >> Kernel: IP Filter: v4.1.27 >> Running: yes >> Log Flags: 0 = none set >> Default: block all, Logging: available >> Active list: 0 >> Feature mask: 0xe > Is this with a WITNESS/INVARIANTS enabled kernel? From a quick glance at > the code you should see warnings on the ioctl path as there are copy > operations to/from userland with the lock held. Hmm... is it may crash ipnat, then it runs with `-s' key? In attach new panics :)) -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656 ------------EA1DC1B433A7E538 Content-Type: text/plain; name="ipnat.crush.1.log" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="ipn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JyZW50IHBy b2Nlc3MJCT0gNjYxIChpcG5hdCkKcGFuaWM6IGZyb20gZGVidWdnZXIKVXB0aW1lOiAzMHMK UGh5c2ljYWwgbWVtb3J5OiAxMTkgTUIKRHVtcGluZyA0MSBNQjogMjYgMTAKCiMwICBkb2Fk dW1wICgpIGF0IHBjcHUuaDoxOTUKCWluIHBjcHUuaAoK ------------EA1DC1B433A7E538 Content-Type: text/plain; name="ipnat.crush.2.log" Content-transfer-encoding: base64 Content-Disposition: attachment; filename="ipnat.crush.2.log" Cktlcm5lbCBwYWdlIGZhdWx0IHdpdGggdGhlIGZvbGxvd2luZyBub24tc2xlZXBhYmxlIGxv Y2tzIGhlbGQ6CgpzaGFyZWQgcncgaXBmIGZpbHRlciBsb2FkL3VubG9hZCBtdXRleCByID0g MCAoMHhjMDc0NDgyMCkgbG9ja2VkIEAgY29udHJpYi9pcGZpbHRlci9uZXRpbmV0L2lwX2Zp bF9mcmVlYnNkLmM6MzQ4CktEQjogc3RhY2sgYmFja3RyYWNlOgpkYl90cmFjZV9zZWxmX3dy YXBwZXIoYzA2ZWRjMGQsYzgxNmVjZWMsYzA1ODlkOGQsYzA2ZWRmYzcsYzgxNmVkMDAsLi4u KSBhdCBkYl90cmFjZV9zZWxmX3dyYXBwZXIrMHgyNgprZGJfYmFja3RyYWNlKGMwNmVkZmM3 LGM4MTZlZDAwLDQsMSwwLC4uLikgYXQga2RiX2JhY2t0cmFjZSsweDI5CndpdG5lc3Nfd2Fy big1LDAsYzA3MDliNjQsYzgxNmVkMWMsYzE5MDkyYTgsLi4uKSBhdCB3aXRuZXNzX3dhcm4r MHgxY2QKdHJhcChjODE2ZWQ4YykgYXQgdHJhcCsweDExZQpjYWxsdHJhcCgpIGF0IGNhbGx0 cmFwKzB4NgotLS0gdHJhcCAweGMsIGVpcCA9IDB4YzA2YWYwN2MsIGVzcCA9IDB4YzgxNmVk Y2MsIGVicCA9IDB4YzgxNmZiOTggLS0tCnNsb3dfY29weW91dChjMTk1M2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weDI4OjB4YzgxNmVkY2MKZnJhbWUgcG9pbnRlcgkgICAgICAgID0g MHgyODoweGM4MTZmYjk4CmNvZGUgc2VnbWVudAkJPSBiYXNlIDB4MCwgbGltaXQgMHhmZmZm ZiwgdHlwZSAweDFiCgkJCT0gRFBMIDAsIHByZXMgMSwgZGVmMzIgMSwgZ3JhbiAxCnByb2Nl c3NvciBlZmxhZ3MJPSBpbnRlcnJ1cHQgZW5hYmxlZCwgcmVzdW1lLCBJT1BMID0gMApjdXJy ZW50IHByb2Nlc3MJCT0gOTQ5IChpcG5hdCkKcGFuaWM6IGZyb20gZGVidWdnZXIKVXB0aW1l OiA0OG00MXMKUGh5c2ljYWwgbWVtb3J5OiAxMTkgTUIKRHVtcGluZyAyOSBNQjogMTQKCiMw ICBkb2FkdW1wICgpIGF0IHBjcHUuaDoxOTUKCWluIHBjcHUuaAoK ------------EA1DC1B433A7E538--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?169896312.20071019095154>