-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 vasanth raonaik wrote: > Hello Hackers, > > I am seeing this message continuously in syslog for every 60 secs. what > could be the possible reasons for this error messages.
Are you using an amd64 kernel? If so, you could try the attached patch. I've encountered a similar problem today (in my case the problem was with dbus) where select would fail due to a 64->32 bit truncation in the kernel. Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmF7mAACgkQmdOXtTCX/ntNWACeJ9TYzbl9hW5aheJP/RtLm2J0 /aMAoIUHbBpsD1v6O30yXpuXkRZWaEfN =4JD4 -----END PGP SIGNATURE-----
Index: kern/sys_generic.c =================================================================== --- kern/sys_generic.c (revision 187983) +++ kern/sys_generic.c (working copy) @@ -903,7 +903,7 @@ * bit position in the fd_mask array. */ static __inline int -selflags(fd_mask **ibits, int idx, int bit) +selflags(fd_mask **ibits, int idx, fd_mask bit) { int flags; int msk; @@ -912,7 +912,7 @@ for (msk = 0; msk < 3; msk++) { if (ibits[msk] == NULL) continue; - if ((ibits[msk][idx] & (fd_mask)bit) == 0) + if ((ibits[msk][idx] & bit) == 0) continue; flags |= select_flags[msk]; }
lp64_select_fix.diff.sig
Description: Binary data
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"