Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 15:33:57 -0700
From:      "K. Macy" <kmacy@freebsd.org>
To:        Manfred Antar <null@pozo.com>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Michael Butler <imb@protected-networks.net>, current@freebsd.org
Subject:   Re: Panic @r207433: "System call fork returning with the following  locks held"
Message-ID:  <t2k82c4140e1004301533vb017301ck485bb11d5b0df2e6@mail.gmail.com>
In-Reply-To: <201004302142.o3ULgKV0002085@pozo.com>
References:  <20100430161953.GW96847@bunrab.catwhisker.org> <20100430162732.GP2391@deviant.kiev.zoral.com.ua> <4BDB186E.4070309@protected-networks.net> <o2z82c4140e1004301238tff7172a8w421344f8f383e06c@mail.gmail.com> <q2x82c4140e1004301421ycf642dd8u2f4ac76eca1c1373@mail.gmail.com> <201004302142.o3ULgKV0002085@pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
How much memory do you have? I haven't been checking code in without
testing it, but clearly my system behaves a bit differently.

Please try 207452.

Thanks,
Kip


On Fri, Apr 30, 2010 at 2:42 PM, Manfred Antar <null@pozo.com> wrote:
> At 02:21 PM 4/30/2010, K. Macy wrote:
>>On Fri, Apr 30, 2010 at 12:38 PM, K. Macy <kmacy@freebsd.org> wrote:
>>>> Sadly, it doesn't do it for me .. lockd start-up causes a panic on a
>>>> "sleeping thread". Do I need to do a buildworld as well as kernel?
>>>>
>>>
>>> We're calling vm_pageout_flush with the page queue lock held in
>>> vm_object_page_collect_flush. =A0I'll have a fix in soon.
>>
>>Please try updating to 207451
>>
>>Thanks,
>>Kip
>>_______________________________________________
>>freebsd-current@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>>
>>--
>>This message has been scanned for viruses and
>>dangerous content by MailScanner, and is
>>believed to be clean.
>
> I'm getting this from just rebuilt kernel:
>
> Starting dbus.
> Starting hald.
> Configuring syscons: blanktime.
> Starting clamav_clamd.
> Starting clamav_freshclam.
> Waiting for clamd socket..
> Starting clamav_milter.
> Waiting for clamav-milter socket.. 60..
> Starting denyhosts.
> Sleeping thread (tid 100058, pid 19) owns a non-sleepable lock
> sched_switch(c7174d80,0,104,a3b9b2bc,5b,...) at sched_switch+0x1df
> mi_switch(104,0,c7174d80,0,db35b4f4,...) at mi_switch+0x12a
> sleepq_switch(c7174d80,0,c0b157ee,260,0,...) at sleepq_switch+0xcb
> sleepq_wait(db317b94,4c,c0b18293,0,0,...) at sleepq_wait+0x39
> _sleep(db317b94,c70066dc,4c,c0b18293,0,...) at _sleep+0x2a2
> bwait(db317b94,4c,c0b18293,db317b94,db35b5a0,...) at bwait+0x8f
> bufwait(db317b94,0,0,0,0,...) at bufwait+0x28
> breadn(c7836220,1,0,4000,0,...) at breadn+0xf3
> bread(c7836220,1,0,4000,0,...) at bread+0x4c
> ffs_balloc_ufs2(c7836220,6000,0,1000,c700bc00,...) at ffs_balloc_ufs2+0xe=
71
> ffs_write(db35b930,c0bbb1ec,0,0,db35b874,...) at ffs_write+0x3f5
> VOP_WRITE_APV(c0b87ae0,db35b930,0,0,2000,...) at VOP_WRITE_APV+0xa6
> vnode_pager_generic_putpages(c7836220,db35ba40,1000,c,db35b9f0,...) at vn=
ode_pager_generic_putpages+0x300
> vop_stdputpages(db35b9a0,db35b9cc,c08e75e9,c0b87ae0,db35b9a0,...) at vop_=
stdputpages+0x30
> VOP_PUTPAGES_APV(c0b87ae0,db35b9a0,c066dc10,c7261c5c,c0b9ce00,...) at VOP=
_PUTPAGES_APV+0x47
> vnode_pager_putpages(c7835c38,db35ba40,1,c,db35b9f0,...) at vnode_pager_p=
utpages+0xa9
> vm_pageout_flush(db35ba40,1,c,c08dd65c,0,...) at vm_pageout_flush+0x1c7
> vm_object_page_collect_flush(c,6,0,82b,c7836220,...) at vm_object_page_co=
llect_flush+0x5f3
> vm_object_page_clean(c7835c38,0,0,0,0,...) at vm_object_page_clean+0x2ef
> vfs_msync(c7414ca8,2,2,c0b9cca0,c7489550,...) at vfs_msync+0x21a
> sync_fsync(db35bc74,db35bc94,c071062d,c0b76640,db35bc74,...) at sync_fsyn=
c+0x22a
> VOP_FSYNC_APV(c0b76640,db35bc74,c0b19a0d,6a5,c063e92e,...) at VOP_FSYNC_A=
PV+0x42
> sync_vnode(c0bbe4b4,c0bbe4a0,3e8,c73f8550,4e20,...) at sync_vnode+0x1bd
> sched_sync(0,db35bd38,fffa7f7f,ffffffff,d6fbf6ad,...) at sched_sync+0x2c2
> fork_exit(c0710760,0,db35bd38) at fork_exit+0x90
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip =3D 0, esp =3D 0xdb35bd70, ebp =3D 0 ---
> panic: sleeping thread
> KDB: enter: panic
> [ thread pid 1789 tid 100114 ]
> Stopped at =A0 =A0 =A0kdb_enter+0x3a: movl =A0 =A0$0,kdb_why
> db>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> || =A0 =A0 =A0null@pozo.com =A0 =A0 =A0 =A0 =A0 ||
> || =A0 =A0 =A0Ph. (415) 681-6235 =A0 =A0 =A0||
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



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