Source-Changes archive

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

Re: CVS commit: src/sys



> Module Name:  src
> Committed By: dyoung
> Date:         Thu Jul 19 20:49:00 UTC 2007
> 
> Modified Files:
>       src/sys/conf: files
>       src/sys/kern: uipc_domain.c
>       src/sys/net: if.c if_strip.c route.c route.h rtsock.c
>       src/sys/netinet: if_arp.c if_atm.c in_pcb.c ip_carp.c ip_icmp.c
>           ip_input.c tcp_subr.c
>       src/sys/netinet6: icmp6.c in6.c in6_pcb.c in6_var.h ip6_input.c
>           ip6_var.h ip6protosw.h nd6.c nd6.h nd6_nbr.c nd6_rtr.c raw_ip6.c
>       src/sys/netiso: clnp_subr.c esis.c esis.h iso_snpac.c
>       src/sys/nfs: nfs_boot.c
> Added Files:
>       src/sys/net: link_proto.c
> 
> Log Message:
> Take steps to hide the radix_node implementation of the forwarding table
> from the forwarding table's users:

rt->rt_gateway was NULL after rt_setgate() because
pffinddomain(AF_LINK) failed.

YAMAMOTO Takashi

nfs_boot: trying DHCP/BOOTP
uvm_fault(0xc05378a0, 0, 2) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at  netbsd:arp_rtrequest+0x2f9:     movb    %al,0x4(
%edx)
db{0}> t
arp_rtrequest(1,c1cdcee0,c05bf5f4,c1cdcee0,3) at netbsd:arp_rtrequest+0x2f9
rtrequest1(1,c05bf5f4,c05bf628,c030c36a,ffffffff) at netbsd:rtrequest1+0x516
rtinit(c20dde00,1,1,2,2f) at netbsd:rtinit+0x86
in_ifinit(c1fbf058,c20dde00,c05bf978,0,8040691a) at netbsd:in_ifinit+0x25f
in_control(c1ccaee0,8040691a,c05bf968,c1fbf058,c0537e00) at netbsd:in_control+0x
d73
compat_ifioctl(c1ccaee0,8040691a,8040691a,c05bf968,c0537e00) at netbsd:compat_if
ioctl+0xa8
ifioctl(c1ccaee0,8040691a,c05bf968,c0537e00,c0537e00) at netbsd:ifioctl+0x2e4
nfs_boot_setaddress(c1fbf058,c0537e00,0,0,ffffffff) at netbsd:nfs_boot_setaddres
s+0xcf
nfs_bootdhcp(c20dec00,c0537e00,c05bfaf8,c02e9e9f,c0536902) at netbsd:nfs_bootdhc
p+0x3b
nfs_boot_init(c20dec00,c0537e00,104,25,0) at netbsd:nfs_boot_init+0x2f1
nfs_mountroot(c049ee19,c0495218,ccbeb380,c05361bc,c05361bc) at netbsd:nfs_mountr
oot+0x93
vfs_mountroot(c0537e00,0,14,0,0) at netbsd:vfs_mountroot+0x15c
main(fbff,c01002d2,0,0,0) at netbsd:main+0x2d8

db{0}> x/x domain_array,16
netbsd:domain_array:    0           c04faf60    c04f3cc0    0           0
netbsd:domain_array+0x14:       0           0           0           0
netbsd:domain_array+0x24:       0           0           0           0
netbsd:domain_array+0x34:       0           0           0           0
netbsd:domain_array+0x44:       c04fb860    0           0           0
netbsd:domain_array+0x54:       0
db{0}> 
netbsd:domain_array+0x58:       0           0           c04f5320    0
netbsd:domain_array+0x68:       0           0           c04fcb20    0
netbsd:domain_array+0x78:       0           0           0           231
netbsd:ksem_mutex+0x8:  0           0           0           0           0
netbsd:ksem_mutex+0x1c: 0           0           0           0           0


(gdb) l *(arp_rtrequest+0x2f9)
0xc0395cc9 is in arp_rtrequest (/siro/nbsd/src/sys/netinet/if_arp.c:473).
468                             /*
469                              * Case 1: This route should come from a route 
to iface.
470                              */
471                             rt_setgate(rt, (const struct sockaddr 
*)&null_sdl);
472                             gate = rt->rt_gateway;
473                             SDL(gate)->sdl_type = rt->rt_ifp->if_type;
474                             SDL(gate)->sdl_index = rt->rt_ifp->if_index;
475                             /*
476                              * Give this route an expiration time, even 
though
477                              * it's a "permanent" route, so that routes 
cloned
(gdb)



Home | Main Index | Thread Index | Old Index