Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ftpd problems (probably kernel's fault)



On Mon, Apr 28, 2008 at 4:54 PM, Andrew Doran <ad%netbsd.org@localhost> wrote:
> On Mon, Apr 28, 2008 at 04:32:32PM +0200, Julio M. Merino Vidal wrote:
>
>  > I'm running NetBSD-current/amd64 as of two days ago or so, with a
>  > kernel from today, and ftpd does not seem to work.
>  >
>  > I can log into the machine with the anonymous user and list files,
>  > but whenever I try to get any of them, it gets stalled at the very
>  > beginning of the transmission (it says 0 KBs and is unable to
>  > calculate the ETA).  In some attempt, it transferred about 32 KBs
>  > and then got stalled.  When I cancel the transfer with ^C, ftp says:
>  >
>  >    ftp: Can't send abort message: No buffer space available
>  >
>  > Similarly, I've also got a stall when doing a ls of a long directory.
>  >
>  > It does not matter if the transfers happen locally or over the network;
>  > the problem is the same.
>
>  I haven't seen this. Do you have any unusual options enabled?

I can send you my kernel config if you want, but it is basically a
GENERIC minus all hardware drivers not needed by the machine, DEBUG
enabled, and PUFFS enabled.  Nothing unusual, I think, except for
PUFFS (but it is completely unused at the moment).

>  > I've also had two panics caused by ftpd, so this seems to be a kernel
>  > problem.  One of them said:
>  >
>  >    Stopped in pid 24619.1 (ftpd) at netbsd:mutex_exit+0xc: cmpxchgq
>  >
>  >    mutex_exit() at netbsd:mutex_exit+0xc
>  >    soclose() at netbsd:soclose+0x5d
>  >    soo_close() at netbsd:soo_close+0x1c
>  >    closef() at netbsd:closef+0x68
>  >    fd_close() at netbsd:fd_close+0x138
>  >    syscall() at netbsd:syscall+0x9a
>
>  Please run: ident $kernel | grep uipc

portal:~> ident /netbsd | grep uipc
     $NetBSD: uipc_domain.c,v 1.76 2008/04/24 11:38:36 ad Exp $
     $NetBSD: uipc_mbuf.c,v 1.126 2008/04/09 05:11:20 thorpej Exp $
     $NetBSD: uipc_mbuf2.c,v 1.26 2007/03/04 06:03:11 christos Exp $
     $NetBSD: uipc_proto.c,v 1.21 2008/04/24 11:38:36 ad Exp $
     $NetBSD: uipc_sem.c,v 1.24 2008/01/04 21:18:14 ad Exp $
     $NetBSD: uipc_socket.c,v 1.161 2008/04/27 14:26:58 ad Exp $
     $NetBSD: uipc_socket2.c,v 1.91 2008/04/24 11:38:36 ad Exp $
     $NetBSD: uipc_syscalls.c,v 1.130 2008/04/24 15:35:30 ad Exp $
     $NetBSD: uipc_usrreq.c,v 1.113 2008/04/27 11:29:12 ad Exp $
     $NetBSD: uipc_syscalls_40.c,v 1.6 2007/12/05 22:51:28 dyoung Exp $
     $NetBSD: uipc_syscalls_30.c,v 1.3 2007/12/20 23:02:45 dsl Exp $
     $NetBSD: uipc_syscalls_43.c,v 1.42 2008/04/24 11:38:36 ad Exp $

Thanks for the quick response.

-- 
Julio M. Merino Vidal <jmmv84%gmail.com@localhost>


Home | Main Index | Thread Index | Old Index