Date: Sat, 16 Sep 2006 13:59:08 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Anders Nordby <anders@fupp.net> Cc: Suleiman Souhlal <ssouhlal@FreeBSD.org>, FreeBSD-gnats-submit@FreeBSD.org, Thomas-Martin Seck <tmseck@netcologne.de>, freebsd-threads@FreeBSD.org Subject: Re: threads/103127: Kernel panic while using thread features in Squid 2.6 Message-ID: <20060916205908.GG9421@funkthat.com> In-Reply-To: <20060913185803.GA27955@totem.fix.no> References: <20060911075431.D12758D9874@fupp.net> <200609110800.k8B80ie3041853@freefall.freebsd.org> <20060912195547.GA71462@totem.fix.no> <20060913185803.GA27955@totem.fix.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Anders Nordby wrote this message on Wed, Sep 13, 2006 at 20:58 +0200: > After talking with Pawel, I tried the attached patch to get some kqueue > debug info. I just got it: > > Sep 13 20:18:56 cache3 kernel: NULL f_event in new kn > Sep 13 20:18:56 cache3 kernel: f_event == NULL > > Then Squid stops responding to new requests, and I can not even kill it > with kill -9: Please try the attached patch.. It appears that the badfo_kqfilter was returning sucess instead of error since it was introcuded many years ago... This many still cause other problems w/ squid, but will fix the panics... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="badfo_kqfilter.patch" Index: kern_descrip.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_descrip.c,v retrieving revision 1.297 diff -u -r1.297 kern_descrip.c --- kern_descrip.c 21 Jul 2006 20:24:00 -0000 1.297 +++ kern_descrip.c 16 Sep 2006 20:58:40 -0000 @@ -2632,7 +2632,7 @@ badfo_kqfilter(struct file *fp, struct knote *kn) { - return (0); + return (EINVAL); } static int --oC1+HKm2/end4ao3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060916205908.GG9421>