From owner-freebsd-net@FreeBSD.ORG Sun Feb 20 12:54:17 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9D5D16A4CE for ; Sun, 20 Feb 2005 12:54:17 +0000 (GMT) Received: from falcon.loomes.de (smtp.loomes.de [212.40.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A8743D5A for ; Sun, 20 Feb 2005 12:54:16 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from port-212-202-34-139.dynamic.qsc.de ([212.202.34.139] helo=[192.68.0.2]) by falcon.loomes.de with asmtp (Exim 4.30) id 1D2qbH-0000tA-0K for freebsd-net@freebsd.org; Sun, 20 Feb 2005 13:54:15 +0100 From: Markus Trippelsdorf To: freebsd-net@freebsd.org Content-Type: text/plain Date: Sun, 20 Feb 2005 13:54:13 +0100 Message-Id: <1108904053.3096.1.camel@lb.loomes.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Subject: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Feb 2005 12:54:17 -0000 My build in ethernet card (ASUS A8V mobo) does not work. (I've tried HEAD, RELENG_5 and RELENG_5_3): kc0: port 0xa000-0xa0ff mem 0xfbb00000-0xfbb03fff irq 17 at device 10.0 on pci skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter sk0: on skc0 sk0: Ethernet address: 00:11:2f:88:07:42 skc0: no PHY found! device_attach: sk0 attach returned 6 This is the device: kc0@pci0:10:0: class=0x020000 card=0x811a1043 chip=0x432011ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001 Gigabit 32-bit Ethernet Controller with Integrated PHY' class = network subclass = ethernet Are there any patches I could try out? The only other NIC I've got is an Intel fxp that hard locks my system after a while. Thanks in advance. Markus From owner-freebsd-net@FreeBSD.ORG Sun Feb 20 18:10:11 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 242EB16A4CF for ; Sun, 20 Feb 2005 18:10:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B8A43D31 for ; Sun, 20 Feb 2005 18:10:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id CDECA1FF9AB; Sun, 20 Feb 2005 19:10:07 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B11C01FF9A6; Sun, 20 Feb 2005 19:10:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 726CA1560B; Sun, 20 Feb 2005 18:07:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 680C81537B; Sun, 20 Feb 2005 18:07:25 +0000 (UTC) Date: Sun, 20 Feb 2005 18:07:25 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Markus Trippelsdorf In-Reply-To: <1108904053.3096.1.camel@lb.loomes.de> Message-ID: References: <1108904053.3096.1.camel@lb.loomes.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-net@freebsd.org Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Feb 2005 18:10:11 -0000 On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: Hi, > My build in ethernet card (ASUS A8V mobo) does not work. > (I've tried HEAD, RELENG_5 and RELENG_5_3): ... > Are there any patches I could try out? > The only other NIC I've got is an Intel fxp that hard locks my system > after a while. Could you please apply the patch at [1] and mail me the results. It would help if you could do it on current and also enable bootverbose (set boot_verbose=1 in loader). Relevant parts of dmesg should be enough: --- something like this --- skc0: port 0xb400-0xb4ff mem... ... skc0:[MPSAFE] --- end --- Thanks. [1] http://sources.zabbadoz.net/freebsd/patchset/EXPERIMENTAL/sk-no-phy-found-debug-printf-01.diff -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Sun Feb 20 18:32:56 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3342616A4CE for ; Sun, 20 Feb 2005 18:32:56 +0000 (GMT) Received: from falcon.loomes.de (smtp.loomes.de [212.40.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EBD43D1D for ; Sun, 20 Feb 2005 18:32:55 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from port-212-202-34-139.dynamic.qsc.de ([212.202.34.139] helo=[192.68.0.2]) by falcon.loomes.de with asmtp (Exim 4.30) id 1D2vsw-0002rn-8l; Sun, 20 Feb 2005 19:32:50 +0100 From: Markus Trippelsdorf To: "Bjoern A. Zeeb" In-Reply-To: References: <1108904053.3096.1.camel@lb.loomes.de> Content-Type: text/plain Date: Sun, 20 Feb 2005 19:32:48 +0100 Message-Id: <1108924368.2060.4.camel@lb.loomes.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Feb 2005 18:32:56 -0000 On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: > On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: > > My build in ethernet card (ASUS A8V mobo) does not work. > > (I've tried HEAD, RELENG_5 and RELENG_5_3): > > Could you please apply the patch at [1] and mail me the results. OK here is the relevant part of dmesg: skc0: port 0xb000-0xb0ff mem 0xfbc00000-0xfbc03fff irq 17 at device 10.0 on pci0 skc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfbc00000 skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter skc0: PN: Yukon 88E8001 skc0: EC: Rev. 1.3 skc0: MN: Marvell skc0: SN: AbCdEfG334454 skc0: type = YUKON skc0: SK_EPROM0 = 0x10 skc0: SRAM size = 0x010000 skc0: chip ver 0xb1 skc0: chip conf 0x73 sk0: on skc0 sk0: Ethernet address: 00:11:2f:88:07:42 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:317] sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x0000ffff sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:330] bmsr=0x00000000 sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:342] ENXIO skc0: no PHY found! 6 device_attach: sk0 attach returned 6 skc0: [MPSAFE] Regards, Markus From owner-freebsd-net@FreeBSD.ORG Sun Feb 20 20:05:00 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97CA816A4CE for ; Sun, 20 Feb 2005 20:05:00 +0000 (GMT) Received: from mailhost.schluting.com (schluting.com [131.252.214.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6943C43D1F for ; Sun, 20 Feb 2005 20:05:00 +0000 (GMT) (envelope-from charlie@schluting.com) Received: from localhost (localhost [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id 07542215A for ; Sun, 20 Feb 2005 12:04:59 -0800 (PST) Received: from mailhost.schluting.com ([127.0.0.1]) by localhost (schluting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68736-10 for ; Sun, 20 Feb 2005 12:04:54 -0800 (PST) Received: from [10.1.0.69] (c-24-20-163-50.client.comcast.net [24.20.163.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhost.schluting.com (Postfix) with ESMTP id CAEA820AB for ; Sun, 20 Feb 2005 12:04:53 -0800 (PST) Message-ID: <4218ED62.7010606@schluting.com> Date: Sun, 20 Feb 2005 12:04:50 -0800 From: Charlie Schluting User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by your mom at schluting.com Subject: ALTQ statistics? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Feb 2005 20:05:00 -0000 Does anyone know of any statistics tools that do a good job summarizing ALTQ queuing? Perhaps with an rrd graph of some sort? I just started using shaping, and its great.. but some time-based view of the following data (or more) would be really interesting to see. -Charlie dmz# pfctl -s queue -v queue ssh priority 15 priq( red ecn ) [ pkts: 584 bytes: 66289 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue q_pri priority 7 [ pkts: 21727 bytes: 1443130 dropped pkts: 0 bytes: 0 ] [ qlength: 1/ 50 ] queue dns priority 6 [ pkts: 72 bytes: 5938 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue www priority 5 [ pkts: 211 bytes: 37274 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue q_def priq( default ) [ pkts: 24626 bytes: 22419400 dropped pkts: 426 bytes: 299503 ] [ qlength: 31/ 50 ] From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 00:38:22 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCB6616A4CE for ; Mon, 21 Feb 2005 00:38:22 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 821D143D3F for ; Mon, 21 Feb 2005 00:38:22 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-120-130-255.dsl.snfc21.pacbell.net [68.120.130.255])j1L0cKpY235480 for ; Sun, 20 Feb 2005 19:38:21 -0500 Message-ID: <42192D78.6070600@elischer.org> Date: Sun, 20 Feb 2005 16:38:16 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 00:38:23 -0000 I'm looking at implementing a kernel module that implelemnts an ABI that allows a particular tcp session to be followed. I'm not terribly intereted in the data sent/received bas in the actual session behaviour itself.. In other words I want to watch the tcp stack making decisions. Obviously this would require adding trace points (not normally compiled in) into the tcp stack. I'd consider that possibly KTR would be good for that except that I need to do this on 4.x machines so possibly another mechanism will be needed (or I back port KTR). I'm looking to see trace messages such as "Congestion window changed to %d", and "process reads %d bytes, %d bytes now available in receive window" using tcptrace and other tools okn the data flow across the network "simulates" or "guesses" about some of these things, but there is no real authoratative information about how the stack is thinking.. parts of the ABI I'm thinking about include: how to get the events out (if not KTR) and how to specifiy a session to trace (assuming you want to watch sessions that may not exist yet) if anyone has any ideas on this, let me know :-) regards julian p.s. would this be generally useful (assuming it can be achieve without any overhead when compiled out)? From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 01:40:38 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CECA16A4CE for ; Mon, 21 Feb 2005 01:40:38 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id CEEED43D3F for ; Mon, 21 Feb 2005 01:40:37 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 3784 invoked from network); 21 Feb 2005 01:40:36 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 21 Feb 2005 01:40:36 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 20 Feb 2005 19:40:35 -0600 (CST) From: Mike Silbersack To: Julian Elischer In-Reply-To: <42192D78.6070600@elischer.org> Message-ID: <20050220193909.K1739@odysseus.silby.com> References: <42192D78.6070600@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 01:40:38 -0000 On Sun, 20 Feb 2005, Julian Elischer wrote: > I'm looking at implementing a kernel module that implelemnts an ABI that > allows a particular tcp session to be followed. > I'm not terribly intereted in the data sent/received bas in the actual > session > behaviour itself.. > p.s. would this be generally useful (assuming it can be achieve without > any overhead when compiled out)? Yes, I think that'd be very useful; when a user has a repeatable network problem, we could have them turn this on and create a detailed log file for us. In cases of reset connections, etc, this would be quite useful. Doesn't TCPDEBUG do something like that already, though? I haven't taken a look into it, perhaps I should. Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 03:00:11 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C51B16A4CE for ; Mon, 21 Feb 2005 03:00:11 +0000 (GMT) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC4943D3F for ; Mon, 21 Feb 2005 03:00:11 +0000 (GMT) (envelope-from pheerboth@apple.com) Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id j1L30ATZ000468 for ; Sun, 20 Feb 2005 19:00:10 -0800 (PST) Received: from relay3.apple.com (relay3.apple.com) by mailgate1.apple.com ; Sun, 20 Feb 2005 19:00:10 -0800 Received: from [17.219.204.197] (vpn2priv-197.apple.com [17.219.204.197]) by relay3.apple.com (8.12.11/8.12.11) with ESMTP id j1L3088b010979; Sun, 20 Feb 2005 19:00:08 -0800 (PST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <72f47860687da9f2585827f69571b5b1@apple.com> Content-Transfer-Encoding: 7bit From: Peter Heerboth Date: Sun, 20 Feb 2005 19:00:07 -0800 To: Jet Nul X-Mailer: Apple Mail (2.619.2) cc: freebsd-net@freebsd.org Subject: Re: circumventing default route through loopback X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 03:00:11 -0000 A few ideas come to mind. You could trying using a web proxy. Or, if you are running an open source browser, you could try to use the IP_OPTIONS socket option to specify strict source routing and then supply the exact path the packet must take. I would try using a web proxy first. Pete On Feb 17, 2005, at 9:53 PM, Jet Nul wrote: > Hi!! > > I have problem for which I'm sure there is > a simple and PROPER solution -- please help! > > The problem is, I have set up my Apache server, > but have only my machine for testing. Although > I'm online, requests from my browser typically > end up "redirected" through 127.0.0.1 (lo0). > This is inconvenient, since things which work > from home have proven unreliable from remote. > > Specifically, I have a web page hosted by > my ISP, but it is too small, so I redirect > back to by dynamic IP from there. In order > to test this, it is critical to circumvent > loopback "short-circuit". > > Can anyone help me? I've really been trying > hard to find the answer... > > (I'm actually running OpenBSD, but they don't > care to answer this on misc@openbsd.org.) > > Very Much Thanks in advance, > -Jet > _______________________________________________ > 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 Feb 21 03:06:03 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8478216A4CE for ; Mon, 21 Feb 2005 03:06:03 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 103C443D2D for ; Mon, 21 Feb 2005 03:06:03 +0000 (GMT) (envelope-from nullentropy@lineone.net) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1D33tY-0002jG-00; Mon, 21 Feb 2005 04:06:00 +0100 Received: from [81.5.165.126] (helo=[192.168.1.102]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1D33tX-0006gf-00; Mon, 21 Feb 2005 04:06:00 +0100 Message-ID: <4219500F.4050602@lineone.net> Date: Mon, 21 Feb 2005 03:05:51 +0000 From: Robert Downes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Charlie Schluting , freebsd-net@freebsd.org References: <4218ED62.7010606@schluting.com> In-Reply-To: <4218ED62.7010606@schluting.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2550fd8a06644f5f76caeae9aa9f8da2 Subject: Re: ALTQ statistics? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 03:06:03 -0000 Charlie Schluting wrote: > Does anyone know of any statistics tools that do a good job > summarizing ALTQ queuing? > Perhaps with an rrd graph of some sort? > > I just started using shaping, and its great.. but some time-based view > of the following data (or more) would be really interesting to see. Well, graphing is asking too much of the command-line, but maybe pfctl -vvs queue will interest you more than your current invocation. (Notice double v in the switches.) However, the rates displayed seem to be since-command-invocation averages, as they start at zero, but do not seem to return to zero immediatlely the traffic stops. -- Bob From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 04:44:20 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 421F816A4CE for ; Mon, 21 Feb 2005 04:44:20 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B432C43D3F for ; Mon, 21 Feb 2005 04:44:19 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-124-206-88.dsl.snfc21.pacbell.net [68.124.206.88])j1L4iDuq261212; Sun, 20 Feb 2005 23:44:18 -0500 Message-ID: <4219671C.4050002@elischer.org> Date: Sun, 20 Feb 2005 20:44:12 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: Mike Silbersack References: <42192D78.6070600@elischer.org> <20050220193909.K1739@odysseus.silby.com> In-Reply-To: <20050220193909.K1739@odysseus.silby.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 04:44:20 -0000 Mike Silbersack wrote: > > On Sun, 20 Feb 2005, Julian Elischer wrote: > >> I'm looking at implementing a kernel module that implelemnts an ABI >> that allows a particular tcp session to be followed. >> I'm not terribly intereted in the data sent/received bas in the actual >> session >> behaviour itself.. > > >> p.s. would this be generally useful (assuming it can be achieve without >> any overhead when compiled out)? > > > Yes, I think that'd be very useful; when a user has a repeatable network > problem, we could have them turn this on and create a detailed log file > for us. In cases of reset connections, etc, this would be quite useful. > > Doesn't TCPDEBUG do something like that already, though? I haven't > taken a look into it, perhaps I should. > > Mike "Silby" Silbersack TCPDEBUG does part of it but I don't see a way to get the output directed to a listenning app that can interpret it, and I don't see a way of limitiing it to particular sessions. From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 04:47:00 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1836916A4CE for ; Mon, 21 Feb 2005 04:47:00 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C8243D41 for ; Mon, 21 Feb 2005 04:46:59 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-124-206-88.dsl.snfc21.pacbell.net [68.124.206.88])j1L4kquq118832; Sun, 20 Feb 2005 23:46:52 -0500 Message-ID: <421967BB.5010807@elischer.org> Date: Sun, 20 Feb 2005 20:46:51 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050214 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <42192D78.6070600@elischer.org> <20050220193909.K1739@odysseus.silby.com> <4219671C.4050002@elischer.org> In-Reply-To: <4219671C.4050002@elischer.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 04:47:00 -0000 Julian Elischer wrote: > Mike Silbersack wrote: > >> >> On Sun, 20 Feb 2005, Julian Elischer wrote: >> >>> I'm looking at implementing a kernel module that implelemnts an ABI >>> that allows a particular tcp session to be followed. >>> I'm not terribly intereted in the data sent/received bas in the >>> actual session >>> behaviour itself.. >> >> >> >>> p.s. would this be generally useful (assuming it can be achieve without >>> any overhead when compiled out)? >> >> >> >> Yes, I think that'd be very useful; when a user has a repeatable >> network problem, we could have them turn this on and create a detailed >> log file for us. In cases of reset connections, etc, this would be >> quite useful. >> >> Doesn't TCPDEBUG do something like that already, though? I haven't >> taken a look into it, perhaps I should. >> >> Mike "Silby" Silbersack > > > TCPDEBUG does part of it but I don't see a way to get the output > directed to a listenning app that can interpret it, and I don't see a > way of limitiing it to particular sessions. the last isn't quite true.. it can be made to depend on SO_DEBUG but how does a 3rd party process set that bit? > > > _______________________________________________ > 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 Feb 21 05:11:02 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7445416A4CE for ; Mon, 21 Feb 2005 05:11:02 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAACC43D39 for ; Mon, 21 Feb 2005 05:11:01 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C20195129C; Sun, 20 Feb 2005 21:11:00 -0800 (PST) Date: Sun, 20 Feb 2005 21:11:00 -0800 From: Kris Kennaway To: Mike Silbersack Message-ID: <20050221051100.GA13873@xor.obsecurity.org> References: <42192D78.6070600@elischer.org> <20050220193909.K1739@odysseus.silby.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20050220193909.K1739@odysseus.silby.com> User-Agent: Mutt/1.4.2.1i cc: Julian Elischer cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 05:11:02 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 20, 2005 at 07:40:35PM -0600, Mike Silbersack wrote: >=20 > On Sun, 20 Feb 2005, Julian Elischer wrote: >=20 > >I'm looking at implementing a kernel module that implelemnts an ABI that= =20 > >allows a particular tcp session to be followed. > >I'm not terribly intereted in the data sent/received bas in the actual= =20 > >session > >behaviour itself.. >=20 > >p.s. would this be generally useful (assuming it can be achieve without > >any overhead when compiled out)? >=20 > Yes, I think that'd be very useful; when a user has a repeatable network= =20 > problem, we could have them turn this on and create a detailed log file= =20 > for us. In cases of reset connections, etc, this would be quite useful. Wouldn't it be best to use KTR for this on 5.x/6.x instead of introducing another KTR-alike? Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGW1kWry0BWjoQKURAledAJ4skneT61kQAIyXg5YZgeQGfr0VogCg0rmS fKggdcxxV1of8K9IyENuwtk= =0wlf -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 05:26:43 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBAB716A4CE for ; Mon, 21 Feb 2005 05:26:43 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 1169943D5D for ; Mon, 21 Feb 2005 05:26:43 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 13747 invoked from network); 21 Feb 2005 05:26:41 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 21 Feb 2005 05:26:41 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 20 Feb 2005 23:26:41 -0600 (CST) From: Mike Silbersack To: Kris Kennaway In-Reply-To: <20050221051100.GA13873@xor.obsecurity.org> Message-ID: <20050220232303.D3038@odysseus.silby.com> References: <42192D78.6070600@elischer.org> <20050220193909.K1739@odysseus.silby.com> <20050221051100.GA13873@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: Julian Elischer cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 05:26:43 -0000 On Sun, 20 Feb 2005, Kris Kennaway wrote: > On Sun, Feb 20, 2005 at 07:40:35PM -0600, Mike Silbersack wrote: >> Yes, I think that'd be very useful; when a user has a repeatable network >> problem, we could have them turn this on and create a detailed log file >> for us. In cases of reset connections, etc, this would be quite useful. > > Wouldn't it be best to use KTR for this on 5.x/6.x instead of > introducing another KTR-alike? > > Kris TCP/IP events always happen in places where sleepable locks can be held, so this doesn't require the semantics of KTR. Instead, it seems feasible to send the tcp info straight to syslog and let it direct the relevant info to /var/log/tcpdebug.log. No need for a translation program like ktrdump then. Mike "Silby" Silbersack From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 06:41:44 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E923C16A4CE for ; Mon, 21 Feb 2005 06:41:44 +0000 (GMT) Received: from misato.debian.or.jp (misato.debian.or.jp [210.157.158.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9886B43D45 for ; Mon, 21 Feb 2005 06:41:43 +0000 (GMT) (envelope-from debian-users-admin@debian.or.jp) Received: from lists.debian.or.jp (arashi.debian.or.jp [210.157.158.37]) by misato.debian.or.jp (Postfix) with ESMTP id 633E0100BE for ; Mon, 21 Feb 2005 15:41:40 +0900 (JST) Date: Mon, 21 Feb 2005 15:41:40 +0900 From: debian-users-admin@debian.or.jp To: freebsd-net@freebsd.org Message-Id: <200502211541.FMLAAA5338.debian-users@debian.or.jp> References: <20050221064128.6F1D6AFE08@hp.debian.or.jp> X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)] X-ML-Info: If you have a question, please contact debian-users-admin@debian.or.jp; Subject: Subscribe request result (debian-users ML) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: debian-users-ctl@debian.or.jp List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2005 06:41:45 -0000 Hi, I am the fml mailing list manager for . Hmm, you may be not a member. 1. Your mail may come from a bad address which is not registered in this mailing list 2. Your mail has a syntax error. If you would like to subscribe this mailing list subscribe YOUR NAME For example subscribe Hayakawa Aoi Hi, I am the fml ML manager for the ML . --debian-users@debian.or.jp, Be Seeing You! ************************************************************ If you have any questions or problems, please contact debian-users-admin@debian.or.jp ************************************************************ From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 10:27:28 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2FC316A4CE for ; Mon, 21 Feb 2005 10:27:28 +0000 (GMT) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C71743D45 for ; Mon, 21 Feb 2005 10:27:27 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [193.64.42.134] (h86.vuokselantie10.fi [193.64.42.134]) by silver.he.iki.fi (8.13.1/8.11.4) with ESMTP id j1LARI5L004547; Mon, 21 Feb 2005 12:27:19 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <4219B789.6090803@he.iki.fi> Date: Mon, 21 Feb 2005 12:27:21 +0200 From: Petri Helenius User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <42192D78.6070600@elischer.org> In-Reply-To: <42192D78.6070600@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: net@freebsd.org Subject: Re: ABI suggestions? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 10:27:28 -0000 Julian Elischer wrote: > > > if anyone has any ideas on this, let me know :-) > > regards julian > > p.s. would this be generally useful (assuming it can be achieve without > any overhead when compiled out)? I would like to fetch the tcpcb contents to userland over an ioctl or so and additionally have some netstat -s style counters available on per-connection basis. Pete From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 11:01:49 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9FA016A4DD for ; Mon, 21 Feb 2005 11:01:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB6E43D2F for ; Mon, 21 Feb 2005 11:01:49 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1LB1nrk034320 for ; Mon, 21 Feb 2005 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1LB1mVm034314 for freebsd-net@freebsd.org; Mon, 21 Feb 2005 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 21 Feb 2005 11:01:49 GMT Message-Id: <200502211101.j1LB1mVm034314@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 11:01:50 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit 1 problem total. From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 15:55:24 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08CA616A4CE; Mon, 21 Feb 2005 15:55:24 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6F7143D1F; Mon, 21 Feb 2005 15:55:22 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1LFtKkn057891; Mon, 21 Feb 2005 17:55:20 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 94981-02; Mon, 21 Feb 2005 17:55:19 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1LFtJYN057881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Feb 2005 17:55:19 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j1LFtQ2v095346; Mon, 21 Feb 2005 17:55:26 +0200 (EET) (envelope-from ru) Date: Mon, 21 Feb 2005 17:55:26 +0200 From: Ruslan Ermilov To: Max Laier Message-ID: <20050221155526.GA95305@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: net@FreeBSD.org Subject: Another bug with same-net same-netmask IP aliases X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 15:55:24 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Max, There's another nasty bug when adding same-net same-netmask IP aliases: no RTM_NEWADDR is generated. From a quick glance I cannot see how to easily fix it -- the message is generated from rtinit() which is not called in this case. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCGgRuqRfpzJluFF4RAoX6AJ9TSDcUS0XzCgJhPA7fOGDLzi3hsACfdkXe cX+Yfxl69Ym7PZJ+8VmWgD8= =NW3z -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-net@FreeBSD.ORG Mon Feb 21 22:37:11 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BAF716A4CE; Mon, 21 Feb 2005 22:37:11 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F7443D3F; Mon, 21 Feb 2005 22:37:11 +0000 (GMT) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-89-53.dsl.snfc21.pacbell.net [63.201.89.53])j1LMb9vE022558; Mon, 21 Feb 2005 17:37:09 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (Postfix) with ESMTP id D406375E077; Mon, 21 Feb 2005 15:39:48 -0800 (PST) Date: Mon, 21 Feb 2005 15:39:48 -0800 (PST) From: Kelly Yancey To: freebsd-net@FreeBSD.org Message-ID: <20050221153304.J2022@gateway.posi.net> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1444105768-1109029188=:2022" cc: Pawel Worach cc: des@FreeBSD.org Subject: [patch] Update to libfetch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Feb 2005 22:37:11 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1444105768-1109029188=:2022 Content-Type: TEXT/PLAIN; charset=US-ASCII Attached is a patch to address concerns raised by Pawel Worach with regards to the recent change to set TCP_NOPUSH when sending HTTP requests from libfetch. The previous revision also introduced a call to shutdown(2) to close the write half of the socket in order to force the queued request to be sent. While this should be perfectly acceptable behavior for a TCP client, it appears that squid provides a configuration option to disallow half-closed clients (which Pawel is currently using). As such, after introducing the shutdown(2) call, fetch(1) can no longer fetch files via HTTP through such proxies. To address this issue, the attached patch replaces the call to shutdown(2) with some socket option fiddling (clearing TCP_NOPUSH and setting TCP_NODELAY) which does the same job of forcing the client to write the queued request to the network without closing the write half of the socket. This feels a bit hackish to me, but gets the job done. Anyway, I would appreciate any feedback. Thanks, Kelly -- Kelly Yancey - kbyanc@{posi.net,FreeBSD.org} - kelly@nttmcl.com --0-1444105768-1109029188=:2022 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="fetch-nodelay.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20050221153948.B2022@gateway.posi.net> Content-Description: Content-Disposition: attachment; filename="fetch-nodelay.diff" PyBmZXRjaC4zLmd6DQo/IGZ0cGVyci5oDQo/IGh0dHBlcnIuaA0KPyBsaWJm ZXRjaC5zby4zDQo/IH5mZXRjaC1ub2RlbGF5LmRpZmYNCkluZGV4OiBodHRw LmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvaG9tZS9u Y3ZzL3NyYy9saWIvbGliZmV0Y2gvaHR0cC5jLHYNCnJldHJpZXZpbmcgcmV2 aXNpb24gMS43NQ0KZGlmZiAtdSAtcCAtcjEuNzUgaHR0cC5jDQotLS0gaHR0 cC5jCTE2IEZlYiAyMDA1IDAwOjIyOjIwIC0wMDAwCTEuNzUNCisrKyBodHRw LmMJMjEgRmViIDIwMDUgMjI6Mjk6MTYgLTAwMDANCkBAIC03OTIsNyArNzky LDcgQEAgX2h0dHBfcmVxdWVzdChzdHJ1Y3QgdXJsICpVUkwsIGNvbnN0IGNo YQ0KIAljb25uX3QgKmNvbm47DQogCXN0cnVjdCB1cmwgKnVybCwgKm5ldzsN CiAJaW50IGNodW5rZWQsIGRpcmVjdCwgbmVlZF9hdXRoLCBub3JlZGlyZWN0 LCB2ZXJib3NlOw0KLQlpbnQgZSwgaSwgbjsNCisJaW50IGUsIGksIG4sIHZh bDsNCiAJb2ZmX3Qgb2Zmc2V0LCBjbGVuZ3RoLCBsZW5ndGgsIHNpemU7DQog CXRpbWVfdCBtdGltZTsNCiAJY29uc3QgY2hhciAqcDsNCkBAIC05MTMsNyAr OTEzLDIwIEBAIF9odHRwX3JlcXVlc3Qoc3RydWN0IHVybCAqVVJMLCBjb25z dCBjaGENCiAJCQlfaHR0cF9jbWQoY29ubiwgIlJhbmdlOiBieXRlcz0lbGxk LSIsIChsb25nIGxvbmcpdXJsLT5vZmZzZXQpOw0KIAkJX2h0dHBfY21kKGNv bm4sICJDb25uZWN0aW9uOiBjbG9zZSIpOw0KIAkJX2h0dHBfY21kKGNvbm4s ICIiKTsNCi0JCXNodXRkb3duKGNvbm4tPnNkLCBTSFVUX1dSKTsNCisNCisJ CS8qDQorCQkgKiBGb3JjZSB0aGUgcXVldWVkIHJlcXVlc3QgdG8gYmUgZGlz cGF0Y2hlZC4gIE5vcm1hbGx5LCBvbmUNCisJCSAqIHdvdWxkIGRvIHRoaXMg d2l0aCBzaHV0ZG93bigyKSBidXQgc3F1aWQgcHJveGllcyBjYW4gYmUNCisJ CSAqIGNvbmZpZ3VyZWQgdG8gZGlzYWxsb3cgc3VjaCBoYWxmLWNsb3NlZCBj b25uZWN0aW9ucy4gIFRvDQorCQkgKiBiZSBjb21wYXRpYmxlIHdpdGggc3Vj aCBjb25maWd1cmF0aW9ucywgZmlkZGxlIHdpdGggc29ja2V0DQorCQkgKiBv cHRpb25zIHRvIGZvcmNlIHRoZSBwZW5kaW5nIGRhdGEgdG8gYmUgd3JpdHRl bi4NCisJCSAqLw0KKwkJdmFsID0gMDsNCisJCXNldHNvY2tvcHQoY29ubi0+ c2QsIElQUFJPVE9fVENQLCBUQ1BfTk9QVVNILCAmdmFsLA0KKwkJCSAgIHNp emVvZih2YWwpKTsNCisJCXZhbCA9IDE7DQorCQlzZXRzb2Nrb3B0KGNvbm4t PnNkLCBJUFBST1RPX1RDUCwgVENQX05PREVMQVksICZ2YWwsDQorCQkJICAg c2l6ZW9mKHZhbCkpOw0KIA0KIAkJLyogZ2V0IHJlcGx5ICovDQogCQlzd2l0 Y2ggKF9odHRwX2dldF9yZXBseShjb25uKSkgew0K --0-1444105768-1109029188=:2022-- From owner-freebsd-net@FreeBSD.ORG Tue Feb 22 05:08:08 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5737A16A4CE for ; Tue, 22 Feb 2005 05:08:08 +0000 (GMT) Received: from mail-svr1.cs.utah.edu (mail-svr1.cs.utah.edu [155.98.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C9F643D53 for ; Tue, 22 Feb 2005 05:08:08 +0000 (GMT) (envelope-from swami@cs.utah.edu) Received: from localhost (localhost [127.0.0.1]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id DCD3C346D9 for ; Mon, 21 Feb 2005 22:08:07 -0700 (MST) Received: from mail-svr1.cs.utah.edu ([127.0.0.1]) by localhost (mail-svr1.cs.utah.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08914-07 for ; Mon, 21 Feb 2005 22:08:07 -0700 (MST) Received: from blanc.cs.utah.edu (blanc.cs.utah.edu [155.98.71.201]) by mail-svr1.cs.utah.edu (Postfix) with ESMTP id 9C161346D3 for ; Mon, 21 Feb 2005 22:08:07 -0700 (MST) Received: by blanc.cs.utah.edu (Postfix, from userid 4970) id 8060A3F72; Mon, 21 Feb 2005 22:08:07 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by blanc.cs.utah.edu (Postfix) with ESMTP id 6DA213F70 for ; Mon, 21 Feb 2005 22:08:07 -0700 (MST) Date: Mon, 21 Feb 2005 22:08:07 -0700 (MST) From: Swami Pichumani To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: amavisd-new at cs.utah.edu Subject: question on mbuf(m_copyback) code X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Feb 2005 05:08:08 -0000 Hi all, I had a question on the m_copyback code (I use pretty old version but feel this might still be same). Inside the while(len>0) loop, the first line kinda seems odd. It subtracts the off (which becomes after first iteration) from m_len(which is supposed to tell the amount of data in the particular mbuf) to find the free space i nthe mbuf. This obviously would not work without m_len getting initialized to MLEN (or MHLEN), which is not the right thing to do (since when an mbuf has 0 data when initialized and m_len would be zero). thanks in advance for any comments on this, -swami From owner-freebsd-net@FreeBSD.ORG Tue Feb 22 09:41:49 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDD2716A4F0 for ; Tue, 22 Feb 2005 09:41:49 +0000 (GMT) Received: from dbmail-mx2.orcon.net.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABB2643D2D for ; Tue, 22 Feb 2005 09:41:48 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from [10.58.2.16] (port-222-152-49-103.fastadsl.net.nz [222.152.49.103])j1M9gYJ8012585 for ; Tue, 22 Feb 2005 22:42:34 +1300 Message-ID: <421AFE52.3080509@nevada.net.nz> Date: Tue, 22 Feb 2005 22:41:38 +1300 From: Philip Murray User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on dbmail-mx2.orcon.net.nz X-Virus-Status: Clean Subject: FreeBSD, Samba and OSX clients X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Feb 2005 09:41:49 -0000 Hi, I have a problem with MacOS X clients (all 10.3.8) accessing a Samba server on FreeBSD (RELENG_5). Transferring files will often occur very very slowly, usually between 170k/sec-32k/sec. This doesn't happen with a Windows or Linux server and likewise if the clients are Windows or Linux. The version of Samba also seems to have no effect. NFS performance is fine, as is iperf doing a TCP test. The machines are all connected on a 100Mb/sec switched network. I've tried toggling various net.inet.tcp sysctls to see if any make a difference (delayed ACKs, SACK etc), but nothing seems to have any effect. Any ideas on how I can further debug this? is there something obvious that could be wrong? I tried doing a tcpdump, but I couldn't really make enough sense of it to know if there was something wrong. Thanks in advance. Phil Murray pmurray@nevada.net.nz From owner-freebsd-net@FreeBSD.ORG Tue Feb 22 10:03:28 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D25416A4CE for ; Tue, 22 Feb 2005 10:03:28 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DE9643D48 for ; Tue, 22 Feb 2005 10:03:28 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id EAB19530D; Tue, 22 Feb 2005 11:03:26 +0100 (CET) Received: from xps.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 382555308; Tue, 22 Feb 2005 11:02:58 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id F2D9533C3E; Tue, 22 Feb 2005 11:02:57 +0100 (CET) To: Kelly Yancey References: <20050221153304.J2022@gateway.posi.net> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 22 Feb 2005 11:02:57 +0100 In-Reply-To: <20050221153304.J2022@gateway.posi.net> (Kelly Yancey's message of "Mon, 21 Feb 2005 15:39:48 -0800 (PST)") Message-ID: <867jl0c3ou.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on flood.des.no X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,FORGED_RCVD_HELO autolearn=disabled version=3.0.1 cc: freebsd-net@FreeBSD.org cc: Pawel Worach Subject: Re: [patch] Update to libfetch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Feb 2005 10:03:28 -0000 Kelly Yancey writes: > Attached is a patch to address concerns raised by Pawel Worach with > regards to the recent change to set TCP_NOPUSH when sending HTTP > requests from libfetch. The previous revision also introduced a call > to shutdown(2) to close the write half of the socket in order to force > the queued request to be sent. While this should be perfectly > acceptable behavior for a TCP client, it appears that squid provides a > configuration option to disallow half-closed clients (which Pawel is > currently using). As such, after introducing the shutdown(2) call, > fetch(1) can no longer fetch files via HTTP through such proxies. > To address this issue, the attached patch replaces the call to > shutdown(2) with some socket option fiddling (clearing TCP_NOPUSH and > setting TCP_NODELAY) which does the same job of forcing the client to > write the queued request to the network without closing the write half > of the socket. This feels a bit hackish to me, but gets the job done. > Anyway, I would appreciate any feedback. Thanks, Doesn't simply reading from the socket or selecting it for reading flush the output queue? DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-net@FreeBSD.ORG Tue Feb 22 10:08:11 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE51C16A4CF for ; Tue, 22 Feb 2005 10:08:11 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BD1843D5D for ; Tue, 22 Feb 2005 10:08:11 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id E906D530D; Tue, 22 Feb 2005 11:08:09 +0100 (CET) Received: from xps.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 0C9205308; Tue, 22 Feb 2005 11:07:40 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id A46B833C3E; Tue, 22 Feb 2005 11:07:40 +0100 (CET) To: Kelly Yancey References: <20050221153304.J2022@gateway.posi.net> <867jl0c3ou.fsf@xps.des.no> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 22 Feb 2005 11:07:40 +0100 In-Reply-To: <867jl0c3ou.fsf@xps.des.no> (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav's?= message of "Tue, 22 Feb 2005 11:02:57 +0100") Message-ID: <863bvoc3gz.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on flood.des.no X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,FORGED_RCVD_HELO autolearn=disabled version=3.0.1 cc: freebsd-net@FreeBSD.org cc: Pawel Worach Subject: Re: [patch] Update to libfetch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Feb 2005 10:08:11 -0000 des@des.no (Dag-Erling Sm=F8rgrav) writes: > Doesn't simply reading from the socket or selecting it for reading > flush the output queue? Ah, never mind, it doesn't. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-net@FreeBSD.ORG Tue Feb 22 15:59:20 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F317D16A4CE for ; Tue, 22 Feb 2005 15:59:19 +0000 (GMT) Received: from eep.lcs.mit.edu (eep.lcs.mit.edu [18.31.0.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82C5F43D31 for ; Tue, 22 Feb 2005 15:59:19 +0000 (GMT) (envelope-from dga@eep.lcs.mit.edu) Received: from eep.lcs.mit.edu (localhost.lcs.mit.edu [127.0.0.1]) by eep.lcs.mit.edu (8.13.1/8.12.9) with ESMTP id j1MFxFgI023758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Feb 2005 10:59:17 -0500 (EST) (envelope-from dga@eep.lcs.mit.edu) Received: (from dga@localhost) by eep.lcs.mit.edu (8.13.1/8.13.1/Submit) id j1MFxC53023757; Tue, 22 Feb 2005 10:59:12 -0500 (EST) (envelope-from dga) Date: Tue, 22 Feb 2005 10:59:12 -0500 From: "David G. Andersen" To: Andre Oppermann Message-ID: <20050222155912.GA23378@lcs.mit.edu> References: <20050209170802.GA39472@lcs.mit.edu> <420A4957.15E0D656@networx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420A4957.15E0D656@networx.ch> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=-4.9 required=5 tests=BAYES_00 version=FluxMilter1.2 X-Scanned-By: MIMEDefang 2.44 cc: freebsd-net@freebsd.org cc: "David G. Andersen" Subject: Re: Kern/73129 and 5.3-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 22 Feb 2005 15:59:20 -0000 On Wed, Feb 09, 2005 at 06:33:11PM +0100, Andre Oppermann scribed: > "David G. Andersen" wrote: > > > > The last messages I saw in the archives about kern/73129 indicated > > that it was going to be fixed "shortly" > > > > (73129 is the "IPFW misbehavior in RELENG_5 thread" -- it's no longer > > possible to use ipfw fwd to perform policy routing). > > > > Sorry, it'll be fixed in 5.4-RELEASE. I have made up my mind how to > fix it the most correct way. Just a ping on this one - I've received several emails from people off the list asking if I'd found a fix for the problem. It seems like it would be grand if you could commit your fix to 5-STABLE instead of waiting for 5.4-RELEASE. -Dave -- Dave Andersen dga at cs dot cmu.edu Assistant Professor 412.268.3064 Carnegie Mellon University http://www.cs.cmu.edu/~dga From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 00:42:40 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB4D316A4CE for ; Wed, 23 Feb 2005 00:42:40 +0000 (GMT) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F07943D46 for ; Wed, 23 Feb 2005 00:42:38 +0000 (GMT) (envelope-from brianc@pobox.com) Received: from pobox.com ([207.236.110.117]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050223004237.SVID2026.tomts5-srv.bellnexxia.net@pobox.com> for ; Tue, 22 Feb 2005 19:42:37 -0500 Received: (from brianc@localhost) by pobox.com (8.11.6/8.11.6) id j1N0g1q79345; Tue, 22 Feb 2005 19:42:01 -0500 (EST) (envelope-from brianc) Date: Tue, 22 Feb 2005 19:42:01 -0500 (EST) Message-Id: <200502230042.j1N0g1q79345@pobox.com> To: freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-URL: http://lists.freebsd.org/pipermail/freebsd-net/2005-February/006514.html X-Mailer: Lynx, Version 2.8.5dev.2 X-Personal_Name: : Brian Campbell From: Brian Campbell Subject: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 00:42:41 -0000 >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: >> > My build in ethernet card (ASUS A8V mobo) does not work. >> > (I've tried HEAD, RELENG_5 and RELENG_5_3): >> >> Could you please apply the patch at [1] and mail me the results. > >OK here is the relevant part of dmesg: > >skc0: port 0xb000-0xb0ff mem >0xfbc00000-0xfbc03fff irq 17 at device 10.0 on pci0 >skc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfbc00000 >skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter >skc0: PN: Yukon 88E8001 >skc0: EC: Rev. 1.3 >skc0: MN: Marvell >skc0: SN: AbCdEfG334454 >skc0: type = YUKON >skc0: SK_EPROM0 = 0x10 >skc0: SRAM size = 0x010000 >skc0: chip ver 0xb1 >skc0: chip conf 0x73 >sk0: on skc0 >sk0: Ethernet address: 00:11:2f:88:07:42 >sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:342] ENXIO >skc0: no PHY found! 6 >device_attach: sk0 attach returned 6 I'm running 4.7 and had the same problem ... my fix was, in sk_init_yukon(), just after sc is assigned, add: sk_win_write_4(sc, SK_GPIO, (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 05:17:23 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AB7C16A4CE; Wed, 23 Feb 2005 05:17:23 +0000 (GMT) Received: from mirage.dyn.meta.net.nz (222-152-106-179.jetstream.xtra.co.nz [222.152.106.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6053A43D53; Wed, 23 Feb 2005 05:17:19 +0000 (GMT) (envelope-from pmurray@nevada.net.nz) Received: from [10.58.3.145] ([10.58.3.145])j1N0GWJ2018990; Wed, 23 Feb 2005 13:16:33 +1300 (NZDT) (envelope-from pmurray@nevada.net.nz) In-Reply-To: References: <421AFE52.3080509@nevada.net.nz> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <545743ccd1de0243e8c37e0010e639f8@nevada.net.nz> Content-Transfer-Encoding: 7bit From: Philip Murray Date: Wed, 23 Feb 2005 13:15:36 +1300 To: gnn@freebsd.org X-Mailer: Apple Mail (2.619.2) cc: freebsd-net@freebsd.org Subject: Re: FreeBSD, Samba and OSX clients X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 05:17:23 -0000 On 23/02/2005, at 3:00 AM, gnn@freebsd.org wrote: > At Tue, 22 Feb 2005 22:41:38 +1300, > Philip Murray wrote: >> I tried doing a tcpdump, but I couldn't really make enough sense of it >> to know if there was something wrong. >> > > Can you put up that tcpdump file for others to look at? That, and a > description of the network, how the relevant machines are connected, > and their names, could definitely help. Here is a trace after copying 1MB or so of a file (it was 660MB and would've taken upwards of 7 hours to copy) http://www.nevada.net.nz/~pmurray/slowsmb.bpf (captured with tcpdump -w slowsmb.bpf -i de0 host 10.58.3.145 and port 139) The server is 10.58.3.1 (Mirage, Samba v3.0.6) and the client is 10.58.3.145 (Lunchbox, MacOS 10.3.8), all the clients (10.58.3/24) are just connected via a single 100Mb/sec switch. Cheers Phil Murray From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 06:12:45 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8B16A4CE for ; Wed, 23 Feb 2005 06:12:45 +0000 (GMT) Received: from falcon.loomes.de (smtp.loomes.de [212.40.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35C7143D53 for ; Wed, 23 Feb 2005 06:12:45 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from port-212-202-34-139.dynamic.qsc.de ([212.202.34.139] helo=[192.68.0.2]) by falcon.loomes.de with asmtp (Exim 4.30) id 1D3plL-0007XM-0M; Wed, 23 Feb 2005 07:12:43 +0100 From: Markus Trippelsdorf To: Brian Campbell In-Reply-To: <200502230042.j1N0g1q79345@pobox.com> References: <200502230042.j1N0g1q79345@pobox.com> Content-Type: text/plain Date: Wed, 23 Feb 2005 07:12:41 +0100 Message-Id: <1109139161.620.9.camel@bsd.trippelsdorf.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 06:12:45 -0000 On Tue, 2005-02-22 at 19:42 -0500, Brian Campbell wrote: > >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: > >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: > >> > My build in ethernet card (ASUS A8V mobo) does not work. > >> > (I've tried HEAD, RELENG_5 and RELENG_5_3): > >> > >> Could you please apply the patch at [1] and mail me the results. > > > >OK here is the relevant part of dmesg: > > > >skc0: port 0xb000-0xb0ff mem > >skc0: no PHY found! 6 > >device_attach: sk0 attach returned 6 > > I'm running 4.7 and had the same problem ... my fix was, in > sk_init_yukon(), just after sc is assigned, add: > > sk_win_write_4(sc, SK_GPIO, > (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); Hi Brian, thank you very much. Your patch completely solved the problem. IMHO it should be committed to the tree. __ Markus From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 08:33:10 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36EAD16A4CE for ; Wed, 23 Feb 2005 08:33:10 +0000 (GMT) Received: from falcon.loomes.de (smtp.loomes.de [212.40.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F2EF43D54 for ; Wed, 23 Feb 2005 08:33:09 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from port-212-202-34-139.dynamic.qsc.de ([212.202.34.139] helo=[192.68.0.2]) by falcon.loomes.de with asmtp (Exim 4.30) id 1D3rxD-0002gj-Do; Wed, 23 Feb 2005 09:33:07 +0100 From: Markus Trippelsdorf To: Brian Campbell In-Reply-To: <1109139161.620.9.camel@bsd.trippelsdorf.de> References: <200502230042.j1N0g1q79345@pobox.com> <1109139161.620.9.camel@bsd.trippelsdorf.de> Content-Type: multipart/mixed; boundary="=-K07qR+w/SWEtm5MthVM5" Date: Wed, 23 Feb 2005 09:33:05 +0100 Message-Id: <1109147585.2574.1.camel@bsd.trippelsdorf.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-net@freebsd.org Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 08:33:10 -0000 --=-K07qR+w/SWEtm5MthVM5 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2005-02-23 at 07:12 +0100, Markus Trippelsdorf wrote: > On Tue, 2005-02-22 at 19:42 -0500, Brian Campbell wrote: > > >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: > > >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: > > >> > My build in ethernet card (ASUS A8V mobo) does not work. > > >> > (I've tried HEAD, RELENG_5 and RELENG_5_3): > > >> > > >> Could you please apply the patch at [1] and mail me the results. > > > > > >OK here is the relevant part of dmesg: > > > > > >skc0: port 0xb000-0xb0ff mem > > >skc0: no PHY found! 6 > > >device_attach: sk0 attach returned 6 > > > > I'm running 4.7 and had the same problem ... my fix was, in > > sk_init_yukon(), just after sc is assigned, add: > > > > sk_win_write_4(sc, SK_GPIO, > > (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); > Hi Brian, > thank you very much. Your patch completely solved the problem. > IMHO it should be committed to the tree. This is the patch: --=-K07qR+w/SWEtm5MthVM5 Content-Disposition: attachment; filename=if_sk_yukon_patch Content-Type: text/plain; name=if_sk_yukon_patch; charset=us-ascii Content-Transfer-Encoding: 7bit --- sys/pci/if_sk.c.orig Wed Feb 23 09:28:09 2005 +++ sys/pci/if_sk.c Wed Feb 23 06:48:43 2005 @@ -2405,6 +2405,8 @@ int i; sc = sc_if->sk_softc; + sk_win_write_4(sc, SK_GPIO, + (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); ifp = &sc_if->arpcom.ac_if; /* GMAC and GPHY Reset */ --=-K07qR+w/SWEtm5MthVM5-- From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 09:00:11 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5764916A4CF for ; Wed, 23 Feb 2005 09:00:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 784A743D39 for ; Wed, 23 Feb 2005 09:00:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 061E21FF9A6; Wed, 23 Feb 2005 10:00:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B55051FF90C; Wed, 23 Feb 2005 10:00:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9F9FC1560B; Wed, 23 Feb 2005 08:57:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 8C2F415380; Wed, 23 Feb 2005 08:57:46 +0000 (UTC) Date: Wed, 23 Feb 2005 08:57:46 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Markus Trippelsdorf In-Reply-To: <1109147585.2574.1.camel@bsd.trippelsdorf.de> Message-ID: References: <200502230042.j1N0g1q79345@pobox.com> <1109139161.620.9.camel@bsd.trippelsdorf.de> <1109147585.2574.1.camel@bsd.trippelsdorf.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-net@freebsd.org cc: Brian Campbell Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 09:00:11 -0000 On Wed, 23 Feb 2005, Markus Trippelsdorf wrote: Hi, > On Wed, 2005-02-23 at 07:12 +0100, Markus Trippelsdorf wrote: > > On Tue, 2005-02-22 at 19:42 -0500, Brian Campbell wrote: > > > >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: > > > >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: > > > >> > My build in ethernet card (ASUS A8V mobo) does not work. > > > >> > (I've tried HEAD, RELENG_5 and RELENG_5_3): > > > >> > > > >> Could you please apply the patch at [1] and mail me the results. > > > > > > > >OK here is the relevant part of dmesg: > > > > > > > >skc0: port 0xb000-0xb0ff mem > > > >skc0: no PHY found! 6 > > > >device_attach: sk0 attach returned 6 > > > > > > I'm running 4.7 and had the same problem ... my fix was, in > > > sk_init_yukon(), just after sc is assigned, add: > > > > > > sk_win_write_4(sc, SK_GPIO, > > > (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); > > Hi Brian, > > thank you very much. Your patch completely solved the problem. > > IMHO it should be committed to the tree. > > This is the patch: At the moment (without a closer look at the source) I am unsure if it can be applied unconditionally but will check this and get it comitted or come up with a followup version for testing. Many thanks. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 11:20:26 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31FF116A4CE for ; Wed, 23 Feb 2005 11:20:26 +0000 (GMT) Received: from BASE.OTEL.net (BASE.OTEL.net [212.36.8.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A859743D31 for ; Wed, 23 Feb 2005 11:20:25 +0000 (GMT) (envelope-from tbyte@OTEL.net) Received: from dragon.otel.net ([212.36.8.135]) by BASE.OTEL.net with esmtp (Exim 4.30; FreeBSD) id 1D3uZ5-000Noc-Nx for freebsd-net@freebsd.org; Wed, 23 Feb 2005 13:20:23 +0200 Message-ID: <421C66F7.7010908@OTEL.net> Date: Wed, 23 Feb 2005 13:20:23 +0200 From: Iasen Kostov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041229 X-Accept-Language: bg, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: mpd + high cpu usage X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 11:20:26 -0000 Hi, I'm running some pptp servers using poptop+ppp and now I'm trying how the situation will look like with mpd. I'm comparing two pptp ACs - one using poptop+ppp and one using mpd. Both have 250 connected users who are generating about 1MByte/sec. poptop+ppp : CPU states: 13.6% user, 0.0% nice, 12.1% system, 20.6% interrupt, 53.7% idle and many ppp + pptpctrl mpd: CPU states: 11.7% user, 0.0% nice, 33.1% system, 36.2% interrupt, 19.1% idle 90677 root 111 0 11100K 10028K RUN 175:27 39.75% 39.75% mpd or 90677 root 111 0 11100K 10028K select 175:17 37.84% 37.84% mpd Interesting thing is that sometimes cpu usage of mpd falls to 3-4% and the processor goes to 80% idle but only for a few seconds. Regards From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 12:08:26 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A644516A4CE for ; Wed, 23 Feb 2005 12:08:26 +0000 (GMT) Received: from BASE.OTEL.net (BASE.OTEL.net [212.36.8.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5351243D31 for ; Wed, 23 Feb 2005 12:08:26 +0000 (GMT) (envelope-from tbyte@OTEL.net) Received: from dragon.otel.net ([212.36.8.135]) by BASE.OTEL.net with esmtp (Exim 4.30; FreeBSD) id 1D3vJZ-000P9I-2d; Wed, 23 Feb 2005 14:08:25 +0200 Message-ID: <421C7238.8030605@OTEL.net> Date: Wed, 23 Feb 2005 14:08:24 +0200 From: Iasen Kostov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041229 X-Accept-Language: bg, en-us, en MIME-Version: 1.0 To: Iasen Kostov References: <421C66F7.7010908@OTEL.net> In-Reply-To: <421C66F7.7010908@OTEL.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: mpd + high cpu usage X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 12:08:26 -0000 Iasen Kostov wrote: > Hi, > I'm running some pptp servers using poptop+ppp and now I'm trying > how the situation will look like with mpd. I'm comparing two pptp ACs > - one using poptop+ppp and one using mpd. Both have 250 connected > users who are generating about 1MByte/sec. > > poptop+ppp : > > CPU states: 13.6% user, 0.0% nice, 12.1% system, 20.6% interrupt, > 53.7% idle > > and many ppp + pptpctrl > > mpd: > > CPU states: 11.7% user, 0.0% nice, 33.1% system, 36.2% interrupt, > 19.1% idle > > 90677 root 111 0 11100K 10028K RUN 175:27 39.75% 39.75% mpd > or > 90677 root 111 0 11100K 10028K select 175:17 37.84% 37.84% mpd > > Interesting thing is that sometimes cpu usage of mpd falls to 3-4% and > the processor goes to 80% idle but only for a few seconds. > System is FreeBSD 5.3-STABLE #0: Sat Dec 11 02:13:32 EET 2004 on CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU) with 1G RAM #:> mpd -v Version 3.18 (root@LANGW5.otel.net 19:21 21-Feb-2005) Regards From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 18:38:06 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D88BD16A4CE for ; Wed, 23 Feb 2005 18:38:06 +0000 (GMT) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C3AE43D2F for ; Wed, 23 Feb 2005 18:38:05 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received-SPF: pass (mp2.macomnet.net: domain of maxim@macomnet.ru designates 127.0.0.1 as permitted sender) receiver=mp2.macomnet.net; client_ip=127.0.0.1; envelope-from=maxim@macomnet.ru; Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.12.11/8.12.11) with ESMTP id j1NIc3Tl097861; Wed, 23 Feb 2005 21:38:04 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Wed, 23 Feb 2005 21:38:03 +0300 (MSK) From: Maxim Konovalov To: "David G. Andersen" In-Reply-To: <20050222155912.GA23378@lcs.mit.edu> Message-ID: <20050223213622.X97722@mp2.macomnet.net> References: <20050209170802.GA39472@lcs.mit.edu> <420A4957.15E0D656@networx.ch> <20050222155912.GA23378@lcs.mit.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Info: Profile: Formal (208/050203) X-SpamTest-Info: Profile: Detect Hard (4/030526) X-SpamTest-Info: Profile: SysLog X-SpamTest-Info: Profile: Marking - Keywords (2/030321) X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0124], SpamtestISP/Release cc: freebsd-net@freebsd.org cc: Andre Oppermann Subject: Re: Kern/73129 and 5.3-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 18:38:07 -0000 On Tue, 22 Feb 2005, 10:59-0500, David G. Andersen wrote: > On Wed, Feb 09, 2005 at 06:33:11PM +0100, Andre Oppermann scribed: > > "David G. Andersen" wrote: > > > > > > The last messages I saw in the archives about kern/73129 indicated > > > that it was going to be fixed "shortly" > > > > > > (73129 is the "IPFW misbehavior in RELENG_5 thread" -- it's no longer > > > possible to use ipfw fwd to perform policy routing). > > > > > > > Sorry, it'll be fixed in 5.4-RELEASE. I have made up my mind how to > > fix it the most correct way. > > Just a ping on this one - I've received several emails from > people off the list asking if I'd found a fix for the problem. > It seems like it would be grand if you could commit your fix > to 5-STABLE instead of waiting for 5.4-RELEASE. Andre fixed this in HEAD: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1086361+0+current/cvs-all -- Maxim Konovalov From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 18:43:08 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92FDC16A4CE for ; Wed, 23 Feb 2005 18:43:08 +0000 (GMT) Received: from eep.lcs.mit.edu (eep.lcs.mit.edu [18.31.0.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EA743D1F for ; Wed, 23 Feb 2005 18:43:08 +0000 (GMT) (envelope-from dga@eep.lcs.mit.edu) Received: from eep.lcs.mit.edu (localhost.lcs.mit.edu [127.0.0.1]) by eep.lcs.mit.edu (8.13.1/8.12.9) with ESMTP id j1NIh6xN036755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Feb 2005 13:43:07 -0500 (EST) (envelope-from dga@eep.lcs.mit.edu) Received: (from dga@localhost) by eep.lcs.mit.edu (8.13.1/8.13.1/Submit) id j1NIh6ZZ036754; Wed, 23 Feb 2005 13:43:06 -0500 (EST) (envelope-from dga) Date: Wed, 23 Feb 2005 13:43:06 -0500 From: "David G. Andersen" To: Maxim Konovalov Message-ID: <20050223184306.GB35652@lcs.mit.edu> References: <20050209170802.GA39472@lcs.mit.edu> <420A4957.15E0D656@networx.ch> <20050222155912.GA23378@lcs.mit.edu> <20050223213622.X97722@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050223213622.X97722@mp2.macomnet.net> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=-4.9 required=5 tests=BAYES_00 version=FluxMilter1.2 X-Scanned-By: MIMEDefang 2.44 cc: freebsd-net@freebsd.org cc: "David G. Andersen" cc: Andre Oppermann Subject: Re: Kern/73129 and 5.3-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 23 Feb 2005 18:43:08 -0000 On Wed, Feb 23, 2005 at 09:38:03PM +0300, Maxim Konovalov scribed: > > > > Just a ping on this one - I've received several emails from > > people off the list asking if I'd found a fix for the problem. > > It seems like it would be grand if you could commit your fix > > to 5-STABLE instead of waiting for 5.4-RELEASE. > > Andre fixed this in HEAD: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1086361+0+current/cvs-all Thanks! He mailed me about the commit yesterday; very much appreciated. I don't actually have a -current box here, so I'll hang out and wait for it to be MFC'd. -Dave From owner-freebsd-net@FreeBSD.ORG Thu Feb 24 04:25:37 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D0FA16A4CE for ; Thu, 24 Feb 2005 04:25:37 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1349843D2F for ; Thu, 24 Feb 2005 04:25:37 +0000 (GMT) (envelope-from jetnul@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so76705wri for ; Wed, 23 Feb 2005 20:25:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=eJzKU7UJYTNk0BijcHqwjwcmusl50f775wmo9hI8E+OdgV3yaevpVrlstZofJKVf9Gbl537HpoAAACRKhLSwC6Q6dmNj9FWD5ZZiIjiZ66ZTvCaT9DvwAVl0RNtQ2JcdTgEP5pbZYUE0B8VnZjefhLgkUuaLdTdN/9V+cuV7zYA= Received: by 10.54.53.40 with SMTP id b40mr141395wra; Wed, 23 Feb 2005 20:25:36 -0800 (PST) Received: by 10.54.46.47 with HTTP; Wed, 23 Feb 2005 20:25:36 -0800 (PST) Message-ID: Date: Wed, 23 Feb 2005 22:25:36 -0600 From: Jet Nul To: freebsd-net@freebsd.org In-Reply-To: <72f47860687da9f2585827f69571b5b1@apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <72f47860687da9f2585827f69571b5b1@apple.com> Subject: Re: circumventing default route through loopback X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jet Nul List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 04:25:37 -0000 Thanks Pete! I have resorted to the proxy approach, but the free proxies I've found really suck, so I may just try tweaking the firefox-1.0 source... It'll be a learning experience anyhow. -Jet From owner-freebsd-net@FreeBSD.ORG Thu Feb 24 15:06:51 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB92916A4CE for ; Thu, 24 Feb 2005 15:06:51 +0000 (GMT) Received: from web15801.mail.cnb.yahoo.com (web15801.mail.cnb.yahoo.com [202.165.102.81]) by mx1.FreeBSD.org (Postfix) with SMTP id A916543D39 for ; Thu, 24 Feb 2005 15:06:50 +0000 (GMT) (envelope-from arnoldlee_cn@yahoo.com.cn) Message-ID: <20050224150649.9076.qmail@web15801.mail.cnb.yahoo.com> Received: from [60.13.135.43] by web15801.mail.cnb.yahoo.com via HTTP; Thu, 24 Feb 2005 23:06:49 CST Date: Thu, 24 Feb 2005 23:06:49 +0800 (CST) From: Arnold Lee To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: a problem with netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 24 Feb 2005 15:06:51 -0000 Hi, everybody! I use Freebsd 5.3 + mpd 3.18, and I wanna create more than 500 netgraph nodes of ng_pppoe type using mpd. But mpd can only create 100 nodes! Who set this limit? mpd or netgraph system? and how to break it? Bye the way, freebsd 4.9 + mpd 3.18 are the same. Please help me! --------------------------------- Do You Yahoo!? 注册世界一流品质的雅虎免费电邮 From owner-freebsd-net@FreeBSD.ORG Fri Feb 25 00:37:46 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2780716A4CE for ; Fri, 25 Feb 2005 00:37:46 +0000 (GMT) Received: from note.orchestra.cse.unsw.EDU.AU (note.orchestra.cse.unsw.EDU.AU [129.94.242.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39DA443D39 for ; Fri, 25 Feb 2005 00:37:45 +0000 (GMT) (envelope-from lukem@cse.unsw.edu.au) Received: From wagner With LocalMail ; Fri, 25 Feb 2005 11:37:42 +1100 From: lukem.freebsd@cse.unsw.edu.au Sender: lukem@cse.unsw.edu.au To: freebsd-net@freebsd.org Date: Fri, 25 Feb 2005 11:37:42 +1100 (EST) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: em pause frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Feb 2005 00:37:46 -0000 Is there an easy way to enable or disable pause frames and autonegotiation of flow control for the em driver? (other than changing em_fc_full to em_fc_none and recompiling). Something similar to linux's "ethtool" command, or an ifconfig parameter is the type of thing I'm after. (And yes, I've googled and looked through the man pages. It sounds like the kind of thing that should be obvious and trivial to do, and the functionality to do so does appear in the driver, but I don't see any way to change it from userlevel.) -- Luke