help w/panic under heavy load - 5.4

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Jul 24 15:42:02 GMT 2005


On 24.07.2005, at 16:19, Edwin wrote:
> (kgdb) f 13
> #13 0xc068f6e9 in ip_fastforward (m=0xc12e2300) at 
> /usr/src/sys/netinet/ip_fastfwd.c:572
> (kgdb) i loc
> ip = (struct ip *) 0xc12f000e
> m0 = (struct mbuf *) 0xc12f000e
> ro = {ro_rt = 0xc11ee420, ro_dst = {sa_len = 16 '\020', sa_family = 2 
> '\002',
>     sa_data = "\000\000ˬ\002\005\000\000\000\000\000\000\000"}}
> dst = (struct sockaddr_in *) 0xc76bfc3c
> ia = (struct in_ifaddr *) 0x0
> ifa = (struct ifaddr *) 0x0
> ifp = (struct ifnet *) 0xc0f91800
> odest = {s_addr = 84060352}
> dest = {s_addr = 84060352}
> sum = 0
> ip_len = 0
> error = 84060352
> hlen = -1057417216
> mtu = 0
> __func__ = "ip_fastforward"

error == 84060352 == dest.s_addr
hlen == -1057417216 == 0xc0f91800 == ifp

> (kgdb) f 12
> #12 0xc0692b74 in ip_fragment (ip=0xc12f000e, m_frag=0xc76bfc6c, 
> mtu=-1056775680, if_hwassist_flags=0, sw_csum=1)
>     at /usr/src/sys/netinet/ip_output.c:967
> 967			m->m_next = m_copy(m0, off, len);
> (kgdb) i loc
> mhip = (struct ip *) 0xc102e240
> m = (struct mbuf *) 0xc102e200
> mhlen = 20
> error = 0
> hlen = 20
> len = 1480
> off = 1500
> m0 = (struct mbuf *) 0xc12e2300
> firstlen = 1480
> mnext = (struct mbuf **) 0xc12e2304
> nfrags = 1

mtu (parameter) == -1056775680 == 0xc102e200 == m

your stack (or gdb) seems seriously broken

cheers
   simon

-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050724/27c45fa3/PGP.bin


More information about the freebsd-hackers mailing list