From owner-freebsd-net@FreeBSD.ORG Sun Sep 27 00:36:44 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA98106566B; Sun, 27 Sep 2009 00:36:43 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A49988FC13; Sun, 27 Sep 2009 00:36:43 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8R0ah69052934; Sun, 27 Sep 2009 00:36:43 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8R0ahTE052929; Sun, 27 Sep 2009 00:36:43 GMT (envelope-from linimon) Date: Sun, 27 Sep 2009 00:36:43 GMT Message-Id: <200909270036.n8R0ahTE052929@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/139162: [fwip] [panic] 8.0-RC1 panics if using IP over firewire X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 00:36:44 -0000 Old Synopsis: [panic] 8.0-RC1 panics if using IP over firewire (fwip) New Synopsis: [fwip] [panic] 8.0-RC1 panics if using IP over firewire Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Sep 27 00:36:15 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=139162 From owner-freebsd-net@FreeBSD.ORG Sun Sep 27 08:20:04 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863711065676 for ; Sun, 27 Sep 2009 08:20:04 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1ABBA8FC14 for ; Sun, 27 Sep 2009 08:20:03 +0000 (UTC) Received: from [192.168.1.3] (AVelizy-154-1-29-11.w82-124.abo.wanadoo.fr [82.124.207.11]) (authenticated bits=0) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n8R8Jv6s002909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 27 Sep 2009 10:20:02 +0200 Message-ID: <4ABF2030.8010302@obspm.fr> Date: Sun, 27 Sep 2009 10:20:00 +0200 From: Albert Shih User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <20090923101750.GC84230@obspm.fr> <20090924180914.GA1417@weongyo> <20090925195112.GE37873@obspm.fr> <7E9D5842-B5BF-424D-AC27-FC2B9D043C96@FreeBSD.org> <20090926223125.GD1417@weongyo> In-Reply-To: <20090926223125.GD1417@weongyo> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Sun, 27 Sep 2009 10:20:02 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.95.2 at blade2-ext.obspm.fr X-Virus-Status: Clean Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: zyd & TEW-424UB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 08:20:04 -0000 Le 27/09/2009 00:31, Weongyo Jeong a écrit : > >> > >> Controller /dev/usb6: > >> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > >> Intel(0x0000), rev 1.00 > >> port 1 powered > >> port 2 addr 2: high speed, power 500 mA, config 1, > >> RTL8187B_WLAN_Adapter(0x8189), vendor 0x0bda(0x0bda), rev 2.00 > >> port 3 powered > >> port 4 powered > >> port 5 powered > >> port 6 powered > > > > Maybe this is a urtw device? > > Yes it looks one of urtw devices. Albert, could you please try with > urtw(4)? > Can you confirme the urtw is only in 8- and not in 7-Stable ? I don't find any if_urtw if my /boot/kernel/ At this time do you think I can upgrade to 8-current or 8-stable (if it's exist) ? The last time I try to upgrade to 8-current my laptop don't boot.... and this is my work'laptop ... Regards. From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 11:07:00 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C9F3106568D for ; Mon, 28 Sep 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 58C298FC1F for ; Mon, 28 Sep 2009 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SB700j064101 for ; Mon, 28 Sep 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SB6x00064097 for freebsd-net@FreeBSD.org; Mon, 28 Sep 2009 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Sep 2009 11:06:59 GMT Message-Id: <200909281106.n8SB6x00064097@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/139162 net [fwip] [panic] 8.0-RC1 panics if using IP over firewir o kern/139145 net [ip6] IPv6 blackhole / reject routes broken o kern/139117 net [lagg] + wlan boot timing (EBUSY) o kern/139113 net [arp] removing IP alias doesn't delete permanent arp e o kern/139093 net [msk] msk FIFO rx overrun o kern/139058 net [ipfilter] mbuf cluster leak on FreeBSD 7.2 o kern/138999 net [libc] lighttpd/php-cgi with freebsd sendfile(2) enabl o kern/138850 net [dummynet] dummynet doesn't work correctly on a bridge o kern/138782 net [panic] sbflush_internal: cc 0 || mb 0xffffff004127b00 o kern/138739 net [wpi] wpi(4) does not work very well under 8.0-BETA4 o kern/138694 net [bge] FreeBSD 6.3 release does not recognize Broadcom p kern/138691 net [netinet] [patch] Multicast: Keep membership and filte p kern/138690 net [netinet] [patch] multicast: uninited memory used in f p kern/138689 net [netinet] patch] Multicast: IP_DROP_MEMBERSHIP should o amd64/138688 net [rum] possibly broken on 8 Beta 4 amd64: able to wpa a o kern/138678 net [lo] FreeBSD does not assign linklocal address to loop o kern/138676 net [route] after buildworld not work local routes [regres o kern/138666 net [multicast] [panic] not working multicast through igmp o kern/138660 net [igb] igb driver troubles in 8.0-BETA4 o kern/138652 net TCP window scaling value calculated incorrectly? o kern/138620 net [lagg] [patch] lagg port bpf-writes blocked o kern/138427 net [wpi] [panic] Kernel panic after trying set monitor wl o kern/138407 net [gre] gre(4) interface does not come up after reboot o kern/138390 net [gif] [patch] NULL pointer dereference in gif_input() o kern/138378 net [altq] [patch] Memory leak in hfsc_class_modify() in f o kern/138332 net [tun] [lor] ifconfig tun0 destroy causes LOR on 8.0-BE o kern/138266 net [panic] kernel panic when udp benchmark test used as r o kern/138177 net [ipfilter] FreeBSD crashing repeatedly in ip_nat.c:257 o kern/138130 net [netinet] [patch] Resource leak in LibAliasRefreshModu o kern/138046 net [tcp] tcp sockets stay in SYN_SENT even after receivin o kern/137881 net [netgraph] [panic] ng_pppoe fatal trap 12 o bin/137841 net [patch] wpa_supplicant(8) cannot verify SHA256 signed p kern/137795 net [sctp] [panic] mtx_lock() of destroyed mutex o kern/137776 net [rum] panic in rum(4) driver on 8.0-BETA2 o kern/137775 net [netgraph] [patch] Add XMIT_FAILOVER to ng_one2many o bin/137641 net ifconfig(8): various problems with "vlan_device.vlan_i o kern/137592 net [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o bin/137484 net [patch] Integer overflow in wpa_supplicant(8) base64 e o kern/137392 net [ip] [panic] crash in ip_nat.c line 2577 o kern/137372 net [ral] FreeBSD doesn't support wireless interface from o kern/137317 net [tcp] logs full of syncache problems o kern/137292 net [ste] DFE-580TX not working properly o kern/137279 net [bge] [panic] Page fault (fatal trap 12) NFS server w/ o kern/137170 net [ath] atheros AR9285 not recognised p kern/137164 net [netinet] [patch] assert panic imo_match_source() o kern/137089 net [lagg] lagg falsely triggers IPv6 duplicate address de o bin/136994 net [patch] ifconfig(8) print carp mac address o kern/136943 net [wpi] [lor] wpi0_com_lock / wpi0 o kern/136911 net [netgraph] [panic] system panic on kldload ng_bpf.ko t o kern/136876 net [bge] bge will not resume properly after suspend o kern/136836 net [ath] atheros card stops functioning after about 12 ho o kern/136618 net [pf][stf] panic on cloning interface without unit numb o kern/136482 net [age] Attansic L1 Gigabit Ethernet recieves multicasts o kern/136426 net [panic] spawning several dhclients in parallel panics o kern/136168 net [em] em driver initialization fails on Intel 5000PSL m o kern/135836 net [bce] bce BCM5709 Watchdog after warm boot - ok after o kern/135502 net [periodic] Warning message raised by rtfree function i o kern/135222 net [igb] low speed routing between two igb interfaces o kern/135067 net [patch] [fib] Incorrect KASSERTs in sys/net/route.c o kern/134956 net [em] FreeBSD 7.1 & 7.2, Intel PRO/1000 PT Quad Port Se o kern/134931 net [route] [fib] Route messages sent to all socket listen o kern/134658 net [bce] bce driver fails on PowerEdge m610 blade. o kern/134583 net [hang] Machine with jail freezes after random amount o o kern/134531 net [route] [panic] kernel crash related to routes/zebra o kern/134401 net [msk] [panic] Kernel Fatal trap 12: page fault while i o kern/134369 net [route] [ip6] IPV6 in Head broken for routing table up o kern/134168 net [ral] ral driver problem on RT2525 2.4GHz transceiver o kern/134157 net [dummynet] dummynet loads cpu for 100% and make a syst o kern/134079 net [em] "em0: Invalid MAC address" in FreeBSD-Current ( 8 o kern/133969 net [dummynet] [panic] Fatal trap 12: page fault while in o kern/133968 net [dummynet] [panic] dummynet kernel panic o kern/133902 net [tun] Killing tun0 iface ssh tunnel causes Panic Strin o kern/133786 net [netinet] [patch] ip_input might cause kernel panic o kern/133736 net [udp] ip_id not protected ... o kern/133613 net [wpi] [panic] kernel panic in wpi(4) o kern/133595 net [panic] Kernel Panic at pcpu.h:195 o kern/133572 net [ppp] [hang] incoming PPTP connection hangs the system o kern/133490 net [bpf] [panic] 'kmem_map too small' panic on Dell r900 o kern/133328 net [bge] [panic] Kernel panics with Windows7 client o kern/133235 net [netinet] [patch] Process SIOCDLIFADDR command incorre o kern/133218 net [carp] [hang] use of carp(4) causes system to freeze f kern/133213 net arp and sshd errors on 7.1-PRERELEASE o kern/133204 net [msk] msk driver timeouts o kern/133060 net [ipsec] [pfsync] [panic] Kernel panic with ipsec + pfs o kern/132991 net [bge] if_bge low performance problem f bin/132911 net ip6fw(8): argument type of fill_icmptypes is wrong and o kern/132889 net [ndis] [panic] NDIS kernel crash on load BCM4321 AGN d o kern/132885 net [wlan] 802.1x broken after SVN rev 189592 o conf/132851 net [fib] [patch] allow to setup fib for service running f o kern/132832 net [netinet] [patch] tcp_output() might generate invalid o bin/132798 net [patch] ggatec(8): ggated/ggatec connection slowdown p o kern/132734 net [ifmib] [panic] panic in net/if_mib.c o kern/132722 net [ath] Wifi ath0 associates fine with AP, but DHCP or I o kern/132705 net [libwrap] [patch] libwrap - infinite loop if hosts.all o kern/132672 net [ndis] [panic] ndis with rt2860.sys causes kernel pani o kern/132669 net [xl] 3c905-TX send DUP! in reply on ping (sometime) o kern/132625 net [iwn] iwn drivers don't support setting country o kern/132554 net [ipl] There is no ippool start script/ipfilter magic t o kern/132354 net [nat] Getting some packages to ipnat(8) causes crash o kern/132285 net [carp] alias gives incorrect hash in dmesg o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o conf/132179 net [patch] /etc/network.subr: ipv6 rtsol on incorrect wla o kern/132107 net [carp] carp(4) advskew setting ignored when carp IP us o kern/131781 net [ndis] ndis keeps dropping the link o kern/131776 net [wi] driver fails to init o kern/131753 net [altq] [panic] kernel panic in hfsc_dequeue o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm o kern/131549 net ifconfig(8) can't clear 'monitor' mode on the wireless o kern/131536 net [netinet] [patch] kernel does allow manipulation of su o bin/131365 net route(8): route add changes interpretation of network o kern/131162 net [ath] Atheros driver bugginess and kernel crashes o kern/131153 net [iwi] iwi doesn't see a wireless network f kern/131087 net [ipw] [panic] ipw / iwi - no sent/received packets; iw f kern/130820 net [ndis] wpa_supplicant(8) returns 'no space on device' o kern/130628 net [nfs] NFS / rpc.lockd deadlock on 7.1-R o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a o kern/130525 net [ndis] [panic] 64 bit ar5008 ndisgen-erated driver cau o kern/130311 net [wlan_xauth] [panic] hostapd restart causing kernel pa o kern/130109 net [ipfw] Can not set fib for packets originated from loc f kern/130059 net [panic] Leaking 50k mbufs/hour o kern/129750 net [ath] Atheros AR5006 exits on "cannot map register spa f kern/129719 net [nfs] [panic] Panic during shutdown, tcp_ctloutput: in o kern/129580 net [ndis] Netgear WG311v3 (ndis) causes kenel trap at boo o kern/129517 net [ipsec] [panic] double fault / stack overflow o kern/129508 net [carp] [panic] Kernel panic with EtherIP (may be relat o kern/129352 net [xl] [patch] xl0 watchdog timeout o kern/129219 net [ppp] Kernel panic when using kernel mode ppp o kern/129197 net [panic] 7.0 IP stack related panic o kern/129135 net [vge] vge driver on a VIA mini-ITX not working o bin/128954 net ifconfig(8) deletes valid routes o kern/128917 net [wpi] [panic] if_wpi and wpa+tkip causing kernel panic o kern/128884 net [msk] if_msk page fault while in kernel mode o kern/128840 net [igb] page fault under load with igb/LRO o bin/128602 net [an] wpa_supplicant(8) crashes with an(4) o kern/128598 net [bluetooth] WARNING: attempt to net_add_domain(bluetoo o kern/128448 net [nfs] 6.4-RC1 Boot Fails if NFS Hostname cannot be res o conf/128334 net [request] use wpa_cli in the "WPA DHCP" situation o bin/128295 net [patch] ifconfig(8) does not print TOE4 or TOE6 capabi o bin/128001 net wpa_supplicant(8), wlan(4), and wi(4) issues o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t o kern/127834 net [ixgbe] [patch] wrong error counting o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs f bin/127719 net [arp] arp: Segmentation fault (core dumped) s kern/127587 net [bge] [request] if_bge(4) doesn't support BCM576X fami f kern/127528 net [icmp]: icmp socket receives icmp replies not owned by o bin/127192 net routed(8) removes the secondary alias IP of interface f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o kern/127102 net [wpi] Intel 3945ABG low throughput o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126924 net [an] [patch] printf -> device_printf and simplify prob o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o bin/126822 net wpa_supplicant(8): WPA PSK does not work in adhoc mode o kern/126714 net [carp] CARP interface renaming makes system no longer o kern/126695 net rtfree messages and network disruption upon use of if_ o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under o kern/126339 net [ipw] ipw driver drops the connection o kern/126214 net [ath] txpower problem with Atheros wifi card o kern/126075 net [inet] [patch] internet control accesses beyond end of o bin/125922 net [patch] Deadlock in arp(8) o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg f kern/125502 net [ral] ifconfig ral0 scan produces no output unless in o kern/125258 net [socket] socket's SO_REUSEADDR option does not work o kern/125239 net [gre] kernel crash when using gre o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 net [ieee80211] net80211 discards power-save queue packets o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses o kern/124160 net [libc] connect(2) function loops indefinitely o kern/124127 net [msk] watchdog timeout (missed Tx interrupts) -- recov o kern/124021 net [ip6] [panic] page fault in nd6_output() o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. p kern/123961 net [vr] [patch] Allow vr interface to handle vlans o kern/123892 net [tap] [patch] No buffer space available o kern/123890 net [ppp] [panic] crash & reboot on work with PPP low-spee o kern/123858 net [stf] [patch] stf not usable behind a NAT o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o bin/123633 net ifconfig(8) doesn't set inet and ether address in one f kern/123617 net [tcp] breaking connection when client downloading file o kern/123603 net [tcp] tcp_do_segment and Received duplicate SYN o kern/123559 net [iwi] iwi periodically disassociates/associates [regre o bin/123465 net [ip6] route(8): route add -inet6 -interfac o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool o kern/123429 net [nfe] [hang] "ifconfig nfe up" causes a hard system lo o kern/123347 net [bge] bge1: watchdog timeout -- linkstate changed to D o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c o kern/123256 net [wpi] panic: blockable sleep lock with wpi(4) f kern/123172 net [bce] Watchdog timeout problems with if_bce o kern/123160 net [ip] Panic and reboot at sysctl kern.polling.enable=0 o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices o kern/122928 net [em] interface watchdog timeouts and stops receiving p f kern/122839 net [multicast] FreeBSD 7 multicast routing problem o kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge o kern/122772 net [em] em0 taskq panic, tcp reassembly bug causes radix o kern/122743 net [mbuf] [panic] vm_page_unwire: invalid wire count: 0 o kern/122697 net [ath] Atheros card is not well supported o kern/122685 net It is not visible passing packets in tcpdump(1) o kern/122551 net [bge] Broadcom 5715S no carrier on HP BL460c blade usi o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o kern/122195 net [ed] Alignment problems in if_ed o kern/122058 net [em] [panic] Panic on em1: taskq o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup [reg o bin/121895 net [patch] rtsol(8)/rtsold(8) doesn't handle managed netw o kern/121872 net [wpi] driver fails to attach on a fujitsu-siemens s711 s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o kern/121624 net [em] [regression] Intel em WOL fails after upgrade to o kern/121555 net [panic] Fatal trap 12: current process = 12 (swi1: net o kern/121443 net [gif] [lor] icmp6_input/nd6_lookup o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o bin/121359 net [patch] ppp(8): fix local stack overflow in ppp o kern/121298 net [em] [panic] Fatal trap 12: page fault while in kernel o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o kern/121181 net [panic] Fatal trap 3: breakpoint instruction fault whi o kern/121080 net [bge] IPv6 NUD problem on multi address config on bge0 o kern/120966 net [rum] kernel panic with if_rum and WPA encryption p docs/120945 net [patch] ip6(4) man page lacks documentation for TCLASS o kern/120566 net [request]: ifconfig(8) make order of arguments more fr o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/120266 net [udp] [panic] gnugk causes kernel panic when closing U o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o bin/120060 net routed(8) deletes link-level routes in the presence of o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o kern/119432 net [arp] route add -host -iface causes arp e o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr a bin/118987 net ifconfig(8): ifconfig -l (address_family) does not wor o sparc/118932 net [panic] 7.0-BETA4/sparc-64 kernel panic in rip_output a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o kern/118727 net [netgraph] [patch] [request] add new ng_pf module a kern/118238 net [bce] [patch] bce driver shows "no carrier" on Intel S s kern/117717 net [panic] Kernel panic with Bittorrent client. o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117423 net [vlan] Duplicate IP on different interfaces o bin/117339 net [patch] route(8): loading routing management commands o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o kern/117043 net [em] Intel PWLA8492MT Dual-Port Network adapter EEPROM o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o bin/116643 net [patch] [request] fstat(1): add INET/INET6 socket deta o kern/116328 net [bge]: Solid hang with bge interface o kern/116185 net [iwi] if_iwi driver leads system to reboot o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/115019 net [netgraph] ng_ether upper hook packet flow stops on ad o kern/115002 net [wi] if_wi timeout. failed allocation (busy bit). ifco o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o kern/113895 net [xl] xl0 fails on 6.2-RELEASE but worked fine on 5.5-R o kern/113432 net [ucom] WARNING: attempt to net_add_domain(netgraph) af o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o kern/112570 net [bge] packet loss with bge driver on BCM5704 chipset o bin/112557 net [patch] ppp(8) lock file should not use symlink name o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/111457 net [ral] ral(4) freeze o kern/110140 net [ipw] ipw fails under load o kern/109733 net [bge] bge link state issues [regression] o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o kern/109251 net [re] [patch] if_re cardbus card won't attach o bin/108895 net pppd(8): PPPoE dead connections on 6.2 [regression] o kern/108542 net [bce] Huge network latencies with 6.2-RELEASE / STABLE o kern/107944 net [wi] [patch] Forget to unlock mutex-locks o kern/107850 net [bce] bce driver link negotiation is faulty o conf/107035 net [patch] bridge(8): bridge interface given in rc.conf n o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/106243 net [nve] double fault panic in if_nve.c on high loads o kern/105945 net Address can disappear from network interface s kern/105943 net Network stack may modify read-only mbuf chain copies o bin/105925 net problems with ifconfig(8) and vlan(4) [regression] o kern/105348 net [ath] ath device stopps TX o kern/104851 net [inet6] [patch] On link routes not configured when usi o kern/104751 net [netgraph] kernel panic, when getting info about my tr o kern/104485 net [bge] Broadcom BCM5704C: Intermittent on newer chip ve o kern/103191 net Unpredictable reboot o kern/103135 net [ipsec] ipsec with ipfw divert (not NAT) encodes a pac o conf/102502 net [netgraph] [patch] ifconfig name does't rename netgrap o kern/102035 net [plip] plip networking disables parallel port printing o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/100709 net [libc] getaddrinfo(3) should return TTL info o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o kern/98597 net [inet6] Bug in FreeBSD 6.1 IPv6 link-local DAD procedu o bin/98218 net wpa_supplicant(8) blacklist not working f bin/97392 net ppp(8) hangs instead terminating o kern/97306 net [netgraph] NG_L2TP locks after connection with failed f kern/96268 net [socket] TCP socket performance drops by 3000% if pack o kern/96030 net [bfe] [patch] Install hangs with Broadcomm 440x NIC in o kern/95519 net [ral] ral0 could not map mbuf o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95267 net packet drops periodically appear s kern/94863 net [bge] [patch] hack to get bge(4) working on IBM e326m o kern/94162 net [bge] 6.x kenel stale with bge(4) o kern/93886 net [ath] Atheros/D-Link DWL-G650 long delay to associate f kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo o kern/93019 net [ppp] ppp and tunX problems: no traffic after restarti o kern/92880 net [libc] [patch] almost rewritten inet_network(3) functi f kern/92552 net A serious bug in most network drivers from 5.X to 6.X s kern/92279 net [dc] Core faults everytime I reboot, possible NIC issu o kern/92090 net [bge] bge0: watchdog timeout -- resetting o kern/91859 net [ndis] if_ndis does not work with Asus WL-138 s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o kern/91594 net [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/10 o kern/91364 net [ral] [wep] WF-511 RT2500 Card PCI and WEP o kern/91311 net [aue] aue interface hanging o kern/90890 net [vr] Problems with network: vr0: tx shutdown timeout s kern/90086 net [hang] 5.4p8 on supermicro P8SCT hangs during boot if f kern/88082 net [ath] [panic] cts protection for ath0 causes panic o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k o kern/87506 net [vr] [patch] Fix alias support on vr interfaces s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter o kern/85780 net 'panic: bogus refcnt 0' in routing/ipv6 o bin/85445 net ifconfig(8): deprecated keyword to ifconfig inoperativ o kern/85266 net [xe] [patch] xe(4) driver does not recognise Xircom XE o kern/84202 net [ed] [patch] Holtek HT80232 PCI NIC recognition on Fre o bin/82975 net route change does not parse classfull network as given o kern/82497 net [vge] vge(4) on AMD64 only works when loaded late, not f kern/81644 net [vge] vge(4) does not work properly when loaded as a K s kern/81147 net [net] [patch] em0 reinitialization while adding aliase o kern/80853 net [ed] [patch] add support for Compex RL2000/ISA in PnP o kern/79895 net [ipf] 5.4-RC2 breaks ipfilter NAT when using netgraph f kern/79262 net [dc] Adaptec ANA-6922 not fully supported o bin/79228 net [patch] extend arp(8) to be able to create blackhole r o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/77341 net [ip6] problems with IPV6 implementation o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o kern/75873 net Usability problem with non-RFC-compliant IP spoof prot s kern/75407 net [an] an(4): no carrier after short time f kern/73538 net [bge] problem with the Broadcom BCM5788 Gigabit Ethern o kern/71469 net default route to internet magically disappears with mu o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o kern/64556 net [sis] [patch] if_sis short cable fix problems with Net s kern/60293 net [patch] FreeBSD arp poison patch o kern/54383 net [nfs] [patch] NFS root configurations without dynamic f i386/45773 net [bge] Softboot causes autoconf failure on Broadcom 570 s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr s kern/39937 net ipstealth issue a kern/38554 net [patch] changing interface ipaddress doesn't seem to w o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o kern/31647 net [libc] socket calls can return undocumented EINVAL o kern/30186 net [libc] getaddrinfo(3) does not handle incorrect servna o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c o conf/23063 net [arp] [patch] for static ARP tables in rc.network 360 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 12:35:12 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03F74106568D for ; Mon, 28 Sep 2009 12:35:12 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id B79AC8FC12 for ; Mon, 28 Sep 2009 12:35:11 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 1D428185FBB9B; Mon, 28 Sep 2009 14:07:37 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8SC7Y1r003706; Mon, 28 Sep 2009 14:07:34 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 28 Sep 2009 14:07:34 +0200 From: Matthias Apitz To: freebsd-net@freebsd.org Message-ID: <20090928120734.GA3669@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Subject: WLAN performance Windows/XP ./. FreeBSD 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 12:35:12 -0000 Hello, I am wondering what could cause the following WLAN performance diff between a XP and 8-CURRENT laptop, sitting side by side and connected to the same AP: OS XP 8-CURRENT NIC Intel 3945ABG Atheros 5424/2424 Ping 6ms 116ms downstream 9.05Mbit/s 6.58Mbit/s upstream 6.58Mbit/s 4.55Mbit/s measured with http://www.speedtest.net/ against the same remote server at the same time... Any ideas? Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 14:01:54 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F18B3106568F for ; Mon, 28 Sep 2009 14:01:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 813808FC17 for ; Mon, 28 Sep 2009 14:01:54 +0000 (UTC) Received: by bwz27 with SMTP id 27so3182668bwz.43 for ; Mon, 28 Sep 2009 07:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dHTL4nyeJ0ktigFbdpmGe1wnyIEC6z/shgFEKnVEphY=; b=W4k4bJW4QealanvgoFcIoAALfWQTaQ8z6SUX4SE1CPNvyRbzHhcs6FXm4XlAYXNerl uupdXfPZCJqrRgtrA06hf5NLAUihe2uumwfx9uUtOa1M72NH/WBvJxxn5+8mh8Cybw3y wLHZevnCdTLUTXRAwnEWbisXc5q02EK+qHsxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vZO09FnoPVf2KdEbCwQ2tyRvmYDAUFVxuelybfvepucPzCr1NECgD7qNodkMA0N8rd vcN2Gp+bymy1/tzdUDr2m6Sw8wEq1Q9R3Uj6/Gn0yjJDr5zdX9KUtATOEDHzhRUokhkX ZT2jmnvIJ/GvmUiqHKx5ZwaOUhYl5CmdllU20= MIME-Version: 1.0 Received: by 10.102.236.29 with SMTP id j29mr1259650muh.68.1254146513381; Mon, 28 Sep 2009 07:01:53 -0700 (PDT) In-Reply-To: <20090928120734.GA3669@current.Sisis.de> References: <20090928120734.GA3669@current.Sisis.de> Date: Mon, 28 Sep 2009 16:01:53 +0200 Message-ID: <3a142e750909280701s5276f6acy1d83a0a4476653fa@mail.gmail.com> From: "Paul B. Mahol" To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org Subject: Re: WLAN performance Windows/XP ./. FreeBSD 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 14:01:55 -0000 On 9/28/09, Matthias Apitz wrote: > > Hello, > > I am wondering what could cause the following WLAN performance diff > between a XP and 8-CURRENT laptop, sitting side by side and connected to > the same AP: > > OS XP 8-CURRENT > NIC Intel 3945ABG Atheros 5424/2424 > Ping 6ms 116ms > downstream 9.05Mbit/s 6.58Mbit/s > upstream 6.58Mbit/s 4.55Mbit/s > > measured with http://www.speedtest.net/ against the same remote server > at the same time... Any ideas? Emulated flash? -- Paul From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 14:50:51 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48B82106566B for ; Mon, 28 Sep 2009 14:50:51 +0000 (UTC) (envelope-from a.kuriger@liquidphlux.com) Received: from mail.liquidphlux.com (mail.liquidphlux.com [209.98.210.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1231D8FC1D for ; Mon, 28 Sep 2009 14:50:50 +0000 (UTC) Received: by mail.liquidphlux.com (Postfix, from userid 80) id 8F5DA4EBFC5; Mon, 28 Sep 2009 09:33:43 -0500 (CDT) To: "Paul B. Mahol" MIME-Version: 1.0 Date: Mon, 28 Sep 2009 09:33:43 -0500 From: Andrew Kuriger In-Reply-To: <3a142e750909280701s5276f6acy1d83a0a4476653fa@mail.gmail.com> References: <20090928120734.GA3669@current.Sisis.de> <3a142e750909280701s5276f6acy1d83a0a4476653fa@mail.gmail.com> Message-ID: <52dc872e27534cfb561ac611ba11b7df@mail.liquidphlux.com> X-Sender: a.kuriger@liquidphlux.com User-Agent: RoundCube Webmail/0.3-stable Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Cc: freebsd-net@freebsd.org, Matthias Apitz Subject: Re: WLAN performance Windows/XP ./. FreeBSD 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 14:50:51 -0000 On Mon, 28 Sep 2009 16:01:53 +0200, "Paul B. Mahol" wrote: > On 9/28/09, Matthias Apitz wrote: >> >> Hello, >> >> I am wondering what could cause the following WLAN performance diff >> between a XP and 8-CURRENT laptop, sitting side by side and connected to >> the same AP: >> >> OS XP 8-CURRENT >> NIC Intel 3945ABG Atheros 5424/2424 >> Ping 6ms 116ms >> downstream 9.05Mbit/s 6.58Mbit/s >> upstream 6.58Mbit/s 4.55Mbit/s >> >> measured with http://www.speedtest.net/ against the same remote server >> at the same time... Any ideas? > > Emulated flash? I have also found that speedtest(s) aren't always that accurate at all either. If you really wanted to test the speed diffs you may want to attach a local file server, and check upload and download speeds against a local server instead of an unknown remote host for accurate results. ~Andrew From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 15:14:39 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22E731065672 for ; Mon, 28 Sep 2009 15:14:39 +0000 (UTC) (envelope-from agile.quad@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9850E8FC12 for ; Mon, 28 Sep 2009 15:14:38 +0000 (UTC) Received: by bwz27 with SMTP id 27so3236912bwz.43 for ; Mon, 28 Sep 2009 08:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=VU9Ski5H7ePOgYjkPS3SeSWtkmUxh2rvRCOcoVPtmkI=; b=EppyzkTTskUIRvApNI+FTPopi1FpI6+5BI3K3lAwf8ygoD2OZ7G1Khd/ATjCw/fioi M6P5g19IgpLF1qk+iX+SNWl9SHEez1l7r8ryQ1Jls1r+IA7TY2tWo9tj7dYmPAFUIA5r FJOPgXYuSRfOqvfY8js9EUjt65MDMpxfj/Q5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=c3oFGh7eMIsa2lLElcrUkVtxQn1U7vQMhnOvDkavg/f0K4toIPxFjI0GS8t93njM7x 3GbUJ5V7xDBzKgdigc0SouCF5Kavlwx6V0VrYigCLNh4IzceL+fzP2AhtBkYusbxS73J LHQC1HWtfkPnVQnDDtKVtfbAdXHL0jUrptGug= MIME-Version: 1.0 Received: by 10.204.155.79 with SMTP id r15mr3139858bkw.142.1254149162092; Mon, 28 Sep 2009 07:46:02 -0700 (PDT) Date: Mon, 28 Sep 2009 17:46:02 +0300 Message-ID: From: Oleg To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: tap device poor performance X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 15:14:39 -0000 Hello, I wrote a simple program to test tap device performance. It open 2 tap devices, configure them (with aliases): tap64: flags=8843 metric 0 mtu 1500 ether 00:13:ec:00:10:00 inet 192.168.64.1 netmask 0xffffff00 broadcast 192.168.64.255 inet 192.168.64.64 netmask 0xffffffff broadcast 192.168.64.64 Opened by PID 1353 tap32: flags=8843 metric 0 mtu 1500 ether 00:13:ec:00:20:00 inet 192.168.32.1 netmask 0xffffff00 broadcast 192.168.32.255 inet 192.168.32.32 netmask 0xffffffff broadcast 192.168.32.32 Opened by PID 1353 Then read packet from one tap device, change mask to opposite (192.168.64.0/24 <--> 192.168.32.0/24) in the IP headers (src_addr, dst_addr), recalculate checksum and push to opposite tap. (tap64 <--> tap32). How to reproduce: run tapbridge: #./tapbridge Then, 2 choise: 1) with help of TTCP utilitty. TTCP (need patched version, look ports/139112, http://www.freebsd.org/cgi/query-pr.cgi?pr=139112) Run ttcp in listen mode: # ttcp -r -s -n 131000 (output skipped) On second console run ttcp in sender mode: # ttcp -t -s -n 131000 -S 192.168.64.64 192.168.64.32 ttcp-t: buflen=8192, nbuf=131000, align=16384/0, port=5001 tcp -> 192.168.64.32 ttcp-t: socket ttcp-t: connect ttcp-t: 1073152000 bytes in 25.70 real seconds = 40778.27 KB/sec +++ ttcp-t: 131000 I/O calls, msec/call = 0.20, calls/sec = 5097.28 ttcp-t: 0.0user 4.5sys 0:25real 17% 26i+214d 494maxrss 0+2pf 493201+173csw SPEED is appr. 40 MB/sec. Now lets run ttcp in sender mode via lo0: # ttcp -t -s -n 131000 192.168.64.64 ttcp-t: buflen=8192, nbuf=131000, align=16384/0, port=5001 tcp -> 192.168.64.64 ttcp-t: socket ttcp-t: connect ttcp-t: 1073152000 bytes in 2.06 real seconds = 508079.09 KB/sec +++ ttcp-t: 131000 I/O calls, msec/call = 0.02, calls/sec = 63509.89 ttcp-t: 0.0user 1.3sys 0:02real 64% 21i+180d 494maxrss 0+2pf 33559+41csw SPEED is appr. 500 MB/sec. 2) with httpd, wget configure httpd and run it. Download some file: # wget --bind-address=192.168.64.64 -O /dev/null http://192.168.64.32:81/8G --2009-09-28 18:00:45-- http://192.168.64.32:81/8G Connecting to 192.168.64.32:81... connected. HTTP request sent, awaiting response... 200 OK Length: 8589934592 (8.0G) [text/plain] Saving to: `/dev/null' 100%[=========================>] 8,589,934,592 40.5M/s in 3m 8s 2009-09-28 18:03:53 (43.6 MB/s) - `/dev/null' saved [8589934592/8589934592] SPEED is appr. 43 MB/sec. The test is gone on Intel Xeon 8 core machine with 16 GB of memory running FreeBSD 7.0-RELEASE-p12 amd64. The SAME SPEED results measuring on virtual machines (FreeBSD 7.0 amd64, FreeBSD 7.2 amd64, FreeBSD 8.0 RC1 amd64). So, where is bottleneck? Also, I make a LOCK_PROFILING measure. # sysctl debug.lock.prof.stats | grep if_tap max total wait_total count avg wait_avg cnt_hold cnt_lock name 252 1163161 64 317424 3 0 28 10 /usr/src/sys/modules/if_tap/../../net/if_tap.c:681 (sleep mutex:tap_mtx) 109 783634 761 317426 2 0 67 74 /usr/src/sys/modules/if_tap/../../net/if_tap.c:848 (sleep mutex:tap_mtx) 103 173087 0 69617 2 0 1 0 /usr/src/sys/modules/if_tap/../../net/if_tap.c:872 (sleep mutex:tap_mtx) 204 460785 303 190427 2 0 24 67 /usr/src/sys/modules/if_tap/../../net/if_tap.c:865 (sleep mutex:tap32) 81 487945 0 196614 2 0 1 0 /usr/src/sys/modules/if_tap/../../net/if_tap.c:865 (sleep mutex:tap64) 1 3 0 2 1 0 0 0 /usr/src/sys/modules/if_tap/../../net/if_tap.c:493 (sleep mutex:tap_mtx) 319 471162 509 317428 1 0 34 122 /usr/src/sys/modules/if_tap/../../net/if_tap.c:653 (sleep mutex:tap_mtx) Seems, that this is not a locking problem... Who can help me? p.s. if your downloading will stuck - you need to patch your tap device with kern/123892 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/123892) p.p.s. btw on Linux similar test give me about 70 MB/sec... Regards, Oleg Dolgov. From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 19:51:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACF8F106566C for ; Mon, 28 Sep 2009 19:51:00 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3694A8FC17 for ; Mon, 28 Sep 2009 19:51:00 +0000 (UTC) Received: by fxm22 with SMTP id 22so303545fxm.36 for ; Mon, 28 Sep 2009 12:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=vYclKnymJKwDML+q9ksX34l5uioTkSWhnOQRhWL2m7U=; b=G1DE+2k7q0DZ1M6pA9IZTz/2Hj8cepGqhPPp91k2QoYMtlDr7oE4ZHCdgP2I1A+2Xw VsS43sQ6rNRRNxhNpKqUeR/rd3csFMzwbIU08NEsym7lycx/AXU6uGrZtcBeT+dTQhXv GYP1kP4HTFvKJI9gDLsX6EzgxwZt27iRmwSEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=JXd++DH8s9/XaG7/4sN6nQDgHGF1KN1+MT3BPxQVKlNjNbq1Suwcq+pvNyG2F2Eb1R iACyEmLctxrlFe9cmZtBxUth3VZvnduvaMi/LQhU02ofkIlEyoqVsl8eoxzwenYKxV1P NC5B/GC90o6gRBelwbg0EwW1OjaPwOtjljn4M= Received: by 10.204.13.201 with SMTP id d9mr3381040bka.12.1254167459211; Mon, 28 Sep 2009 12:50:59 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id g28sm785765fkg.45.2009.09.28.12.50.56 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Sep 2009 12:50:57 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Mon, 28 Sep 2009 12:51:10 -0700 From: Weongyo Jeong Date: Mon, 28 Sep 2009 12:51:10 -0700 To: Albert Shih Message-ID: <20090928195110.GA1454@weongyo> Mail-Followup-To: Albert Shih , freebsd-net@freebsd.org References: <20090923101750.GC84230@obspm.fr> <20090924180914.GA1417@weongyo> <20090925195112.GE37873@obspm.fr> <7E9D5842-B5BF-424D-AC27-FC2B9D043C96@FreeBSD.org> <20090926223125.GD1417@weongyo> <4ABF2030.8010302@obspm.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ABF2030.8010302@obspm.fr> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: zyd & TEW-424UB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 19:51:00 -0000 On Sun, Sep 27, 2009 at 10:20:00AM +0200, Albert Shih wrote: > Le 27/09/2009 00:31, Weongyo Jeong a ?crit : > >>> > >>> Controller /dev/usb6: > >>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > >>> Intel(0x0000), rev 1.00 > >>> port 1 powered > >>> port 2 addr 2: high speed, power 500 mA, config 1, > >>> RTL8187B_WLAN_Adapter(0x8189), vendor 0x0bda(0x0bda), rev 2.00 > >>> port 3 powered > >>> port 4 powered > >>> port 5 powered > >>> port 6 powered > >> > >> Maybe this is a urtw device? > > > > Yes it looks one of urtw devices. Albert, could you please try with > > urtw(4)? > > > Can you confirme the urtw is only in 8- and not in 7-Stable ? I don't > find any if_urtw if my /boot/kernel/ urtw(4) is only in STABLE_8 and CURRENT not in STABLE_7 because it's not backported. > At this time do you think I can upgrade to 8-current or 8-stable (if > it's exist) ? The last time I try to upgrade to 8-current my laptop > don't boot.... and this is my work'laptop ... I don't know your symptom why you couldn't boot but other developers can help you if you submit error messages. regards, Weongyo Jeong From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 20:49:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53881065695 for ; Mon, 28 Sep 2009 20:49:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f187.google.com (mail-yw0-f187.google.com [209.85.211.187]) by mx1.freebsd.org (Postfix) with ESMTP id 614458FC15 for ; Mon, 28 Sep 2009 20:49:16 +0000 (UTC) Received: by ywh17 with SMTP id 17so5469237ywh.3 for ; Mon, 28 Sep 2009 13:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nKsxfhX3Al/i1zSo2I+X+Q+ON6we77BFztO3iSo8rn8=; b=xKN5bjDKVZ5CRQgvsYCBp6ic5dyVXMSa7WTOxYhhGStrAnfgldOSg6sohqmD9iVJ5B e1uKQPUqQkUjDs+3LLgSX4MdO6XC9kUiSrrfQs+yUKFwmvqYvoa5spy3y2wGUU/NXGAF 8YzlfQ+8zQVjsYkI43Quoj+sbvKPhgQ1J5MSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cLn5nLKMgEu7PIm9lZNLvyaOEj41W7wFKFFewl/Ir/84Xi8lSSBKmd2oLbCT1PGqf3 D3NkWk8YW92EM7eC0AdNnoklbvg32IDGFVR8IGGzNFGngB/EE41FbzTIm/VShXBWyqAA kxuDRxO/yPDlPaUSER7NU1YtHkmAjGNbwwGK0= MIME-Version: 1.0 Received: by 10.150.100.9 with SMTP id x9mr8575437ybb.203.1254169277138; Mon, 28 Sep 2009 13:21:17 -0700 (PDT) Date: Mon, 28 Sep 2009 15:21:17 -0500 Message-ID: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> From: Adam Vande More To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 20:49:16 -0000 Am I doing something wrong here? kldload if_tap if_bridge sysctl net.link.tap.user_open=1 ifconfig tap0 create ifconfig bridge create ifconfig bridge0 addm tap0 addm em0 it# dhclient tap0 DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 No DHCPOFFERS received. No working leases in persistent database - sleeping. Although dhclient em0 works as expected. FreeBSD it.digitecinc.net 8.0-BETA4 FreeBSD 8.0-BETA4 #2: Mon Sep 7 11:26:25 CDT 2009 vandemorea@it.digitecinc.net:/usr/obj/usr/src/sys/GENERIC i386 Repost from questions@ several days ago. Thanks, -- Adam Vande More From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 21:38:05 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE0A4106566B for ; Mon, 28 Sep 2009 21:38:05 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-pz0-f194.google.com (mail-pz0-f194.google.com [209.85.222.194]) by mx1.freebsd.org (Postfix) with ESMTP id C0ACD8FC0A for ; Mon, 28 Sep 2009 21:38:05 +0000 (UTC) Received: by pzk32 with SMTP id 32so2812951pzk.3 for ; Mon, 28 Sep 2009 14:38:05 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.142.209.21 with SMTP id h21mr272285wfg.162.1254172490282; Mon, 28 Sep 2009 14:14:50 -0700 (PDT) In-Reply-To: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> From: Juli Mallett Date: Mon, 28 Sep 2009 14:14:30 -0700 X-Google-Sender-Auth: 4e5fdbbcc94bd600 Message-ID: To: Adam Vande More Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 21:38:05 -0000 On Mon, Sep 28, 2009 at 13:21, Adam Vande More wrot= e: > Am I doing something wrong here? That depends on what you're expecting to happen. What do you think tap(4) does and what are you trying to accomplish with using it? Interface bridging controls what happens on packet ingress =97 when a packet comes in on one side of the bridge it is forwarded out the other. When dhclient(8) sends out a DHCPDISCOVER on tap0, that goes through the interface output routine. tap(4) works such that then would go to a user-space process reading from tap0 and then that process would forward it on to somewhere else where eventually it might find a DHCP server. If it does, the DHCP reply would come back, that user-space process would inject it into the kernel and the bridging code would pass it out em0. > kldload if_tap if_bridge > sysctl net.link.tap.user_open=3D1 > ifconfig tap0 create > ifconfig bridge create > ifconfig bridge0 addm tap0 addm em0 > > it# dhclient tap0 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > Although dhclient em0 works as expected. > > FreeBSD it.digitecinc.net 8.0-BETA4 FreeBSD 8.0-BETA4 #2: Mon Sep =A07 > 11:26:25 CDT 2009 > vandemorea@it.digitecinc.net:/usr/obj/usr/src/sys/GENERIC > i386 > > Repost from questions@ several days ago. > > Thanks, > > -- > Adam Vande More > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 21:50:48 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCBED106566B; Mon, 28 Sep 2009 21:50:48 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 620978FC13; Mon, 28 Sep 2009 21:50:48 +0000 (UTC) Received: by yxe1 with SMTP id 1so5691673yxe.3 for ; Mon, 28 Sep 2009 14:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=acVVDy7kz5JP22RL42vmX5/P75SC0KCAk6fs8QtCQl8=; b=S5anyrvsHYieZuNG0HR+IyminkEMyk2WI9Mtcv3Z1j7A/MDfsb1qod6ANTetTdR0VS aR1pMTt1Qg6ZPPyjrYoJMjKeWqH82KTZlVsm4tmQPEQmjLcuoYKk2bVMCiOKcKbglUrz 1WlK4Euh1lcsQb480Uxrb6NyOlL8pky8F8VVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=V2zkeiM7kWt/P/o7wH7TfWfqqzgVq9mpJfPfhJ6O6ohJZrHHaUYYff4RF5njhKnm58 A8fzdhRpJkS4b2gV/rysIJH8mR5kd1ppzb3VZKqd6pnlICwFt494suL38Z6fw2NIhLZV y6IKI7t5LorQGYnHrQ/db0DXHhJg0ZzQZWz4c= MIME-Version: 1.0 Received: by 10.150.132.11 with SMTP id f11mr8649682ybd.280.1254174647737; Mon, 28 Sep 2009 14:50:47 -0700 (PDT) In-Reply-To: References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> Date: Mon, 28 Sep 2009 16:50:47 -0500 Message-ID: <6201873e0909281450x2d457608yd0548db12fb21a97@mail.gmail.com> From: Adam Vande More To: Juli Mallett Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 21:50:48 -0000 On Mon, Sep 28, 2009 at 4:14 PM, Juli Mallett wrote: > On Mon, Sep 28, 2009 at 13:21, Adam Vande More > wrote: > > Am I doing something wrong here? > > That depends on what you're expecting to happen. What do you think > tap(4) does and what are you trying to accomplish with using it? > Interface bridging controls what happens on packet ingress =97 when a > packet comes in on one side of the bridge it is forwarded out the > other. When dhclient(8) sends out a DHCPDISCOVER on tap0, that goes > through the interface output routine. tap(4) works such that then > would go to a user-space process reading from tap0 and then that > process would forward it on to somewhere else where eventually it > might find a DHCP server. If it does, the DHCP reply would come back, > that user-space process would inject it into the kernel and the > bridging code would pass it out em0. > > I don't entirely understand, let's try a different example. Say we start with the same logical setup minus DHCP: kldload if_tap if_bridge sysctl net.link.tap.user_open=3D1 ifconfig tap0 create ifconfig bridge create ifconfig bridge0 addm tap0 addm em0 Suppose em0 is at 192.168.0.10 and another system 192.168.0.1. Then I can manually assign 192.168.0.11 to tap0 and enter this: ping -S 192.168.0.11 192.168.0.1 Should I recieve a response? From tap(4), and other examples my understanding is yes, but that is not what I'm seeing in practice. Forgive my ignorance, but wouldn't bridge0 pass a response back to tap0? My goal is essentially clone my network connection recieving two DHCP lease= s to the same box. Also I am aware of ifconfig alias, but that didn't seem u= p to the task. --=20 Adam Vande More From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 22:09:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D67F31065676 for ; Mon, 28 Sep 2009 22:09:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8264A8FC13 for ; Mon, 28 Sep 2009 22:09:22 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1418422qwd.7 for ; Mon, 28 Sep 2009 15:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:subject :message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=XBzcassQmlWOsPv1e4u9RnkFMjolRMIk5iyD4GdK5mA=; b=bVcLErImXlOpNvVcPNL5bknxpyFpGV8dlgP3SJKdh4NoeEVgJnnoN6p2ZPNDlbBcq/ jBdHw40c1CtaNOtvBcWvz9vSC+Fvt5BAFfDGz2JzDQ7aNwR+3d5oGJNMDxBJfdkOWF72 7ueXsWwCXZhE1JWL8c3AbBcFXX9QQfxXEc1VE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Nj2udklBy0DRsY32+Y6o7bH7VJEb7C+90jIdEsxKndqs/QBrhplTDwgxKcSQTuws4+ XLzx7cICfNBq4T59Yqk4di23C1xPOAm8qW7bOsO/W4iiegExb5FNeMD3s2wMtWBNipB5 XTI+OEmk8OsBqN56JAhbfcssGEyZqFFjLbhVw= Received: by 10.224.44.157 with SMTP id a29mr605277qaf.1.1254175761668; Mon, 28 Sep 2009 15:09:21 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm316061qwd.32.2009.09.28.15.09.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Sep 2009 15:09:19 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 28 Sep 2009 15:08:36 -0700 From: Pyun YongHyeon Date: Mon, 28 Sep 2009 15:08:36 -0700 To: freebsd-net@freebsd.org Message-ID: <20090928220836.GA1512@michelle.cdnetworks.com> References: <20090821221932.GE1262@michelle.cdnetworks.com> <20090825083857.GA22983@traktor.dnepro.net> <20090825114649.GA11642@traktor.dnepro.net> <20090825130821.GA41669@traktor.dnepro.net> <20090825182553.GD1282@michelle.cdnetworks.com> <20090826093916.GB10790@traktor.dnepro.net> <20090826094856.GC10790@traktor.dnepro.net> <20090901161310.GA37481@traktor.dnepro.net> <20090904212223.GA9950@michelle.cdnetworks.com> <20090908075030.GA6644@traktor.dnepro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090908075030.GA6644@traktor.dnepro.net> User-Agent: Mutt/1.4.2.3i Subject: Re: D-Link DGE-560SX (Marvell 88E8061-based) doesn't see link X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 22:09:23 -0000 On Tue, Sep 08, 2009 at 10:50:30AM +0300, Eugene Perevyazko wrote: > On Fri, Sep 04, 2009 at 02:22:23PM -0700, Pyun YongHyeon wrote: > > > > Would you back out previous changes and apply the patch at the > > following URL? > > http://people.freebsd.org/~yongari/msk/msk.DGE560.diff2 > > > > Note, I have no more access to msk(4) hardwares so it wasn't tested > > at all except compilation. > > > > Still no success. > > mskc0: port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 16 at device 0.0 on pci1 > msk0: on mskc0 > msk0: Ethernet address: 00:21:91:52:4f:09 > miibus0: on msk0 > e1000phy0: PHY 0 on miibus0 > e1000phy0: 1000baseSX, 1000baseSX-FDX, auto > mskc0: [FILTER] > > ifconfig -m msk0 > msk0: flags=8843 metric 0 mtu 1500 > options=11a > capabilities=11a > ether 00:21:91:52:4f:09 > inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255 > media: Ethernet autoselect (autoselect ) > status: active > supported media: > media autoselect > media 1000baseSX mediaopt full-duplex > media 1000baseSX > media none > > Switch shows no link on the port. > > # ifconfig msk0 media 1000baseSX mediaopt full-duplex > # ifconfig msk0 > msk0: flags=8843 metric 0 mtu 1500 > options=11a > ether 00:21:91:52:4f:09 > inet 10.2.3.1 netmask 0xffffff00 broadcast 10.2.3.255 > media: Ethernet 1000baseSX (autoselect ) > status: active > > Switch shows no link again. > > All dev.msk.0.stats counters are zero even after trying broadcast ping. > > I can arrange you root access to the host with this NIC if you have time/wish. > FYI: Patch committed to HEAD(r197590-197592). From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 22:21:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 429CD1065672; Mon, 28 Sep 2009 22:21:04 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A1CC8FC22; Mon, 28 Sep 2009 22:21:04 +0000 (UTC) Received: from freefall.freebsd.org (yongari@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8SML3E8066015; Mon, 28 Sep 2009 22:21:03 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8SML3v1066011; Mon, 28 Sep 2009 22:21:03 GMT (envelope-from yongari) Date: Mon, 28 Sep 2009 22:21:03 GMT Message-Id: <200909282221.n8SML3v1066011@freefall.freebsd.org> To: yongari@FreeBSD.org, freebsd-net@FreeBSD.org, yongari@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/139093: [msk] msk FIFO rx overrun X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 22:21:04 -0000 Synopsis: [msk] msk FIFO rx overrun Responsible-Changed-From-To: freebsd-net->yongari Responsible-Changed-By: yongari Responsible-Changed-When: Mon Sep 28 22:20:50 UTC 2009 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=139093 From owner-freebsd-net@FreeBSD.ORG Mon Sep 28 23:15:01 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CED01065672 for ; Mon, 28 Sep 2009 23:15:01 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-pz0-f194.google.com (mail-pz0-f194.google.com [209.85.222.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF988FC13 for ; Mon, 28 Sep 2009 23:15:01 +0000 (UTC) Received: by pzk32 with SMTP id 32so2862519pzk.3 for ; Mon, 28 Sep 2009 16:15:01 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.142.209.21 with SMTP id h21mr280362wfg.162.1254179701184; Mon, 28 Sep 2009 16:15:01 -0700 (PDT) In-Reply-To: <6201873e0909281450x2d457608yd0548db12fb21a97@mail.gmail.com> References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> <6201873e0909281450x2d457608yd0548db12fb21a97@mail.gmail.com> From: Juli Mallett Date: Mon, 28 Sep 2009 16:14:41 -0700 X-Google-Sender-Auth: 03617006a527e4ec Message-ID: To: Adam Vande More Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 23:15:01 -0000 On Mon, Sep 28, 2009 at 14:50, Adam Vande More wrot= e: > Should I recieve a response? =A0From tap(4), and other examples my > understanding is yes, but that is not what I'm seeing in practice. =A0For= give > my ignorance, but wouldn't bridge0 pass a response back to tap0? tap(4) takes the network interface layer of the kernel and allows a user process to interact with it directly. If I am writing, for example, a program to tunnel traffic over IRC channels (or any other broadcast medium; tun(4) is more appropriate for point-to-point links) I can have my IRC client create a tap(4) device. Then, when I try to ping a system through the tap(4) interface, the networking layer takes the packet and sends it up to my IRC client. My IRC client then (let's say) base64 encodes it and spews it into the channel. Another IRC client in that channel with the same code running on it sees that I've sent a packet and base64 decodes it and sends it down into their kernel's tap(4) interface. Then that comes through the packet input codepath =97 the kernel sees that data as though it were a packet come in off the wire. Packets that go out on a tap(4), e.g. via ping, are sent to a userland process. Packets can only come in (in the sense of the input path of the network stack) on a tap(4) via that same channel with a userland process. > My goal is essentially clone my network connection recieving two DHCP lea= ses > to the same box. =A0Also I am aware of ifconfig alias, but that didn't se= em up > to the task. There are things you can do with netgraph, but they're not very good. Do you actually want both interfaces to see the same traffic, or do you want to create two virtual interfaces attached to one physical? If you provide a clear description of your needs, somebody else can probably help you. I'm out of touch on the latest and greatest way to do this with FreeBSD, sorry. Juli. From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 01:34:18 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11EB2106566B for ; Tue, 29 Sep 2009 01:34:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outO.internet-mail-service.net (outo.internet-mail-service.net [216.240.47.238]) by mx1.freebsd.org (Postfix) with ESMTP id ED5478FC17 for ; Tue, 29 Sep 2009 01:34:17 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 34017B094E; Mon, 28 Sep 2009 18:34:17 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 7889F2D6020; Mon, 28 Sep 2009 18:34:16 -0700 (PDT) Message-ID: <4AC1641B.4050104@elischer.org> Date: Mon, 28 Sep 2009 18:34:19 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Juli Mallett References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> <6201873e0909281450x2d457608yd0548db12fb21a97@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Adam Vande More , freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 01:34:18 -0000 Juli Mallett wrote: > >> My goal is essentially clone my network connection recieving two DHCP leases >> to the same box. Also I am aware of ifconfig alias, but that didn't seem up >> to the task. Why? > Do you actually want both interfaces to see the same traffic, or do > you want to create two virtual interfaces attached to one physical? or two interfaces on two different virtual machines? (jails?) > If you provide a clear description of your needs, somebody else can > probably help you. I'm out of touch on the latest and greatest way to > do this with FreeBSD, sorry. > > Juli. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 02:34:41 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 232A51065694; Tue, 29 Sep 2009 02:34:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f187.google.com (mail-yw0-f187.google.com [209.85.211.187]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7E68FC0C; Tue, 29 Sep 2009 02:34:40 +0000 (UTC) Received: by ywh17 with SMTP id 17so5711969ywh.3 for ; Mon, 28 Sep 2009 19:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=2dtu6jCGDdNxv93P7EabiN0lXKFRkvwAfwaVXV+/o0U=; b=i+gt4/oFaYmQcVmRxi9T+e3APWV8npAUhG4YcToeiFBuTn4mSz14hdrfroJL90I8j3 PSHIr199S5ZlUuJnohQZra8oFf8MeV1jroJTaZmrYDqzOWmNwP2E/cRVQpZL5jnpfGdu cC+W1cpq6RQHxcovTX3guADn7gLY/8tbBg6eE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GGFI1cONFSvH+IPt6fNZldMsHuXJbHESEYT0mGNNe1GvnNyUhHycnAlAeV2A48378/ 86cRge9SWLYpVfe82GWIYBeIv4aq5akAmY4uZRaPEhenClxSQ0A0iC13iwPcWS2KKb5q yPdx6UuMT4KWV4D5+GdDvOQH4+tYgfUP/SrL0= MIME-Version: 1.0 Received: by 10.150.100.1 with SMTP id x1mr9131686ybb.88.1254191679932; Mon, 28 Sep 2009 19:34:39 -0700 (PDT) In-Reply-To: <4AC1641B.4050104@elischer.org> References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> <6201873e0909281450x2d457608yd0548db12fb21a97@mail.gmail.com> <4AC1641B.4050104@elischer.org> Date: Mon, 28 Sep 2009 21:34:39 -0500 Message-ID: <6201873e0909281934t2cbc8055j565fb63511fe69dd@mail.gmail.com> From: Adam Vande More To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Juli Mallett , freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 02:34:41 -0000 On Mon, Sep 28, 2009 at 8:34 PM, Julian Elischer wrote: > Juli Mallett wrote: > There are things you can do with netgraph, but they're not very good. > Do you actually want both interfaces to see the same traffic, or do > you want to create two virtual interfaces attached to one physical? > If you provide a clear description of your needs, somebody else can > probably help you. I'm out of touch on the latest and greatest way to > do this with FreeBSD, sorry. > Thanks for the help. > >> My goal is essentially clone my network connection recieving two DHCP >>> leases >>> to the same box. Also I am aware of ifconfig alias, but that didn't seem >>> up >>> to the task. >>> >> > Why? More curiosity than necessity at this point. > > > > > Do you actually want both interfaces to see the same traffic, or do >> you want to create two virtual interfaces attached to one physical? >> > > or two interfaces on two different virtual machines? (jails?) > Basically yes although not specifically jails(only problem I had with jails networking was the multiple subnet bug, but that's fixed now). I started thinking about this originally when playing around with virtualbox, but the lack of bridged networking crippled any real virtual environment development. It's not a top priority and I was mostly wondering if I had found a bug. Being modestly aware of my ignorance, I thought I would see if I was doing something wrong or if my understanding is flawed. > > If you provide a clear description of your needs, somebody else can >> probably help you. I'm out of touch on the latest and greatest way to >> do this with FreeBSD, sorry. >> >> Juli. >> >> > I really don't need anything, I just wanted to know if the steps I'd taken should work and it's a bug, or if I still need some learnin. -- Adam Vande More From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:13:52 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EF2F1065679; Tue, 29 Sep 2009 06:13:52 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D95FD8FC19; Tue, 29 Sep 2009 06:13:51 +0000 (UTC) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T6DpN5052216; Tue, 29 Sep 2009 06:13:51 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8T6Dpel052212; Tue, 29 Sep 2009 06:13:51 GMT (envelope-from bms) Date: Tue, 29 Sep 2009 06:13:51 GMT Message-Id: <200909290613.n8T6Dpel052212@freefall.freebsd.org> To: stef@memberwebs.com, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/138691: [netinet] [patch] Multicast: Keep membership and filters in sync X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:13:52 -0000 Synopsis: [netinet] [patch] Multicast: Keep membership and filters in sync State-Changed-From-To: patched->closed State-Changed-By: bms State-Changed-When: Tue 29 Sep 2009 06:13:32 UTC State-Changed-Why: MFCed and in 8.0-RC1 http://www.freebsd.org/cgi/query-pr.cgi?pr=138691 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:14:17 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98CF7106566C; Tue, 29 Sep 2009 06:14:17 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E46E8FC3D; Tue, 29 Sep 2009 06:14:17 +0000 (UTC) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T6EHAP052698; Tue, 29 Sep 2009 06:14:17 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8T6EH3Q052694; Tue, 29 Sep 2009 06:14:17 GMT (envelope-from bms) Date: Tue, 29 Sep 2009 06:14:17 GMT Message-Id: <200909290614.n8T6EH3Q052694@freefall.freebsd.org> To: stef@memberwebs.com, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/138690: [netinet] [patch] multicast: uninited memory used in filter at IP_DROP_MEMBERSHIP + IP_ADD_MEMBERSHIP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:14:17 -0000 Synopsis: [netinet] [patch] multicast: uninited memory used in filter at IP_DROP_MEMBERSHIP + IP_ADD_MEMBERSHIP State-Changed-From-To: patched->closed State-Changed-By: bms State-Changed-When: Tue 29 Sep 2009 06:14:05 UTC State-Changed-Why: MFCed and in 8.0-RC1 http://www.freebsd.org/cgi/query-pr.cgi?pr=138690 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:14:33 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D28CD1065676; Tue, 29 Sep 2009 06:14:33 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A84AF8FC13; Tue, 29 Sep 2009 06:14:33 +0000 (UTC) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T6EXmJ052745; Tue, 29 Sep 2009 06:14:33 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8T6EXo6052741; Tue, 29 Sep 2009 06:14:33 GMT (envelope-from bms) Date: Tue, 29 Sep 2009 06:14:33 GMT Message-Id: <200909290614.n8T6EXo6052741@freefall.freebsd.org> To: stef@memberwebs.com, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/138689: [netinet] patch] Multicast: IP_DROP_MEMBERSHIP should return EADDRNOTAVAIL for invalid address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:14:33 -0000 Synopsis: [netinet] patch] Multicast: IP_DROP_MEMBERSHIP should return EADDRNOTAVAIL for invalid address State-Changed-From-To: patched->closed State-Changed-By: bms State-Changed-When: Tue 29 Sep 2009 06:14:24 UTC State-Changed-Why: MFCed and in 8.0-RC1 http://www.freebsd.org/cgi/query-pr.cgi?pr=138689 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:16:31 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0E201065692; Tue, 29 Sep 2009 06:16:31 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C720E8FC08; Tue, 29 Sep 2009 06:16:31 +0000 (UTC) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T6GVoQ052801; Tue, 29 Sep 2009 06:16:31 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8T6GVme052795; Tue, 29 Sep 2009 06:16:31 GMT (envelope-from bms) Date: Tue, 29 Sep 2009 06:16:31 GMT Message-Id: <200909290616.n8T6GVme052795@freefall.freebsd.org> To: universite@ukr.net, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/138666: [multicast] [panic] not working multicast through igmpproxy X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:16:32 -0000 Synopsis: [multicast] [panic] not working multicast through igmpproxy State-Changed-From-To: open->feedback State-Changed-By: bms State-Changed-When: Tue 29 Sep 2009 06:15:33 UTC State-Changed-Why: Based on backtrace, it's difficult to say what the problem could be. ENOTIME to attempt reproducing the condition. Initial testing around the time of the last commits to ip_mroute.c didn't expose any problems, have you checked out the memory on the affected machine? http://www.freebsd.org/cgi/query-pr.cgi?pr=138666 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:17:39 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67462106566B; Tue, 29 Sep 2009 06:17:39 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4338FC0A; Tue, 29 Sep 2009 06:17:39 +0000 (UTC) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8T6HdFn052866; Tue, 29 Sep 2009 06:17:39 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8T6HcuM052862; Tue, 29 Sep 2009 06:17:38 GMT (envelope-from bms) Date: Tue, 29 Sep 2009 06:17:38 GMT Message-Id: <200909290617.n8T6HcuM052862@freefall.freebsd.org> To: jhanna@pangolin-systems.com, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/137164: [netinet] [patch] assert panic imo_match_source() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:17:39 -0000 Synopsis: [netinet] [patch] assert panic imo_match_source() State-Changed-From-To: patched->closed State-Changed-By: bms State-Changed-When: Tue 29 Sep 2009 06:17:26 UTC State-Changed-Why: appropriate fixes MFCed and in 8.0-RC1 http://www.freebsd.org/cgi/query-pr.cgi?pr=137164 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 06:50:09 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E240106568F for ; Tue, 29 Sep 2009 06:50:09 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1D08FC14 for ; Tue, 29 Sep 2009 06:50:09 +0000 (UTC) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id C87045B30; Mon, 28 Sep 2009 23:32:19 -0700 (PDT) To: Adam Vande More In-reply-to: Your message of "Mon, 28 Sep 2009 15:21:17 CDT." <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> References: <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com> Comments: In-reply-to Adam Vande More message dated "Mon, 28 Sep 2009 15:21:17 -0500." Date: Mon, 28 Sep 2009 23:32:19 -0700 From: Bakul Shah Message-Id: <20090929063219.C87045B30@mail.bitblocks.com> Cc: freebsd-net@freebsd.org Subject: Re: tap dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 06:50:09 -0000 On Mon, 28 Sep 2009 15:21:17 CDT Adam Vande More wrote: > Am I doing something wrong here? > > kldload if_tap if_bridge > sysctl net.link.tap.user_open=1 > ifconfig tap0 create > ifconfig bridge create > ifconfig bridge0 addm tap0 addm em0 > > it# dhclient tap0 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 > DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > Although dhclient em0 works as expected. This is behaving as it should. Here is why. Normal behavior of the tap device: * What you send on if tap0 can be read on /dev/tap0. [if == interface] * What you write on /dev/tap0 can be received on if tap0. Your bridge setup: bridge0 |---- em0 -- physical network |---- tap0--/dev/tap0-virtual machine For this setup the behavior is modified as follows: * What you write to /dev/tap0 can be received on if tap0 + it will be sent out to the phys. net over em0 (but you can't receive this packets on if em0). * What you send on if tap0 can be read on /dev/tap0 + it will be sent out to the phys. net over em0 (but you can't receive this packets on if em0). * What you receive from a phys. device can be read on em0 + it will be sent out on tap0 (so you can read it from /dev/tap0) but you can't receive this packet on if tap0. So you can see that DHCPDISCOVER pkt sent on tap0 will be seen by the dhcp server on a physical net but you can't receive the response on if tap0. Now typically an emulator like qemu will connect its emulated VM's interface (say re0) to /dev/tap0. If the VM does dhclient re0, it will get its ip address from the dhcp server on the phys net. If you want dhclient tap0 to work, run a dhcp server on the VM! From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 12:22:43 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B5D106566C for ; Tue, 29 Sep 2009 12:22:43 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 755DA8FC0A for ; Tue, 29 Sep 2009 12:22:43 +0000 (UTC) Received: by bwz27 with SMTP id 27so3826637bwz.43 for ; Tue, 29 Sep 2009 05:22:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.143.79 with SMTP id t15mr1192402fau.6.1254226962359; Tue, 29 Sep 2009 05:22:42 -0700 (PDT) Date: Tue, 29 Sep 2009 15:22:42 +0300 Message-ID: From: Vlad Galu To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 8.0 RC1 "ifa_del_loopback_route: deletion failed" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 12:22:43 -0000 Hi, I keep getting these messages whenever I restart OpenVPN. My configuration indeed has some static routes that's supposed to clean upon shutdown, but neither of them have a loopback address as a next hop. From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 16:50:07 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDEDD1065697 for ; Tue, 29 Sep 2009 16:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DBF748FC1A for ; Tue, 29 Sep 2009 16:50:07 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8TGo7ps043518 for ; Tue, 29 Sep 2009 16:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8TGo70i043517; Tue, 29 Sep 2009 16:50:07 GMT (envelope-from gnats) Date: Tue, 29 Sep 2009 16:50:07 GMT Message-Id: <200909291650.n8TGo70i043517@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: David Horn Cc: Subject: Re: conf/132179: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Horn List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 16:50:08 -0000 The following reply was made to PR conf/132179; it has been noted by GNATS. From: David Horn To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/132179: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface Date: Tue, 29 Sep 2009 12:14:35 -0400 Please close this bug (conf/132179) as fixed. SVN r195029 This works now in -current and in 8/Stable Modified Fri Jun 26 01:27:16 2009 UTC (3 months ago) by dougb File length: 22019 byte(s) Diff to previous 193199 rtsol should not be run on the wireless NIC interfaces directly, it will run on wlan0 instead. http://svn.freebsd.org/viewvc/base/head/etc/network.subr?r1=193199&r2=195029 --Thanks! ---Dave H From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 16:59:43 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FE2106566B for ; Tue, 29 Sep 2009 16:59:43 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id A6F248FC19 for ; Tue, 29 Sep 2009 16:59:43 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id n8TGxf4S022591; Tue, 29 Sep 2009 09:59:41 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Sep 2009 09:59:05 -0700 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 8.0 RC1 "ifa_del_loopback_route: deletion failed" Thread-Index: AcpA/5V1Vs17lwSSQri8Ez0eSvmkbAAJmCKA References: From: "Li, Qing" To: "Vlad Galu" , Cc: Subject: RE: 8.0 RC1 "ifa_del_loopback_route: deletion failed" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 16:59:43 -0000 >=20 > Hi, I keep getting these messages whenever I restart OpenVPN. My > configuration indeed has some static routes that's supposed to clean > upon shutdown, but neither of them have a loopback address as a next > hop. > This message is harmless, however, could you please email me Your "ifconfig -a" and "netstat -r" output privately? I will be cleaning up some of these error messages for RC-2. -- Qing From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 17:37:39 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D3A2106568B; Tue, 29 Sep 2009 17:37:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D82078FC0A; Tue, 29 Sep 2009 17:37:38 +0000 (UTC) Received: from freefall.freebsd.org (dougb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8THbcci095529; Tue, 29 Sep 2009 17:37:38 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8THbcD5095525; Tue, 29 Sep 2009 17:37:38 GMT (envelope-from dougb) Date: Tue, 29 Sep 2009 17:37:38 GMT Message-Id: <200909291737.n8THbcD5095525@freefall.freebsd.org> To: dhorn2000@gmail.com, dougb@FreeBSD.org, freebsd-net@FreeBSD.org, dougb@FreeBSD.org From: dougb@FreeBSD.org Cc: Subject: Re: conf/132179: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 17:37:39 -0000 Synopsis: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Tue Sep 29 17:36:31 UTC 2009 State-Changed-Why: Originator reports that this problem was fixed by my change in r195029. Responsible-Changed-From-To: freebsd-net->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Tue Sep 29 17:36:31 UTC 2009 Responsible-Changed-Why: I committed the update. http://www.freebsd.org/cgi/query-pr.cgi?pr=132179 From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 18:05:40 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12BB5106566B for ; Tue, 29 Sep 2009 18:05:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6968FC18 for ; Tue, 29 Sep 2009 18:05:39 +0000 (UTC) Received: (qmail 21198 invoked by uid 399); 29 Sep 2009 17:38:59 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Sep 2009 17:38:59 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AC24631.2060806@FreeBSD.org> Date: Tue, 29 Sep 2009 10:38:57 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: David Horn References: <200909291650.n8TGo70i043517@freefall.freebsd.org> In-Reply-To: <200909291650.n8TGo70i043517@freefall.freebsd.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: conf/132179: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 18:05:40 -0000 David Horn wrote: > Please close this bug (conf/132179) as fixed. SVN r195029 Cool, I fixed a PR without even knowing it. :) Thanks for letting us know it's fixed, and sorry I missed the PR first time around. Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 18:07:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E11B2106566C for ; Tue, 29 Sep 2009 18:07:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9568FC0C for ; Tue, 29 Sep 2009 18:07:55 +0000 (UTC) Received: (qmail 11502 invoked by uid 399); 29 Sep 2009 18:07:54 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Sep 2009 18:07:54 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AC24CF9.5090207@FreeBSD.org> Date: Tue, 29 Sep 2009 11:07:53 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Matthias Apitz References: <20090928120734.GA3669@current.Sisis.de> In-Reply-To: <20090928120734.GA3669@current.Sisis.de> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: WLAN performance Windows/XP ./. FreeBSD 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 18:07:56 -0000 Matthias Apitz wrote: > Hello, > > I am wondering what could cause the following WLAN performance diff > between a XP and 8-CURRENT laptop, sitting side by side and connected to > the same AP: > > OS XP 8-CURRENT > NIC Intel 3945ABG Atheros 5424/2424 > Ping 6ms 116ms > downstream 9.05Mbit/s 6.58Mbit/s > upstream 6.58Mbit/s 4.55Mbit/s > > measured with http://www.speedtest.net/ against the same remote server > at the same time... Any ideas? Since you asked the question in the most generic way possible, here are some generic answers: 1. Different hardware a. Different wlan cards (as you pointed out) b. Different laptops c. Different harddrives 2. Different speedtests (java, flash, etc.) 3. Different protocols (802.11[abg]) 4. Different settings on the wlan cards (beacons, etc.) 5. Some sort of preference settings (user-visible or not) on the AP that prefers one card over the other In other words, you haven't given us nearly enough information to determine anything useful. hope this helps, Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 19:13:30 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4288C1065676 for ; Tue, 29 Sep 2009 19:13:30 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id BAFEC8FC18 for ; Tue, 29 Sep 2009 19:13:29 +0000 (UTC) Received: from anne-o1dpaayth1.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id MAA21423 for ; Tue, 29 Sep 2009 12:55:09 -0600 (MDT) Message-Id: <200909291855.MAA21423@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 29 Sep 2009 12:54:53 -0600 To: net@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: ipfw gred parameters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 19:13:30 -0000 I've been trying to determine the best parameters for gred ("gentle RED") to allow graceful bandwidth limiting in ipfw, but have found precious little guidance on the Web as to what the parameters mean. The code gives some hints, but I'm still uncertain: what parameters work best in a typical system? And how do the parameters submitted to "dummynet" correspond to the ones usually seen in descriptions of the algorithm? --Brett Glass From owner-freebsd-net@FreeBSD.ORG Tue Sep 29 19:28:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E7E3106566B; Tue, 29 Sep 2009 19:28:15 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 225EA8FC0A; Tue, 29 Sep 2009 19:28:14 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id n8TJSEDw021588; Tue, 29 Sep 2009 12:28:14 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Sep 2009 12:27:33 -0700 Message-ID: In-Reply-To: <200909261600.n8QG0kmp020194@freefall.freebsd.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: kern/139145: [ip6] IPv6 blackhole / reject routes broken Thread-Index: Aco+wpw6buPny5WxQqK71HopdAvaLwCeAtwQ References: <200909261600.n8QG0kmp020194@freefall.freebsd.org> From: "Li, Qing" To: , , Cc: Subject: RE: kern/139145: [ip6] IPv6 blackhole / reject routes broken X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 19:28:15 -0000 I cannot reproduce this problem. I configured my system according to the bug description and I get the expected error message: ------------------------------------------- # traceroute6 2a02:898:17:1234:: connect: Network is unreachable ------------------------------------------- -- Qing > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of linimon@freebsd.org > Sent: Saturday, September 26, 2009 9:01 AM > To: linimon@freebsd.org; freebsd-bugs@freebsd.org; freebsd- > net@freebsd.org > Subject: Re: kern/139145: [ip6] IPv6 blackhole / reject routes broken >=20 > Old Synopsis: IPv6 blackhole / reject routes broken > New Synopsis: [ip6] IPv6 blackhole / reject routes broken >=20 > Responsible-Changed-From-To: freebsd-bugs->freebsd-net > Responsible-Changed-By: linimon > Responsible-Changed-When: Sat Sep 26 16:00:26 UTC 2009 > Responsible-Changed-Why: > Over to maintainer(s). >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D139145 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 05:28:31 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4067E106568B for ; Wed, 30 Sep 2009 05:28:31 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id E72008FC18 for ; Wed, 30 Sep 2009 05:28:30 +0000 (UTC) Received: from current.Sisis.de (ppp-93-104-33-158.dynamic.mnet-online.de [93.104.33.158]) by dd12710.kasserver.com (Postfix) with ESMTP id 413751860977E; Wed, 30 Sep 2009 07:28:30 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8U5SW6c002428; Wed, 30 Sep 2009 07:28:32 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 30 Sep 2009 07:28:32 +0200 From: Matthias Apitz To: Doug Barton Message-ID: <20090930052832.GA2382@current.Sisis.de> References: <20090928120734.GA3669@current.Sisis.de> <4AC24CF9.5090207@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4AC24CF9.5090207@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-net@freebsd.org Subject: Re: WLAN performance Windows/XP ./. FreeBSD 8-CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 05:28:31 -0000 El día Tuesday, September 29, 2009 a las 11:07:53AM -0700, Doug Barton escribió: > Since you asked the question in the most generic way possible, here > are some generic answers: > > 1. Different hardware > a. Different wlan cards (as you pointed out) > b. Different laptops > c. Different harddrives > 2. Different speedtests (java, flash, etc.) > 3. Different protocols (802.11[abg]) > 4. Different settings on the wlan cards (beacons, etc.) > 5. Some sort of preference settings (user-visible or not) on the AP > that prefers one card over the other > > In other words, you haven't given us nearly enough information to > determine anything useful. > > > hope this helps, Ofc you are right that a lot of details will influence the performance, but I was surprised about how big the diff is, ~9 ./, ~6 Mbps; and as others pointed out the tool (speedtest) was wrong because of flash and the distance; I will run tests with a local file server. Thanks for your very helpfull response in any case. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 06:22:38 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E2B106566B for ; Wed, 30 Sep 2009 06:22:38 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 035D38FC27 for ; Wed, 30 Sep 2009 06:22:37 +0000 (UTC) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n8U6MYJS034841; Wed, 30 Sep 2009 14:22:34 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n8U6MXo8034839; Wed, 30 Sep 2009 14:22:33 +0800 (KRAST) (envelope-from eugen) Date: Wed, 30 Sep 2009 14:22:33 +0800 From: Eugene Grosbein To: Brett Glass Message-ID: <20090930062233.GA28758@svzserv.kemerovo.su> References: <200909291855.MAA21423@lariat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909291855.MAA21423@lariat.net> User-Agent: Mutt/1.4.2.3i Cc: net@freebsd.org Subject: Re: ipfw gred parameters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 06:22:38 -0000 On Tue, Sep 29, 2009 at 12:54:53PM -0600, Brett Glass wrote: > I've been trying to determine the best parameters for gred ("gentle > RED") to allow graceful bandwidth limiting in ipfw, but have found > precious little guidance on the Web as to what the parameters mean. > The code gives some hints, but I'm still uncertain: what parameters > work best in a typical system? And how do the parameters submitted > to "dummynet" correspond to the ones usually seen in descriptions > of the algorithm? I use the following schema: ipfw add pipe $pipeno config bw ${group_bw}Kbit/s queue $qslots \ gred $w_q/$q_min/$q_max/$max_p pipeno: number of pipe group_bw: total pipe bandwidth qslots: length of GRED queue w_q: constantly equals to 0.002 (0 < w_q < 1), exponential factor max_p: constantly equals to 0.1, the probability of packet drop lineary grows from zero upto $max_p while GRED queue occupancy grows upto $q_min. q_min: see max_p q_max the probability of packet drop lineary grows from max_p to 1 while GRED queue occupancy grows from q_min to q_max I choose q_min = 0.9*qslots, q_max = qslots. For narrow pipes qslots should be small if short ping delays are more preferable, e.g. qslots=50 for 256Kbit/s or qslots=30 for 64Kbit/s. For large bandwidth it's suitable to increase qslots; for example, I use qslots=1000 for 10-15Mbit/s. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 11:48:41 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01841106568D for ; Wed, 30 Sep 2009 11:48:41 +0000 (UTC) (envelope-from Abbas_Zaidi@mentor.com) Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by mx1.freebsd.org (Postfix) with ESMTP id D06018FC0A for ; Wed, 30 Sep 2009 11:48:40 +0000 (UTC) Received: from nat-dem.mentorg.com ([139.181.124.2] helo=eu2-mail.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1MsxAw-0000nd-HT from Abbas_Zaidi@mentor.com for freebsd-net@freebsd.org; Wed, 30 Sep 2009 04:16:50 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; boundary="----_=_NextPart_001_01CA41BF.81173469"; type="multipart/alternative" Date: Wed, 30 Sep 2009 13:16:47 +0200 Message-ID: X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: FreeBSD ipsec tunnel mode packet lost Thread-Index: AcpBv4AfjOu8ImMDQdavhngfClAOeA== From: "Zaidi, Abbas" To: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Ansari, Fakhir" , "Khan, Fayyaz" Subject: FreeBSD ipsec tunnel mode packet lost X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 11:48:41 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01CA41BF.81173469 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I am having this strange problem establishing tunnel between FreeBSD and linux, my network setup is =20 Link2:216:76ff:febd:618c ---------|Link2::e -o- Link1::e|--------------------|Link1::f -o- Link0::e|---------------Link0:212:17ff:fe5c:9466 FreeBSDe------------------------------|FreeBSDr|------------------------ ----------|Linuxr|-----------------------------------Linuxe =20 Where I want to establish a tunnel between FreeBSDr and Linuxe (that would be Link1::e <=3D=3D> Link0:212:17ff:fe5c:9466). Im using raccoon2 = to negotiate SAs dynamically.=20 Once the SAs get negotiated I send a ping request from FreeBSDe to Linuxe. The packets get an ipsec header applied at FreeBSDr reaches Linuxe a reply to packet comes back at Link1::e interface of FreeBSDr and then packet gets lost. =20 I am not using gif. Do I need it? I don't think any thing is wrong with ipsec as the seq of both in and out sa are incrementing on every echo request reply. I am new to FreeBSD and not sure about firewall, but I think its not running. There is one strange thing about security policies as of linux in case of tunnel there are 3 policies added (in, out, fwd) where as in FreeBSD it only shows 2 (in, out). Ping without ipsec from FreeBSDe to Linuxe works perfectly fine, so I assume routing tables are fine too.=20 =20 I have run out of options and do not understand what to do; any sort of help will be highly appreciated. =20 Thanks, =20 Abbas Zaidi Software Development Engineer Embedded System Division MentorGraphics Embedded =20 Office (+9242) 6099215 Cell (+92333) 4261781 =20 =20 ------_=_NextPart_001_01CA41BF.81173469-- From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 12:08:38 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBB381065679 for ; Wed, 30 Sep 2009 12:08:38 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 68ECB8FC1B for ; Wed, 30 Sep 2009 12:08:38 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 374892798BC; Wed, 30 Sep 2009 14:08:36 +0200 (CEST) Received: by astro.zen.inc (Postfix, from userid 1000) id 2D0721705D; Wed, 30 Sep 2009 14:08:23 +0200 (CEST) Date: Wed, 30 Sep 2009 14:08:23 +0200 From: VANHULLEBUS Yvan To: "Zaidi, Abbas" Message-ID: <20090930120822.GA73383@zeninc.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. Cc: freebsd-net@freebsd.org, "Ansari, Fakhir" , "Khan, Fayyaz" Subject: Re: FreeBSD ipsec tunnel mode packet lost X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 12:08:38 -0000 On Wed, Sep 30, 2009 at 01:16:47PM +0200, Zaidi, Abbas wrote: > Hi Hi. > I am having this strange problem establishing tunnel between FreeBSD and > linux, my network setup is [the setup] > Once the SAs get negotiated I send a ping request from FreeBSDe to > Linuxe. The packets get an ipsec header applied at FreeBSDr reaches > Linuxe a reply to packet comes back at Link1::e interface of FreeBSDr > and then packet gets lost. > > I am not using gif. Do I need it? Probably not. > I don't think any thing is wrong with ipsec as the seq of both in and > out sa are incrementing on every echo request reply. please check output of "netstat -s" (mainly sections esp, ipsec6, ip6), and see if some counters increase for each dropped packet. [...] > There is one strange thing about security policies as of linux in case > of tunnel there are 3 policies added (in, out, fwd) where as in FreeBSD > it only shows 2 (in, out). This is specific to Linux's IPsec stack implementation, just forget anything related to "fwd"..... Yvan. From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 16:11:57 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3E17106568F; Wed, 30 Sep 2009 16:11:57 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4388FC20; Wed, 30 Sep 2009 16:11:57 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8UGBv2W035703; Wed, 30 Sep 2009 16:11:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8UGBv2k035699; Wed, 30 Sep 2009 16:11:57 GMT (envelope-from linimon) Date: Wed, 30 Sep 2009 16:11:57 GMT Message-Id: <200909301611.n8UGBv2k035699@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/139204: [arp] DHCP server replies rejected, ARP entry lost before max_age X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 16:11:57 -0000 Old Synopsis: DHCP server replies rejected, ARP entry lost before max_age New Synopsis: [arp] DHCP server replies rejected, ARP entry lost before max_age Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Wed Sep 30 16:11:04 UTC 2009 Responsible-Changed-Why: I'm going to make a guess that this is ARP-related, based on a comment in the PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=139204 From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 17:08:25 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 590C31065696 for ; Wed, 30 Sep 2009 17:08:25 +0000 (UTC) (envelope-from decvt100@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id DB85D8FC2A for ; Wed, 30 Sep 2009 17:08:24 +0000 (UTC) Received: by ewy5 with SMTP id 5so736411ewy.36 for ; Wed, 30 Sep 2009 10:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=4tinGNlTDM+kuaobuypOJjxlOnYvxvWx9s7mcP2qbMg=; b=ffWU9akxVB5Jdb5/oTSgmr7+bnOgd3qPE+NmO93XJ95cnMmGPeXBslHt+W2gLg/TY4 QxQlLtISQjHK9NC1730PW8qWsyyioy0OL5B08OYHGdSpWO1bM+UthEaP4YwgR0xnjLNj CA6/dtZohtAglynGPG/GoWv5h3rdlyR8BNITE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=k69JyDqc02DKVtsgftKkdEK6X4uzHuUdRc2E+65LrUKQx0CzcmxXVupMwNRQ14y3er T4KH+0tU2Jm4Fix6Fv8jm/2CCd6tu9M+78HR/d9Ks7K1veTZSezFJLvKsXANM/+IDF1M LM0mh3v8LXdXckPyRHqb8/8YrG35eH2tbf4bU= Received: by 10.211.147.10 with SMTP id z10mr8673ebn.61.1254328838085; Wed, 30 Sep 2009 09:40:38 -0700 (PDT) Received: from jessy.int80h.dyndns.org (84.120.93.120.dyn.user.ono.com [84.120.93.120]) by mx.google.com with ESMTPS id 24sm104088eyx.46.2009.09.30.09.40.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Sep 2009 09:40:36 -0700 (PDT) From: Carlos To: freebsd-net@freebsd.org Date: Wed, 30 Sep 2009 18:40:29 +0200 User-Agent: KMail/1.12.1 (FreeBSD/8.0-RC1; KDE/4.3.1; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909301840.30001.decvt100@gmail.com> Subject: kern/137776: [rum] panic in rum(4) driver on 8.0-BETA2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 17:08:25 -0000 hi list, I would like to say sorry for my poor english i want to say that I can reproduce this panic always. If i run wine + WoW (World of Warcraft), the internet connection is lost and then if i run /etc/rc.d/netif restart the panic always appear. if you need make tests i can make it on my pc and give you the results of the test. I am only a normal user, not a developer user. If I have to apply patch (maybe) I need some help in how to apply it. My system is running 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 and this is my panic: kgdb /boot/kernel/kernel.symbols vmcore.1 GNU gdb 6.1.1 [FreeBSD] This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x20 fault code = supervisor read, page not present instruction pointer = 0x20:0xc09408a8 stack pointer = 0x28:0xe89809a4 frame pointer = 0x28:0xe89809c0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2321 (wpa_supplicant) trap number = 12 panic: page fault cpuid = 1 Uptime: 3m18s Physical memory: 2022 MB Dumping 222 MB: 207 191 175 159 143 127 111 95 79 63 47 31 15 Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from /boot/kernel/geom_journal.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_journal.ko Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from /boot/kernel/coretemp.ko.symbols...done. done. Loaded symbols for /boot/kernel/coretemp.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done. done. Loaded symbols for /boot/kernel/atapicam.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /usr/local/modules/rtc.ko...done. Loaded symbols for /usr/local/modules/rtc.ko #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc08823c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc08826b9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xc0bb346c in trap_fatal (frame=0xe8980964, eva=32) at /usr/src/sys/i386/i386/trap.c:933 #4 0xc0bb36f0 in trap_pfault (frame=0xe8980964, usermode=0, eva=32) at /usr/src/sys/i386/i386/trap.c:846 #5 0xc0bb40d5 in trap (frame=0xe8980964) at /usr/src/sys/i386/i386/trap.c:528 #6 0xc0b96a4b in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #7 0xc09408a8 in ieee80211_crypto_encap (ni=0xc6b5d000, m=0xc776dc00) at /usr/src/sys/net80211/ieee80211_crypto.c:560 #8 0xc07ca32b in rum_start (ifp=0xc67e2400) at /usr/src/sys/dev/usb/wlan/if_rum.c:1216 #9 0xc0923582 in if_start (ifp=0xc67e2400) at /usr/src/sys/net/if.c:3242 #10 0xc092750b in if_transmit (ifp=0xc67e2400, m=0xc6a60c00) at /usr/src/sys/net/if.c:3254 #11 0xc0963082 in ieee80211_start (ifp=0xc6409400) at /usr/src/sys/net80211/ieee80211_output.c:362 #12 0xc0923582 in if_start (ifp=0xc6409400) at /usr/src/sys/net/if.c:3242 #13 0xc092750b in if_transmit (ifp=0xc6409400, m=0xc6acc200) at /usr/src/sys/net/if.c:3254 #14 0xc092bd90 in ether_output_frame (ifp=0xc6409400, m=0xc6acc200) at /usr/src/sys/net/if_ethersubr.c:452 #15 0xc092c77b in ether_output (ifp=0xc6409400, m=0xc6acc200, dst=0xe8980b98, ro=0x0) at /usr/src/sys/net/if_ethersubr.c:423 #16 0xc09626fd in ieee80211_output (ifp=0xc6409400, m=0xc6acc200, dst=0xe8980b98, ro=0x0) at /usr/src/sys/net80211/ieee80211_output.c:406 #17 0xc092034b in bpfwrite (dev=0xc61df200, uio=0xe8980c58, ioflag=0) at /usr/src/sys/net/bpf.c:889 #18 0xc0806b4f in devfs_write_f (fp=0xc68c8310, uio=0xe8980c58, cred=0xc77d8e00, flags=0, td=0xc68586c0) at /usr/src/sys/fs/devfs/devfs_vnops.c:1509 #19 0xc08be3f7 in dofilewrite (td=0xc68586c0, fd=6, fp=0xc68c8310, auio=0xe8980c58, offset=-1, flags=0) at file.h:239 #20 0xc08be6e8 in kern_writev (td=0xc68586c0, fd=6, auio=0xe8980c58) at /usr/src/sys/kern/sys_generic.c:446 #21 0xc08be76f in write (td=0xc68586c0, uap=0xe8980cf8) at /usr/src/sys/kern/sys_generic.c:362 #22 0xc0bb3a35 in syscall (frame=0xe8980d38) at /usr/src/sys/i386/i386/trap.c:1073 #23 0xc0b96ab0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261 #24 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) From owner-freebsd-net@FreeBSD.ORG Wed Sep 30 20:38:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35B201065693 for ; Wed, 30 Sep 2009 20:38:16 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id C86C78FC19 for ; Wed, 30 Sep 2009 20:38:15 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id n8UKcDdf032169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 30 Sep 2009 22:38:14 +0200 Date: Wed, 30 Sep 2009 22:38:13 +0200 From: Albert Shih To: freebsd-net@freebsd.org Message-ID: <20090930203813.GA2322@obspm.fr> References: <20090923101750.GC84230@obspm.fr> <20090924180914.GA1417@weongyo> <20090925195112.GE37873@obspm.fr> <7E9D5842-B5BF-424D-AC27-FC2B9D043C96@FreeBSD.org> <20090926223125.GD1417@weongyo> <4ABF2030.8010302@obspm.fr> <20090928195110.GA1454@weongyo> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090928195110.GA1454@weongyo> User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Wed, 30 Sep 2009 22:38:14 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.95.2 at blade2-ext.obspm.fr X-Virus-Status: Clean Subject: Re: zyd & TEW-424UB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 20:38:16 -0000 Le 28/09/2009 à 12:51:10-0700, Weongyo Jeong a écrit > On Sun, Sep 27, 2009 at 10:20:00AM +0200, Albert Shih wrote: > > Le 27/09/2009 00:31, Weongyo Jeong a ?crit : > > >>> > > >>> Controller /dev/usb6: > > >>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > >>> Intel(0x0000), rev 1.00 > > >>> port 1 powered > > >>> port 2 addr 2: high speed, power 500 mA, config 1, > > >>> RTL8187B_WLAN_Adapter(0x8189), vendor 0x0bda(0x0bda), rev 2.00 > > >>> port 3 powered > > >>> port 4 powered > > >>> port 5 powered > > >>> port 6 powered > > >> > > >> Maybe this is a urtw device? > > > > > > Yes it looks one of urtw devices. Albert, could you please try with > > > urtw(4)? > > > > > Can you confirme the urtw is only in 8- and not in 7-Stable ? I don't > > find any if_urtw if my /boot/kernel/ > > urtw(4) is only in STABLE_8 and CURRENT not in STABLE_7 because it's not > backported. You right it's urtw driver for this usb wifi device. > > At this time do you think I can upgrade to 8-current or 8-stable (if > > it's exist) ? The last time I try to upgrade to 8-current my laptop > > don't boot.... and this is my work'laptop ... > > I don't know your symptom why you couldn't boot but other developers can > help you if you submit error messages. I just switch to 8.0-RC1 and now everything work fine. But for the urtw, it's not work fine :-( I'm loosing the signal many time. and with my other usb device (if_rum) it's very stable. I don't known if I can help. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 30 sep 2009 22:36:15 CEST From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 06:37:35 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5F26106566B; Thu, 1 Oct 2009 06:37:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7650E8FC23; Thu, 1 Oct 2009 06:37:35 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n916bZKM026564; Thu, 1 Oct 2009 06:37:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n916bZZo026560; Thu, 1 Oct 2009 06:37:35 GMT (envelope-from linimon) Date: Thu, 1 Oct 2009 06:37:35 GMT Message-Id: <200910010637.n916bZZo026560@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/139268: [if_bridge] [patch] allow if_bridge to forward just VLAN-tagged (or untagged) packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 06:37:35 -0000 Old Synopsis: patch to allow if_bridge to forward just VLAN-tagged (or untagged) packets New Synopsis: [if_bridge] [patch] allow if_bridge to forward just VLAN-tagged (or untagged) packets Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Thu Oct 1 06:36:57 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=139268 From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 08:00:39 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8133D106568B for ; Thu, 1 Oct 2009 08:00:39 +0000 (UTC) (envelope-from Abbas_Zaidi@mentor.com) Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by mx1.freebsd.org (Postfix) with ESMTP id 65A288FC08 for ; Thu, 1 Oct 2009 08:00:38 +0000 (UTC) Received: from nat-dem.mentorg.com ([139.181.124.2] helo=eu2-mail.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1MtGac-0001az-1b from Abbas_Zaidi@mentor.com ; Thu, 01 Oct 2009 01:00:38 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 1 Oct 2009 10:00:35 +0200 Message-ID: In-Reply-To: <20090930120822.GA73383@zeninc.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD ipsec tunnel mode packet lost Thread-Index: AcpBxsPaAQUAysVUTtO8HTpihzBuagApddVw From: "Zaidi, Abbas" To: "VANHULLEBUS Yvan" Cc: freebsd-net@freebsd.org, "Ansari, Fakhir" , "Khan, Fayyaz" Subject: RE: FreeBSD ipsec tunnel mode packet lost X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 08:00:39 -0000 Thanks Yvan for the help The problem got solved by changing the in security policy, on SGW, from ipsec level require to use, but I'm still not clear what the real issue was. Why we can't use require on it. Thanks,=20 -----Original Message----- From: VANHULLEBUS Yvan [mailto:vanhu@FreeBSD.org]=20 Sent: Wednesday, September 30, 2009 6:08 PM To: Zaidi, Abbas Cc: freebsd-net@freebsd.org; Ansari, Fakhir; Khan, Fayyaz Subject: Re: FreeBSD ipsec tunnel mode packet lost On Wed, Sep 30, 2009 at 01:16:47PM +0200, Zaidi, Abbas wrote: > Hi Hi. > I am having this strange problem establishing tunnel between FreeBSD and > linux, my network setup is [the setup] > Once the SAs get negotiated I send a ping request from FreeBSDe to > Linuxe. The packets get an ipsec header applied at FreeBSDr reaches > Linuxe a reply to packet comes back at Link1::e interface of FreeBSDr > and then packet gets lost. >=20 > I am not using gif. Do I need it? Probably not. > I don't think any thing is wrong with ipsec as the seq of both in and > out sa are incrementing on every echo request reply. please check output of "netstat -s" (mainly sections esp, ipsec6, ip6), and see if some counters increase for each dropped packet. [...] > There is one strange thing about security policies as of linux in case > of tunnel there are 3 policies added (in, out, fwd) where as in FreeBSD > it only shows 2 (in, out). This is specific to Linux's IPsec stack implementation, just forget anything related to "fwd"..... Yvan. From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 08:11:33 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC4C106566B for ; Thu, 1 Oct 2009 08:11:33 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6558D8FC13 for ; Thu, 1 Oct 2009 08:11:33 +0000 (UTC) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id 662262798BC; Thu, 1 Oct 2009 10:11:31 +0200 (CEST) Received: by astro.zen.inc (Postfix, from userid 1000) id 6A04F1704E; Thu, 1 Oct 2009 10:11:31 +0200 (CEST) Date: Thu, 1 Oct 2009 10:11:31 +0200 From: VANHULLEBUS Yvan To: "Zaidi, Abbas" Message-ID: <20091001081131.GA76872@zeninc.net> References: <20090930120822.GA73383@zeninc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. Cc: freebsd-net@freebsd.org, "Ansari, Fakhir" , "Khan, Fayyaz" Subject: Re: RE: FreeBSD ipsec tunnel mode packet lost X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 08:11:33 -0000 On Thu, Oct 01, 2009 at 10:00:35AM +0200, Zaidi, Abbas wrote: > Thanks Yvan for the help > > The problem got solved by changing the in security policy, on SGW, from > ipsec level require to use, but I'm still not clear what the real issue > was. Why we can't use require on it. This sounds like you still have some configuration issues.... Are you sure your traffic is still encrypted ???? Yvan. From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 08:27:06 2009 Return-Path: Delivered-To: net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23A141065670 for ; Thu, 1 Oct 2009 08:27:06 +0000 (UTC) (envelope-from bynkaay@gmail.com) Received: from mx20.turkticaret.net (mx20.turkticaret.net [89.106.12.90]) by mx1.freebsd.org (Postfix) with ESMTP id 35A4C8FC1B for ; Thu, 1 Oct 2009 08:26:32 +0000 (UTC) Received: from (unknown [89.106.12.90]) by scm68.turkticaret.net with smtp id 617a_0e9f_cff563ee_ae72_11de_837b_001d0965af5f; Thu, 01 Oct 2009 13:11:41 +0300 Received: from gmail.com (unknown [85.103.181.45]) by mx20.turkticaret.net (Postfix) with ESMTPA id C26C639B6E6 for ; Thu, 1 Oct 2009 11:29:48 +0300 (EEST) From: www bynkaay com To: Date: Thu, 01 Oct 2009 11:27:24 +0300 X-Mailer: TOL Mailer MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7Bit Message-Id: <20091001082948.C26C639B6E6@mx20.turkticaret.net> TURKTICARET.Net-Anti-Spam: Checked! X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 9 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Version: 2.1.0.8975 : core <3374> : streams <279881> : uri <44850 Cc: Subject: PROFESSIONAL CAR DIAGNOSTIC @www.bynkaay.com X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 08:27:06 -0000 Newsletter NKAAY CO., HK LTD w w w . b y n k a a y . c o m Welcome to BYNKAAY Newsletter www.bynkaay.com Highly Quality Lowest Price 1 year warranty by NKAAY . since 1997 **** PROFESSIONAL CAR DIAGNOSTIC http://www.bynkaay.com/user_productlist.jsp?cmbcatlist=10&cmbsubcatlist=9&PAGENO=2 VAS 5054A Bluetooth - Original For purchase of Qty 4 or more, special price would be Euro 1050.00 per Pcs TWINB for BENZ and BMW (Benz C4 and Bmw GT1) For purchase of Qty 3 or more, special price would be Euro 758.00 per Set TOYOTA Denso DiagnosticTester II For purchase of Qty 4 or more, special price would be Euro 1573.00 per Set Renault Can Clip Diagnostic For purchase of Qty 4 or more, special price would be Euro 429.00 per Set PPS2000 Lexia-3 Citroen Peugeot Diagnostic For purchase of Qty 6 or more, special price would be Euro 215.00 per Set GM Tech2 Kit with CANdi Module For purchase of Qty 4 or more, special price would be Euro 1645.00 per Set Ford VCM IDS NEW For purchase of Qty 4 or more, special price would be Euro 475.00 per Set BMW OPS DIS SSS For purchase of Qty 3 or more, special price would be Euro 660.00 per Set NEW BMW GT1 DIS SSS For purchase of Qty 4 or more, special price would be Euro 475.00 per Set BMW INPA V502 For purchase of Qty 6 or more, special price would be Euro 200.00 per Set MB Star Diagnosis SET C3 (Jan.2009) For purchase of Qty 4 or more, special price would be Euro 374.00 per Set MB Star Diagnosis C4 For purchase of Qty 4 or more, special price would be Euro 458.00 per Set TOYOTA ITIS For purchase of Qty 3 or more, special price would be Euro 1187.00 per Set FLY100 Special Diagnostic tool for Honda For purchase of Qty 5 or more, special price would be Euro 400.00 per Set Porsche PIWIS For purchase of Qty 3 or more, special price would be Euro 1716.00 per Set Launch X431 (uptade by internet) For purchase of Qty 3 or more, special price would be Euro 1216.00 per Set Launch X431 (uptade by e-mail) For purchase of Qty 4 or more, special price would be Euro 930.00 per Set ALL OUR PRODCUTS http://www.bynkaay.com/productdivision.jsp BUY NOW! Shipping by DHL Please visit our web site www.bynkaay.com to see all products. -CONTACTS INSTANT: Mail : info@bynkaay.com MSN :bynkaay@hotmail.com YAHOO :bynkaay@yahoo.com Skype : bynkaay ICQ : 208344566 Support: info@nkaay.com Copyright (C) 2009 All Right Reserved NKAAY CO., HK LIMITED | http://www.nkaay.com Unsubscription : If you do not want to receive this newsletter please Click Here From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 11:17:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B647B10656A5; Thu, 1 Oct 2009 11:17:55 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id B20278FC0A; Thu, 1 Oct 2009 11:17:54 +0000 (UTC) Received: by bwz27 with SMTP id 27so24150bwz.43 for ; Thu, 01 Oct 2009 04:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rMsMLknH9ANwh/Cr4FW/SID1UY304iV4jmbHm+xTXQo=; b=GyUCHGHJTlDbXjFvNc1WQ0SnvABLUBMFDdmHueMqxj3OTvnwPPxR09OUEKGniLaZjp VhbtcpSixGeR7EJbGK+S7ig9omkD3wBx/huGOO+IBAXkv6NS1uNF3T1tvbPj+7ihAYU1 mJq066ZSSW/8TuTb+7LlYeRPGptWE/pR9cChU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FRS0eVXGuhGEYQ1H0VEQHiYVteLvHWx2zNQuWaumbWReu/d4gcMhommVpanHL4ZPk7 gPjcMkJ3ORZjiPKGPjY1gH2M5o2OKl/CzaV/fv2OOKhijWlarDO/VaA+6udRNu1DQdWJ s2OdjO3E7LVZZp9INUP+/i13GWYcyyBu/Igr8= MIME-Version: 1.0 Received: by 10.204.153.217 with SMTP id l25mr877867bkw.108.1254395873342; Thu, 01 Oct 2009 04:17:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2009 15:17:53 +0400 Message-ID: From: pluknet To: Robert Watson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Net Subject: Re: panic in soabort X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 11:17:56 -0000 2009/4/25 Robert Watson : > > On Fri, 24 Apr 2009, pluknet wrote: > >> 2009/4/23 Robert Watson : >>> >>> On Thu, 23 Apr 2009, pluknet wrote: >>> >>>> Please, give me comment on this. The panic is on 6.2-REL. Is it known = to >>>> be fixed in the latter releases? >>> >>> It may well be -- there have been quite significant architectural >>> improvements to socket life cycle (etc) between 6.2 and 7.x releases, w= hich >>> may well close the race causing this panic. =A0However, we'll probably = need to >>> learn a bit more in order to decide for sure. =A0Could you convert the >>> trapping instruction pointer to file+offset in the source code? >> >> Looks I've lost the corresponding kernel.debug. Anyway I have such bt th= e >> first time. > > If you run into this again, let me know. =A0Also, are you using accept fi= lters > on the box? > Got it again (this time on 6.4-p5). Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x104 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc06a3425 stack pointer =3D 0x28:0xef764bb0 frame pointer =3D 0x28:0xef764bbc code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 74303 (proftpd) db> bt 74303 Tracing pid 74303 tid 101039 td 0xcaa08820 _mtx_lock_sleep(ccd50768,caa08820,0,0,0) at _mtx_lock_sleep+0x9d soabort(ccd506f4) at soabort+0x82 soclose(d1aa8b20) at soclose+0x21a soo_close(c9f50a20,caa08820) at soo_close+0x63 fdrop_locked(c9f50a20,caa08820,caf78a00,ef764ca8,c06875f3,...) at fdrop_locked+0xd0 fdrop(c9f50a20,caa08820,caa08820,ef764c64,c0689055,...) at fdrop+0x41 closef(c9f50a20,caa08820,0,ef764d38,cad8f648,...) at closef+0x42f kern_close(caa08820,a,ef764d30,c08e1d4b,caa08820,...) at kern_close+0x20d close(caa08820,ef764d04) at close+0x10 syscall(bfbf003b,3b,bfbf003b,8150034,811a434,...) at syscall+0x2bf Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (6, FreeBSD ELF32, close), eip =3D 0x2832230f, esp =3D 0xbfbfe6bc, ebp =3D 0xbfbfe6d8 --- db> show proc 74303 Process 74303 (proftpd) at 0xcad8f648: state: NORMAL uid: 36830 gids: 36830 parent: pid 95478 at 0xc8e60000 ABI: FreeBSD ELF32 arguments: proftpd: fatich_1 - 93.118.217.18: IDLE threads: 1 101039 Run CPU 2 proftpd (gdb) list *(soabort+0x82) 0xc06ea2a6 is in soabort (/usr/src/sys/kern/uipc_socket.c:510). 505 int error; 506 507 error =3D (*so->so_proto->pr_usrreqs->pru_abort)(so); 508 if (error) { 509 ACCEPT_LOCK(); 510 SOCK_LOCK(so); 511 sotryfree(so); /* note: does not decrement the ref count */ 512 return error; 513 } 514 return (0); --=20 wbr, pluknet From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 11:24:19 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8AB8106566B; Thu, 1 Oct 2009 11:24:19 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF538FC19; Thu, 1 Oct 2009 11:24:18 +0000 (UTC) Received: by fxm22 with SMTP id 22so33416fxm.36 for ; Thu, 01 Oct 2009 04:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ri/2phxPyjuTsvNuOa6AK+8Hi+OcitApeR/Js45ZmA8=; b=j/PvfeU7VVQU85rvjbhCcdId/DbJuyTaxnrMr2ODCG5JoD6JFOx1Qimi1kg3qD1Ggv 6hXmZq97dT8RMP1J9D2vJnSXI50J3t96VP+zcJsg6AtlSu6B4tsGaykJx3sPdoYBJgU0 TBhh3pfBs4ZK/fl8krF5cVxgTLP3nm08nIPcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uBRgook838/QfR6ns6r/4karsCXBbh6yT3OgV/lLKc7EyGWGBoh9gJWoxsVOluV1bj tFbGX8F9O6iI2LaI1hMnCRBHEPDgCcJJ5Xt3ecyP7MmYGdpsiZ81Qv798LlTiyB3jWG2 dyszn4Bkv8w8L4A9br66xl35/5OpLV5acIZLE= MIME-Version: 1.0 Received: by 10.204.153.217 with SMTP id l25mr883438bkw.108.1254396257570; Thu, 01 Oct 2009 04:24:17 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2009 15:24:17 +0400 Message-ID: From: pluknet To: Robert Watson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Net Subject: Re: panic in soabort X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 11:24:19 -0000 2009/10/1 pluknet : > 2009/4/25 Robert Watson : >> >> On Fri, 24 Apr 2009, pluknet wrote: >> >>> 2009/4/23 Robert Watson : >>>> >>>> On Thu, 23 Apr 2009, pluknet wrote: >>>> >>>>> Please, give me comment on this. The panic is on 6.2-REL. Is it known= to >>>>> be fixed in the latter releases? >>>> >>>> It may well be -- there have been quite significant architectural >>>> improvements to socket life cycle (etc) between 6.2 and 7.x releases, = which >>>> may well close the race causing this panic. =A0However, we'll probably= need to >>>> learn a bit more in order to decide for sure. =A0Could you convert the >>>> trapping instruction pointer to file+offset in the source code? >>> >>> Looks I've lost the corresponding kernel.debug. Anyway I have such bt t= he >>> first time. >> >> If you run into this again, let me know. =A0Also, are you using accept f= ilters >> on the box? >> > > Got it again (this time on 6.4-p5). P.S. It's funny to say: I got it on two boxes nearly simultaneously. Both from proftpd. See also my first mail (the same). > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 2; apic id =3D 02 > fault virtual address =A0 =3D 0x104 > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > instruction pointer =A0 =A0 =3D 0x20:0xc06a3425 > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xef764bb0 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xef764bbc > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 0, pres 1, def32 1, g= ran 1 > processor eflags =A0 =A0 =A0 =A0=3D resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 74303 (proftpd) > > db> bt 74303 > Tracing pid 74303 tid 101039 td 0xcaa08820 > _mtx_lock_sleep(ccd50768,caa08820,0,0,0) at _mtx_lock_sleep+0x9d > soabort(ccd506f4) at soabort+0x82 > soclose(d1aa8b20) at soclose+0x21a > soo_close(c9f50a20,caa08820) at soo_close+0x63 > fdrop_locked(c9f50a20,caa08820,caf78a00,ef764ca8,c06875f3,...) at > fdrop_locked+0xd0 > fdrop(c9f50a20,caa08820,caa08820,ef764c64,c0689055,...) at fdrop+0x41 > closef(c9f50a20,caa08820,0,ef764d38,cad8f648,...) at closef+0x42f > kern_close(caa08820,a,ef764d30,c08e1d4b,caa08820,...) at kern_close+0x20d > close(caa08820,ef764d04) at close+0x10 > syscall(bfbf003b,3b,bfbf003b,8150034,811a434,...) at syscall+0x2bf > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (6, FreeBSD ELF32, close), eip =3D 0x2832230f, esp =3D > 0xbfbfe6bc, ebp =3D 0xbfbfe6d8 --- > db> show proc 74303 > Process 74303 (proftpd) at 0xcad8f648: > state: NORMAL > uid: 36830 =A0gids: 36830 > parent: pid 95478 at 0xc8e60000 > ABI: FreeBSD ELF32 > arguments: proftpd: fatich_1 - 93.118.217.18: IDLE > threads: 1 > 101039 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Run =A0 =A0 CPU 2 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 proftpd > > (gdb) list *(soabort+0x82) > 0xc06ea2a6 is in soabort (/usr/src/sys/kern/uipc_socket.c:510). > 505 =A0 =A0 =A0 =A0 =A0 =A0 int error; > 506 > 507 =A0 =A0 =A0 =A0 =A0 =A0 error =3D (*so->so_proto->pr_usrreqs->pru_abo= rt)(so); > 508 =A0 =A0 =A0 =A0 =A0 =A0 if (error) { > 509 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ACCEPT_LOCK(); > 510 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 SOCK_LOCK(so); > 511 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sotryfree(so); =A0/* note: do= es not decrement > the ref count */ > 512 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return error; > 513 =A0 =A0 =A0 =A0 =A0 =A0 } > 514 =A0 =A0 =A0 =A0 =A0 =A0 return (0); > > -- > wbr, > pluknet > --=20 wbr, pluknet From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 15:09:29 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BA5A1065693 for ; Thu, 1 Oct 2009 15:09:29 +0000 (UTC) (envelope-from universite@ukr.net) Received: from mary-teresa.otrada.od.ua (universite.broker.freenet6.net [IPv6:2001:5c0:1400:b::27e9]) by mx1.freebsd.org (Postfix) with ESMTP id 18FAE8FC14 for ; Thu, 1 Oct 2009 15:09:28 +0000 (UTC) Received: from phenom (mary-teresa.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by mary-teresa.otrada.od.ua (8.14.3/8.14.3) with ESMTP id n91F9OvK030074 for ; Thu, 1 Oct 2009 18:09:25 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: mary-teresa.otrada.od.ua: Host mary-teresa.otrada.od.ua [10.0.0.10] claimed to be phenom X-AntiVirus: Checked by Dr.Web [version: 5.0, engine: 5.00.0.12182, virus records: 652097, updated: 1.10.2009] Message-ID: <4AC4C622.3060803@ukr.net> Date: Thu, 01 Oct 2009 18:09:22 +0300 From: "Vladislav V. Prodan" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua Subject: Why not work whois -6 ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 15:09:29 -0000 FreeBSD 8.0-BETA4 amd64 # whois -6 2a01:d0::1 whois: connect(): Connection refused In man whois written: -6 Use the IPv6 Resource Center (6bone) database. It contains net- work names and addresses for the IPv6 network. There are ideas on how to define membership of a particular block of ipv6? From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 16:25:33 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E9BD1065670 for ; Thu, 1 Oct 2009 16:25:33 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8048FC20 for ; Thu, 1 Oct 2009 16:25:32 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so79478eyf.9 for ; Thu, 01 Oct 2009 09:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=764ImXZULp3/eH32MIac0QpZn4lO63ShE7o0wqmL9lU=; b=MAw8wrWa2fnidx7lZ/7Y68MkrqiURXaIS6moy4Ul+tp/RpzhnVrSptnWHdqKiXqoZm OPuzPCepAuEPJTFXXg1J7PbSX8DAtH5evLhRGOEP/jbcNz4bRrUIt3GiDQLMzG8OwvBa 00qsX66byuuPCMW9gFLNqljNVmL5pyHOUJ43E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=O/VTiZbcb7YsZEBjNHIElkvIJBPbp4M2c1+LQ3OHsWimGyM6OzkbUrahn7zvQbQvyy cSnIJ+GPmwj8cxkKsp+r3WM2Goa+rYHcjU24JBawBaJpQC+Ei3UoX+17oNzcToO6JJg6 jMF7qxu1nVFq47nnVrT/hv+pfpgPU8GgJoVJQ= Received: by 10.211.146.39 with SMTP id y39mr8111427ebn.88.1254414331793; Thu, 01 Oct 2009 09:25:31 -0700 (PDT) Received: from mac-mini.lan (bl6-144-180.dsl.telepac.pt [82.155.144.180]) by mx.google.com with ESMTPS id 7sm117906eyb.21.2009.10.01.09.25.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 09:25:30 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Rui Paulo In-Reply-To: <4AC4C622.3060803@ukr.net> Date: Thu, 1 Oct 2009 17:25:28 +0100 Content-Transfer-Encoding: 7bit Message-Id: <33B977A4-00AD-48CA-A27C-89451DAF42AE@freebsd.org> References: <4AC4C622.3060803@ukr.net> To: Vladislav V. Prodan X-Mailer: Apple Mail (2.1076) Cc: freebsd-net@freebsd.org Subject: Re: Why not work whois -6 ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 16:25:33 -0000 On 1 Oct 2009, at 16:09, Vladislav V. Prodan wrote: > FreeBSD 8.0-BETA4 amd64 > > # whois -6 2a01:d0::1 > whois: connect(): Connection refused > > In man whois written: > -6 Use the IPv6 Resource Center (6bone) database. It > contains net- > work names and addresses for the IPv6 network. > > > There are ideas on how to define membership of a particular block of > ipv6? The 6bone whois server is dead AFAIK. Try whois -h whois.ripe.net 2a01:d0::1 -- Rui Paulo From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 17:44:32 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 596D6106568F for ; Thu, 1 Oct 2009 17:44:32 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0278FC19 for ; Thu, 1 Oct 2009 17:44:31 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id B89FC23962E for ; Thu, 1 Oct 2009 20:59:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 46A874761F9 for ; Thu, 1 Oct 2009 13:56:45 -0400 (EDT) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26716-04 for ; Thu, 1 Oct 2009 13:56:43 -0400 (EDT) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 8D0914761F8 for ; Thu, 1 Oct 2009 13:56:43 -0400 (EDT) From: "remodeler" To: freebsd-net@freebsd.org Date: Thu, 1 Oct 2009 13:56:43 -0400 Message-Id: <20091001173851.M50386@alentogroup.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 17:44:32 -0000 I am experimenting with a vimage-enabled 8.0 kernel with multiple jails. I use the rc.d method to start jails, because of the warning in /etc/rc.d/jails about security. I would like to associate a vnet stack with each jail, and use netgraph to bridge the service jails to the physical interface. The ifconfig vnet additions allow an interface to be assigned to a particular jail; however, I do not know how to create a vimage separate from a jail as they are now unified (vimage -c creates both vnet and jail). I have also not had success passing the vnet parameter in rc.conf, which Julian mentioned might be as simple as "jail_xxx_extra_params". Is there a way to create a vimage w/o a jail and assign it to a jail w/ ifconfig vnet, or to pass the vnet parameter in rc.conf to the jails? I sincerely appreciate the work that's been done on vimage. I'm looking forward to netstat being updated to work with vimage. Thanks in advance. From owner-freebsd-net@FreeBSD.ORG Thu Oct 1 21:40:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D6491065670 for ; Thu, 1 Oct 2009 21:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 52F768FC1C for ; Thu, 1 Oct 2009 21:40:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n91Le355091984 for ; Thu, 1 Oct 2009 21:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n91Le2C7091983; Thu, 1 Oct 2009 21:40:02 GMT (envelope-from gnats) Date: Thu, 1 Oct 2009 21:40:02 GMT Message-Id: <200910012140.n91Le2C7091983@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Vladislav V. Prodan" Cc: Subject: Re: kern/138666: [multicast] [panic] not working multicast through igmpproxy X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Vladislav V. Prodan" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 21:40:03 -0000 The following reply was made to PR kern/138666; it has been noted by GNATS. From: "Vladislav V. Prodan" To: bug-followup@FreeBSD.org Cc: universite@ukr.net Subject: Re: kern/138666: [multicast] [panic] not working multicast through igmpproxy Date: Fri, 02 Oct 2009 00:31:39 +0300 Memtest86 + v2.01 said that with memory so good. P.S. Hynix 2Gb + Hynix 2Gb + Aeneon 1Gb + Aeneon 1Gb From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 01:40:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0905B106568B for ; Fri, 2 Oct 2009 01:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ED3348FC0C for ; Fri, 2 Oct 2009 01:40:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n921e2Tc039581 for ; Fri, 2 Oct 2009 01:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n921e2mw039579; Fri, 2 Oct 2009 01:40:02 GMT (envelope-from gnats) Date: Fri, 2 Oct 2009 01:40:02 GMT Message-Id: <200910020140.n921e2mw039579@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/139113: commit references a PR X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 01:40:03 -0000 The following reply was made to PR kern/139113; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/139113: commit references a PR Date: Fri, 2 Oct 2009 01:35:09 +0000 (UTC) Author: qingli Date: Fri Oct 2 01:34:55 2009 New Revision: 197695 URL: http://svn.freebsd.org/changeset/base/197695 Log: Previously, if an address alias is configured on an interface, and this address alias has a prefix matching that of another address configured on the same interface, then the ARP entry for the alias is not deleted from the ARP table when that address alias is removed. This patch fixes the aforementioned issue. PR: kern/139113 MFC after: 3 days Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ============================================================================== --- head/sys/netinet/in.c Fri Oct 2 01:07:28 2009 (r197694) +++ head/sys/netinet/in.c Fri Oct 2 01:34:55 2009 (r197695) @@ -1060,6 +1060,8 @@ in_scrubprefix(struct in_ifaddr *target) !(target->ia_ifp->if_flags & IFF_LOOPBACK)) { error = ifa_del_loopback_route((struct ifaddr *)target, (struct sockaddr *)&target->ia_addr); + /* remove arp cache */ + arp_ifscrub(target->ia_ifp, IA_SIN(target)->sin_addr.s_addr); } if ((target->ia_flags & IFA_ROUTE) == 0) { @@ -1082,8 +1084,6 @@ in_scrubprefix(struct in_ifaddr *target) prefix = target->ia_addr.sin_addr; mask = target->ia_sockmask.sin_addr; prefix.s_addr &= mask.s_addr; - /* remove arp cache */ - arp_ifscrub(target->ia_ifp, IA_SIN(target)->sin_addr.s_addr); } IN_IFADDR_RLOCK(); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 06:28:27 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BCDA1065670; Fri, 2 Oct 2009 06:28:27 +0000 (UTC) (envelope-from yohanes@gmail.com) Received: from mail-gx0-f214.google.com (mail-gx0-f214.google.com [209.85.217.214]) by mx1.freebsd.org (Postfix) with ESMTP id AEB128FC0C; Fri, 2 Oct 2009 06:28:26 +0000 (UTC) Received: by gxk6 with SMTP id 6so1062357gxk.13 for ; Thu, 01 Oct 2009 23:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=tz/1gQywM1pqPBoQ5j+CbA/RPug54SrMz8C4loChwGw=; b=LzQkpfCsl9JGnm3fcGZHxJRlAtQTrkNozhH3iqeyqP9gS7euOYWQTiKP+e+8rkY5oH hwBcSj2nh9tnoMFcxjPlWb1vgZNctor+KGQ9zqkkB0Zq487VCe0Y759QZyr0U7f1gbnf mv9BXbZrMNRYndzQ0EetXw0d/v8Z1c4GJGerQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=JAAMD5lCjgaZ13CA4PUlo1c5CV7jSf5I58kKGgyO/r/Tj9GYSMFM8PReH+t/YRRnJF yigutNyxgkPWIPmduLx2gsDiEOVG3IDC3zf+gEqd+jH10f+xL1I2N5hiFxjS2oyDuUG/ LH0NlP4b+b0Wv7RheA+TnFlSjrtEM8TPRKAmE= MIME-Version: 1.0 Received: by 10.90.16.34 with SMTP id 34mr1251141agp.47.1254463138089; Thu, 01 Oct 2009 22:58:58 -0700 (PDT) From: Yohanes Nugroho Date: Fri, 2 Oct 2009 12:58:38 +0700 Message-ID: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> To: freebsd-arm@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: FreeBSD ARM network speed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 06:28:27 -0000 Hi All, I am continuing my work on CNX11XX/STR91XX (more info about the work: http://tinyhack.com/2009/09/28/cnx11xxstr91xx-freebsd-progress/), two important things left are the Flash/CFI driver, and network problem. The Flash/CFI in theory should be easy, but I will read more about it to make sure that I will not mess the boot loader part. And now about the network. The network speed is now around half of Linux on the same hardware. FTP-ing from the device to my computer (uploading 30 mb file), the speed is about 1.6-2 megabyte/second (the high speed is on the second time when the data is already cached). On Linux, I can upload the same file with the speed of about 3-4 megabyte/second. Some info about the device: RAM: 64 Mb, CPU FA526 (ARM4, no thumb instruction), Speed 200Mhz. MAC is part of SoC, PHY is ICPLUS IP101A I have two question: 1. Is the network speed in Freebsd ARM currently slower than Linux ARM? If it is slower, then how much slower is it? I can not find a comparison of network speed on Freebsd arm and Linux ARM. I am interested if anyone can provide me the comparison between Linux and Freebsd on NSLU2 or some other device. Just for information, changing some kernel options in the Linux version (such as the scheduler used) makes the network speed varies greatly (i think the variation is more than 30%, so in certain configuration it can be a slow as the current FreeBSD version). The network in Linux 2.4 kernel is faster than Linux 2.6. 2. What should I do to make the network faster (especially the sending from device part, to make it usable as a media server)? Here are the things that I have done: - using the scatter/gather feature of the hardware (this improves the speed a little bit) - using checksum offloading feature of the hardware (this improves the speed a little bit) - using task_queue for sending (this improves the speed a lot) - I have disabled spinlock debugging, and other debugging except for the DDB - I have used the -O2 optimization flag - I have checked that there is no error/retransmission (using wireshark), so all the packets are sent and received correctly - I have disabled IPV6 (here is my current configuration: http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/str91xx/src/sys/arm/conf/CNS11XXNAS&REV=3) The specification for the STR9104 SoC is available on Cavium website for those who are interested, but it is not very clear, so in developing the network driver, I followed the logic used by the Linux driver (the initialization sequence, etc). The current code is at http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/str91xx/src/sys/arm/econa/if_ece.c&REV=4 Here is how the sending part works on STR9104: - In the initialization part, I allocate a ring, the size of the ring is 256 entries (same as Linux version). - When being asked to send a packet, I will do the following thing: - stop the network TX DMA - put the address of each segment of the packet to the ring, and set a flag so that the entry in the ring will be sent by hardware - start the network TX DMA obviously there is a cleaning up part (freeing mbuf) that should be done. The network driver can generate interrupt when a packet has been sent (but can't tell which entry was sent). In the Linux version, this interrupt is not used, the clean up is done just after starting the TX DMA, at the send of the sending function, and I do the same in the FreeBSD driver . Usually only one entry that needs to be removed, so it is quite fast. Is there something obvious (or not so obvius) that I've missed? -- Regards Yohanes http://yohan.es/ From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 08:38:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 037ED1065672; Fri, 2 Oct 2009 08:38:15 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7F38FC12; Fri, 2 Oct 2009 08:38:14 +0000 (UTC) Received: by fxm22 with SMTP id 22so925883fxm.36 for ; Fri, 02 Oct 2009 01:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=7p2vGu4+SjpeQqeXx1DVsVwbSXyD4KCoQtlrqn81BKg=; b=X1myaGCEJznAttjtxSewrT0jpXsIG53f8Q2x4GtvGs4oXdAgVsyUoI+VvaPYr0+r+5 5henUWpjP9PxEQMQj3Spc/9SOgZVuDzVHlq57UOJb478aVSa0ZYK/D/iKKLb5oRnqkxG JT8+eXX4uqSZ6KSpPMGtnA9WzDzI8hihRTUt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=R6Bhhfq6jovBSxh06m20uV7LEzSPIpW6ZxoArAFesiIDYpHUAZ5qqW1ccnvqNTiTbg JvUoEkYomwZu3JsjVPICswBbkoExWYRlj5tVR1ahKP2dJY+/PRjYen1IIVb68c6KGacw zYId34ZRn8uXQgx2oXxv7RF5nibBe5EVgTwyk= Received: by 10.86.181.6 with SMTP id d6mr2077253fgf.29.1254472693289; Fri, 02 Oct 2009 01:38:13 -0700 (PDT) Received: from mac-mini.lan (bl6-144-180.dsl.telepac.pt [82.155.144.180]) by mx.google.com with ESMTPS id d4sm169824fga.19.2009.10.02.01.38.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 01:38:12 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Rui Paulo In-Reply-To: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> Date: Fri, 2 Oct 2009 09:38:10 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> To: Yohanes Nugroho X-Mailer: Apple Mail (2.1076) Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Subject: Re: FreeBSD ARM network speed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 08:38:15 -0000 On 2 Oct 2009, at 06:58, Yohanes Nugroho wrote: > Hi All, > > I am continuing my work on CNX11XX/STR91XX (more info about the work: > http://tinyhack.com/2009/09/28/cnx11xxstr91xx-freebsd-progress/), two > important things left are the Flash/CFI driver, and network problem. > The Flash/CFI in theory should be easy, but I will read more about it > to make sure that I will not mess the boot loader part. And now about > the network. > > The network speed is now around half of Linux on the same hardware. > FTP-ing from the device to my computer (uploading 30 mb file), the > speed is about 1.6-2 megabyte/second (the high speed is on the second > time when the data is already cached). On Linux, I can upload the same > file with the speed of about 3-4 megabyte/second. > > Some info about the device: RAM: 64 Mb, CPU FA526 (ARM4, no thumb > instruction), Speed 200Mhz. MAC is part of SoC, PHY is ICPLUS IP101A > > I have two question: > 1. Is the network speed in Freebsd ARM currently slower than Linux > ARM? I see no problems on my ARM boards running FreeBSD. -- Rui Paulo From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 09:35:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF7A106568F; Fri, 2 Oct 2009 09:35:47 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id EFB858FC18; Fri, 2 Oct 2009 09:35:46 +0000 (UTC) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id AD4668FC45; Fri, 2 Oct 2009 13:35:45 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id BC35239C4E; Fri, 2 Oct 2009 13:35:59 +0400 (MSD) Date: Fri, 2 Oct 2009 13:35:59 +0400 From: Stanislav Sedov To: Yohanes Nugroho Message-Id: <20091002133559.283d377f.stas@FreeBSD.org> In-Reply-To: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> References: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__2_Oct_2009_13_35_59_+0400_1VFBUD8wRLAxVTXc" Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Subject: Re: FreeBSD ARM network speed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 09:35:47 -0000 --Signature=_Fri__2_Oct_2009_13_35_59_+0400_1VFBUD8wRLAxVTXc Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 2 Oct 2009 12:58:38 +0700 Yohanes Nugroho mentioned: > I have two question: > 1. Is the network speed in Freebsd ARM currently slower than Linux ARM? > I don't think so. Our network stack is arch-independent and should perform equally well on all platforms. I've been able to acchieve speeds up to 70 Mbps on my 180Mhz AT91 based board which uses very plain and dumb ethernet controller (although, DMA is supported). > Here is how the sending part works on STR9104: >=20 > - In the initialization part, I allocate a ring, the size of the ring > is 256 entries (same as Linux version). > - When being asked to send a packet, I will do the following thing: > - stop the network TX DMA > - put the address of each segment of the packet to the ring, and set > a flag so that the entry in the ring will be sent by hardware > - start the network TX DMA >=20 This looks weird. Why do you stop the TX engine to add more packets in the ring? This thing definitely can kill the network performace as the controller unable to transmit anything during the time you're filling the ring. You should not also generally transmit only one packet a time as in this case your driver will do a lot of extra work and, considering that you're stopping the TX engine when filling the ring, will prevent the adapter doing any useful work. The main strategy of the driver should be to keep the ring filled, waking up when some reasonable amount of space in the ring become available, and sleeping all other time when the adapter is working. I'm not sure why Linux doesn't use interrupt, but this looks really wrong. I'd suggest you to ananlyze the performance of network driver either by using the profiling tools available (kgmon, hardware counters (if any)) or/and via system monitoring tools (top, etc). Top, in particular, will allow you to see where all the CPU time=20 went. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Fri__2_Oct_2009_13_35_59_+0400_1VFBUD8wRLAxVTXc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKxcl/AAoJEKN82nOYvCd0tLIP/A5SMA8ESLfUMJ+dUtomjNFx Gysrhnsdn9q03R/TeD9wjkyiOGgTdL6NWYPtfV6yH+zJ2nFo0JoPaPT35KRlwzXO 7xXlqQjD5Sp+S4Quc0VHIyDYDDDOxEP3Bp6DkuhTv8J+xHJo1x0pC+yfunpkMygc /rzzWzj4C2hiIgwvn4I9zAPp4AKhzIZNbOAIdL9iHX0v2dnoH1zh15vVB7hTTLsV 8JX1u214Oyi/58E04MDVmMa1mKKnGpzSw3/xo023iCTJt9CTcIyJepsa7LugZaJH BBgurRD7o05uIEY1AaZ/x5KpHAHcBklZ0SY7PSaznDVSuQygRGWNInKnK5vGUmUc 8tQ56GprQNLNsWsN1ABHKhLaPfGZtpFXS4t7e1rD4E26WZ/2qQodzcYjIt8JCbm+ sWIiboYVh7JyEJomUHrkjDw0gfN6i/gEeR0+64V5WLQLt0W8MFZxNwL5EDG61lTY Ikuoi/hIoWLvinAW3rlz6RkXQX3XCxIQGOyBtZvPBOpN+7PoGAq6KKGce4Q/KWJT uM6wO2W0+M1U08Xfu9jdjlN1fIVeTbnic22pFmePzzC8vW1CtQdLIOsHY1f9EiOs pAxgMF8Socd3AZJm4nK+zcrnwH2zzbomTV3we7AfLqUombm9axl4B1YmV+1ICXvF rHMHjekU6zvV7O/P7VrF =TnRO -----END PGP SIGNATURE----- --Signature=_Fri__2_Oct_2009_13_35_59_+0400_1VFBUD8wRLAxVTXc-- From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 11:30:12 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA2B91065679 for ; Fri, 2 Oct 2009 11:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B0C2E8FC22 for ; Fri, 2 Oct 2009 11:30:12 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n92BUCAL058060 for ; Fri, 2 Oct 2009 11:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n92BUCAa058052; Fri, 2 Oct 2009 11:30:12 GMT (envelope-from gnats) Date: Fri, 2 Oct 2009 11:30:12 GMT Message-Id: <200910021130.n92BUCAa058052@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Stanislav Sedov Cc: Subject: Re: kern/127587: [bge] [request] if_bge(4) doesn't support BCM576X family X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stanislav Sedov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 11:30:12 -0000 The following reply was made to PR kern/127587; it has been noted by GNATS. From: Stanislav Sedov To: Norikatsu Shigemura Cc: matthieu , bug-followup@FreeBSD.org Subject: Re: kern/127587: [bge] [request] if_bge(4) doesn't support BCM576X family Date: Fri, 2 Oct 2009 15:28:55 +0400 Hello, Norikatsu! Can you check, please, if the patch matthieu proposed works for you? Thanks! -- Stanislav Sedov ST4096-RIPE From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 12:24:59 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 000411065670; Fri, 2 Oct 2009 12:24:58 +0000 (UTC) (envelope-from yohanes@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id BCD358FC15; Fri, 2 Oct 2009 12:24:58 +0000 (UTC) Received: by pzk15 with SMTP id 15so323433pzk.3 for ; Fri, 02 Oct 2009 05:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=DGpems6qWEVK0M/oILdZG1niZ7vCQ/dxLINbXzrFDNc=; b=Leld7TWZPVWg2ySzaGblDMzFMIYHyQfp/zPQxGuatdbZIMIpYaUn5IrW1GZKQZhUuS 9X3RrTexE3ziPUYeDoSXgG4BggHu/GFYrrontFDebyxjghBgo39ZF9es4OfV89S9mzJ/ qORwqPjxBO3uqyOH81fOziAj4kNeDt56J0OyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=iZOVGDkYpfB1TvxGzMRI/H++CyHIt0XlLBBz5OntrBUMYcgJKhzSkHvEXM0VA2tcAP EdI8LCIlImZgPI3OQ8Tb+Grq+1FS4bxfSiC4wr8cr2222ijoqu0nFMsJzFLdkvMAuMsk EdKYkauuK/qL7uZR7YMY8rJ4EI0OMrZHatkgA= MIME-Version: 1.0 Received: by 10.142.61.41 with SMTP id j41mr322357wfa.335.1254486298370; Fri, 02 Oct 2009 05:24:58 -0700 (PDT) In-Reply-To: <20091002133559.283d377f.stas@FreeBSD.org> References: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> <20091002133559.283d377f.stas@FreeBSD.org> From: Yohanes Nugroho Date: Fri, 2 Oct 2009 19:24:38 +0700 Message-ID: <260bb65e0910020524p374a7706r21c72a12b8ce93fb@mail.gmail.com> To: Stanislav Sedov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Subject: Re: FreeBSD ARM network speed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 12:24:59 -0000 On Fri, Oct 2, 2009 at 4:35 PM, Stanislav Sedov wrote: > On Fri, 2 Oct 2009 12:58:38 +0700 > Yohanes Nugroho mentioned: > >> I have two question: >> 1. Is the network speed in Freebsd ARM currently slower than Linux ARM? >> > > I don't think so. =C2=A0Our network stack is arch-independent and should = perform > equally well on all platforms. =C2=A0I've been able to acchieve speeds up= to > 70 Mbps on my 180Mhz AT91 based board which uses very plain and dumb > ethernet controller (although, DMA is supported). Ok, glad to hear that :) because the first time I asked about a problem in the USB, it turns out that there was a problem in the latest source code in busdma, and I have spent several days thinking it was my bug. > > This looks weird. =C2=A0Why do you stop the TX engine to add more packets > in the ring? =C2=A0This thing definitely can kill the network performace yes, you are right, that is weird, I will have a look at it again. > The main strategy of the driver should be to keep the ring filled, > waking up when some reasonable amount of space in the ring become > available, and sleeping all other time when the adapter is working. Thank you for your enlightenment. > I'm not sure why Linux doesn't use interrupt, but this looks really > wrong. It is because the driver comes from a vendor (very messy code), not in the mainline kernel yet. the background story: - I have a cheap chinese NAS device (Agestar NCB3AST, cost about $50, now you can get it for about $40), comes with linux kernel 2.4, no source code was given. SoC used is Starsemi 9104 - I found out that there is a Linux source code for this SoC but for different device (with different hardware around the SoC). - Based on the source code, I ported it to work on Linux kernel 2.6, I didn't bother to try to clean up the source code - I am thinking of trying to add my code to mainline kernel, I realized that I didn't understand most of the source code - Bruce Simpson offered a device with same SoC (NSD-100) and I tried to port FreeBSD to it, thinking that I will understand the SoC better when rewriting the code - Starsemi was bought by cavium, the SoC is renamed to Econa CNS1102, and the datasheet was released. The datasheet is not very clear, so I am still basing some of my code on the Linux code (just the logic, not copy pasting, I understand about the license implication). > I'd suggest you to ananlyze the performance of network driver > either by using the profiling tools available (kgmon, hardware > counters (if any)) or/and via system monitoring tools (top, etc). > Top, in particular, will allow you to see where all the CPU time > went. I am testing in single user mode. Last time i tested using kgmon, it doesn't show any particular area that might cause the slowdown. Once again, thank you, I now have some ideas on what to do this weekend. --=20 Regards Yohanes http://yohan.es/ From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 13:26:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE5AF106568B for ; Fri, 2 Oct 2009 13:26:15 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from mailrelay1.rambler.ru (mailrelay1.rambler.ru [81.19.66.239]) by mx1.freebsd.org (Postfix) with ESMTP id 91DF28FC1D for ; Fri, 2 Oct 2009 13:26:15 +0000 (UTC) Received: from kas30pipe.localhost (localhost [127.0.0.1]) by mailrelay1.rambler.ru (Postfix) with ESMTP id 815AA130C71 for ; Fri, 2 Oct 2009 17:06:47 +0400 (MSD) Received: from localhost (unknown [81.19.68.137]) by mailrelay1.rambler.ru (Postfix) with ESMTP id B3CD1130C45 for ; Fri, 2 Oct 2009 17:06:46 +0400 (MSD) Date: Fri, 2 Oct 2009 17:06:46 +0400 From: Igor Sysoev To: freebsd-net@freebsd.org Message-ID: <20091002130646.GC89571@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.33/RELEASE, bases: 02092009 #2738642, status: clean X-SpamTest-Envelope-From: is@rambler-co.ru X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 9536 [Sen 02 2009] X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-SPF: pass X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release Subject: stuck TIME_WAIT sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 13:26:15 -0000 The TIME_WAIT sockets suddenly started to grow on a host running FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 Usually there are 3,000-5,000 TIME_WAIT sockets on the host. However, today they stared to grow, have reached 110,000 sockets in hour and still remain on this level. net.inet.tcp.msl is 30000. The host uptime is 24 days, 21:53. I have saved a coredump and may try to help to debug the issue. -- Igor Sysoev http://sysoev.ru/en/ From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 15:38:26 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 528261065672 for ; Fri, 2 Oct 2009 15:38:26 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from mailrelay1.rambler.ru (mailrelay1.rambler.ru [81.19.66.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0409A8FC23 for ; Fri, 2 Oct 2009 15:38:25 +0000 (UTC) Received: from kas30pipe.localhost (localhost [127.0.0.1]) by mailrelay1.rambler.ru (Postfix) with ESMTP id F1A94130C70 for ; Fri, 2 Oct 2009 19:38:24 +0400 (MSD) Received: from localhost (unknown [81.19.68.137]) by mailrelay1.rambler.ru (Postfix) with ESMTP id 90D25130C4B for ; Fri, 2 Oct 2009 19:38:24 +0400 (MSD) Date: Fri, 2 Oct 2009 19:38:24 +0400 From: Igor Sysoev To: freebsd-net@freebsd.org Message-ID: <20091002153824.GD89571@rambler-co.ru> References: <20091002130646.GC89571@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20091002130646.GC89571@rambler-co.ru> User-Agent: Mutt/1.5.20 (2009-06-14) X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.33/RELEASE, bases: 02092009 #2738642, status: clean X-SpamTest-Envelope-From: is@rambler-co.ru X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 9536 [Sen 02 2009] X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-SPF: pass X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release Subject: Re: stuck TIME_WAIT sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 15:38:26 -0000 On Fri, Oct 02, 2009 at 05:06:46PM +0400, Igor Sysoev wrote: > The TIME_WAIT sockets suddenly started to grow on a host running > FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 > Usually there are 3,000-5,000 TIME_WAIT sockets on the host. > However, today they stared to grow, have reached 110,000 sockets in hour > and still remain on this level. > net.inet.tcp.msl is 30000. > The host uptime is 24 days, 21:53. > > I have saved a coredump and may try to help to debug the issue. There are also 10 stuck LAST_ACK sockets. "swi4: clock sio" is usually idle, however, if I run netstat -an | grep TIME_WAIT | wc -l then swi4 gets some CPU: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 1 171 ki31 0K 16K CPU1 1 112.0H 98.29% idle: cpu1 12 root 1 171 ki31 0K 16K RUN 0 116.8H 94.78% idle: cpu0 14 root 1 -32 - 0K 16K WAIT 0 13:11 1.66% swi4: clock 26 root 1 -68 - 0K 16K WAIT 0 334:11 0.00% irq19: bge0 -- Igor Sysoev http://sysoev.ru/en/ From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 18:24:30 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7E4A1065670 for ; Fri, 2 Oct 2009 18:24:30 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 88C6E8FC12 for ; Fri, 2 Oct 2009 18:24:30 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id E8A4323968C for ; Fri, 2 Oct 2009 21:39:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 658A64761F9 for ; Fri, 2 Oct 2009 14:36:55 -0400 (EDT) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27923-04 for ; Fri, 2 Oct 2009 14:36:53 -0400 (EDT) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 4545C4761F8 for ; Fri, 2 Oct 2009 14:36:53 -0400 (EDT) From: "remodeler" To: freebsd-net@freebsd.org Date: Fri, 2 Oct 2009 14:36:53 -0400 Message-Id: <20091002181509.M38849@alentogroup.org> In-Reply-To: <4AC4FD98.3000301@elischer.org> References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 18:24:30 -0000 Thank you to Julian for his kind response on my original question. I have succeeded with the "jail [...] vnet [...]" syntax Julian suggested. I looked through the /etc/rc.d/jail script and discovered why I cannot start a vnet jail with the rc mechanism - the vnet parameter to jail requires the -c flag, and the /etc/rc.d/jail script uses alternate syntax precluding the -c flag (instead of named parameters, it uses the four fixed parameters of path, hostname, ip, and command). I wonder if someone might help with a problem I am unable to resolve. I have no network connectivity from the vnet jail. I have opened the jail completely up for testing, mounting the host devfs, procfs, allowing raw sockets, and setting socket_unixiproute_only=0. I get the error message: PING 192.168.0.16 (192.168.0.16): 56 data bytes ping: sendto: No route to host and vimage testvnet route get default route: writing to routing socket: No such process I've read some of Julian's work on implementing FIB's (multiple kernel routing tables) - do I need to create and bind a route table (and socket) to the vnet? How do I do so? Also, I developed a local rc.d script that flexibly combines starting my vnet'd service jails and initiating the netgraph subsystem to bridge the virtual network stacks (jails) and physical ethernet interface using ng_ether, ng_eiface, and ng_bridge nodes. I intend to migrate the various security checks from /etc/rc.d/jail into my local script. That script uses a local configuration file with syntax similar to rc.conf for the jail values, but I don't see a clean way to load a netgraph configuration (and also notice there isn't a netgraph rc script, but examples for setting up local scripts). Is it a reasonable thought to parse a vizgraph dot file for netgraph configuration in my script? Thank you in advance. From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 18:29:30 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C4D106566B for ; Fri, 2 Oct 2009 18:29:30 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from mailrelay1.rambler.ru (mailrelay1.rambler.ru [81.19.66.239]) by mx1.freebsd.org (Postfix) with ESMTP id CC8BF8FC15 for ; Fri, 2 Oct 2009 18:29:29 +0000 (UTC) Received: from kas30pipe.localhost (localhost [127.0.0.1]) by mailrelay1.rambler.ru (Postfix) with ESMTP id B100C130C24; Fri, 2 Oct 2009 22:29:28 +0400 (MSD) Received: from localhost (unknown [81.19.68.137]) by mailrelay1.rambler.ru (Postfix) with ESMTP id 02346130C1C; Fri, 2 Oct 2009 22:29:28 +0400 (MSD) Date: Fri, 2 Oct 2009 22:29:27 +0400 From: Igor Sysoev To: Skip Ford Message-ID: <20091002182927.GA63007@rambler-co.ru> References: <20091002130646.GC89571@rambler-co.ru> <20091002180621.GA1168@menantico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20091002180621.GA1168@menantico.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.33/RELEASE, bases: 02092009 #2738642, status: clean X-SpamTest-Envelope-From: is@rambler-co.ru X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 9536 [Sen 02 2009] X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-SPF: pass X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release Cc: freebsd-net@freebsd.org Subject: Re: stuck TIME_WAIT sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 18:29:30 -0000 On Fri, Oct 02, 2009 at 02:06:21PM -0400, Skip Ford wrote: > Igor Sysoev wrote: > > The TIME_WAIT sockets suddenly started to grow on a host running > > FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 > > Usually there are 3,000-5,000 TIME_WAIT sockets on the host. > > However, today they stared to grow, have reached 110,000 sockets in hour > > and still remain on this level. > > net.inet.tcp.msl is 30000. > > The host uptime is 24 days, 21:53. > > Perhaps you need this patch? > > Author: peter > Date: Thu Aug 20 22:53:28 2009 > New Revision: 196410 > URL: http://svn.freebsd.org/changeset/base/196410 > > Log: > Fix signed comparison bug when ticks goes negative after 24 days of > uptime. This causes the tcp time_wait state code to fail to expire > sockets in timewait state. > > Approved by: re (kensmith) > > Modified: > head/sys/netinet/tcp_timewait.c Thank you. -- Igor Sysoev http://sysoev.ru/en/ From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 18:36:10 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C491065672 for ; Fri, 2 Oct 2009 18:36:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 35B0B8FC17 for ; Fri, 2 Oct 2009 18:36:09 +0000 (UTC) Received: by bwz27 with SMTP id 27so1194143bwz.43 for ; Fri, 02 Oct 2009 11:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/mC4DksgAJEjPpdmzBzA3c4I1uqtyYWbIw43U/2vK2c=; b=hkAlfhOMVV81kH8UcI3F2M/l30uUBGdcnDvaCU71RHCCTq5lsi3ltbnRVzVhm/AMSZ BkwpJPSGwMDeB9/kz3jLziqJCD2iPCLBYuaQwr7+CskZ6B6rPXIoloJN147XV9tCx5GW o50B8154RZV1gTQjzY8LZYYa9pRBtJrevBlo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NYeoRbBh50F5+ozrP1jPReVnMi0HkeX15jGqWndNl5hWUJLnyKf6BBACwCMpYfry7i Zzk+Djxy9wY+j8RpuVMOHUpe88ly+VkOPF0+1BpqU9dGAdM0BgWAP7foC7GDKk6Phb6/ Qis+13hO3ZgYWMu+paPzqqfZQH9BpDAEabQOE= MIME-Version: 1.0 Received: by 10.223.143.79 with SMTP id t15mr1253473fau.26.1254508569048; Fri, 02 Oct 2009 11:36:09 -0700 (PDT) In-Reply-To: <20091002181509.M38849@alentogroup.org> References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> Date: Fri, 2 Oct 2009 18:36:08 +0000 Message-ID: <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> From: Glen Barber To: remodeler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 18:36:10 -0000 Hi On Fri, Oct 2, 2009 at 6:36 PM, remodeler wrote= : [snip] > I wonder if someone might help with a problem I am unable to resolve. I h= ave > no network connectivity from the vnet jail. I have opened the jail comple= tely > up for testing, mounting the host devfs, procfs, allowing raw sockets, an= d > setting socket_unixiproute_only=3D0. I get the error message: > > =A0PING 192.168.0.16 (192.168.0.16): 56 data bytes > =A0ping: sendto: No route to host > Do you have your nameserver in /etc/resolv.conf ? --=20 Glen Barber From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 19:02:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E908106568D for ; Fri, 2 Oct 2009 19:02:52 +0000 (UTC) (envelope-from skip@menantico.com) Received: from vms173015pub.verizon.net (vms173015pub.verizon.net [206.46.173.15]) by mx1.freebsd.org (Postfix) with ESMTP id 319EF8FC15 for ; Fri, 2 Oct 2009 19:02:51 +0000 (UTC) Received: from mx.menantico.com ([71.188.7.134]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KQW003JVFFB3081@vms173015.mailsrvcs.net> for freebsd-net@freebsd.org; Fri, 02 Oct 2009 13:02:03 -0500 (CDT) Date: Fri, 02 Oct 2009 14:06:21 -0400 From: Skip Ford To: Igor Sysoev Message-id: <20091002180621.GA1168@menantico.com> References: <20091002130646.GC89571@rambler-co.ru> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: <20091002130646.GC89571@rambler-co.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: stuck TIME_WAIT sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 19:02:52 -0000 Igor Sysoev wrote: > The TIME_WAIT sockets suddenly started to grow on a host running > FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 > Usually there are 3,000-5,000 TIME_WAIT sockets on the host. > However, today they stared to grow, have reached 110,000 sockets in hour > and still remain on this level. > net.inet.tcp.msl is 30000. > The host uptime is 24 days, 21:53. Perhaps you need this patch? Author: peter Date: Thu Aug 20 22:53:28 2009 New Revision: 196410 URL: http://svn.freebsd.org/changeset/base/196410 Log: Fix signed comparison bug when ticks goes negative after 24 days of uptime. This causes the tcp time_wait state code to fail to expire sockets in timewait state. Approved by: re (kensmith) Modified: head/sys/netinet/tcp_timewait.c Modified: head/sys/netinet/tcp_timewait.c --- head/sys/netinet/tcp_timewait.c Thu Aug 20 22:39:20 2009 (r196409) +++ head/sys/netinet/tcp_timewait.c Thu Aug 20 22:53:28 2009 (r196410) @@ -603,7 +603,7 @@ tcp_tw_2msl_scan(int reuse) INP_INFO_WLOCK_ASSERT(&V_tcbinfo); for (;;) { tw = TAILQ_FIRST(&V_twq_2msl); - if (tw == NULL || (!reuse && tw->tw_time > ticks)) + if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0)) break; INP_WLOCK(tw->tw_inpcb); tcp_twclose(tw, reuse); -- Skip From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 19:14:33 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96EE41065679 for ; Fri, 2 Oct 2009 19:14:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outG.internet-mail-service.net (outg.internet-mail-service.net [216.240.47.230]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC8C8FC1B for ; Fri, 2 Oct 2009 19:14:33 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 862E496EF5; Fri, 2 Oct 2009 12:14:33 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id E763A2D6016; Fri, 2 Oct 2009 12:14:32 -0700 (PDT) Message-ID: <4AC6511B.2050508@elischer.org> Date: Fri, 02 Oct 2009 12:14:35 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: remodeler References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> In-Reply-To: <20091002181509.M38849@alentogroup.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 19:14:33 -0000 remodeler wrote: > Thank you to Julian for his kind response on my original question. I have > succeeded with the "jail [...] vnet [...]" syntax Julian suggested. I looked > through the /etc/rc.d/jail script and discovered why I cannot start a vnet > jail with the rc mechanism - the vnet parameter to jail requires the -c flag, > and the /etc/rc.d/jail script uses alternate syntax precluding the -c flag > (instead of named parameters, it uses the four fixed parameters of path, > hostname, ip, and command). > > I wonder if someone might help with a problem I am unable to resolve. I have > no network connectivity from the vnet jail. I have opened the jail completely > up for testing, mounting the host devfs, procfs, allowing raw sockets, and > setting socket_unixiproute_only=0. I get the error message: > > PING 192.168.0.16 (192.168.0.16): 56 data bytes > ping: sendto: No route to host > you need to assign an interface to the jail, either a real one, or a dummy one which connects to the main/base jail, where the packets can be routed. The ifconfig command is used for this in both cases but differently. what do you see when you type 'ifconfig' and 'netstat -rn' ine the jail? > and > > vimage testvnet route get default > route: writing to routing socket: No such process > > I've read some of Julian's work on implementing FIB's (multiple kernel routing > tables) - do I need to create and bind a route table (and socket) to the vnet? > How do I do so? > no you do not. The FIBS are all in a single jail. each jail comes with its own completely separate set of FIBs. > Also, I developed a local rc.d script that flexibly combines starting my > vnet'd service jails and initiating the netgraph subsystem to bridge the > virtual network stacks (jails) and physical ethernet interface using ng_ether, > ng_eiface, and ng_bridge nodes. I intend to migrate the various security > checks from /etc/rc.d/jail into my local script. That script uses a local > configuration file with syntax similar to rc.conf for the jail values, but I > don't see a clean way to load a netgraph configuration (and also notice there > isn't a netgraph rc script, but examples for setting up local scripts). Is it > a reasonable thought to parse a vizgraph dot file for netgraph configuration > in my script? not sure what that last one means :-) there is no netgraph rc feature, because netgraph is expected to be controlled by other facilities as an underlying method.. sorry I can't help more... time constraints.. > > Thank you in advance. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 19:16:30 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30EB810656B5 for ; Fri, 2 Oct 2009 19:16:30 +0000 (UTC) (envelope-from skip@menantico.com) Received: from vms173007pub.verizon.net (vms173007pub.verizon.net [206.46.173.7]) by mx1.freebsd.org (Postfix) with ESMTP id 12EE38FC23 for ; Fri, 2 Oct 2009 19:16:29 +0000 (UTC) Received: from mx.menantico.com ([71.188.7.134]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KQW00ME1IV65DT4@vms173007.mailsrvcs.net> for freebsd-net@freebsd.org; Fri, 02 Oct 2009 14:16:24 -0500 (CDT) Date: Fri, 02 Oct 2009 15:20:41 -0400 From: Skip Ford To: Igor Sysoev Message-id: <20091002192041.GB1168@menantico.com> References: <20091002130646.GC89571@rambler-co.ru> <20091002180621.GA1168@menantico.com> <20091002182927.GA63007@rambler-co.ru> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: <20091002182927.GA63007@rambler-co.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: stuck TIME_WAIT sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 19:16:30 -0000 Igor Sysoev wrote: > On Fri, Oct 02, 2009 at 02:06:21PM -0400, Skip Ford wrote: > > Igor Sysoev wrote: > > > The TIME_WAIT sockets suddenly started to grow on a host running > > > FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 > > > Usually there are 3,000-5,000 TIME_WAIT sockets on the host. > > > However, today they stared to grow, have reached 110,000 sockets in hour > > > and still remain on this level. > > > net.inet.tcp.msl is 30000. > > > The host uptime is 24 days, 21:53. > > > > Perhaps you need this patch? > > > > Author: peter > > Date: Thu Aug 20 22:53:28 2009 > > New Revision: 196410 > > URL: http://svn.freebsd.org/changeset/base/196410 > > > > Log: > > Fix signed comparison bug when ticks goes negative after 24 days of > > uptime. This causes the tcp time_wait state code to fail to expire > > sockets in timewait state. > > > > Approved by: re (kensmith) > > > > Modified: > > head/sys/netinet/tcp_timewait.c > > Thank you. You're welcome. There've been quite a few ticks-related commits lately, so you might need some of those before this one. Also, there's no 'MFC after' with this commit, which would worry me a little if I were you applying it to 7.2. Seems like a simple fix for a problem you appear to be hitting, however. -- Skip From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 19:38:04 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6C021065694 for ; Fri, 2 Oct 2009 19:38:04 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 16D488FC16 for ; Fri, 2 Oct 2009 19:38:03 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id C2551239655 for ; Fri, 2 Oct 2009 22:52:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 9E0634761F9 for ; Fri, 2 Oct 2009 15:50:29 -0400 (EDT) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00160-09 for ; Fri, 2 Oct 2009 15:50:27 -0400 (EDT) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 8D5224761F8 for ; Fri, 2 Oct 2009 15:50:27 -0400 (EDT) From: "remodeler" To: freebsd-net@freebsd.org Date: Fri, 2 Oct 2009 15:50:27 -0400 Message-Id: <20091002195008.M13604@alentogroup.org> In-Reply-To: <20091002190821.M69919@alentogroup.org> References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Fw: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 19:38:04 -0000 Thank you Glen: (sorry this copied twice to glen) > Do you have your nameserver in /etc/resolv.conf ? The jail and hostname both have /etc/resolv.conf set to a nameserver on the local host. I get the same error message pinging to the private-space address of the physical ethernet interface (the server is on a NAT'd development network): PING 192.168.0.10 (192.168.0.10): 56 data bytes ping: sendto: No route to host Some other information: #ngctl list There are 5 total nodes: Name: bridge0 Type: bridge ID: 00000007 Num hooks: 3 Name: ipfw Type: ipfw ID: 00000001 Num hooks: 0 Name: ngeth0 Type: eiface ID: 00000004 Num hooks: 1 Name: ngctl1495 Type: socket ID: 0000000f Num hooks: 0 Name: msk0 Type: ether ID: 00000002 Num hooks: 2 Firewall rules are permissive, allow any to any. The jail environment is: #ifconfig lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=33 maclabel mls/equal(equal-equal) eth0: flags=8843 metric 0 mtu 1500 ether 40:0a:0b:0c:0d:01 inet 172.26.75.10 netmask 0xffffffff broadcast 172.26.75.10 inet6 fe80::420a:bff:fe0c:d01%eth0 prefixlen 64 scopeid 0x2 nd6 options=33 maclabel mls/low(low-low) with eth0 being a ng_eiface node, moved to the jail with vimage -i testvnet ngeth0. The host environment is: #ifconfig msk0: flags=8843 metric 0 mtu 1500 options=11a ether [edited] inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::223:54ff:fe08:2bf7%msk0 prefixlen 64 scopeid 0x1 nd6 options=41 maclabel mls/low(low-low) media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 nd6 options=33 maclabel mls/equal(equal-equal) Output of jls from the host is: #jls # JID IP Address Hostname Path # 1 - testnet.myorg.org /jail/j/testnet I cannot set the IP address when I create the jail without an error: ip4.addr=${addr} gives "jail: vnet jails cannot have IP address restrictions"; ip4${addr} gives "jail: ip4: unknown jailsys value "172.26.72.10""; and ip=${addr} gives "jail: unknown parameter: ip". netstat -rn gives: #netstat: kvm not available: /dev/mem: Permission denied #Routing tables #rt_tables: symbol not in namelist /dev/mem is available in the jail environment, and /dev is mounted in the jail. I get a permission denied error on both /dev/mem and /dev/kmem: #ll /dev/kmem (or ll /dev/mem) #ls: /dev/kmem: Permission denied also, #vimage -l testvnet I do have vimage-enabled kernels on both the host and the jails (8.0). I originally installed a non-vimage kernel in the jails, and then updated to a vimage-enabled kernel following instructions in the handbook (using a template system). I am fairly certain I have the new kernel, as uname shows my new build date. Thank you very much again. ------- End of Forwarded Message ------- __ __ ________ ____ ___ ____ ____/ /__ / /__ _____ / ___/ _ \/ __ `__ \/ __ \/ __ / _ \/ / _ \/ ___/ / / / __/ / / / / / /_/ / /_/ / __/ / __/ / /_/ \___/_/ /_/ /_/\____/\__,_/\___/_/\___/_/ The information contained in this message is confidential and is intended for the addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 20:02:23 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D8531065679 for ; Fri, 2 Oct 2009 20:02:23 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outI.internet-mail-service.net (outi.internet-mail-service.net [216.240.47.232]) by mx1.freebsd.org (Postfix) with ESMTP id 013478FC17 for ; Fri, 2 Oct 2009 20:02:22 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D44FB96EF5; Fri, 2 Oct 2009 13:02:22 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 36B5B2D6018; Fri, 2 Oct 2009 13:02:22 -0700 (PDT) Message-ID: <4AC65C51.7010506@elischer.org> Date: Fri, 02 Oct 2009 13:02:25 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: remodeler References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> <20091002195008.M13604@alentogroup.org> In-Reply-To: <20091002195008.M13604@alentogroup.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Fw: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 20:02:23 -0000 remodeler wrote: > Thank you Glen: (sorry this copied twice to glen) > >> Do you have your nameserver in /etc/resolv.conf ? > > The jail and hostname both have /etc/resolv.conf set to a nameserver on the > local host. I get the same error message pinging to the private-space address > of the physical ethernet interface (the server is on a NAT'd development network): > > PING 192.168.0.10 (192.168.0.10): 56 data bytes > ping: sendto: No route to host > > Some other information: > > #ngctl list > There are 5 total nodes: > Name: bridge0 Type: bridge ID: 00000007 Num hooks: 3 > Name: ipfw Type: ipfw ID: 00000001 Num hooks: 0 > Name: ngeth0 Type: eiface ID: 00000004 Num hooks: 1 > Name: ngctl1495 Type: socket ID: 0000000f Num hooks: 0 > Name: msk0 Type: ether ID: 00000002 Num hooks: 2 > > Firewall rules are permissive, allow any to any. The jail environment is: > > #ifconfig > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > nd6 options=33 > maclabel mls/equal(equal-equal) > eth0: flags=8843 metric 0 mtu 1500 > ether 40:0a:0b:0c:0d:01 > inet 172.26.75.10 netmask 0xffffffff broadcast 172.26.75.10 > inet6 fe80::420a:bff:fe0c:d01%eth0 prefixlen 64 scopeid 0x2 > nd6 options=33 > maclabel mls/low(low-low) > > with eth0 being a ng_eiface node, moved to the jail with vimage -i testvnet > ngeth0. The host environment is: > > #ifconfig > msk0: flags=8843 metric 0 mtu 1500 > options=11a > ether [edited] > inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::223:54ff:fe08:2bf7%msk0 prefixlen 64 scopeid 0x1 > nd6 options=41 > maclabel mls/low(low-low) > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > nd6 options=33 > maclabel mls/equal(equal-equal) > > Output of jls from the host is: > > #jls > # JID IP Address Hostname Path > # 1 - testnet.myorg.org /jail/j/testnet > > I cannot set the IP address when I create the jail without an error: > ip4.addr=${addr} gives "jail: vnet jails cannot have IP address restrictions"; > ip4${addr} gives "jail: ip4: unknown jailsys value "172.26.72.10""; and > ip=${addr} gives "jail: unknown parameter: ip". > > netstat -rn gives: > > #netstat: kvm not available: /dev/mem: Permission denied > #Routing tables > #rt_tables: symbol not in namelist > > /dev/mem is available in the jail environment, and /dev is mounted in the > jail. I get a permission denied error on both /dev/mem and /dev/kmem: > > #ll /dev/kmem (or ll /dev/mem) > #ls: /dev/kmem: Permission denied > > also, > > #vimage -l > testvnet > > I do have vimage-enabled kernels on both the host and the jails (8.0). I > originally installed a non-vimage kernel in the jails, and then updated to a > vimage-enabled kernel following instructions in the handbook (using a template > system). I am fairly certain I have the new kernel, as uname shows my new > build date. > I don't think the kernel in a jail matters. the following has a jail with a root of / for simplicity of testing: soekris# jail -c host.hostname=test path=/ vnet command=/bin/tcsh test# lo0: flags=8008 metric 0 mtu 16384 options=3 ---- back on host system: soekris# jls JID IP Address Hostname Path 1 - test / soekris# ifconfig vr2 vnet 1 soekris# ---- back on jail 'test' (1): test# ifconfig lo0: flags=8008 metric 0 mtu 16384 options=3 vr2: flags=8802 metric 0 mtu 1500 options=280b ether 00:00:24:c9:24:6a media: Ethernet autoselect (none) status: no carrier test# ifconfig vr2 172.28.15.1/24 test# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 172.28.15.0/24 link#2 U 0 0 vr2 172.28.15.1 link#2 UHS 0 0 lo0 test# route add default 172.28.15.2 add net default: gateway 172.28.15.2 test# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.28.15.2 UGS 0 0 vr2 172.28.15.0/24 link#2 U 0 0 vr2 172.28.15.1 link#2 UHS 0 0 lo0 test# I think you need to add a default rule for starters as there is no route to 192.168.x.x in your jail. Remember the jail can not see your base system. > Thank you very much again. > ------- End of Forwarded Message ------- > > > __ __ > ________ ____ ___ ____ ____/ /__ / /__ _____ > / ___/ _ \/ __ `__ \/ __ \/ __ / _ \/ / _ \/ ___/ > / / / __/ / / / / / /_/ / /_/ / __/ / __/ / > /_/ \___/_/ /_/ /_/\____/\__,_/\___/_/\___/_/ > > The information contained in this message is confidential and is intended > for the addressee only. Any unauthorized use, dissemination of the > information, or copying of this message is prohibited. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 20:14:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55764106568F for ; Fri, 2 Oct 2009 20:14:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id D83088FC12 for ; Fri, 2 Oct 2009 20:14:46 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so2111736fga.13 for ; Fri, 02 Oct 2009 13:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=VDuflTs1fx/NomRv1jqTV2kQ9IKtA55l5OIyZzToSwk=; b=jXXR0eYmQlsolvDeB6fiCqsI7r1Xi7ipsC6KMihZHQ2t78zyJhi8C1k500/820XH7L gg5ffqIlXzeugUgNRW3h1cRmTKNy20bGAZ1R9Xm94Ws7CGh7EJv8dZsRMbdWaI4STMLH ZvNkcWRmn1o35kcAiUFlLyMMEyoox8tRqEZ70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=twdBdbW0iY7BPV8a3Dwo3plK0WKoyZK1aEYK4SLDszUKOjILy6k0vU65kmg62dd9of +VOnCB7kxXJ2Y3SHRnev9p2pwlKGf2gF/85MLrzaS+JHKqKH1+oQii97a6SjhjsM7Pjl cCZoahrZdyNmFJUmsTUC0ROIGLHR/ERhb5fWw= Received: by 10.86.238.30 with SMTP id l30mr2664596fgh.75.1254514485603; Fri, 02 Oct 2009 13:14:45 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id l19sm16049fgb.16.2009.10.02.13.14.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 13:14:44 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 2 Oct 2009 13:14:00 -0700 From: Pyun YongHyeon Date: Fri, 2 Oct 2009 13:14:00 -0700 To: Yohanes Nugroho Message-ID: <20091002201400.GJ1512@michelle.cdnetworks.com> References: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <260bb65e0910012258w7c569505xa8cac5bd8bbd2aaa@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, freebsd-arm@freebsd.org Subject: Re: FreeBSD ARM network speed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 20:14:47 -0000 On Fri, Oct 02, 2009 at 12:58:38PM +0700, Yohanes Nugroho wrote: > Hi All, > Hi, [...] > The specification for the STR9104 SoC is available on Cavium website > for those who are interested, but it is not very clear, so in > developing the network driver, I followed the logic used by the Linux > driver (the initialization sequence, etc). The current code is at > http://p4db.freebsd.org/fileViewer.cgi?FSPC=//depot/projects/str91xx/src/sys/arm/econa/if_ece.c&REV=4 > > Here is how the sending part works on STR9104: > > - In the initialization part, I allocate a ring, the size of the ring > is 256 entries (same as Linux version). If ethernet controller does not support 1000baseT(I think it's fastethernt because ICPlus IP101A is 10/100 PHY) allocating 256 descriptors are waste of resource especially on 64MB systems, I think. > - When being asked to send a packet, I will do the following thing: > - stop the network TX DMA > - put the address of each segment of the packet to the ring, and set > a flag so that the entry in the ring will be sent by hardware > - start the network TX DMA > > obviously there is a cleaning up part (freeing mbuf) that should be > done. The network driver can generate interrupt when a packet has been > sent (but can't tell which entry was sent). In the Linux version, this > interrupt is not used, the clean up is done just after starting the TX > DMA, at the send of the sending function, and I do the same in the > FreeBSD driver . Usually only one entry that needs to be removed, so > it is quite fast. > > Is there something obvious (or not so obvius) that I've missed? > I briefly looked over the driver code and I can see missing bus_dmamap_sync(9) in several places as well as incorrect use of bus_dma(9). This may also affect performance because checking OWN bit wouldn't be correct in CPU's view without bus_dmamap_sync(9). Another poor performance might come from m_devget(9), I don't know whether controller really needs this type of copying(sorry, have no time to read data sheet) but m_devget(9) is really slow and time consuming operation because it has to copy entire frame to new mbuf. If you had to use m_devget(9) to align buffers on ETHER_ALIGN boundary I guess you can pass the alignment restriction to bus_dma(9). Of course, this requires the controller have ability to receive frames on even address boundary or no Rx buffer alignment limitation. I believe you should not stop DMA before sending another frame as you did in Rx handler. Basically you should make controller as busy as you can to get maximum performance and should reclaim transmitted buffers as soon as you noticed. Stopping DMA may take time since it may have to drain active DMA cycles. If the controller does not generate Tx completion interrupt after sending a frame, which is not likely, you may have to implement a kind of polling in separate thread or should use polling(9). Good luck! From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 20:25:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 987CB1065679 for ; Fri, 2 Oct 2009 20:25:15 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 581F88FC08 for ; Fri, 2 Oct 2009 20:25:14 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id 63A84239940 for ; Fri, 2 Oct 2009 23:40:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 228AC4761F9 for ; Fri, 2 Oct 2009 16:37:41 -0400 (EDT) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19008-03 for ; Fri, 2 Oct 2009 16:37:39 -0400 (EDT) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id A4E6E4761F8 for ; Fri, 2 Oct 2009 16:37:39 -0400 (EDT) From: "remodeler" To: freebsd-net@freebsd.org Date: Fri, 2 Oct 2009 16:37:39 -0400 Message-Id: <20091002202650.M67240@alentogroup.org> In-Reply-To: <4AC65C51.7010506@elischer.org> References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> <20091002195008.M13604@alentogroup.org> <4AC65C51.7010506@elischer.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 20:25:15 -0000 Julian wrote: > I think you need to add a default rule for starters as there is no > route to 192.168.x.x in your jail. tempvnet# route show default route: writing to routing socket: No such process tempvnet# route add default 192.168.0.1 route: writing to routing socket: Network is unreachable add net default: gateway 192.168.0.1: Network is unreachable host#route show default route to: default ...snip output... I saw a reference to "accessing routing sockets in a FreeBSD jail is prohibited" in the wikipedia jail article. Thank you. From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 21:10:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5209E1065696 for ; Fri, 2 Oct 2009 21:10:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outJ.internet-mail-service.net (outj.internet-mail-service.net [216.240.47.233]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6208FC33 for ; Fri, 2 Oct 2009 21:10:53 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 25F81BABB; Fri, 2 Oct 2009 14:10:53 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 9F6182D6017; Fri, 2 Oct 2009 14:10:52 -0700 (PDT) Message-ID: <4AC66C5F.4050000@elischer.org> Date: Fri, 02 Oct 2009 14:10:55 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: remodeler References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> <20091002195008.M13604@alentogroup.org> <4AC65C51.7010506@elischer.org> <20091002202650.M67240@alentogroup.org> In-Reply-To: <20091002202650.M67240@alentogroup.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 21:10:53 -0000 remodeler wrote: > Julian wrote: > >> I think you need to add a default rule for starters as there is no >> route to 192.168.x.x in your jail. > > tempvnet# route show default > route: writing to routing socket: No such process > > tempvnet# route add default 192.168.0.1 > route: writing to routing socket: Network is unreachable > add net default: gateway 192.168.0.1: Network is unreachable > > host#route show default > route to: default > ...snip output... > > I saw a reference to "accessing routing sockets in a FreeBSD jail is > prohibited" in the wikipedia jail article. Without doing anything extra except booting, (with no jails started), what happens when you duplicate my commands in the previous email? > > Thank you. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 22:37:33 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60AE81065670 for ; Fri, 2 Oct 2009 22:37:33 +0000 (UTC) (envelope-from remodeler@alentogroup.org) Received: from courriel.marmotmail.com (courriel.marmotmail.com [85.17.36.172]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE528FC15 for ; Fri, 2 Oct 2009 22:37:33 +0000 (UTC) Received: from bruce.epifora.com (localhost.local [127.0.0.1]) by courriel.marmotmail.com (Postfix) with ESMTP id 85E1B239843 for ; Sat, 3 Oct 2009 01:52:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id 8FB7A4761F9 for ; Fri, 2 Oct 2009 18:50:00 -0400 (EDT) Received: from bruce.epifora.com ([127.0.0.1]) by localhost (bruce.epifora.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24345-06 for ; Fri, 2 Oct 2009 18:49:59 -0400 (EDT) Received: from alentogroup.org (localhost [127.0.0.1]) by bruce.epifora.com (Postfix) with ESMTP id E03A84761F8 for ; Fri, 2 Oct 2009 18:49:58 -0400 (EDT) From: "remodeler" To: freebsd-net@freebsd.org Date: Fri, 2 Oct 2009 18:49:58 -0400 Message-Id: <20091002223304.M55101@alentogroup.org> In-Reply-To: <4AC66C5F.4050000@elischer.org> References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> <20091002195008.M13604@alentogroup.org> <4AC65C51.7010506@elischer.org> <20091002202650.M67240@alentogroup.org> <4AC66C5F.4050000@elischer.org> X-OriginatingIP: 127.0.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 22:37:33 -0000 Hi: > Without doing anything extra except booting, (with no jails started), > what happens when you duplicate my commands in the previous email? #jail -c host.hostname=test path=/ vnet persist I substituted persist parameter for command=/bin/tcsh in your example, otherwise the jail is destroyed when I exit the shell to enter the next command: #ifconfig msk0 vnet 1 test# ifconfig lo0: flags=8008 metric 0 mtu 16384 options=3 maclabel mls/equal(equal-equal) msk0: flags=8842 metric 0 mtu 1500 options=11a ether 00:23:54:08:2b:f7 maclabel mls/low(low-low) media: Ethernet autoselect test#ifconfig msk0 172.28.15.1/24 test#netstat -rn netstat: kvm not available: /dev/mem: Permission denied Routing tables rt_tables: symbol not in namelist test# route add default 192.168.0.1 route: writing to routing socket: Network is unreachable add net default: gateway 192.168.0.1: Network is unreachable #test# route add default 172.28.15.2 add net default: gateway 172.28.15.2 The host's IP address is set to 192.168.0.10, with a default route of 192.168.0.1 -- the route command succeeded when I used your example, although netstat -rn still fails with the same output as above. In my earlier correspondences, I was pushing a ng_eiface node to the jail instead of the physical ethernet device. Thank you. From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 23:18:27 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EFC71065693 for ; Fri, 2 Oct 2009 23:18:27 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail2.es.net [IPv6:2001:400:107:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 788FC8FC12 for ; Fri, 2 Oct 2009 23:18:27 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n92NIQbW013007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 2 Oct 2009 16:18:26 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 066291CC0E for ; Fri, 2 Oct 2009 16:18:26 -0700 (PDT) To: net@freebsd.org Date: Fri, 02 Oct 2009 16:18:26 -0700 From: "Kevin Oberman" Message-Id: <20091002231826.066291CC0E@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-10-02_08:2009-09-29, 2009-10-02, 2009-10-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0910020155 Cc: Subject: Unusual TCP options can cause FreeBSD to issue a reset X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 23:18:27 -0000 I have a system that is unable to connect to a FreeBSD system due to the odd formatting of the TCP options. The options contains only the timestamp which, if recommendations in RFC1323 are followed, are preceded by two NOP bytes to put the timestamp values on 4 byte boundaries. This system sends the 12 byte timestamp option alone, followed by two zero bytes to pad it. This meets the requirements of RFC793 and 1323 is explicit that stacks must accept this, even though it results in sub-optimal performance and does not meet the recommendations in 1323 appendix A. Any idea if this is hard to fix? I see in on both 7.2 and 8.0. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-net@FreeBSD.ORG Fri Oct 2 23:38:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABCEC106566B for ; Fri, 2 Oct 2009 23:38:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outE.internet-mail-service.net (oute.internet-mail-service.net [216.240.47.228]) by mx1.freebsd.org (Postfix) with ESMTP id 554D18FC08 for ; Fri, 2 Oct 2009 23:38:44 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 2B3B5C85C; Fri, 2 Oct 2009 16:38:44 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id A18282D6013; Fri, 2 Oct 2009 16:38:43 -0700 (PDT) Message-ID: <4AC68F06.8060305@elischer.org> Date: Fri, 02 Oct 2009 16:38:46 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: remodeler References: <20091001173851.M50386@alentogroup.org> <4AC4FD98.3000301@elischer.org> <20091002181509.M38849@alentogroup.org> <4ad871310910021136v3dc3cd2l520102bae715c2bc@mail.gmail.com> <20091002190821.M69919@alentogroup.org> <20091002195008.M13604@alentogroup.org> <4AC65C51.7010506@elischer.org> <20091002202650.M67240@alentogroup.org> <4AC66C5F.4050000@elischer.org> <20091002223304.M55101@alentogroup.org> In-Reply-To: <20091002223304.M55101@alentogroup.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: vimage-assigning interface to jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 23:38:44 -0000 remodeler wrote: > Hi: > >> Without doing anything extra except booting, (with no jails started), >> what happens when you duplicate my commands in the previous email? > > #jail -c host.hostname=test path=/ vnet persist > > I substituted persist parameter for command=/bin/tcsh in your example, > otherwise the jail is destroyed when I exit the shell to enter the next command: > > #ifconfig msk0 vnet 1 > > test# ifconfig > lo0: flags=8008 metric 0 mtu 16384 > options=3 > maclabel mls/equal(equal-equal) > msk0: flags=8842 metric 0 mtu 1500 > options=11a > ether 00:23:54:08:2b:f7 > maclabel mls/low(low-low) > media: Ethernet autoselect > > test#ifconfig msk0 172.28.15.1/24 > > test#netstat -rn > netstat: kvm not available: /dev/mem: Permission denied > Routing tables > rt_tables: symbol not in namelist in the jail do: ls -l /dev/*mem > > test# route add default 192.168.0.1 > route: writing to routing socket: Network is unreachable > add net default: gateway 192.168.0.1: Network is unreachable quite correct think of these as two separate machines. one is on 192.168.0.x and the other is on 172.... obviously the one on 172..... can not set a default route of 192.x.x.x as it can't reach that address. unlike non vnet jails, vnet jails have *completely* separate network stacks and can not communicate with each other except via the wire (or via an pretend wire) (see the epair driver). > > #test# route add default 172.28.15.2 > add net default: gateway 172.28.15.2 > > The host's IP address is set to 192.168.0.10, with a default route of > 192.168.0.1 -- the route command succeeded when I used your example, although > netstat -rn still fails with the same output as above. In my earlier > correspondences, I was pushing a ng_eiface node to the jail instead of the > physical ethernet device. looks like you need to allow it to access /dev/(k)mem somehow. > > Thank you. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 01:11:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F28C1065679 for ; Sat, 3 Oct 2009 01:11:44 +0000 (UTC) (envelope-from n-Xz2Y-lH---WdWYWEONLjQRkDm35gYe5KA2LUtDv8Fy5gYe5KA2Ltc3ARc9@bounce.linkedin.com) Received: from mail14-a-ad.linkedin.com (mail14-a-ad.linkedin.com [208.111.169.136]) by mx1.freebsd.org (Postfix) with ESMTP id E59C78FC0A for ; Sat, 3 Oct 2009 01:11:43 +0000 (UTC) DomainKey-Signature: s=prod; d=linkedin.com; c=nofws; q=dns; h=Sender:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type:X-LinkedIn-fbl; b=om5DkkIKic1Zvp8wQC7FvNEhhCrkMbOQ+tm/FtSXATIRXPjOe4rWv7Rv BpsutHo03hancal2LWlCFniRoA0D8hea90FuSaGatksUcz9GRuI7VWq5p ZHe/JT5RUbWOh3j; Sender: messages-noreply@bounce.linkedin.com Date: Fri, 2 Oct 2009 17:42:38 -0700 (PDT) From: Kayven Riese To: Message-ID: <1566437500.13979.1254530558646.JavaMail.app@ech3-cdn07.prod> MIME-Version: 1.0 X-LinkedIn-fbl: Xz2Y-lH---WdWYWEONLjQRkDm35gYe5KA2LUtDv8Fy5gYe5KA2Ltc3ARc9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Invitation to connect on LinkedIn X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 01:11:44 -0000 LinkedIn ------------ I'd like to add you to my professional network on LinkedIn. - Kayven Confirm that you know Kayven Riese https://www.linkedin.com/e/isd/775818287/3Vv1tKWZ/ Every day, millions of professionals like Kayven Riese use LinkedIn to connect with colleagues, find experts, and explore opportunities. ------ (c) 2009, LinkedIn Corporation From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 02:13:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D5751065670 for ; Sat, 3 Oct 2009 02:13:55 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id B46E58FC15 for ; Sat, 3 Oct 2009 02:13:54 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so554652qwi.7 for ; Fri, 02 Oct 2009 19:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=67ZilZKxnpYCoHH8WBejCMFawStA8i2pmuSA9ernibw=; b=Wk22ghIa6anHENXUVtXgBSthQ9orGXK9brnby1mxDxeJYWBRsMaPkMgN7ajPx7u4WQ JKnJsofkzu4V5U471m0IQTey0taODNZ7SjjHMVylRSeX6jLeapuMt7cFtkMhjF5gp9bZ o7jPytYTfLohI+FoUoljy+Hq3CbmwxusNtRC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=Cl02pg9EPPP+XC812/ZrvrZJCX0cjPzkVl8TWZajzP2kK6mNVMOZ7RS6HH7lfrP32Q WSmszsoWH9P5WJkU9en7Zj0mbfSuv/6VpYiAYeJHcD/bpGlAz9AayS+IyhsPQWj/RbAp JMddUv6RmOq2NoSwN4hSnQOnPGmnVF49RR1xw= Received: by 10.224.32.204 with SMTP id e12mr1660664qad.256.1254536034057; Fri, 02 Oct 2009 19:13:54 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 2sm317124qwi.8.2009.10.02.19.13.51 (version=SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 19:13:52 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 2 Oct 2009 19:14:12 -0700 From: Weongyo Jeong Date: Fri, 2 Oct 2009 19:14:12 -0700 To: Albert Shih Message-ID: <20091003021412.GJ1454@weongyo> Mail-Followup-To: Albert Shih , freebsd-net@freebsd.org References: <20090923101750.GC84230@obspm.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090923101750.GC84230@obspm.fr> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: zyd & TEW-424UB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 02:13:55 -0000 On Wed, Sep 23, 2009 at 12:17:50PM +0200, Albert Shih wrote: > Hi all > > I'm using FreeBSD 7-stable on my laptop. The wifi card is not working with > FreeBSD. > > So I just buy a > > Trendnet TEW-424UB > > wifi usb adapter. I find this model in the > > man zyd > > but when I plug my adapter (after add if_zyd_load="YES" in my loader.conf > and reboot) it's not working. > > The adapter is not attach to some zyd drivers but usbgen1 > > Anyone have a idea why this f(*!@)(# adapter don't work ? or better some > solution ? FWIW, according to OpenBSD's recent commit message, TRENDnet TEW-424UB has multiple revisions and different chipsets as follows: rev A ZD1211 V2 SiS163U V2.1R SiS163U V3.xR RTL8187B regards, Weongyo Jeong From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 02:18:03 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63457106566B for ; Sat, 3 Oct 2009 02:18:03 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 13AF18FC0C for ; Sat, 3 Oct 2009 02:18:02 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so555272qwi.7 for ; Fri, 02 Oct 2009 19:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=Nbqs8qNuq75KNmZ0JYo63dlGYTi1pBUb3eYsbBgbFVo=; b=jRTRHzOW1nyam0ICE8ioSkdNUJ38NJFtPPb3uNWpuzGiqNoyJAH99PII9hjaCTNqpF d9P0b/GEd+PJMsll4v9X6SeP5RhiHS6OhN2MHLrc+4rmMk2JhdOqvGtrtrakJCmDOl/Z Qt5PIWIqHy1YQTCg4i233GbeZiA0VOOqm6G/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=IDxZgWtzxm8JkMj1gSN2R28aGCd8KswxWi5ORiSUvKMEcV0JYHoxQE+VNlRk3+VG58 g4Uh/EAZ/trMWipEY7h9ynjQEQ0HdipZbfK2fTjZ9hpmZ6MGlITQkpLHSj2OT9LAEPqG xdBu92DWjAXIPZEhqPjpvA2ZCdBApnItqsdMQ= Received: by 10.224.73.79 with SMTP id p15mr1671334qaj.228.1254536282420; Fri, 02 Oct 2009 19:18:02 -0700 (PDT) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 7sm517405qwb.1.2009.10.02.19.18.01 (version=SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 19:18:01 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 2 Oct 2009 19:18:22 -0700 From: Weongyo Jeong Date: Fri, 2 Oct 2009 19:18:22 -0700 To: Albert Shih Message-ID: <20091003021822.GK1454@weongyo> Mail-Followup-To: Albert Shih , freebsd-net@freebsd.org References: <20090923101750.GC84230@obspm.fr> <20090924180914.GA1417@weongyo> <20090925195112.GE37873@obspm.fr> <7E9D5842-B5BF-424D-AC27-FC2B9D043C96@FreeBSD.org> <20090926223125.GD1417@weongyo> <4ABF2030.8010302@obspm.fr> <20090928195110.GA1454@weongyo> <20090930203813.GA2322@obspm.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090930203813.GA2322@obspm.fr> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: zyd & TEW-424UB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 02:18:03 -0000 On Wed, Sep 30, 2009 at 10:38:13PM +0200, Albert Shih wrote: > Le 28/09/2009 ? 12:51:10-0700, Weongyo Jeong a ?crit > > On Sun, Sep 27, 2009 at 10:20:00AM +0200, Albert Shih wrote: > > > Le 27/09/2009 00:31, Weongyo Jeong a ?crit : > > > >>> > > > >>> Controller /dev/usb6: > > > >>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > > >>> Intel(0x0000), rev 1.00 > > > >>> port 1 powered > > > >>> port 2 addr 2: high speed, power 500 mA, config 1, > > > >>> RTL8187B_WLAN_Adapter(0x8189), vendor 0x0bda(0x0bda), rev 2.00 > > > >>> port 3 powered > > > >>> port 4 powered > > > >>> port 5 powered > > > >>> port 6 powered > > > >> > > > >> Maybe this is a urtw device? > > > > > > > > Yes it looks one of urtw devices. Albert, could you please try with > > > > urtw(4)? > > > > > > > Can you confirme the urtw is only in 8- and not in 7-Stable ? I don't > > > find any if_urtw if my /boot/kernel/ > > > > urtw(4) is only in STABLE_8 and CURRENT not in STABLE_7 because it's not > > backported. > > You right it's urtw driver for this usb wifi device. > > > > At this time do you think I can upgrade to 8-current or 8-stable (if > > > it's exist) ? The last time I try to upgrade to 8-current my laptop > > > don't boot.... and this is my work'laptop ... > > > > I don't know your symptom why you couldn't boot but other developers can > > help you if you submit error messages. > > I just switch to 8.0-RC1 and now everything work fine. > > But for the urtw, it's not work fine :-( I'm loosing the signal many time. > and with my other usb device (if_rum) it's very stable. > > I don't known if I can help. Currently urtw(4) has a TX problem depending on H/W and a week signal controlling algorithm because it'd written without the datasheet. These are on TODO list. regards, Weongyo Jeong From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 02:50:43 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB612106566B for ; Sat, 3 Oct 2009 02:50:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC6C8FC18 for ; Sat, 3 Oct 2009 02:50:43 +0000 (UTC) Received: (qmail 15794 invoked by uid 399); 3 Oct 2009 02:50:42 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 3 Oct 2009 02:50:42 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4AC6BC01.8030606@FreeBSD.org> Date: Fri, 02 Oct 2009 19:50:41 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: "Vladislav V. Prodan" References: <4AC4C622.3060803@ukr.net> In-Reply-To: <4AC4C622.3060803@ukr.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Why not work whois -6 ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 02:50:44 -0000 Vladislav V. Prodan wrote: > FreeBSD 8.0-BETA4 amd64 > > # whois -6 2a01:d0::1 > whois: connect(): Connection refused > > In man whois written: > -6 Use the IPv6 Resource Center (6bone) database. It contains > net- > work names and addresses for the IPv6 network. > > > There are ideas on how to define membership of a particular block of ipv6? I just committed r197725 in HEAD to deal with this, thanks for the reminder. I will MFC the change as soon as it's possible to do so. Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 15:16:31 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23BA2106566B for ; Sat, 3 Oct 2009 15:16:31 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id D8F988FC08 for ; Sat, 3 Oct 2009 15:16:30 +0000 (UTC) Received: from soth.ventu (151.51.27.177) by cp-out8.libero.it (8.5.107) id 4ABB977F012DD796 for freebsd-net@freebsd.org; Sat, 3 Oct 2009 17:05:04 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.3/8.14.2) with ESMTP id n93F53DZ099517 for ; Sat, 3 Oct 2009 17:05:03 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4AC7681F.5010304@netfence.it> Date: Sat, 03 Oct 2009 17:05:03 +0200 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: CARP and LACP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 15:16:31 -0000 Hello. Fast question: are the two above compatible? Can I use CARP over a lagg interface? bye & Thanks av. From owner-freebsd-net@FreeBSD.ORG Sat Oct 3 16:07:45 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 796F51065672 for ; Sat, 3 Oct 2009 16:07:45 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1468FC13 for ; Sat, 3 Oct 2009 16:07:45 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 6FC8F4899E; Sat, 3 Oct 2009 16:48:11 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at tomjudge.vm.bytemark.co.uk Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1]) by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vd7HsPZWtsYd; Sat, 3 Oct 2009 16:48:01 +0100 (BST) Received: from rita.nodomain (unknown [192.168.205.6]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id A7ED748988; Sat, 3 Oct 2009 16:48:00 +0100 (BST) Message-ID: <4AC77212.1000703@tomjudge.com> Date: Sat, 03 Oct 2009 15:47:30 +0000 From: Tom Judge User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Andrea Venturoli References: <4AC7681F.5010304@netfence.it> In-Reply-To: <4AC7681F.5010304@netfence.it> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: CARP and LACP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2009 16:07:45 -0000 Andrea Venturoli wrote: > Hello. > > Fast question: are the two above compatible? > > Can I use CARP over a lagg interface? Yes it should work just fine, we use it here with lagg+carp and lagg+vlan+carp. Tom > > bye & Thanks > av. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"