ncplogin panic
m.ehinger at ltur.de
m.ehinger at ltur.de
Tue Aug 1 07:40:37 UTC 2006
Hi,
i had the same problem. See my thread on the freebsd-fs mailinglist
http://lists.freebsd.org/pipermail/freebsd-fs/2006-July/002060.html
After some research i use the attached patch against ncp_sock.c.
So it is not the real solution to this problem it only avoids the panics. I'm using it quiet a while without any other known
problems.
Hopefully someone with more knowledge can help on this.
I also get some "md_get_mem(461): incomplete copy" messages which seem to do no harm, so far.
Regards,
Maik
!!! Use atyour own risk !!!
--- ncp_sock.c.orig Fri Jan 7 02:45:49 2005
+++ ncp_sock.c Thu Jul 20 14:12:45 2006
@@ -189,7 +189,12 @@
struct thread *td = curthread;
struct ucred *cred = NULL;
- return so->so_proto->pr_usrreqs->pru_sopoll(so, events, cred, td);
+ if ( td->td_selq.tqh_last == NULL ) {
+ printf("ncp_poll: td->td_selq.tqh_last == NULL\n");
+ return 0;
+ }
+
+ return so->so_proto->pr_usrreqs->pru_sopoll(so, events, cred, td);
}
int
---- pach ends here ---
More information about the freebsd-stable
mailing list