Re: 5.1-CURRENT hangs on disk i/o? sysctl_old_user() non-sleepable locks

From: Chris Shenton (chris_at_shenton.org)
Date: 06/19/03

  • Next message: Darryl Okahata: "Re: APM problem in 5.1-RELEASE"
    To: Don Lewis <truckman@FreeBSD.org>
    Date: 18 Jun 2003 19:49:09 -0400
    
    

    Don Lewis <truckman@FreeBSD.org> writes:

    > Try the very untested patch below ...

    > RCS file: /home/ncvs/src/sys/kern/uipc_syscalls.c,v
    > retrieving revision 1.150
    > Try the very untested patch below ...
    > diff -u -r1.150 uipc_syscalls.c
    > --- uipc_syscalls.c 12 Jun 2003 05:52:09 -0000 1.150
    > +++ uipc_syscalls.c 18 Jun 2003 03:14:42 -0000
    > @@ -1775,10 +1775,13 @@
    > */
    > if ((error = fgetvp_read(td, uap->fd, &vp)) != 0)
    > goto done;
    > + vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
    > if (vp->v_type != VREG || VOP_GETVOBJECT(vp, &obj) != 0) {
    > error = EINVAL;
    > + VOP_UNLOCK(vp, 0, td);
    > goto done;
    > }
    > + VOP_UNLOCK(vp, 0, td);

    Tried it, rebuilt kernel, rebooted, no affect :-(

    You were correct about apache using it. Doing a simple

      fetch http://pectopah/

    causes the error, dropping me into ddb if panic enabled. A "tr" shows
    the same trace as I submitted yesterday :-(

    Time to find that null modem cable.

    Thanks.
    _______________________________________________
    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"


  • Next message: Darryl Okahata: "Re: APM problem in 5.1-RELEASE"

    Relevant Pages

    • Re: make buildworld errors (libcam)
      ... On Wed, 3 Sep 2003, Don Lewis wrote: ... > The following patch works for me: ... > retrieving revision 1.157 ... A-Quadrat Automation GmbH ...
      (freebsd-current)
    • Re: 5.2-RC oerrs and collisions on dc0
      ... Don Lewis wrote: ... > retrieving revision 1.40 ... have no output errors or collisions. ... fetching a 181M file from it every 5 minutes, so I'll see how it goes, but I ...
      (freebsd-current)
    • Re: agp0 hang in 5.2.1-RELEASE
      ... > It can't be disabled at the loader prompt? ... It would need this untested patch: ... retrieving revision 1.9 ... diff -u -r1.16 agp_amd.c ...
      (freebsd-current)
    • Re: agp0 hang in 5.2.1-RELEASE
      ... > It can't be disabled at the loader prompt? ... It would need this untested patch: ... retrieving revision 1.9 ... diff -u -r1.16 agp_amd.c ...
      (freebsd-current)
    • Re: 5.2-RC oerrs and collisions on dc0
      ... > Don Lewis wrote: ... retrieving revision 1.40 ... diff -u -r1.40 if_dcreg.h ...
      (freebsd-current)