pppd and "free list corrupted" in 2.1.25/2.1.26

Trevor Johnson (trevor@blues.jpj.net)
Sat, 8 Feb 1997 09:18:08 -0800 (PST)


Meino Christian Cramer wrote:

> I am just using linux kernel v2.1.26 and have encountered
> two things, with might have something to do with the kernel
> and its way to talk to ppp...
[...]
>
> Second thing, more serious:
> After closing the connection, I played around with pppstats.
> It showed zero packets transfered currently -- seemed to
> be normal, but why not reporting
>
> ioctl(SIOCGPPPSTATS): No such device ?
>
> (as showed after rebooting...)
>
> Then I do a "man pppstats" and the whole thing hanged.
> Rien ne vas plus.
>
> After rebooting I found a
>
> Feb 8 11:16:17 solfire kernel: Kernel panic: Free list corrupted
>
> in the syslog file.

I got this message too. I was running pppd 2.3b3 under Linux 2.1.25 with
Alan Cox' patches, and my modem hung up (call waiting). A minute and a
half later, the message appeared on the console that syslog feeds, but it
didn't make it onto disk. I got the same message whenever I tried to
start a new program after that, and couldn't reboot cleanly.

> I have also two question. Every time I reboot the kernel, I am
> prompted with
>
> route forgot to specify route netmask.

--- linux-2.1.23-dist/net/ipv4/fib.c Sun Jan 26 10:54:43 1997
+++ linux/net/ipv4/fib.c Sun Jan 26 10:58:35 1997
@@ -1602,7 +1602,6 @@
} else {
u32 mask = ((struct
sockaddr_in*)&r.rt_genmask)->sin_addr.s_addr;
if (r.rt_genmask.sa_family != AF_INET) {
- printk(KERN_WARNING "%s forgot to specify route netmask.\n", current->comm);
if (r.rt_genmask.sa_family)
return -EAFNOSUPPORT;
}

> Another thing:
>
> Feb 7 18:45:06 solfire modprobe: Can't locate module net-pf-4
> Feb 7 18:45:06 solfire modprobe: Can't locate module net-pf-5

Put in /etc/conf.modules:

alias net-pf-3 off #ax25
alias net-pf-4 off #ipx
alias net-pf-5 off #appletalk
___
Trevor Johnson <trevor@jpj.net>