Professional Web Applications Themes

SMP kernel - FreeBSD

Hi Kris, Thanks for your help -- that seems to have fixed the problem. You mentioned that it was only a temporary fix, so what do you suggest doing now? Is this a bug that I should report? Kara -----Original Message----- From: Kris Kennaway [mailto:krisobsecurity.org] Sent: Monday, February 14, 2005 3:10 PM To: Kara Chapman Cc: [email]freebsd-questionsfreebsd.org[/email] Subject: Re: SMP kernel On Mon, Feb 14, 2005 at 02:08:25PM -1000, Kara Chapman wrote: > Hi, > > > > I am running FreeBSD 5.3 and have recently rebuilt the kernel to use > SMP. Ever since, I get these error messages ...

  1. #1

    Default RE: SMP kernel

    Hi Kris,

    Thanks for your help -- that seems to have fixed the problem. You
    mentioned that it was only a temporary fix, so what do you suggest doing
    now? Is this a bug that I should report?

    Kara

    -----Original Message-----
    From: Kris Kennaway [mailto:krisobsecurity.org]
    Sent: Monday, February 14, 2005 3:10 PM
    To: Kara Chapman
    Cc: [email]freebsd-questionsfreebsd.org[/email]
    Subject: Re: SMP kernel

    On Mon, Feb 14, 2005 at 02:08:25PM -1000, Kara Chapman wrote:
    > Hi,
    >
    >
    >
    > I am running FreeBSD 5.3 and have recently rebuilt the kernel to use
    > SMP. Ever since, I get these error messages from postfix on a regular
    > basis:
    >
    >
    >
    > postfix/smtpd[49491]: fatal: accept connection: Invalid argument
    >
    >
    >
    > Does anyone know what this means and if it's at all related to the new
    > kernel? Other than adding SMP, the kernel is using all the defaults.
    Do the messages persist if you set debug.mpsafenet=0 in your
    /boot/loader.conf and reboot (this is only a workaround since it
    causes relative performance degradation, but it will help to identify
    where the problem might be)?

    Kris

    Kara Chapman Guest

  2. #2

    Default Errors from postfix with mpsafenet=1 (Re: SMP kernel)

    On Tue, Feb 15, 2005 at 09:39:20AM -1000, Kara Chapman wrote:
    > Hi Kris,
    >
    > Thanks for your help -- that seems to have fixed the problem. You
    > mentioned that it was only a temporary fix, so what do you suggest doing
    > now? Is this a bug that I should report?
    Yes, Robert Watson might be interested in this (CC'ed). It's possible
    that there's already a fix for this in 5.3-STABLE, but he'd have a
    better idea of that.

    Kris
    >
    > Kara
    >
    > -----Original Message-----
    > From: Kris Kennaway [mailto:krisobsecurity.org]
    > Sent: Monday, February 14, 2005 3:10 PM
    > To: Kara Chapman
    > Cc: [email]freebsd-questionsfreebsd.org[/email]
    > Subject: Re: SMP kernel
    >
    > On Mon, Feb 14, 2005 at 02:08:25PM -1000, Kara Chapman wrote:
    > > Hi,
    > >
    > >
    > >
    > > I am running FreeBSD 5.3 and have recently rebuilt the kernel to use
    > > SMP. Ever since, I get these error messages from postfix on a regular
    > > basis:
    > >
    > >
    > >
    > > postfix/smtpd[49491]: fatal: accept connection: Invalid argument
    > >
    > >
    > >
    > > Does anyone know what this means and if it's at all related to the new
    > > kernel? Other than adding SMP, the kernel is using all the defaults.
    >
    > Do the messages persist if you set debug.mpsafenet=0 in your
    > /boot/loader.conf and reboot (this is only a workaround since it
    > causes relative performance degradation, but it will help to identify
    > where the problem might be)?
    >
    > Kris
    >
    > _______________________________________________
    > [email]freebsd-questionsfreebsd.org[/email] mailing list
    > [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribefreebsd.org"
    >
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCEmpfWry0BWjoQKURAjzVAKC3mr8kjvg12e1AOkYFeb CU2I0GwQCgv1/f
    xLtKr1RzJL8xElZsNn1ZmkI=
    =UjbX
    -----END PGP SIGNATURE-----

    Kris Kennaway Guest

  3. #3

    Default RE: SMP kernel


    On Tue, 15 Feb 2005, Kara Chapman wrote:
    > Thanks for your help -- that seems to have fixed the problem. You
    > mentioned that it was only a temporary fix, so what do you suggest doing
    > now? Is this a bug that I should report?
    FYI, the error below is probably not causing actual problems, but we
    should work to track don the source of the error. If possible, could you
    try running with the attached patch to uipc_syscalls.c and see if you get
    kernel printf output associated with the error? What I'd like to do is
    figure out what the particular source of the EINVAL is, since there are
    several possible sources.

    Thanks!

    Robert N M Watson

    Index: uipc_syscalls.c
    ================================================== =================
    RCS file: /home/ncvs/src/sys/kern/uipc_syscalls.c,v
    retrieving revision 1.200.2.3
    diff -u -r1.200.2.3 uipc_syscalls.c
    --- uipc_syscalls.c 31 Jan 2005 23:26:18 -0000 1.200.2.3
    +++ uipc_syscalls.c 17 Feb 2005 12:14:55 -0000
    -347,6 +347,7
    error = head->so_error;
    head->so_error = 0;
    ACCEPT_UNLOCK();
    + printf("accept: head->so_error %d\n", error);
    goto noconnection;
    }
    so = TAILQ_FIRST(&head->so_comp);

    Robert Watson Guest

Similar Threads

  1. kernel-source versus kernel-patch
    By Ismael Valladolid Torres in forum Debian
    Replies: 1
    Last Post: July 14th, 06:20 PM
  2. kernel 2.2.x or 2.4.x ?
    By Nicos Gollan in forum Debian
    Replies: 3
    Last Post: July 7th, 07:30 PM
  3. Replies: 15
    Last Post: July 3rd, 05:20 AM
  4. Kernel 2.4.20
    By Abrasive in forum Debian
    Replies: 2
    Last Post: June 30th, 01:50 PM
  5. Kernel 2.5.44
    By Nathan Poznick in forum Debian
    Replies: 3
    Last Post: June 30th, 02:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139