Re: problem with gpm (also X11) in 2.1.128/2.1.129

John Ellson (ellson@lucent.com)
Sat, 21 Nov 1998 23:44:33 -0500


Tom Eastep wrote:
>
> John Ellson wrote:
> >
> > socket(PF_UNIX, SOCK_STREAM, 0) = -1 ENOSYS (Function not
> > implemented)
> > socket(PF_UNIX, SOCK_STREAM, 0) = -1 ENOSYS (Function not
> > implemented)
> > socket(PF_UNIX, SOCK_STREAM, 0) = -1 EINVAL (Invalid
> > argument)
> > write(2, "gpm: socket(): Invalid argument\n"..., 32gpm: socket():
> > Invalid argument) = 32
> > _exit(1)
>
> Sounds like you have CONF_UNIX=n
>
> --
> Tom Eastep
> COMPAQ Computer Corporation
> Enterprise Computing Group
> Tandem Division
> tom.eastep@compaq.com

Thanks Tom, that was the clue I needed.

Actually, I had "CONFIG_UNIX=m" in the network options. When I read
the help in menuconfig it said that I should have
alias net-pf-1 unix
in /etc/conf.modules, but that didn't work.

Then I rebuilt the kernel with "CONFIG_UNIX=y" (and a couple
of other network options from "m" to "y") and now the
problem has gone away.

John Ellson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/