One question: Is is possible for you guys to put the replies at the top
of the reply? It's a lot easier to read from the top, as opposed to
falling asleep on the space bar in PINE. Thanks :-).
- Mike
On Mon, 4 Jan 1999, Catalin Bucur wrote:
> Kenneth Stephen wrote:
> >
> > My previous sending has obviously been chewed up by some malevolent server
> > on the 'net. Hence the repost...
> >
> > There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.
> >
> > ---------- Forwarded message ----------
> > Date: Sat, 2 Jan 1999 21:09:59 -0600 (CST)
> > From: Kenneth Stephen <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Whats with net-pf-5?
> >
> > Hi,
> >
> > I must be missing something obvious. Here is a boot script that is
> > part of the Debian boot process :
> >
> > #! /bin/sh
> > ifconfig lo 127.0.0.1
> > route add -net 127.0.0.0
> > IPADDR=192.168.0.1
> > NETMASK=255.255.255.0
> > NETWORK=192.168.0.0
> > BROADCAST=192.168.0.255
> > GATEWAY=192.168.0.1
> > ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
> > route add -net ${NETWORK}
> > [ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
> >
> > Right after the two 'ifconfig' statements, I get a message saying
> > that modprobe was unable to find the module net-pf-5. This is after a
> > fresh build of 2.0.36 (make config; make dep; make clean; make bzImage;
> > make modules; make modules_install).
> >
> > Kerneld is configured to autoload. I looked at the source code,
> > and here is where the error occurs : (from /usr/src/linux/net/socket.c)
> >
> > /*
> > * Perform the socket system call. we locate the appropriate
> > * family, then create a fresh socket.
> > */
> >
> > static int find_protocol_family(int family)
> > {
> > register int i;
> > for (i = 0; i < NPROTO; i++)
> > {
> > if (pops[i] == NULL)
> > continue;
> > if (pops[i]->family == family)
> > return i;
> > }
> > return -1;
> > }
> >
> > asmlinkage int sys_socket(int family, int type, int protocol)
> > {
> > int i, fd;
> > struct socket *sock;
> > struct proto_ops *ops;
> >
> > /* Locate the correct protocol family. */
> > i = find_protocol_family(family);
> >
> > #ifdef CONFIG_KERNELD
> > /* Attempt to load a protocol module if the find failed. */
> > if (i < 0)
> > {
> > char module_name[30];
> > sprintf(module_name,"net-pf-%d",family);
> > request_module(module_name);
> > i = find_protocol_family(family);
> > }
> > #endif
> >
> > Can anyone enlighten me?
> >
> > Kenneth
> >
> > There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.
>
> Text from /usr/doc/HOWTO/mini/Kerneld:
> ___________________________________________________________________________
> Some network protocols can be loaded as modules as well. The kernel
> asks kerneld for a protocol family (e.g. IPX) with a request for
> "net-pf-X" where X is a number indicating what family is wanted. E.g.
> net-pf-3 is AX.25, net-pf-4 is IPX and net-pf-5 is AppleTalk. (These
> numbers are determined by the AF_AX25, AF_IPX etc. definitions in the
> linux source file include/linux/socket.h). So to autoload the IPX
> module, you would need an entr like this in /etc/conf.modules:
> alias net-pf-4 ipx
> ___________________________________________________________________________
>
> --
> =/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\=
> \ Don't believe all you hear, /
> / spend all you have, \
> \ or sleep all you want. /
> /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
> \ Catalin Bucur, /
> / Hardware engineer. mailto:[EMAIL PROTECTED] \
> =/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\_/^\=
>
>