Date: Thu, 21 Aug 2008 10:08:28 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla <wahjava@gmail.com> To: freebsd-net@freebsd.org Subject: rtfree: 0xffffff00030aa4b0 has 2 refs Message-ID: <20080821043828.GA42712@chateau.d.lf>
next in thread | raw e-mail | index | archive | help
--/04w6evG8XlLl3ft Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I'm getting following message in my dmesg, no. of times continuously. This = is=20 the first time, I received this message. rtfree: 0xffffff00030aa4b0 has 2 refs I received this message when I tried to connect to IPv6 internet via Hurric= ane=20 Electric's tunnel. Following are outputs of some of the commands on my box: ---->8---->8---- % dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p3 #3: Tue Jul 15 10:16:13 IST 2008 root@chateau.d.lf:/usr/obj/usr/src/sys/ULE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.02-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf43 Stepping =3D 3 Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P= GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=3D0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR> AMD Features=3D0x20100800<SYSCALL,NX,LM> Logical CPUs per core: 2 usable memory =3D 2128392192 (2029 MB) avail memory =3D 2054033408 (1958 MB) ACPI APIC Table: <INTEL D945GNT > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <INTEL D945GNT> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acp= i0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: <ACPI CPU> on acpi0 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 est0: <Enhanced SpeedStep Frequency Control> on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr f2d00000f2d device_attach: est0 attach returned 6 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 acpi_perf1: <ACPI CPU Frequency Control> on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: <ACPI CPU Frequency Control> on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr f2d00000f2d device_attach: est1 attach returned 6 p4tcc1: <CPU Frequency Thermal Control> on cpu1 acpi_button0: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0x20e0-0x20e7 mem 0x88100000-0x8817ffff,0x80000000-0x87ffffff,0x88180000-0x8819ffff irq 16 at device 2.0 on pci0 agp0: <Intel 82945G (945G GMCH) SVGA controller> on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 128M pcm0: <Intel 82801G High Definition Audio Controller> mem 0x881a0000-0x881a= 3fff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 28.2 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 28.3 on pci0 pci3: <ACPI PCI bus> on pcib3 uhci0: <UHCI (generic) USB controller> port 0x2080-0x209f irq 23 at device = 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <UHCI (generic) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <UHCI (generic) USB controller> port 0x2060-0x207f irq 19 at device = 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <UHCI (generic) USB controller> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: <UHCI (generic) USB controller> port 0x2040-0x205f irq 18 at device = 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: <UHCI (generic) USB controller> on uhci2 usb2: USB revision 1.0 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: <UHCI (generic) USB controller> port 0x2020-0x203f irq 16 at device = 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: <UHCI (generic) USB controller> on uhci3 usb3: USB revision 1.0 uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0x881a4000-0x881a43f= f irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0 usb4: USB revision 2.0 uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4 uhub4: 8 ports with 8 removable, self powered pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci4: <ACPI PCI bus> on pcib4 rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0x88009000-0x880090= ff irq 21 at device 0.0 on pci4 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:00:21:23:cc:ed rl0: [ITHREAD] pcm1: <Yamaha DS-1E (YMF740C)> mem 0x88000000-0x88007fff irq 22 at device 1= =2E0 on pci4 pcm1: <SigmaTel STAC9721/23 AC97 Codec> pcm1: [ITHREAD] fxp0: <Intel 82801GB (ICH7) 10/100 Ethernet> port 0x1100-0x113f mem 0x88008000-0x88008fff irq 20 at device 8.0 on pci4 miibus1: <MII bus> on fxp0 inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:13:20:b7:55:0a fxp0: [ITHREAD] isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20b0-0x20bf irq 18 at device 31.1 on = pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] atapci1: <Intel ICH7 SATA300 controller> port 0x20c8-0x20cf,0x20ec-0x20ef,0x20c0-0x20c7,0x20e8-0x20eb,0x20a0-0x20af irq 1= 9 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: <ATA channel 0> on atapci1 ata2: [ITHREAD] ata3: <ATA channel 1> on atapci1 ata3: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 ppbus0: [ITHREAD] plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio0: type 16550A sio0: [FILTER] orm0: <ISA Option ROM> at iomem 0xcb000-0xcbfff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: <American Power Conversion Back-UPS ES 650Y-IN FW:853.m3.I USB FW:m3, class 0/0, rev 1.10/0.06, addr 2> on uhub0 ugen1: <vendor 0x8086 product 0x0110, class 0/0, rev 1.10/0.01, addr 2> on = uhub3 Timecounters tick every 1.000 msec acd0: DVDR <TSSTcorpCD/DVDW SH-S182F/SB01> at ata0-slave UDMA33 ad5: 238475MB <Seagate ST3250824SV 3.ASJ> at ata2-slave SATA150 ad6: 152627MB <Seagate ST3160812AS 3.AAD> at ata3-master SATA150 pcm0: <HDA Codec: Sigmatel STAC9221> pcm0: <HDA Driver Revision: 20071129_0050> SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad5s5 is ext2fs//var/spool/news. GEOM_LABEL: Label for provider ad5s9 is ext2fs/lectures. GEOM_LABEL: Label for provider ad5s10 is ext2fs/archives. GEOM_LABEL: Label for provider ad6s2 is ext2fs//. GEOM_JOURNAL: Journal 499229287: ad6s4a contains data. GEOM_JOURNAL: Journal 499229287: ad6s4a contains journal. GEOM_JOURNAL: Journal ad6s4a clean. GEOM_JOURNAL: Journal 4273413447: ad6s4d contains data. GEOM_JOURNAL: Journal 4273413447: ad6s4d contains journal. GEOM_JOURNAL: Journal ad6s4d clean. GEOM_JOURNAL: Journal 172646561: ad6s4e contains data. GEOM_JOURNAL: Journal 172646561: ad6s4e contains journal. GEOM_JOURNAL: Journal ad6s4e clean. WARNING: Expected rawoffset 0, found 148665509 Trying to mount root from ufs:/dev/ad6s4a.journal plip0: [GIANT-LOCKED] plip0: [ITHREAD] fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 drm0: <Intel i945G> on vgapci0 info: [drm] AGP at 0x80000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] drm0: [ITHREAD] fxp0: link state changed to DOWN fxp0: link state changed to UP WARNING: attempt to net_add_domain(netgraph) after domainfinalize() rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs rtfree: 0xffffff00030aa4b0 has 2 refs % ifconfig rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:00:21:23:cc:ed inet6 fe80::200:21ff:fe23:cced%rl0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect (none) status: no carrier fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:13:20:b7:55:0a inet6 fe80::213:20ff:feb7:550a%fxp0 prefixlen 64 scopeid 0x2 inet 172.16.0.2 netmask 0xffffffe0 broadcast 172.16.0.31 inet6 fdxx:xxxx:xxxx::1 prefixlen 48 inet6 2001:470:9130:8000::1 prefixlen 64 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=3D108851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> = metric 0 mtu 1500 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ng0: flags=3D88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 = mtu 1492 inet 122.162.237.43 --> 122.160.220.173 netmask 0xffffffff inet6 fe80::200:21ff:fe23:cced%ng0 prefixlen 64 scopeid 0x5 gif0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280 tunnel inet 122.162.237.43 --> 216.66.80.26 inet6 fe80::200:21ff:fe23:cced%gif0 prefixlen 64 scopeid 0x6 % netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 122.160.220.173 UGS 0 34827 ng0 122.160.220.173 122.162.237.43 UH 1 0 ng0 127.0.0.1 127.0.0.1 UH 0 3337 lo0 172.16.0.0/27 link#2 UC 0 0 fxp0 172.16.0.31 ff:ff:ff:ff:ff:ff UHLWb 1 1 fxp0 Internet6: Destination Gateway Flags = Netif Expire ::/96 ::1 UGRS = lo0 =3D> default 2001:470:1f08:3b7::1 UGS = gif0 ::1 ::1 UHL = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 2001:470:9130:8000::/64 link#2 UC = fxp0 2001:470:9130:8000::1 00:13:20:b7:55:0a UHL = lo0 fdcf:xxxx:xxxx::/48 link#2 UC = fxp0 fdcf:xxxx:xxxx::1 00:13:20:b7:55:0a UHL = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%rl0/64 link#1 UC = rl0 fe80::200:21ff:fe23:cced%rl0 00:00:21:23:cc:ed UHL = lo0 fe80::%fxp0/64 link#2 UC = fxp0 fe80::213:20ff:feb7:550a%fxp0 00:13:20:b7:55:0a UHL = lo0 fe80::%lo0/64 fe80::1%lo0 U = lo0 fe80::1%lo0 link#4 UHL = lo0 fe80::%ng0/64 link#5 UC = ng0 fe80::200:21ff:fe23:cced%ng0 link#5 UHL = lo0 fe80::%gif0/64 link#6 UC = gif0 fe80::200:21ff:fe23:cced%gif0 link#6 UHL = lo0 ff01:1::/32 link#1 UC = rl0 ff01:2::/32 link#2 UC = fxp0 ff01:4::/32 ::1 UC = lo0 ff01:5::/32 link#5 UC = ng0 ff01:6::/32 link#6 UC = gif0 ff02::/16 ::1 UGRS = lo0 ff02::%rl0/32 link#1 UC = rl0 ff02::%fxp0/32 link#2 UC = fxp0 ff02::%lo0/32 ::1 UC = lo0 ff02::%ng0/32 link#5 UC = ng0 ff02::%gif0/32 link#6 UC = gif0 % traceroute6 -I -n 2001:4860:0:2001::68 traceroute6 to 2001:4860:0:2001::68 (2001:4860:0:2001::68) from 2001:470:9130:8000::1, 64 hops max, 16 byte packets 1 2001:470:1f08:3b7::1 254.691 ms 255.460 ms 254.047 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * ^C ---->8---->8---- This configuration works fine for me, except for now. The technical support= =20 person at the HE's end told their is no problem at HE's end, and it servers= are=20 working fine. On googling I found a similar problem[1] reported on freebsd-current last y= ear.=20 And similar to what mentioned in the diff[2] in the followup[3], I found=20 following in my sys/netinet6/in6_gif.c, wondering if it has to do anything = with=20 the issue. Please note the calls to the rtfree() function. Shouldn't that c= all=20 be replaced with RTFREE_LOCKED(). This is just a guess, not sure if that ha= s=20 anything to do with it. 365 if (!rt || rt->rt_ifp !=3D ifp) { 366 #if 0 367 char ip6buf[INET6_ADDRSTRLEN]; 368 log(LOG_WARNING, "%s: packet from %s dropped " 369 "due to ingress filter\n", if_name(GIF2IFP(= sc)), 370 ip6_sprintf(ip6buf, &sin6.sin6_addr)); 371 #endif 372 if (rt) 373 rtfree(rt); 374 return 0; 375 } 376 rtfree(rt); 377 } 378 379 return 128 * 2; 380 } Refernces: [1] - http://lists.freebsd.org/pipermail/freebsd-current/2007-August/076401= =2Ehtml [2] -=20 http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070828/1ba= d9902/rt-0001.bin [3] - =20 http://lists.freebsd.org/pipermail/freebsd-current/2007-August/076494.html Thanks Ashish Shukla -- =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkis8UMACgkQHy+EEHYuXnSeUACgv7dm3lRzZLpMb6M+HShSahd7 CDoAoLuurJ3vy6EeyTNujsNXBjZ42jM3 =codE -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821043828.GA42712>