RE: Linux 2.1.125 & gated - boked

Jordan Mendelson (jordy@wserv.com)
Wed, 14 Oct 1998 13:15:39 -0400


> On Wed, 14 Oct 1998, Jordan Mendelson wrote:
>
> May by it's kinda miracle, but I do succesfully run gated-3.5.10 with ospf
> here ...
>
> Kernel is 2.1.125-ac2 with patched eepro100-1.0.3. Those complains are
> rather normal, you can safely ignore them. gateds 3.5.[89] did
> also produce
> a lot of similar crap with 2.1.1xx but did work. The same for 3.5.10.
>

Mine is 2.1.125 w/ eepro100 1.0.3 driver from cesdis (no ac*) and it simply
exits after that last message unfortunately. GDB reports:

Program received signal SIGSEGV, Segmentation fault.
0x8070b9f in sock2unix (ga=0x0, len=0x0) at sockaddr.c:860
860 switch (socktype(ga)) {
(gdb) back
#0 0x8070b9f in sock2unix (ga=0x0, len=0x0) at sockaddr.c:860
#1 0x805a9e0 in krt_build (tp=0x8104348, dest=0x8107eb8, mask=0x0,
krtp=0xbfffe760, router=0x8107ec0) at krt_rt_ioctl.c:130
#2 0x805ac5b in krt_change (tp=0x8104348, dest=0x8107eb8, mask=0x0,
old_krtp=0xbfffe760, new_krtp=0x0) at krt_rt_ioctl.c:216
#3 0x805b004 in krt_delete_dst (tp=0x8104348, dest=0x8107eb8, mask=0x0,
proto=2, state=0, n_gw=1, routers=0x812e5e4, ifaps=0x0)
at krt_rt_ioctl.c:380
#4 0x8055946 in krt_delq_process (tp=0x8104348) at krt.c:1203
#5 0x805967d in krt_init () at krt.c:3741
#6 0x80789c1 in task_proto_inits () at task.c:2721
#7 0x8080236 in main (argc=2, argv=0xbffffa04) at task.c:6446
#8 0x8049b0e in ___crt_dummy__ ()

So it appears it's breaking because ga is NULL (and not a struct).
(socktype() pulls (x)->a.ga_family). This is because the mask is set to 0
for some reason and this definatly doesn't happen on earlier kernels. I'll
investigate further..

Maybe ac2 fixed it.

> > KRT SEND DELETE 206.105.188 mask 0.0.0.0 router
> 206.105.188.4
> > flag
> > s <GW>2: Invalid argument

--
Jordan Mendelson     : http://jordy.wserv.com
Web Services, Inc.   : http://www.wserv.com

- 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/