From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 00:41:34 2006 Return-Path: X-Original-To: net@FreeBSD.org 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 9161416A931 for ; Mon, 5 Jun 2006 00:41:34 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8409A43D53 for ; Mon, 5 Jun 2006 00:41:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5D7DD1A3C2B for ; Sun, 4 Jun 2006 17:41:33 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C58545134C; Sun, 4 Jun 2006 20:41:32 -0400 (EDT) Date: Sun, 4 Jun 2006 20:41:32 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20060605004132.GA39212@xor.obsecurity.org> References: <20060524015826.GA54564@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20060524015826.GA54564@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: net@FreeBSD.org Subject: Panic from osendmsg() (Re: panic: m_prepend: MH_ALIGN not PKTHDR mbuf) 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, 05 Jun 2006 00:41:34 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2006 at 09:58:26PM -0400, Kris Kennaway wrote: > I got this panic as a non-privileged user running the stress2 test > component that does random syscalls: >=20 > panic: m_prepend: MH_ALIGN not PKTHDR mbuf > cpuid =3D 1 > KDB: enter: panic > [thread pid 15370 tid 100536 ] > Stopped at kdb_enter+0x32: leave > db> wh > Tracing pid 15370 tid 100536 td 0xc5561000 > kdb_enter(c073c6b2,1,c0741b31,eced5be0,c5561000) at kdb_enter+0x32 > panic(c0741b31,c07199c6,2,0,e) at panic+0x1b1 > m_prepend(c4dc0300,c,2,e,eced5c58) at m_prepend+0xd8 > sendit(eced5c58,7cd3a4b7,eced5c54,28,c4beb1a0) at sendit+0x1a4 > osendmsg(c5561000,eced5d04,c,445,3) at osendmsg+0x89 Anyone looking at this? It seems that the osendmsg() compatibility syscall can be easily used to cause this panic. Kris > syscall(c54f003b,b51f003b,bfbf003b,f7a64185,bd4fa8c6) at syscall+0x163 > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (114, FreeBSD ELF32, osendmsg), eip =3D 0x280a4d4d, esp =3D 0= xbfbfeae0, ebp =3D 0xbfbfeb28 --- >=20 > #8 0xc053e4d5 in panic (fmt=3D0xc0741b31 "%s: MH_ALIGN not PKTHDR mbuf")= at ../../../kern/kern_shutdown.c:549 > #9 0xc057fdc6 in m_prepend (m=3D0xc4dc0300, len=3D12, how=3D0) at ../../= ../kern/uipc_mbuf.c:500 > #10 0xc058bc16 in sendit (td=3D0xc5561000, s=3D-657691676, mp=3D0xeced5c5= 8, flags=3D18) > at ../../../kern/uipc_syscalls.c:700 > #11 0xc058bd62 in osendmsg (td=3D0xc5561000, uap=3D0xeced5d04) at ../../.= ./kern/uipc_syscalls.c:892 > #12 0xc06fa7d7 in syscall (frame=3D > {tf_fs =3D -984678341, tf_es =3D -1256259525, tf_ds =3D -1078001605= , tf_edi =3D -140099195, tf_esi =3D -1118852922, tf_ebp =3D -1077941464, tf= _isp =3D -319988380, tf_ebx =3D 1628509609, tf_edx =3D 176, tf_ecx =3D 1345= 16915, tf_eax =3D 114, tf_trapno =3D 32, tf_err =3D 2, tf_eip =3D 671763789= , tf_cs =3D 51, tf_eflags =3D 659, tf_esp =3D -1077941536, tf_ss =3D 59}) a= t ../../../i386/i386/trap.c:1016 > #13 0xc06e3daf in Xint0x80_syscall () at ../../../i386/i386/exception.s:1= 91 > #14 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) >=20 > Core available. >=20 > Kris >=20 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEg327Wry0BWjoQKURAgl8AJwIhgimv5bwwXUJ/diptafG0O6mSwCgmFWI L9YFP9X06GUozeOswMNRCsw= =cCEt -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 00:56:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 49AC616A5B7 for ; Mon, 5 Jun 2006 00:56:26 +0000 (UTC) (envelope-from lukem@cse.unsw.edu.au) Received: from tone.orchestra.cse.unsw.EDU.AU (tone.orchestra.cse.unsw.EDU.AU [129.94.242.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7361643D46 for ; Mon, 5 Jun 2006 00:56:25 +0000 (GMT) (envelope-from lukem@cse.unsw.edu.au) Received: From wagner.orchestra.cse.unsw.EDU.AU ([129.94.242.19]) (ident-user root) By tone With Smtp ; Mon, 5 Jun 2006 10:56:23 +1000 Received: From wagner With LocalMail ; Mon, 5 Jun 2006 10:56:22 +1000 From: lukem.freebsd@cse.unsw.edu.au Sender: lukem@cse.unsw.edu.au To: lukem.freebsd@cse.unsw.edu.au Date: Mon, 5 Jun 2006 10:56:22 +1000 (EST) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: Trouble booting NFS root 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, 05 Jun 2006 00:56:26 -0000 On Thu, 1 Jun 2006 lukem.freebsd@cse.unsw.edu.au wrote: > I'm trying to set up a small cluster of diskless boxes using FreeBSD 6.1. > > So Far, PXE loads pxeboot which loads the kernel. > > But the kernel stops in the middle of booting for no apparent reason. The > last thing on the console is "Timecounters tick every 1.000 msec", which > usually occurs just before the root partition is mounted. This problem now solved. Appears to be caused by broken ACPI on the boxes in question. Disabling ACPi causes things to work as expected. -- Luke From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 08:33:27 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9EFCC16A46F for ; Mon, 5 Jun 2006 08:33:27 +0000 (UTC) (envelope-from oleg@bank.lviv.ua) Received: from fw1.bank.lviv.ua (fw1.bank.lviv.ua [217.65.242.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091E543D49 for ; Mon, 5 Jun 2006 08:33:24 +0000 (GMT) (envelope-from oleg@bank.lviv.ua) Received: from OLEG2 (oleg.banklviv.ua [192.168.99.52]) by fw1.bank.lviv.ua (8.13.4/8.13.1) with ESMTP id k558XIAg027267 for ; Mon, 5 Jun 2006 11:33:19 +0300 (EEST) (envelope-from oleg@bank.lviv.ua) Date: Mon, 5 Jun 2006 11:33:14 +0300 From: oleg X-Mailer: The Bat! (v2.12.00) Business Organization: ZAT AKB "LVIV" X-Priority: 3 (Normal) Message-ID: <1051415166.20060605113314@bank.lviv.ua> To: freebsd-net@freebsd.org In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=8.0 tests=ALL_TRUSTED,AWL,BAYES_20 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.bank.lviv.ua X-Antivirus: Dr.Web (R) for Mail Servers on fw1 host X-Antivirus-Code: 100000 Subject: Re: The results of your email commands X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: oleg List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 08:33:27 -0000 Çäðàâñòâóéòå, owner-freebsd-net. Âû ïèñàëè 31 òðàâíÿ 2006 ð., 9:37:14: > The results of your email command are provided below. Attached is your > original message. > - Unprocessed: > Âû ïèñàëè 30 òðàâíÿ 2006 ð., 15:00:43: > > Send freebsd-net mailing list submissions to > > freebsd-net@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > or, via email, send a message with subject or body 'help' to > > freebsd-net-request@freebsd.org > > You can reach the person managing the list at > > freebsd-net-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of freebsd-net digest..." > > Today's Topics: > > 1. Re: Welcome to the "freebsd-net" mailing list (Digest mode) (oleg) > > 2. Re: netgraph on disc(4) (Yann Berthier) > - Ignored: > > > ---------------------------------------------------------------------- > > Message: 1 > > Date: Tue, 30 May 2006 11:17:34 +0300 > > From: oleg > > Subject: Re: Welcome to the "freebsd-net" mailing list (Digest mode) > > To: freebsd-net@freebsd.org > > Message-ID: <107360515.20060530111734@bank.lviv.ua> > > Content-Type: text/plain; charset=Windows-1251 > > Çäðàâñòâóéòå, freebsd-net-request. > > Âû ïèñàëè 30 òðàâíÿ 2006 ð., 11:03:22: > >> Welcome to the freebsd-net@freebsd.org mailing list! > >> To post to this list, send your email to: > >> freebsd-net@freebsd.org > >> General information about the mailing list is at: > >> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >> If you ever want to unsubscribe or change your options (eg, switch to > >> or from digest mode, change your password, etc.), visit your > >> subscription page at: > >> > >> > http://lists.freebsd.org/mailman/options/freebsd-net/oleg%40bank.lviv.ua > >> You can also make such adjustments via email by sending a message to: > >> freebsd-net-request@freebsd.org > >> with the word `help' in the subject or body (don't include the > >> quotes), and you will get back a message with instructions. > >> You must know your password to change your options (including changing > >> the password, itself) or to unsubscribe. It is: > >> 978323! > >> Normally, Mailman will remind you of your freebsd.org mailing list > >> passwords once every month, although you can disable this if you > >> prefer. This reminder will also include instructions on how to > >> unsubscribe or change your account options. There is also a button on > >> your options page that will email your current password to you. > help > -- > Ñ óâàæåíèåì, > oleg mailto:oleg@bank.lviv.ua > - Done. -- Ñ óâàæåíèåì, oleg mailto:oleg@bank.lviv.ua From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 08:36:19 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 B116C16A41F; Mon, 5 Jun 2006 08:36:19 +0000 (UTC) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (daemon.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E39543D46; Mon, 5 Jun 2006 08:36:18 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.4/8.13.1) with ESMTP id k558bEvY085469; Mon, 5 Jun 2006 10:37:14 +0200 (CEST) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.13.4/8.13.1/Submit) id k558bEmf085468; Mon, 5 Jun 2006 10:37:14 +0200 (CEST) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: freebsd-net@freebsd.org Date: Mon, 5 Jun 2006 10:37:13 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606051037.14391.kono@kth.se> Cc: freebsd-hardware@freebsd.org Subject: ndis driver for WG311 wireless card problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 08:36:20 -0000 Hello, I know that chipset for NETGEAR WG311v3 PCI card is not supported natively in FreeBSD, so I am trying to use NDIS driver generated from WinXP driver on FreeBSD 6.1 (STABLE) i386 (old PIII 666Mhz box). After loading kernel module ifconfig shows: #ifconfig ndis0: flags=8843 mtu 1500 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:6c:72:35:2a media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 protmode CT However, when try to scan for access point I get: #ifconfig ndis0 scan ifconfig: unable to get scan results I am sure that my access point is functional because I am running FreeBSD 6.1 also on laptop where NETGEAR WG511 PCMCIA card works prefectly (with NDIS). All network configuration is the same on both computers. When I unload and then load kernel module machine hangs with no log messages saved. The ndis drivers generated from Win2k, Win98 give the same result. At the begining I inserted WG311 into first PCI slot where it did not work at all (probaly irq problem), then I put it in another PCI slot so at least ifconfig showed me something. Any ideas how to make it functional? thanks! /Alexander Konovalenko From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 11:03:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 6568E16A4E8 for ; Mon, 5 Jun 2006 11:03:07 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE9943D5A for ; Mon, 5 Jun 2006 11:03:07 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55B37no010331 for ; Mon, 5 Jun 2006 11:03:07 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55B34oo010316 for freebsd-net@freebsd.org; Mon, 5 Jun 2006 11:03:04 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Jun 2006 11:03:04 GMT Message-Id: <200606051103.k55B34oo010316@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 Cc: Subject: Current problem reports assigned to you 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, 05 Jun 2006 11:03:08 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/01/30] kern/92552 net A serious bug in most network drivers fro a [2006/02/12] kern/93220 net [inet6] nd6_lookup: failed to add route f 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit o [2006/04/03] kern/95267 net packet drops periodically appear 2 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Jun 5 20:36:20 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 E311D16B1E9 for ; Mon, 5 Jun 2006 20:36:20 +0000 (UTC) (envelope-from gregorynou@altern.org) Received: from mail.visp.tiscali.fr (mailhub.isdnet.net [194.149.160.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E6D243D48 for ; Mon, 5 Jun 2006 20:36:20 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from [172.16.16.196] (62.210.107.50) by mail.visp.tiscali.fr (7.1.026.1) id 44158DCE0031EE20 for freebsd-net@freebsd.org; Mon, 5 Jun 2006 22:36:15 +0200 Message-ID: <448495CF.4080303@altern.org> Date: Mon, 05 Jun 2006 22:36:31 +0200 From: Gregory Nou User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: multipart/mixed; boundary="------------010403050609030009070703" Subject: [patch] taking M_PROMISC from netbsd 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, 05 Jun 2006 20:36:24 -0000 This is a multi-part message in MIME format. --------------010403050609030009070703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I've (tried) to import M_PROMISC from netbsd, as suggested in project Dingo. There is not much difference from manuel bouyer's patch (see http://mail-index.netbsd.org/tech-net/2003/03/19/0001.html and http://mail-index.netbsd.org/source-changes/2003/03/25/0020.html) I've made the patch against -CURRENT from today, and compiled it. I ran it for 1 month without problems, but I would appreciate if somebody could review it, and test it, as it is my first patch for freebsd. Thanks -- Gregory --------------010403050609030009070703 Content-Type: text/x-patch; name="M_PROMISC-3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="M_PROMISC-3.diff" diff -rcu sys.orig/net/if_bridgevar.h sys/net/if_bridgevar.h --- sys.orig/net/if_bridgevar.h Mon Jun 5 21:21:53 2006 +++ sys/net/if_bridgevar.h Sun Mar 26 19:15:03 2006 @@ -345,6 +345,7 @@ #define BRIDGE_INPUT(_ifp, _m) do { \ KASSERT(bridge_input_p != NULL, \ ("%s: if_bridge not loaded!", __func__)); \ + _m->m_flags &= ~M_PROMISC; \ _m = (*bridge_input_p)(_ifp, _m); \ if (_m != NULL) \ _ifp = _m->m_pkthdr.rcvif; \ diff -rcu sys.orig/net/if_ethersubr.c sys/net/if_ethersubr.c --- sys.orig/net/if_ethersubr.c Mon Jun 5 21:21:51 2006 +++ sys/net/if_ethersubr.c Mon Jun 5 21:46:18 2006 @@ -655,8 +655,7 @@ && bcmp(eh->ether_dhost, IF_LLADDR(ifp), ETHER_ADDR_LEN) != 0 && (ifp->if_flags & IFF_PPROMISC) == 0) { - m_freem(m); - return; + m->m_flags |= M_PROMISC; } } @@ -675,8 +674,12 @@ else m->m_flags |= M_MCAST; } - if (m->m_flags & (M_BCAST|M_MCAST)) + if (m->m_flags & (M_BCAST|M_MCAST)) { ifp->if_imcasts++; + if ((ifp->if_flags & IFF_PROMISC) != 0) { + m->m_flags |= M_PROMISC; + } + } #if defined(INET) || defined(INET6) post_stats: @@ -707,7 +710,9 @@ * or drop the packet. */ KASSERT(vlan_input_p != NULL,("ether_input: VLAN not loaded!")); + m->m_flags &= ~M_PROMISC; (*vlan_input_p)(ifp, m); + m_freem(m); return; } @@ -719,6 +724,7 @@ case ETHERTYPE_VLAN: if (ifp->if_vlantrunk != NULL) { KASSERT(vlan_input_p,("ether_input: VLAN not loaded!")); + m->m_flags &= ~M_PROMISC; (*vlan_input_p)(ifp, m); } else { ifp->if_noproto++; diff -rcu sys.orig/sys/mbuf.h sys/sys/mbuf.h --- sys.orig/sys/mbuf.h Mon Jun 5 21:22:51 2006 +++ sys/sys/mbuf.h Sun Mar 26 19:28:59 2006 @@ -179,6 +179,7 @@ #define M_FIRSTFRAG 0x1000 /* packet is first fragment */ #define M_LASTFRAG 0x2000 /* packet is last fragment */ #define M_VLANTAG 0x10000 /* packet has VLAN tag attached */ +#define M_PROMISC 0x20000 /* this packet is not for us */ /* * External buffer types: identify ext_buf type. --------------010403050609030009070703-- From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 00:52:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D4C0D16E606 for ; Tue, 6 Jun 2006 00:09:56 +0000 (UTC) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6E6543D4C for ; Tue, 6 Jun 2006 00:09:56 +0000 (GMT) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1232) id 6D13F5B777; Mon, 5 Jun 2006 17:09:54 -0700 (PDT) Date: Mon, 5 Jun 2006 17:09:54 -0700 From: Devin Heckman To: freebsd-net@freebsd.org Message-ID: <20060606000954.GF18733@rescomp.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: ipfw, IPSec, and natd 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, 06 Jun 2006 00:52:19 -0000 Hi, I recently tried to set up a computer to act as a NAT using FreeBSD 6.1. ipfw functions as it should, as well as IPSec, but I've run into some problems when setting up the NAT. I have two computers behind it, both of which do not need to speak IPSec (and aren't configured to do so). The NAT computer should speak IPSec with one other computer, from which it mounts home directories via NFS. When I enable natd, ipfw, and IPSec, the connection to the computer with which I speak IPSec breaks, but the NAT functions properly. My ipfw rules look like this: cmd=/sbin/ipfw -q add $cmd 0001 allow udp from any to any isakmp $cmd 0002 allow esp from $ipsec_servers to me $cmd 0003 allow ah from $ipsec_servers to me $cmd 0004 divert natd all from any to any via sis0 ... $cmd 0015 allow icmp from any to any $cmd 9900 allow all from me to any $cmd 9910 allow all from any to any established $cmd 9999 deny log all from any to me And natd.conf, which is called when natd is started in the rc scripts, looks like this: port 8668 interface sis0 log yes Does anyone have any experience with problems such as this? I should note that when I change the third rule of my firewall to this: $cmd 0004 tee natd all from any to any via sis0 Everything works as it should, except I get duplicate packets in the stream (ping informs me of dupes). This leads me to believe that when a packet is sent to natd and contains IPSec information, things get jarbled and broken; sending a clean packet through the rest of the stream via tee makes sure that things work properly (except the dupes). This is a hackish workaround that I'd rather avoid. Feel free to ask for anything else that may clarify the problem. Also, if I should redirect this to another list, feel free to suggest that instead. Thanks, -- Devin Heckman From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 07:10:13 2006 Return-Path: X-Original-To: net@freebsd.org 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 E183B16BF5C for ; Tue, 6 Jun 2006 06:59:57 +0000 (UTC) (envelope-from bradd@cat.co.za) Received: from cat.co.za (ftp.cat.co.za [196.33.33.51]) by mx1.FreeBSD.org (Postfix) with SMTP id 30D2843D5A for ; Tue, 6 Jun 2006 06:59:53 +0000 (GMT) (envelope-from bradd@cat.co.za) Received: (qmail 12145 invoked by uid 1002); 6 Jun 2006 07:02:35 -0000 Received: from bradd@cat.co.za by mail.cat.co.za by uid 807 with qmail-scanner-1.21 (clamscan: 0.70. Clear:RC:1(196.33.33.52):. Processed in 2.915182 secs); 06 Jun 2006 07:02:35 -0000 Received: from unknown (HELO acervfr9okf50t) (196.33.33.52) by 0 with SMTP; 6 Jun 2006 07:02:32 -0000 Message-ID: <0a6101c68936$085279e0$b422a8c0@acervfr9okf50t> From: "Brad du Plessis" To: Date: Tue, 6 Jun 2006 08:54:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: Subject: Yukon 2 NIC chipset support 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, 06 Jun 2006 07:10:16 -0000 Hi, Can anyone tell me if the Yukon 2 NIC chipset is currently supported by FreeBSD (under any revision) ? Thanks, Brad From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 07:54:06 2006 Return-Path: X-Original-To: net@freebsd.org 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 4EA1E16ACCC for ; Tue, 6 Jun 2006 07:40:14 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B0643D46 for ; Tue, 6 Jun 2006 07:40:13 +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 CE87C1FFACB; Tue, 6 Jun 2006 09:40:11 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 697F91FF9AD; Tue, 6 Jun 2006 09:40:08 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 25FF84448D6; Tue, 6 Jun 2006 07:40:02 +0000 (UTC) Date: Tue, 6 Jun 2006 07:40:01 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Brad du Plessis In-Reply-To: <0a6101c68936$085279e0$b422a8c0@acervfr9okf50t> Message-ID: <20060606073928.P79180@maildrop.int.zabbadoz.net> References: <0a6101c68936$085279e0$b422a8c0@acervfr9okf50t> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: net@freebsd.org Subject: Re: Yukon 2 NIC chipset support 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, 06 Jun 2006 07:54:18 -0000 On Tue, 6 Jun 2006, Brad du Plessis wrote: Hi, > Can anyone tell me if the Yukon 2 NIC chipset is currently supported by > FreeBSD (under any revision) ? http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html (be sure to read the entire thread) -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 07:57:48 2006 Return-Path: X-Original-To: net@freebsd.org 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 99C4016BD99 for ; Tue, 6 Jun 2006 07:51:48 +0000 (UTC) (envelope-from bradd@cat.co.za) Received: from cat.co.za (ftp.cat.co.za [196.33.33.51]) by mx1.FreeBSD.org (Postfix) with SMTP id 08B4243D5E for ; Tue, 6 Jun 2006 07:51:40 +0000 (GMT) (envelope-from bradd@cat.co.za) Received: (qmail 17239 invoked by uid 1002); 6 Jun 2006 07:54:16 -0000 Received: from bradd@cat.co.za by mail.cat.co.za by uid 807 with qmail-scanner-1.21 (clamscan: 0.70. Clear:RC:1(196.33.33.52):. Processed in 2.901866 secs); 06 Jun 2006 07:54:16 -0000 Received: from unknown (HELO acervfr9okf50t) (196.33.33.52) by 0 with SMTP; 6 Jun 2006 07:54:12 -0000 Message-ID: <0aba01c6893d$3dff9c10$b422a8c0@acervfr9okf50t> From: "Brad du Plessis" To: "Bjoern A. Zeeb" References: <0a6101c68936$085279e0$b422a8c0@acervfr9okf50t> <20060606073928.P79180@maildrop.int.zabbadoz.net> Date: Tue, 6 Jun 2006 09:45:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: net@freebsd.org Subject: Re: Yukon 2 NIC chipset support 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, 06 Jun 2006 07:57:50 -0000 Hi Bjoern, Thanks for your response. >> Can anyone tell me if the Yukon 2 NIC chipset is currently supported by >> FreeBSD (under any revision) ? > > http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html > (be sure to read the entire thread) Looks like its not properly supported then :-( Brad ----- Original Message ----- From: "Bjoern A. Zeeb" To: "Brad du Plessis" Cc: Sent: 06 June 2006 09:40 Subject: Re: Yukon 2 NIC chipset support > On Tue, 6 Jun 2006, Brad du Plessis wrote: > > Hi, > >> Can anyone tell me if the Yukon 2 NIC chipset is currently supported by >> FreeBSD (under any revision) ? > > http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html > (be sure to read the entire thread) > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 13:54:01 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 557E316AF1C for ; Tue, 6 Jun 2006 13:54:01 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4299B43D7B for ; Tue, 6 Jun 2006 13:53:44 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k56DrhVa037241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Jun 2006 17:53:43 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k56DrbmA037240; Tue, 6 Jun 2006 17:53:37 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 6 Jun 2006 17:53:37 +0400 From: Gleb Smirnoff To: Tyrone.VanDerHaar@TelecityRedbus.se Message-ID: <20060606135337.GL98544@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Tyrone.VanDerHaar@TelecityRedbus.se, freebsd-net@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Cc: freebsd-net@FreeBSD.org Subject: Re: route malfunction wrong info 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, 06 Jun 2006 13:54:04 -0000 On Fri, Jun 02, 2006 at 09:13:15PM +0200, Tyrone.VanDerHaar@TelecityRedbus.se wrote: T> Can anyone tell me if this is a bug or not? T> -Vlan137 is up T> -I issue an ifconfig vlan137 down T> -I then issue route get (subnet on the downed interface) and is show it as up Yes, this is known behavior of BSD kernel. I'm not sure whether kernel should rebuild routing table if interface status changes. However, routing daemons should. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 17:59:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 96CBC16B71A for ; Tue, 6 Jun 2006 17:59:07 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from mail1.cil.se (mail1.cil.se [217.197.56.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6176B43D66 for ; Tue, 6 Jun 2006 17:59:05 +0000 (GMT) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from [192.168.98.245] ([192.168.44.2]) by mail1.cil.se with Microsoft SMTPSVC(6.0.3790.0); Tue, 6 Jun 2006 19:59:02 +0200 Message-ID: <4485C265.5020308@ide.resurscentrum.se> Date: Tue, 06 Jun 2006 19:59:01 +0200 From: Jon Otterholm User-Agent: Thunderbird 1.5 (X11/20060204) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2006 17:59:02.0963 (UTC) FILETIME=[E52A6830:01C68992] Subject: CNR Replacement 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, 06 Jun 2006 17:59:14 -0000 Hi. I am searching for a BSD-based CNR replacement. CNR (Cisco Network Registrar) is basicly a DHCP server that puts IF-routes on a router when a client has leased an IP-address. When the lease expires the IF-route is removed from the router. This functionality together with IP-less VLAN-IF's and a local loopback IF (client gateway) offers a solution where you maximize IP usage and also getting a tracelog. Has anyone out there built a similar solution on FreeBSD? I would very much like to replace my SiliconValey based proprietary solution with one based on FreeBSD. What are my chances? /J From owner-freebsd-net@FreeBSD.ORG Tue Jun 6 21:38:12 2006 Return-Path: X-Original-To: net@freebsd.org 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 A54F916AC73; Tue, 6 Jun 2006 21:31:02 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D801943D55; Tue, 6 Jun 2006 21:31:01 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k56LV0M4031267; Wed, 7 Jun 2006 01:31:00 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Wed, 7 Jun 2006 01:31:00 +0400 (MSD) From: Maxim Konovalov To: Kris Kennaway In-Reply-To: <20060605004132.GA39212@xor.obsecurity.org> Message-ID: <20060607011436.H23589@mp2.macomnet.net> References: <20060524015826.GA54564@xor.obsecurity.org> <20060605004132.GA39212@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: andre@freebsd.org, net@freebsd.org Subject: Re: Panic from osendmsg() (Re: panic: m_prepend: MH_ALIGN not PKTHDR mbuf) 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, 06 Jun 2006 21:38:19 -0000 Hi Kris, On Sun, 4 Jun 2006, 20:41-0400, Kris Kennaway wrote: > On Tue, May 23, 2006 at 09:58:26PM -0400, Kris Kennaway wrote: > > I got this panic as a non-privileged user running the stress2 test > > component that does random syscalls: > > > > panic: m_prepend: MH_ALIGN not PKTHDR mbuf > > cpuid = 1 > > KDB: enter: panic > > [thread pid 15370 tid 100536 ] > > Stopped at kdb_enter+0x32: leave > > db> wh > > Tracing pid 15370 tid 100536 td 0xc5561000 > > kdb_enter(c073c6b2,1,c0741b31,eced5be0,c5561000) at kdb_enter+0x32 > > panic(c0741b31,c07199c6,2,0,e) at panic+0x1b1 > > m_prepend(c4dc0300,c,2,e,eced5c58) at m_prepend+0xd8 > > sendit(eced5c58,7cd3a4b7,eced5c54,28,c4beb1a0) at sendit+0x1a4 > > osendmsg(c5561000,eced5d04,c,445,3) at osendmsg+0x89 > > Anyone looking at this? It seems that the osendmsg() compatibility > syscall can be easily used to cause this panic. It panics at KASSERT which appeared in rev. 1.181 mbuf.h: % revision 1.181 % date: 2005/11/18 14:40:43; author: andre; state: Exp; lines: +8 -0 % Add KASSERTs to M_ALIGN() and MH_ALIGN() to prevent usage on wrong % mbuf types. % % Sponsored by: TCP/IP Optimization Fundraise 2005 COMPAT_OLDSOCK code in sendit() tries to prepend a control data mbuf to sockargs mbuf which is !M_PKTHDR and could be !M_EXT. There are two options: 1. Backout KASSERTS. 2. Fix m_prepend() so it won't call MH_ALIGN for an mbuf without M_PKTHDR/M_EXT stuff. I think this is a resonable w/o and shouldn't break anything (it passed my tests at least): Index: uipc_mbuf.c =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_mbuf.c,v retrieving revision 1.165 diff -u -p -r1.165 uipc_mbuf.c --- uipc_mbuf.c 15 Mar 2006 21:11:11 -0000 1.165 +++ uipc_mbuf.c 6 Jun 2006 21:09:57 -0000 @@ -496,7 +496,7 @@ m_prepend(struct mbuf *m, int len, int h M_MOVE_PKTHDR(mn, m); mn->m_next = m; m = mn; - if (len < MHLEN) + if (m->m_flags & M_PKTHDR && len < MHLEN) MH_ALIGN(m, len); m->m_len = len; return (m); %%% I CC'ed Andre. -- Maxim Konovalov From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 00:08:08 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 7435316C73C for ; Tue, 6 Jun 2006 23:25:46 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from grunt14.ihug.co.nz (grunt14.ihug.co.nz [203.109.254.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDBA43D45 for ; Tue, 6 Jun 2006 23:25:45 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from 203-109-251-39.static.bliink.ihug.co.nz (heff.fud.org.nz) [203.109.251.39] by grunt14.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1Fnkvg-0006PB-00; Wed, 07 Jun 2006 11:25:44 +1200 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 01A341CC1F; Wed, 7 Jun 2006 11:25:43 +1200 (NZST) Date: Wed, 7 Jun 2006 11:25:43 +1200 From: Andrew Thompson To: freebsd-net@freebsd.org Message-ID: <20060606232543.GB14303@heff.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: Sleeping in USB network drivers 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, 07 Jun 2006 00:08:12 -0000 Hi, I am looking into the reported panics with the if_aue driver and have come across a locking problem with usb adapters that is not obvious how to fix. The problem is that usbd_do_request() may sleep and most drivers are careful to call it without any locks held. in_addmulti() will grab in_multi_mtx before calling if_addmulti() to update the cards multicast hash, this effectively means that the driver can not sleep in *_setmulti but this is unavoidable with USB. Does anyone have any suggestions? (panic and bt below) Andrew Sleeping on "usbsyn" with the following non-sleepable locks held: exclusive sleep mutex in_multi_mtx r = 0 (0xc0996cc0) locked @ /usr/src/sys/netinet/in.c:971 KDB: enter: witness_warn [thread pid 1605 tid 100088 ] Stopped at kdb_enter+0x2b: nop db> bt Tracing pid 1605 tid 100088 td 0xc24d0d80 kdb_enter(c0823f4e) at kdb_enter+0x2b witness_warn(5,0,c086b211,c0860db5) at witness_warn+0x175 msleep(c250b200,0,4c,c0860db5,0) at msleep+0x42 usbd_transfer(c250b200,cc9e9aac,c05ac779,c250b200,c0600e78) at usbd_transfer+0x121 usbd_sync_transfer(c250b200,c0600e78,c203c600,cc9e9acc,c2116b00) at usbd_sync_transfer+0x11 usbd_do_request_flags_pipe(c2121b00,c2121a80,cc9e9b08,cc9e9b07,0) at usbd_do_request_flags_pipe+0x5d usbd_do_request_flags(c2121b00,cc9e9b08,cc9e9b07,0,0) at usbd_do_request_flags+0x20 usbd_do_request(c2121b00,cc9e9b08,cc9e9b07) at usbd_do_request+0x1a aue_csr_read_1(c2116b00,0) at aue_csr_read_1+0x50 aue_setmulti(c2116b00,c21d7460,c2111400,cc9e9ba8,cc9e9b78) at aue_setmulti+0x50 aue_ioctl(c2111400,80206931,0) at aue_ioctl+0x106 if_addmulti(c2111400,cc9e9ba8,cc9e9ba4,cc9e9ba8,10,c0996cc0,0,c0879e0e,3cb) at if_addmulti+0x1b8 in_addmulti(cc9e9bdc,c2111400) at in_addmulti+0x69 in_ifinit(c2111400,c2509b00,c24e73d0,0,cc9e9c38) at in_ifinit+0x529 in_control(c2508164,8040691a,c24e73c0,c2111400,c24d0d80) at in_control+0x882 ifioctl(c2508164,8040691a,c24e73c0,c24d0d80,0) at ifioctl+0x198 soo_ioctl(c21e6e58,8040691a,c24e73c0,c203ce80,c24d0d80) at soo_ioctl+0x2db ioctl(c24d0d80,cc9e9d04,3,1,286) at ioctl+0x370 syscall(3b,3b,3b,8056080,80583c0) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28131603, esp = 0xbfbfe59c, ebp = 0xbfbfede8 --- db> show alllocks Process 1605 (ifconfig) thread 0xc24d0d80 (100088) exclusive sleep mutex in_multi_mtx r = 0 (0xc0996cc0) locked @ /usr/src/sys/neti net/in.c:971 exclusive sleep mutex Giant r = 1 (0xc09479a0) locked @ /usr/src/sys/net/if.c:20 30 db> From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 00:20:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 435B516B257 for ; Tue, 6 Jun 2006 23:51:54 +0000 (UTC) (envelope-from toni@stderror.at) Received: from murus.stderror.at (stdin.stderror.at [83.65.196.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id B45E043D46 for ; Tue, 6 Jun 2006 23:51:53 +0000 (GMT) (envelope-from toni@stderror.at) Received: from bluebook.stderror.at (chello084114136241.14.15.vie.surfer.at [84.114.136.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by murus.stderror.at (Postfix) with ESMTP id 83C265C32; Wed, 7 Jun 2006 01:54:08 +0200 (CEST) Received: from bluebook.stderror.at (localhost.localdomain [127.0.0.1]) by bluebook.stderror.at (8.13.6/8.13.4) with ESMTP id k56NrHSX088876; Wed, 7 Jun 2006 01:53:17 +0200 (CEST) (envelope-from toni@stderror.at) Date: Wed, 07 Jun 2006 01:53:17 +0200 Message-ID: <863behaljm.wl%toni@stderror.at> From: Toni Schmidbauer To: Devin Heckman In-Reply-To: <20060606000954.GF18733@rescomp.berkeley.edu> References: <20060606000954.GF18733@rescomp.berkeley.edu> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?B?U2hpavI=?=) Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: ipfw, IPSec, and natd 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, 07 Jun 2006 00:20:30 -0000 At Mon, 5 Jun 2006 17:09:54 -0700, Devin Heckman wrote: > I recently tried to set up a computer to act as a NAT using FreeBSD 6.1. ipfw > functions as it should, as well as IPSec, but I've run into some problems when > setting up the NAT. I have two computers behind it, both of which do not need to > speak IPSec (and aren't configured to do so). The NAT computer should speak > IPSec with one other computer, from which it mounts home directories via NFS. please show us your spd entries (/etc/ipsec.conf), and depict your network layout more clearly (e.g. sample ip-addresses for nat machine, nfs server, client machines...). > When I enable natd, ipfw, and IPSec, the connection to the computer with which I > speak IPSec breaks, but the NAT functions properly. if your ipsec packets get rewritten by natd ah will not work because of changes in the ip header by natd. but i'm not sure if this is your particular problem. toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous | From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 08:50:00 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 527E416CF55 for ; Wed, 7 Jun 2006 08:35:19 +0000 (UTC) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6CB43D49 for ; Wed, 7 Jun 2006 08:35:18 +0000 (GMT) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1232) id 3580C5B77E; Wed, 7 Jun 2006 01:35:16 -0700 (PDT) Date: Wed, 7 Jun 2006 01:35:16 -0700 From: Devin Heckman To: Toni Schmidbauer Message-ID: <20060607083516.GO18733@rescomp.berkeley.edu> References: <20060606000954.GF18733@rescomp.berkeley.edu> <863behaljm.wl%toni@stderror.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <863behaljm.wl%toni@stderror.at> User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org Subject: Re: ipfw, IPSec, and natd 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, 07 Jun 2006 08:50:03 -0000 Hi, Here's a little diagram with some background on this network. "myrouter" has ipfw, IPSec, and natd running, and fails to mount nfs from mynfsbox when all three run at once with the "divert" rule enabled (if I'm right, it's because natd is rewriting some information in packets which makes IPSec decoding fail--but hopefully this isn't the case, as I wouldn't know even how to begin fixing natd). myrouter = 192.168.0.10, 10.0.0.1 mynatbox1 = 10.0.0.2 mynatbox2 = 10.0.0.3 mynfsbox = 192.168.0.11 IPSec mynfsbox <--------> myrouter | not IPSec |<---------> mynatbox1 |<---------> mynatbox2 /usr/local/etc/ipsec.conf: spdadd 192.168.0.10/32 192.168.0.11/32 any -P out ipsec esp/transport//require ah/transport//require; spdadd 192.168.0.11/32 192.168.0.10/32 any -P in ipsec esp/transport//require ah/transport//require; Thanks for your response. Best, -- Devin Heckman On 01:53 Wed 07 Jun , Toni Schmidbauer wrote: > At Mon, 5 Jun 2006 17:09:54 -0700, > Devin Heckman wrote: > > I recently tried to set up a computer to act as a NAT using FreeBSD 6.1. ipfw > > functions as it should, as well as IPSec, but I've run into some problems when > > setting up the NAT. I have two computers behind it, both of which do not need to > > speak IPSec (and aren't configured to do so). The NAT computer should speak > > IPSec with one other computer, from which it mounts home directories via NFS. > > please show us your spd entries (/etc/ipsec.conf), and depict your > network layout more clearly (e.g. sample ip-addresses for nat machine, > nfs server, client machines...). > > > When I enable natd, ipfw, and IPSec, the connection to the computer with which I > > speak IPSec breaks, but the NAT functions properly. > > if your ipsec packets get rewritten by natd ah will not work because of > changes in the ip header by natd. but i'm not sure if this is your particular > problem. > > toni > -- > If you understand what you're doing, you're | toni at stderror dot at > not learning anything. | Toni Schmidbauer > -- Anonymous | > From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 12:57:44 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2BA9516CBA1 for ; Wed, 7 Jun 2006 11:55:45 +0000 (UTC) (envelope-from toni@stderror.at) Received: from murus.stderror.at (stdin.stderror.at [83.65.196.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE6843D53 for ; Wed, 7 Jun 2006 11:55:44 +0000 (GMT) (envelope-from toni@stderror.at) Received: from murus.stderror.at (unknown [127.0.0.1]) by murus.stderror.at (Postfix) with ESMTP id 7BC145C5F; Wed, 7 Jun 2006 13:58:01 +0200 (CEST) Date: Wed, 07 Jun 2006 13:58:00 +0200 Message-ID: <86zmgp41pz.wl%toni@stderror.at> From: Toni Schmidbauer To: Devin Heckman In-Reply-To: <20060607083516.GO18733@rescomp.berkeley.edu> References: <20060606000954.GF18733@rescomp.berkeley.edu> <863behaljm.wl%toni@stderror.at> <20060607083516.GO18733@rescomp.berkeley.edu> User-Agent: Wanderlust Emacs Organization: stderror.at X-WWW-Home-Page: http://stderror.at X-PGP-Fingerprint: 53F2 28AE 8070 83E0 AFEC 0ABC BBF9 A34A 3ED1 3287 X-Operating-System: FreeBSD MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: ipfw, IPSec, and natd 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, 07 Jun 2006 12:57:55 -0000 At Wed, 7 Jun 2006 01:35:16 -0700, Devin Heckman wrote: > has ipfw, IPSec, and natd running, and fails to mount nfs from mynfsbox > when all three run at once with the "divert" rule enabled (if I'm right, > it's because natd is rewriting some information in packets which makes > IPSec decoding fail--but hopefully this isn't the case, as I wouldn't > know even how to begin fixing natd). > > myrouter = 192.168.0.10, 10.0.0.1 > mynatbox1 = 10.0.0.2 > mynatbox2 = 10.0.0.3 > mynfsbox = 192.168.0.11 > > IPSec > mynfsbox <--------> myrouter > | not IPSec > |<---------> mynatbox1 > |<---------> mynatbox2 > > /usr/local/etc/ipsec.conf: > > spdadd 192.168.0.10/32 192.168.0.11/32 any -P out ipsec esp/transport//require ah/transport//require; > spdadd 192.168.0.11/32 192.168.0.10/32 any -P in ipsec esp/transport//require ah/transport//require; could your repost your excellent description to freebsd-question@? i am not that kind of an ipsec guru, my setup locks a bit different. for sure there are ipsec gurus on the ml. your ipfw rules show that you divert every packet over sis0 to natd. i would try to specify only those addresses which should get rewritten by natd (in your case 192.168..). so packets sent from myrouter to mynfsbox do not pass natd. another thing i would try is to disable ah (just remove ah/transport//require) from your ipsec.conf file. ah is not necessary for an encrypted connection, it provides protection against replay attacks. hth, toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous | From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 16:51:07 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 36AF516C345 for ; Wed, 7 Jun 2006 14:12:54 +0000 (UTC) (envelope-from jumper99@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C3AF43D4C for ; Wed, 7 Jun 2006 14:12:53 +0000 (GMT) (envelope-from jumper99@gmx.de) Received: (qmail invoked by alias); 07 Jun 2006 14:12:51 -0000 Received: from unknown (EHLO wsa096) [193.101.155.96] by mail.gmx.net (mp027) with SMTP; 07 Jun 2006 16:12:51 +0200 X-Authenticated: #682707 Message-ID: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> From: "Helmut Schneider" To: Date: Wed, 7 Jun 2006 16:12:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Y-GMX-Trusted: 0 Subject: IBM Blade HS20, BCM5704S 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, 07 Jun 2006 16:51:08 -0000 Hi, on every new release I try to install FBSD on a IBM Blade HS20 with above Broadcom GB card - and always fail. :) I just would like to know if it *should* be possible to have a working installation. The problem is that I can install the system itself but cannot configure the networking adapter: media: Ethernet autoselect (1000baseSX (full-duplex)) status: no carrier Using "ifconfig bge0 media [100baseTX|1000baseTX]" results in ifconfig: SIOCSIFMEDIA (media): Device not configured Is there a chance to set up FBSD on a HS20 succesfully, or not? Thanks, Helmut PS: If you are rejected by GMX, use: donotspam@arcor.de From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 17:20:55 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 E63F916A675; Wed, 7 Jun 2006 14:47:28 +0000 (UTC) (envelope-from sem@freebsd.org) Received: from relay1.beelinegprs.ru (relay1.beelinegprs.ru [217.118.71.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E4E243D48; Wed, 7 Jun 2006 14:47:28 +0000 (GMT) (envelope-from sem@freebsd.org) Received: from relay1 (localhost [127.0.0.1]) by relay1 (Postfix) with SMTP id BDD7A36D30; Wed, 7 Jun 2006 18:44:13 +0400 (MSD) Received: from [172.19.248.43] (clusterfw.beelinegprs.net [217.118.66.232]) by relay1.beelinegprs.ru (Postfix) with ESMTP id 2C97636D2B; Wed, 7 Jun 2006 18:44:10 +0400 (MSD) Message-ID: <4486E632.3080204@FreeBSD.org> Date: Wed, 07 Jun 2006 18:44:02 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: Andrew Thompson References: <20060606232543.GB14303@heff.fud.org.nz> In-Reply-To: <20060606232543.GB14303@heff.fud.org.nz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spamtest-Info: License expired Cc: freebsd-net@freebsd.org Subject: Re: Sleeping in USB network drivers 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, 07 Jun 2006 17:21:00 -0000 Andrew Thompson wrote: > Hi, > > > I am looking into the reported panics with the if_aue driver and have > come across a locking problem with usb adapters that is not obvious how > to fix. > > The problem is that usbd_do_request() may sleep and most drivers are > careful to call it without any locks held. in_addmulti() will grab > in_multi_mtx before calling if_addmulti() to update the cards multicast > hash, this effectively means that the driver can not sleep in > *_setmulti but this is unavoidable with USB. > > Does anyone have any suggestions? (panic and bt below) It was discussed in usb@. Shortly, USB stack should be rewritten. The patch can be found at http://www.turbocat.net/~hselasky/usb4bsd/index.html -- Dixi. Sem. From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 19:40:16 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 3DCC016CC42 for ; Wed, 7 Jun 2006 18:01:53 +0000 (UTC) (envelope-from mkarsten@cs.uwaterloo.ca) Received: from services110.cs.uwaterloo.ca (services110.cs.uwaterloo.ca [129.97.152.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF9FF43D45 for ; Wed, 7 Jun 2006 18:01:52 +0000 (GMT) (envelope-from mkarsten@cs.uwaterloo.ca) Received: from [129.97.34.33] (kalli.uwaterloo.ca [129.97.34.33]) (authenticated bits=0) by services110.cs.uwaterloo.ca (8.13.6/8.13.6) with ESMTP id k57I1oH8017844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Jun 2006 14:01:51 -0400 (EDT) Message-ID: <4487148E.4020807@cs.uwaterloo.ca> Date: Wed, 07 Jun 2006 14:01:50 -0400 From: Martin Karsten User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at demeter with ID 4487148E.003 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on localhost X-Virus-Status: Clean Subject: mbuf size and NFS 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, 07 Jun 2006 19:40:22 -0000 Some time ago I wanted to do experiments with a reduced mbuf size, just for the sake of it. Changing MSIZE (to 128 in this case) and recompiling the kernel seemed to do the job, although I only tested fairly standard functionality. This was on a 5.4-RELEASE system. However, I noticed one problem with NFS which seems to be easily fixable. The following patch is for src/sys/nfs/nfs_common.c,v 1.117.2.1 2005/10/09 @@ -187,7 +187,9 @@ } else if (mp->m_next == NULL) { return NULL; } else if (siz > MHLEN) { - panic("nfs S too big"); + MCLGET(mp2, how); + if (mp2 == NULL) + return NULL; } else { MGET(mp2, how, MT_DATA); if (mp2 == NULL) I actually tested it with 'how' being hardcoded to M_TRYWAIT. I just wanted to flag this to see whether the fix is obviously wrong or whether a such change could be incorporated into the kernel. Thanks, Martin From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 21:34:16 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 55B9216BB7D for ; Wed, 7 Jun 2006 19:23:34 +0000 (UTC) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20FD143D45 for ; Wed, 7 Jun 2006 19:23:33 +0000 (GMT) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1232) id A695A5B779; Wed, 7 Jun 2006 12:23:31 -0700 (PDT) Date: Wed, 7 Jun 2006 12:23:31 -0700 From: Devin Heckman To: Toni Schmidbauer Message-ID: <20060607192331.GR18733@rescomp.berkeley.edu> References: <20060606000954.GF18733@rescomp.berkeley.edu> <863behaljm.wl%toni@stderror.at> <20060607083516.GO18733@rescomp.berkeley.edu> <86zmgp41pz.wl%toni@stderror.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86zmgp41pz.wl%toni@stderror.at> User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org Subject: Re: ipfw, IPSec, and natd 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, 07 Jun 2006 21:34:17 -0000 Hi, Removing the ah requirement from my ipsec.conf did indeed solve the problem, which makes me conclude that natd must be rewriting the ah in such a way that IPSec can no longer decode it properly. This is important, I suppose I'll shoot off an email to someone who does natd work or a related group. Thanks a bunch for your help. Best, -- Devin Heckman On 13:58 Wed 07 Jun , Toni Schmidbauer wrote: > At Wed, 7 Jun 2006 01:35:16 -0700, > Devin Heckman wrote: > > has ipfw, IPSec, and natd running, and fails to mount nfs from mynfsbox > > when all three run at once with the "divert" rule enabled (if I'm right, > > it's because natd is rewriting some information in packets which makes > > IPSec decoding fail--but hopefully this isn't the case, as I wouldn't > > know even how to begin fixing natd). > > > > myrouter = 192.168.0.10, 10.0.0.1 > > mynatbox1 = 10.0.0.2 > > mynatbox2 = 10.0.0.3 > > mynfsbox = 192.168.0.11 > > > > IPSec > > mynfsbox <--------> myrouter > > | not IPSec > > |<---------> mynatbox1 > > |<---------> mynatbox2 > > > > /usr/local/etc/ipsec.conf: > > > > spdadd 192.168.0.10/32 192.168.0.11/32 any -P out ipsec esp/transport//require ah/transport//require; > > spdadd 192.168.0.11/32 192.168.0.10/32 any -P in ipsec esp/transport//require ah/transport//require; > > could your repost your excellent description to freebsd-question@? i am > not that kind of an ipsec guru, my setup locks a bit different. for > sure there are ipsec gurus on the ml. > > your ipfw rules show that you divert every packet over sis0 to > natd. i would try to specify only those addresses which should get > rewritten by natd (in your case 192.168..). so packets sent from > myrouter to mynfsbox do not pass natd. > > another thing i would try is to disable ah (just remove > ah/transport//require) from your ipsec.conf file. ah is not necessary > for an encrypted connection, it provides protection against replay > attacks. > > hth, > toni > -- > If you understand what you're doing, you're | toni at stderror dot at > not learning anything. | Toni Schmidbauer > -- Anonymous | > From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 21:55:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 ED56D16A671 for ; Wed, 7 Jun 2006 19:44:43 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FD1743D58 for ; Wed, 7 Jun 2006 19:44:42 +0000 (GMT) (envelope-from sullrich@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so249080wra for ; Wed, 07 Jun 2006 12:44:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LRaAdEqJqdieS0aSAJBXm23mW0u8W0gC9MRJOCszPRgJOHLGOc6BGDhRhNyaxzjSJ7mE/LWb8zDrMAnt+BZFm/5xHr/3pyUz9lPhrFf+dMz5Qux/3gMcKDD++cdII0Lb2v3JYnQo8E2HDgWaJxPynB4BPsyUmB3t4oAaKB+1JRk= Received: by 10.54.139.10 with SMTP id m10mr1156498wrd; Wed, 07 Jun 2006 12:44:41 -0700 (PDT) Received: by 10.54.126.19 with HTTP; Wed, 7 Jun 2006 12:44:41 -0700 (PDT) Message-ID: Date: Wed, 7 Jun 2006 15:44:41 -0400 From: "Scott Ullrich" To: "Sergey Matveychuk" In-Reply-To: <4486E632.3080204@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060606232543.GB14303@heff.fud.org.nz> <4486E632.3080204@FreeBSD.org> Cc: freebsd-net@freebsd.org, Andrew Thompson Subject: Re: Sleeping in USB network drivers 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, 07 Jun 2006 21:55:26 -0000 On 6/7/06, Sergey Matveychuk wrote: > It was discussed in usb@. Shortly, USB stack should be rewritten. > The patch can be found at > http://www.turbocat.net/~hselasky/usb4bsd/index.html Interesting. Do you have an updated patch set for RELENG_6_1? If not, I guess I could manually patch it by hand but I was planning on including this in pfSense if I can get it working correctly. Patching file sys/dev/sound/usb/uaudio.c using Plan A... Hunk #1 failed at 3687. 1 out of 1 hunks failed--saving rejects to sys/dev/sound/usb/uaudio.c.rej Patching file sys/dev/sound/usb/uaudio.c using Plan A... Hunk #1 failed at 3687. 1 out of 1 hunks failed--saving rejects to sys/dev/sound/usb/uaudio.c.rej Hmm... The next patch looks like a new-style context diff to me... Patching file sys/dev/usb/ukbd.c using Plan A... Hunk #1 succeeded at 53 (offset -1 lines). Hunk #2 succeeded at 238 (offset -1 lines). Hunk #3 failed at 685. Hunk #4 succeeded at 693 (offset -1 lines). 1 out of 4 hunks failed--saving rejects to sys/dev/usb/ukbd.c.rej Patching file sys/dev/usb/umass.c using Plan A... Hunk #1 succeeded at 110. Hunk #2 failed at 929. Hunk #3 succeeded at 1238 (offset 59 lines). Hunk #4 succeeded at 1558 (offset 8 lines). 1 out of 4 hunks failed--saving rejects to sys/dev/usb/umass.c.rej Scott From owner-freebsd-net@FreeBSD.ORG Wed Jun 7 23:35:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 EDA2B16D8C3 for ; Wed, 7 Jun 2006 21:07:19 +0000 (UTC) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (keyserver.Rescomp.Berkeley.EDU [169.229.70.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD73943D49 for ; Wed, 7 Jun 2006 21:07:19 +0000 (GMT) (envelope-from terrio@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1232) id 92A9C5B779; Wed, 7 Jun 2006 14:07:19 -0700 (PDT) Date: Wed, 7 Jun 2006 14:07:19 -0700 From: Devin Heckman To: Toni Schmidbauer Message-ID: <20060607210719.GS18733@rescomp.berkeley.edu> References: <20060606000954.GF18733@rescomp.berkeley.edu> <863behaljm.wl%toni@stderror.at> <20060607083516.GO18733@rescomp.berkeley.edu> <86zmgp41pz.wl%toni@stderror.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86zmgp41pz.wl%toni@stderror.at> User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org Subject: Re: ipfw, IPSec, and natd 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, 07 Jun 2006 23:35:26 -0000 Weirdly enough, now that the AH requirement is relaxed, packets are being dropped at random and connections to the computer via mynfsbox are failing at random. I did post to freebsd-questions before, but no responses were given. I'll give it a day or two on this list before re-posting with more info on the questions list. Thanks a bunch. -- Devin Heckman On 13:58 Wed 07 Jun , Toni Schmidbauer wrote: > At Wed, 7 Jun 2006 01:35:16 -0700, > Devin Heckman wrote: > > has ipfw, IPSec, and natd running, and fails to mount nfs from mynfsbox > > when all three run at once with the "divert" rule enabled (if I'm right, > > it's because natd is rewriting some information in packets which makes > > IPSec decoding fail--but hopefully this isn't the case, as I wouldn't > > know even how to begin fixing natd). > > > > myrouter = 192.168.0.10, 10.0.0.1 > > mynatbox1 = 10.0.0.2 > > mynatbox2 = 10.0.0.3 > > mynfsbox = 192.168.0.11 > > > > IPSec > > mynfsbox <--------> myrouter > > | not IPSec > > |<---------> mynatbox1 > > |<---------> mynatbox2 > > > > /usr/local/etc/ipsec.conf: > > > > spdadd 192.168.0.10/32 192.168.0.11/32 any -P out ipsec esp/transport//require ah/transport//require; > > spdadd 192.168.0.11/32 192.168.0.10/32 any -P in ipsec esp/transport//require ah/transport//require; > > could your repost your excellent description to freebsd-question@? i am > not that kind of an ipsec guru, my setup locks a bit different. for > sure there are ipsec gurus on the ml. > > your ipfw rules show that you divert every packet over sis0 to > natd. i would try to specify only those addresses which should get > rewritten by natd (in your case 192.168..). so packets sent from > myrouter to mynfsbox do not pass natd. > > another thing i would try is to disable ah (just remove > ah/transport//require) from your ipsec.conf file. ah is not necessary > for an encrypted connection, it provides protection against replay > attacks. > > hth, > toni > -- > If you understand what you're doing, you're | toni at stderror dot at > not learning anything. | Toni Schmidbauer > -- Anonymous | > From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 00:42:51 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 D959F16E4CC for ; Wed, 7 Jun 2006 22:15:48 +0000 (UTC) (envelope-from marko.lerota@zg.t-com.hr) Received: from redcloud.optima-telekom.hr (tirnanog.iskon.hr [213.191.139.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F65843D45 for ; Wed, 7 Jun 2006 22:15:46 +0000 (GMT) (envelope-from marko.lerota@zg.t-com.hr) Received: (qmail 56645 invoked by uid 1001); 7 Jun 2006 22:16:04 -0000 To: "Helmut Schneider" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC In-Reply-To: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> (Helmut Schneider's message of "Wed, 7 Jun 2006 16:12:50 +0200") References: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> From: Marko Lerota Organization: Unix Users - Fanatics Dept. X-Request-PGP: X-GNUPG-Fingerprint: CF5E 6862 2777 A471 5D2E 0015 8DA6 D56D 17E5 2A51 Date: Thu, 08 Jun 2006 00:16:04 +0200 Message-ID: <86bqt48vdn.fsf@redcloud.local> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b26 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org Subject: Re: IBM Blade HS20, BCM5704S 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, 08 Jun 2006 00:42:59 -0000 "Helmut Schneider" writes: > Hi, > > on every new release I try to install FBSD on a IBM Blade HS20 with > above Broadcom GB card - and always fail. :) > > I just would like to know if it *should* be possible to have a working > installation. I have no problem. Try to upgrade HS20 BIOS and other firmware. We have many problems with these blades, and they are not solved yet by IBM. [~]$ ifconfig bge0 bge0: flags=8843 mtu 1500 options=1a inet6 fe80::211:25ff:fe29:edca%bge0 prefixlen 64 scopeid 0x1 inet 10.4.12.23 netmask 0xffffff00 broadcast 10.4.12.255 ether 00:11:25:29:ed:ca media: Ethernet autoselect (1000baseSX ) status: active here is the dmesg.boot Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #0: Fri Nov 11 03:20:44 CET 2005 lero@GNUGK03.ot.hr:/usr/obj/usr/src/sys/GNUGK03 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> Hyperthreading: 2 logical CPUs real memory = 2147405824 (2047 MB) avail memory = 2096447488 (1999 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic2 irqs 32-47 on motherboard ioapic1 irqs 16-31 on motherboard ioapic0 irqs 0-15 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 7 on acpi0 pci_link1: irq 14 on acpi0 acpi0: reservation of 460, 2 (4) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x488-0x48b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 1.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x700-0x70f at device 15.1 on pci0 ata0: on atapci0 ata1: on atapci0 ohci0: mem 0xfebfe000-0xfebfefff irq 7 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci2: on pcib1 pcib2: on acpi0 pci1: on pcib2 bge0: mem 0xfbff0000-0xfbffffff,0xfbfe0000-0xfbfeffff irq 16 at device 0.0 on pci1 bge0: Ethernet address: 00:11:25:29:ed:ca bge1: mem 0xfbfd0000-0xfbfdffff,0xfbfc0000-0xfbfcffff irq 17 at device 0.1 on pci1 bge1: Ethernet address: 00:11:25:29:ed:cb pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled uhub1: Cypress Semiconductor 4 Port Hub, class 9/0, rev 1.10/0.01, addr 2 uhub1: 4 ports with 4 removable, self powered umass0: TEAC TEAC FD-05PUB, rev 2.00/0.00, addr 3 umass1: In-System Design USB Storage Adapter, rev 1.10/1.00, addr 4 uhub2: Cypress Semiconductor 4 Port Hub, class 9/0, rev 1.10/0.01, addr 5 uhub2: 4 ports with 4 removable, bus powered ukbd0: IBM PPC I/F, rev 1.10/0.01, addr 6, iclass 3/1 kbd1 at ukbd0 ums0: IBM PPC I/F, rev 1.10/0.01, addr 6, iclass 3/1 ums0: X report 0x0002 not supported device_attach: ums0 attach returned 6 ukbd1: IBM HIDK/M, rev 1.10/0.01, addr 7, iclass 3/1 kbd2 at ukbd1 ums0: IBM HIDK/M, rev 1.10/0.01, addr 7, iclass 3/1 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec IP Filter: v4.1.8 initialized. Default = pass all, Logging = enabled ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited ad0: 38154MB at ata0-master UDMA100 SMP: AP CPU #1 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present cd0 at umass-sim1 bus 1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 1.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present -- One cannot sell the earth upon which the people walk Tacunka Witco From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 03:52:02 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 CA49C16D017 for ; Thu, 8 Jun 2006 01:40:00 +0000 (UTC) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 395BB43D49 for ; Thu, 8 Jun 2006 01:39:59 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id AD4C5684A28; Thu, 8 Jun 2006 03:39:58 +0200 (CEST) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id 4CF37684A24; Thu, 8 Jun 2006 03:39:57 +0200 (CEST) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 53663-01-3; Thu, 8 Jun 2006 03:39:57 +0200 (CEST) Received: from loki.starkstrom.lan (p549CE8C4.dip.t-dialin.net [84.156.232.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postfix.bsdforen.de (Postfix) with ESMTP id 7B25C684A1F; Thu, 8 Jun 2006 03:39:56 +0200 (CEST) Date: Thu, 8 Jun 2006 03:39:45 +0200 From: Joerg Pernfuss To: "Helmut Schneider" Message-ID: <20060608033945.10d60032@loki.starkstrom.lan> In-Reply-To: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> References: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_qzq4mckbamkzNtvitRQS9Lr; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9961 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 44877fee538289046889348 X-DSPAM-User: global Cc: freebsd-net@freebsd.org Subject: Re: IBM Blade HS20, BCM5704S 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, 08 Jun 2006 03:52:03 -0000 --Sig_qzq4mckbamkzNtvitRQS9Lr Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On Wed, 7 Jun 2006 16:12:50 +0200 "Helmut Schneider" wrote: > Hi, >=20 > on every new release I try to install FBSD on a IBM Blade HS20 with > above Broadcom GB card - and always fail. :) >=20 > I just would like to know if it *should* be possible to have a > working installation. Yes, it should: http://wiki.bsdforen.de/index.php/FreeBSD_On_IBM_Blade As far as I know, the nic didn't make any problems. J=F6rg --=20 | /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a | | \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 | | X HTML in email | .the next sentence is true. | | / \ and news | .the previous sentence was a lie. | --Sig_qzq4mckbamkzNtvitRQS9Lr Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEh3/pH31s/bvKrSQRAgaUAJ9Daxbm4epAhKexbm1YDaY+GWnDuQCdH5NC Cpe5lscKi+0SyIAv4C9qSWg= =b2ap -----END PGP SIGNATURE----- --Sig_qzq4mckbamkzNtvitRQS9Lr-- From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 05:46:24 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 EAC2716F7F6; Thu, 8 Jun 2006 03:08:21 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout2-b.corp.dcn.yahoo.com (mrout2-b.corp.dcn.yahoo.com [216.109.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52C2343D4C; Thu, 8 Jun 2006 03:08:21 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy7.corp.yahoo.com [216.145.48.98]) by mrout2-b.corp.dcn.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k5837uln067876; Wed, 7 Jun 2006 20:07:57 -0700 (PDT) Date: Thu, 08 Jun 2006 11:50:14 +0900 Message-ID: From: "George V. Neville-Neil" To: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= In-Reply-To: References: <20060506172742.GM15353@hoeg.nl> <445EC341.60406@freebsd.org> <20060508065841.GN15353@hoeg.nl> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "Bruce A. Mah" , Ed Schouten , FreeBSD Net Subject: Re: nd6_lookup prints bogus messages with point to point devices 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, 08 Jun 2006 05:46:25 -0000 Hi, After way too long this has been tested and committed to HEAD, with an MFC timout of 1 week. I have done only limited, aka, ping, testing of this fix. I am currently setting up my own outbound IPv6 network so that I can do more real world testing of such patches in future. Later, George From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 09:28:52 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 66B2516BC81 for ; Thu, 8 Jun 2006 07:40:44 +0000 (UTC) (envelope-from jumper99@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C547443D55 for ; Thu, 8 Jun 2006 07:40:42 +0000 (GMT) (envelope-from jumper99@gmx.de) Received: (qmail invoked by alias); 08 Jun 2006 07:40:40 -0000 Received: from unknown (EHLO wsa096) [193.101.155.96] by mail.gmx.net (mp023) with SMTP; 08 Jun 2006 09:40:40 +0200 X-Authenticated: #682707 Message-ID: <011e01c68ace$d7500700$609b65c1@vpe.de> From: "Helmut Schneider" To: "Marko Lerota" References: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> <86bqt48vdn.fsf@redcloud.local> Date: Thu, 8 Jun 2006 09:40:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Y-GMX-Trusted: 0 Cc: freebsd-net@freebsd.org Subject: Re: IBM Blade HS20, BCM5704S 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, 08 Jun 2006 09:28:54 -0000 ----- Original Message ----- > "Helmut Schneider" writes: > >> on every new release I try to install FBSD on a IBM Blade HS20 with >> above Broadcom GB card - and always fail. :) >> >> I just would like to know if it *should* be possible to have a working >> installation. > > I have no problem. Try to upgrade HS20 BIOS and other firmware. > We have many problems with these blades, and they are not solved yet > by IBM. > > [~]$ ifconfig bge0 > bge0: flags=8843 mtu 1500 > options=1a > inet6 fe80::211:25ff:fe29:edca%bge0 prefixlen 64 scopeid 0x1 > inet 10.4.12.23 netmask 0xffffff00 broadcast 10.4.12.255 > ether 00:11:25:29:ed:ca > media: Ethernet autoselect (1000baseSX ) > status: active Well, you do use fibre channel, but as mentioned I have to use 100/1000baseTX. Helmut From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 10:40:28 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 23B1216B3DB for ; Thu, 8 Jun 2006 09:10:05 +0000 (UTC) (envelope-from jumper99@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4034F43D49 for ; Thu, 8 Jun 2006 09:10:04 +0000 (GMT) (envelope-from jumper99@gmx.de) Received: (qmail invoked by alias); 08 Jun 2006 09:10:03 -0000 Received: from unknown (EHLO wsa096) [193.101.155.96] by mail.gmx.net (mp034) with SMTP; 08 Jun 2006 11:10:03 +0200 X-Authenticated: #682707 Message-ID: <017d01c68adb$538d5500$609b65c1@vpe.de> From: "Helmut Schneider" To: "Joerg Pernfuss" References: <00cc01c68a3c$76b14e00$609b65c1@vpe.de> <20060608033945.10d60032@loki.starkstrom.lan> Date: Thu, 8 Jun 2006 11:10:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Y-GMX-Trusted: 0 Cc: freebsd-net@freebsd.org Subject: Re: IBM Blade HS20, BCM5704S 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, 08 Jun 2006 10:40:29 -0000 Hi Jörg, >> on every new release I try to install FBSD on a IBM Blade HS20 with >> above Broadcom GB card - and always fail. :) >> >> I just would like to know if it *should* be possible to have a >> working installation. > > Yes, it should: > http://wiki.bsdforen.de/index.php/FreeBSD_On_IBM_Blade > > As far as I know, the nic didn't make any problems. *Of course* I know this link but I'm very curious if he managed to get bge to work without fibre channel. :) From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 15:21:08 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 7FA7C16E7D5 for ; Thu, 8 Jun 2006 13:39:54 +0000 (UTC) (envelope-from jumper99@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B53143D48 for ; Thu, 8 Jun 2006 13:39:53 +0000 (GMT) (envelope-from jumper99@gmx.de) Received: (qmail invoked by alias); 08 Jun 2006 13:39:52 -0000 Received: from unknown (EHLO wsa096) [193.101.155.96] by mail.gmx.net (mp001) with SMTP; 08 Jun 2006 15:39:52 +0200 X-Authenticated: #682707 Message-ID: <00cf01c68b01$051072b0$609b65c1@vpe.de> From: "Helmut Schneider" To: "Marko Lerota" Date: Thu, 8 Jun 2006 15:39:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Y-GMX-Trusted: 0 Cc: freebsd-net@freebsd.org Subject: Re: IBM Blade HS20, BCM5704S 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, 08 Jun 2006 15:21:13 -0000 From: "Helmut Schneider" >> "Helmut Schneider" writes: >> >>> on every new release I try to install FBSD on a IBM Blade HS20 with >>> above Broadcom GB card - and always fail. :) >>> >>> I just would like to know if it *should* be possible to have a working >>> installation. >> >> I have no problem. Try to upgrade HS20 BIOS and other firmware. >> We have many problems with these blades, and they are not solved yet >> by IBM. >> >> [~]$ ifconfig bge0 >> bge0: flags=8843 mtu 1500 >> options=1a >> inet6 fe80::211:25ff:fe29:edca%bge0 prefixlen 64 scopeid 0x1 >> inet 10.4.12.23 netmask 0xffffff00 broadcast 10.4.12.255 >> ether 00:11:25:29:ed:ca >> media: Ethernet autoselect (1000baseSX ) >> status: active > > Well, you do use fibre channel, but as mentioned I have to use > 100/1000baseTX. Sorry, fiber *optic*, 1000baseSX, not fiber channel... From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 16:38:25 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 2445216AEFE; Thu, 8 Jun 2006 15:00:45 +0000 (UTC) (envelope-from sem@freebsd.org) Received: from relay2.beelinegprs.ru (relay2.beelinegprs.ru [217.118.71.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4936B43D4C; Thu, 8 Jun 2006 15:00:44 +0000 (GMT) (envelope-from sem@freebsd.org) Received: from relay2 (localhost [127.0.0.1]) by relay2 (Postfix) with SMTP id 2D9AE26C6B; Thu, 8 Jun 2006 18:40:00 +0400 (MSD) Received: from [172.20.11.174] (clusterfw.beeline3G.net [217.118.66.232]) by relay2.beelinegprs.ru (Postfix) with ESMTP id 1DA8A26C28; Thu, 8 Jun 2006 18:39:51 +0400 (MSD) Message-ID: <448836AB.2060301@FreeBSD.org> Date: Thu, 08 Jun 2006 18:39:39 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (X11/20060429) MIME-Version: 1.0 To: Scott Ullrich References: <20060606232543.GB14303@heff.fud.org.nz> <4486E632.3080204@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spamtest-Info: License expired Cc: freebsd-net@freebsd.org, Andrew Thompson Subject: Re: Sleeping in USB network drivers 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, 08 Jun 2006 16:38:27 -0000 Scott Ullrich wrote: > On 6/7/06, Sergey Matveychuk wrote: >> It was discussed in usb@. Shortly, USB stack should be rewritten. >> The patch can be found at >> http://www.turbocat.net/~hselasky/usb4bsd/index.html > > Interesting. Do you have an updated patch set for RELENG_6_1? If > not, I guess I could manually patch it by hand but I was planning on > including this in pfSense if I can get it working correctly. Try to find the patch author in usb@ -- Dixi. Sem. From owner-freebsd-net@FreeBSD.ORG Thu Jun 8 18:34:25 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 68BAD16B2C0 for ; Thu, 8 Jun 2006 16:33:21 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 450CB43D73 for ; Thu, 8 Jun 2006 16:33:17 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [64.142.31.109] (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by b.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k58GX6b6009102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jun 2006 09:33:06 -0700 Message-ID: <44885141.1000400@freebsd.org> Date: Thu, 08 Jun 2006 09:33:05 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060516) MIME-Version: 1.0 To: "George V. Neville-Neil" References: <20060506172742.GM15353@hoeg.nl> <445EC341.60406@freebsd.org> <20060508065841.GN15353@hoeg.nl> In-Reply-To: X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8DAFFA2D57906340B5E07C74" Cc: FreeBSD Net , Ed Schouten , =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= Subject: Re: nd6_lookup prints bogus messages with point to point devices 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, 08 Jun 2006 18:34:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8DAFFA2D57906340B5E07C74 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If memory serves me right, George V. Neville-Neil wrote: > After way too long this has been tested and committed to HEAD, with an > MFC timout of 1 week. I have done only limited, aka, ping, testing of > this fix. >=20 > I am currently setting up my own outbound IPv6 network so that I can > do more real world testing of such patches in future. Thanks George and JINMEI-san! I've merged this patch into my local RELENG_6 tree and will give it a try on my IPv6 tunnel endpoint...will report back results. Bruce. --------------enig8DAFFA2D57906340B5E07C74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiFFC2MoxcVugUsMRAjuvAJ9vTVP2es4BuMe/4bqjYL/24SsFvgCgzobK KXHP+Zq3jmy0cZCw2tRKDRM= =Mshm -----END PGP SIGNATURE----- --------------enig8DAFFA2D57906340B5E07C74-- From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 00:52:02 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 16EA916A418 for ; Fri, 9 Jun 2006 00:52:02 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFE5B43D45 for ; Fri, 9 Jun 2006 00:52:01 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from [64.142.31.109] (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by a.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k590pnOb001455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jun 2006 17:51:50 -0700 Message-ID: <4488C625.9060103@freebsd.org> Date: Thu, 08 Jun 2006 17:51:49 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060516) MIME-Version: 1.0 To: "George V. Neville-Neil" References: <20060506172742.GM15353@hoeg.nl> <445EC341.60406@freebsd.org> <20060508065841.GN15353@hoeg.nl> <44885141.1000400@freebsd.org> In-Reply-To: <44885141.1000400@freebsd.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0DD0EFC74169433F5566752F" Cc: FreeBSD Net , Ed Schouten , =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= Subject: Re: nd6_lookup prints bogus messages with point to point devices 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, 09 Jun 2006 00:52:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0DD0EFC74169433F5566752F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I wrote: > If memory serves me right, George V. Neville-Neil wrote: >> After way too long this has been tested and committed to HEAD, with an= >> MFC timout of 1 week. I have done only limited, aka, ping, testing of= >> this fix. >> >> I am currently setting up my own outbound IPv6 network so that I can >> do more real world testing of such patches in future. >=20 > Thanks George and JINMEI-san! I've merged this patch into my local > RELENG_6 tree and will give it a try on my IPv6 tunnel endpoint...will > report back results. So far so good...no signs of those error messages after a workday's worth of uptime. Although I can't claim to be a heavy IPv6 user, I would have noticed those messages by now with pre-patch code. I'll keep an eye on it for a few more days, but if you don't hear anything from me, please count me as an "the fix works for me". Thanks again! Bruce. --------------enig0DD0EFC74169433F5566752F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiMYl2MoxcVugUsMRAtekAJ9sKXRDy0ohkoDmYjaIdrV3v4WvHACgmMF1 rOvAnAalxpWQ2n4TUwsfNSs= =XSvt -----END PGP SIGNATURE----- --------------enig0DD0EFC74169433F5566752F-- From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 06:30:19 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 4DB5516A41A for ; Fri, 9 Jun 2006 06:30:19 +0000 (UTC) (envelope-from gowda_asha2k@yahoo.com) Received: from web33408.mail.mud.yahoo.com (web33408.mail.mud.yahoo.com [68.142.206.140]) by mx1.FreeBSD.org (Postfix) with SMTP id D44EB43D70 for ; Fri, 9 Jun 2006 06:30:18 +0000 (GMT) (envelope-from gowda_asha2k@yahoo.com) Received: (qmail 3656 invoked by uid 60001); 9 Jun 2006 06:30:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=A+g0Gt8wOX6RdPOROHxb8aMd876b4ZYYIuW+Bo5iPufoftNEk6OiHTejx7ZNU8eaf7ko0MW3qP06uEtXxHwcU6G33NqFS+hT1bIsSblmqrJZ+TxiE1OhH72aIVFmBWi7e1VKfpWPaDpp+qMS7Jg20t7tJsOzFxTwXa/WLF5eAxs= ; Message-ID: <20060609063018.3654.qmail@web33408.mail.mud.yahoo.com> Received: from [203.145.176.37] by web33408.mail.mud.yahoo.com via HTTP; Thu, 08 Jun 2006 23:30:18 PDT Date: Thu, 8 Jun 2006 23:30:18 -0700 (PDT) From: ASHA GOWDA To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: regarding mount, DMA, serial test 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, 09 Jun 2006 06:30:19 -0000 hi , I need some information on how to test this features like mount, DMA, serial test. Both from uboot and linux Thanks in advance, Asha __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 11:32:24 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 7567E16A41B; Fri, 9 Jun 2006 11:32:24 +0000 (UTC) (envelope-from plk@in.nextra.sk) Received: from fw.nextra.sk (fw.nextra.sk [195.168.29.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D74B543D70; Fri, 9 Jun 2006 11:32:23 +0000 (GMT) (envelope-from plk@in.nextra.sk) Received: from plk.in.nextra.sk (localhost [127.0.0.1]) by fw.nextra.sk (8.13.4/8.13.4) with ESMTP id k59BWLBI027689; Fri, 9 Jun 2006 13:32:21 +0200 Received: (from plk@localhost) by plk.in.nextra.sk (8.13.4/8.13.4/Submit) id k59BWLEY027688; Fri, 9 Jun 2006 13:32:21 +0200 Date: Fri, 9 Jun 2006 13:32:21 +0200 From: Bohuslav Plucinsky To: freebsd-net@freebsd.org Message-ID: <20060609113221.GD25880@gtsnextra.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Xorp and CARP on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bohuslav.plucinsky@gtsnextra.sk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 11:32:24 -0000 Hello, I've two FreeBSD 6.1-RELEASE routers (R1, R2) with CARP configured and it was working OK untill I've installed Xorp and tried to configure multicast PIM-SM. After that the CARP has stoped working. I've found out by the tcpdump that after Xorp is started the source IP address of CARP packets is changed to IP address used as register_vif in Xorp: # tcpdump -n -i vlan97 proto 112 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan97, link-type EN10MB (Ethernet), capture size 96 bytes 13:11:32.694192 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:33.891182 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:35.088237 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:36.285276 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:37.482275 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:38.679312 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 ^C Is it possible to run Xorp and CARP together? Or can somebody advise me other routing software with PIM-SM support? Here are some additional info: R1 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.2 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.66 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 500 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 50 10.122.25.65 255.255.255.224" cat /usr/local/xorp/etc/config.boot: ------------------------------------ interfaces { restore-original-config-on-shutdown: true interface vlan97 { description: "DMZ" disable: false default-system-config } interface vlan71 { description: "intranet" disable: false default-system-config } } fea { unicast-forwarding4 { disable: false } } plumbing { mfea4 { disable: false interface vlan71 { vif vlan71 { disable: false } } interface vlan97 { vif vlan97 { disable: false } } interface register_vif { vif register_vif { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } } R2 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.3 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.67 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 200 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 200 10.122.25.65 255.255.255.224" Thanks Bohus Plucinsky From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 23:49:21 2006 Return-Path: X-Original-To: net@freebsd.org 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 D263B16A418 for ; Fri, 9 Jun 2006 23:49:21 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06C4843D8E for ; Fri, 9 Jun 2006 23:49:20 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k59NnIX5037383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 9 Jun 2006 19:49:20 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k59NnDMV016245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jun 2006 19:49:13 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: net@freebsd.org, wpaul@windriver.com Date: Fri, 9 Jun 2006 19:49:07 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606091949.07501.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88/1523/Fri Jun 9 03:10:10 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: Subject: Can't turn on Jumbo Frames on bge0 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, 09 Jun 2006 23:49:21 -0000 Hello! I have a bge card, that's identified as: bge0: mem 0xfe8f0000-0xfe8fffff irq 16 at device 0.0 on pci2 According to http://h18000.www1.hp.com/products/quickspecs/12131_div/12131_div.HTML, the BCM5751 support jumbo frames up to 9Kb. However, when I try to increase the MTU on the card even by a little bit, I get: root@mi:/misha/mi (122) ifconfig bge0 mtu 1501 ifconfig: ioctl (set mtu): Invalid argument Is the hardware lacking the capability, or am I doing something wrong? Thanks! -mi From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 23:57:05 2006 Return-Path: X-Original-To: net@freebsd.org 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 1F31B16A41A for ; Fri, 9 Jun 2006 23:57:05 +0000 (UTC) (envelope-from nobody@host15.gem3.com) Received: from host15.gem3.com (host15.gem3.com [209.59.135.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id B646C43D73 for ; Fri, 9 Jun 2006 23:57:04 +0000 (GMT) (envelope-from nobody@host15.gem3.com) Received: from nobody by host15.gem3.com with local (Exim 4.52) id 1Foqqf-0001KX-2i for net@freebsd.org; Fri, 09 Jun 2006 18:57:05 -0500 To: net@freebsd.org From: PayPal Message-Id: <1130384585.13653@paypal.com> Content-Transfer-Encoding: 8bit Date: Fri, 09 Jun 2006 18:57:05 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host15.gem3.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - host15.gem3.com X-Source: X-Source-Args: X-Source-Dir: MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Notice Of Account Review Necessity. 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, 09 Jun 2006 23:57:05 -0000 Protect Your Account Info Mak e sure you never provide your password to fraudulent websites. PayPal will never ask you to enter your password in an email. For more information on protecting yourself from fraud, please review our Security Tips at https://www.paypal.com/us/securitytips http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseu cirty.PayPal/Pay/index.htmlpp.htm Notice Of Account Review Necessity _________________________________________________________________ It has come to our attention that your PayPal account has been accessed by a third party, meaning that an unauthorized person has logged into your account. We require that you log-in to your account and update your billing information and security questions, so that further third party access can be prevented. Failure to update your billing information and security questions before 15th of June may result in suspension of your account. To proceed in updating your billing information and security questions, please click on the following link: [1]https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-update&login_ac cess=1142486462 Updating your billing information and security questions will prevent unauthorized third party access, and possibly unauthorized purchases. We thank you for your participation in updating your account. Sincerely, The PayPal Team _________________________________________________________________ Please do not reply to this email. This mailbox is not monitored and you will not receive a response. For assistance, [2]log in to your PayPal account and choose the Help link located in the top right corner of any PayPal page. PayPal Email-ID 034415 References Visible links 1. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html 2. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html Hidden links: 3. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html 4. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 23:57:39 2006 Return-Path: X-Original-To: net@freebsd.org 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 9DA0216A41A for ; Fri, 9 Jun 2006 23:57:39 +0000 (UTC) (envelope-from brad@comstyle.com) Received: from mail.comstyle.com (toronto-hs-216-138-195-228.s-ip.magma.ca [216.138.195.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD9D243D8D for ; Fri, 9 Jun 2006 23:57:35 +0000 (GMT) (envelope-from brad@comstyle.com) Received: from blar.home.comstyle.com (blar.home.comstyle.com [IPv6:2001:240:589:1::3]) by fubar.home.comstyle.com (Postfix) with ESMTP id E834FA30D0; Fri, 9 Jun 2006 19:57:34 -0400 (EDT) Received: by blar.home.comstyle.com (Postfix, from userid 1000) id 7CBF2D3716; Fri, 9 Jun 2006 19:57:34 -0400 (EDT) Date: Fri, 9 Jun 2006 19:57:34 -0400 From: Brad To: Mikhail Teterin Message-ID: <20060609235734.GG22853@blar.home.comstyle.com> References: <200606091949.07501.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606091949.07501.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.4.2i Cc: wpaul@windriver.com, net@freebsd.org Subject: Re: Can't turn on Jumbo Frames on bge0 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, 09 Jun 2006 23:57:39 -0000 On Fri, Jun 09, 2006 at 07:49:07PM -0400, Mikhail Teterin wrote: > Hello! > > I have a bge card, that's identified as: > > bge0: mem 0xfe8f0000-0xfe8fffff irq 16 at device 0.0 on pci2 > > According to http://h18000.www1.hp.com/products/quickspecs/12131_div/12131_div.HTML, > the BCM5751 support jumbo frames up to 9Kb. > > However, when I try to increase the MTU on the card even by a little bit, > I get: > > root@mi:/misha/mi (122) ifconfig bge0 mtu 1501 > ifconfig: ioctl (set mtu): Invalid argument > > Is the hardware lacking the capability, or am I doing something wrong? There is a mistake on that web-page. None of Broadcom's PCI Express chipsets support Jumbo frames. From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 00:06:18 2006 Return-Path: X-Original-To: net@freebsd.org 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 38C5F16A418 for ; Sat, 10 Jun 2006 00:06:18 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6FF443D7E for ; Sat, 10 Jun 2006 00:06:12 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k5A05wnB037450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 9 Jun 2006 20:05:59 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k5A05rqv016460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jun 2006 20:05:53 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Brad Date: Fri, 9 Jun 2006 20:05:47 -0400 User-Agent: KMail/1.9.1 References: <200606091949.07501.mi+mx@aldan.algebra.com> <20060609235734.GG22853@blar.home.comstyle.com> In-Reply-To: <20060609235734.GG22853@blar.home.comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200606092005.47852.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88/1523/Fri Jun 9 03:10:10 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: wpaul@windriver.com, net@freebsd.org Subject: Re: Can't turn on Jumbo Frames on bge0 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, 10 Jun 2006 00:06:18 -0000 Ð'ÑÔÎÉÃÑ 09 ÞÅÒ×ÅÎØ 2006 19:57, Brad ÎÁÐÉÓÁ×: > There is a mistake on that web-page. None of Broadcom's PCI Express > chipsets support Jumbo frames. Indeed. Our bge(4) manual page says: The BCM570x also supports jumbo frames, which can be configured via the interface MTU setting. Selecting an MTU larger than 1500 bytes with the ifconfig(8) utility configures the adapter to receive and transmit jumbo frames. Using jumbo frames can greatly improve performance for certain tasks, such as file transfers and data streaming. Mine is BCM5751 -- I guess, I'm out of luck... -mi From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 00:19:03 2006 Return-Path: X-Original-To: net@freebsd.org 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 8EE8D16A41B for ; Sat, 10 Jun 2006 00:19:03 +0000 (UTC) (envelope-from brad@comstyle.com) Received: from mail.comstyle.com (toronto-hs-216-138-195-228.s-ip.magma.ca [216.138.195.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id E65E343D78 for ; Sat, 10 Jun 2006 00:19:02 +0000 (GMT) (envelope-from brad@comstyle.com) Received: from blar.home.comstyle.com (blar.home.comstyle.com [IPv6:2001:240:589:1::3]) by fubar.home.comstyle.com (Postfix) with ESMTP id C25F7A3073; Fri, 9 Jun 2006 20:19:01 -0400 (EDT) Received: by blar.home.comstyle.com (Postfix, from userid 1000) id 88BECD3716; Fri, 9 Jun 2006 20:19:00 -0400 (EDT) Date: Fri, 9 Jun 2006 20:19:00 -0400 From: Brad To: Mikhail Teterin Message-ID: <20060610001900.GH22853@blar.home.comstyle.com> References: <200606091949.07501.mi+mx@aldan.algebra.com> <20060609235734.GG22853@blar.home.comstyle.com> <200606092005.47852.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606092005.47852.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.4.2i Cc: wpaul@windriver.com, net@freebsd.org Subject: Re: Can't turn on Jumbo Frames on bge0 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, 10 Jun 2006 00:19:03 -0000 On Fri, Jun 09, 2006 at 08:05:47PM -0400, Mikhail Teterin wrote: > ?'?????? 09 ??????? 2006 19:57, Brad ???????: > > There is a mistake on that web-page. None of Broadcom's PCI Express > > chipsets support Jumbo frames. > > Indeed. Our bge(4) manual page says: > > The BCM570x also supports jumbo frames, which can be configured via the > interface MTU setting. Selecting an MTU larger than 1500 bytes with the > ifconfig(8) utility configures the adapter to receive and transmit jumbo > frames. Using jumbo frames can greatly improve performance for certain > tasks, such as file transfers and data streaming. > > Mine is BCM5751 -- I guess, I'm out of luck... I made sure the OpenBSD man page is very clear as to what models do support Jumbo frames after having a few end-users ask similar questions. The BCM5700, BCM5701, BCM5703, BCM5704, BCM5714 and BCM5780 are capable of supporting Jumbo frames, which can be configured via the interface MTU setting. Selecting an MTU larger than 1500 bytes with the ifconfig(8) utility configures the adapter to receive and transmit Jumbo frames. Us- ing Jumbo frames can greatly improve performance for certain tasks, such as file transfers and data streaming. I would suggest doing the same thing for the FreeBSD man page since there are a number of chipset revisions which do not support Jumbo's. From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 00:26:19 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org 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 B09DD16A418 for ; Sat, 10 Jun 2006 00:26:19 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2489743D73 for ; Sat, 10 Jun 2006 00:26:18 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k5A0PlJg091797; Fri, 9 Jun 2006 20:25:47 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-net@FreeBSD.org Date: Fri, 9 Jun 2006 20:25:32 -0400 User-Agent: KMail/1.6.2 References: <200606091949.07501.mi+mx@aldan.algebra.com> <20060609235734.GG22853@blar.home.comstyle.com> In-Reply-To: <20060609235734.GG22853@blar.home.comstyle.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200606092025.35165.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1524/Fri Jun 9 17:28:03 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Mikhail Teterin , wpaul@windriver.com, Brad Subject: Re: Can't turn on Jumbo Frames on bge0 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, 10 Jun 2006 00:26:19 -0000 On Friday 09 June 2006 07:57 pm, Brad wrote: > On Fri, Jun 09, 2006 at 07:49:07PM -0400, Mikhail Teterin wrote: > > Hello! > > > > I have a bge card, that's identified as: > > > > bge0: mem > > 0xfe8f0000-0xfe8fffff irq 16 at device 0.0 on pci2 > > > > According to > > http://h18000.www1.hp.com/products/quickspecs/12131_div/12131_div > >.HTML, the BCM5751 support jumbo frames up to 9Kb. > > > > However, when I try to increase the MTU on the card even by a > > little bit, I get: > > > > root@mi:/misha/mi (122) ifconfig bge0 mtu 1501 > > ifconfig: ioctl (set mtu): Invalid argument > > > > Is the hardware lacking the capability, or am I doing something > > wrong? > > There is a mistake on that web-page. None of Broadcom's PCI Express > chipsets support Jumbo frames. I believe you are correct. BTW, funny thing is I found several web pages by googling: http://manuals.fujitsu-siemens.com/serverbooks/content/manuals/html/broadcom/features.htm http://supportapj.dell.com/support/edocs/network/P29352/English/features.htm Fujitsu-Simens says: 'Jumbo frames (up to 9 KB) (except for BCM5721 and BCM5751)' Dell says: 'Jumbo frames (up to 9 kB) (only for BCM5721 and BCM5751)' :-) Jung-uk Kim From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 19:09:34 2006 Return-Path: X-Original-To: net@freebsd.org 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 9148016A47C for ; Sat, 10 Jun 2006 19:09:34 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87B864969E for ; Sat, 10 Jun 2006 15:19:15 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J0N0073JH5ESX@ms-dienst.rz.rwth-aachen.de> for net@freebsd.org; Sat, 10 Jun 2006 17:17:39 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Sat, 10 Jun 2006 17:17:38 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k5AFHbx6016679; Sat, 10 Jun 2006 17:17:37 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Fp5DW-0005VB-3b; Sat, 10 Jun 2006 17:17:38 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id C1BEE3F40A; Sat, 10 Jun 2006 17:17:37 +0200 (CEST) Date: Sat, 10 Jun 2006 17:17:37 +0200 From: Christian Brueffer In-reply-to: <20060610001900.GH22853@blar.home.comstyle.com> To: Brad Message-id: <20060610151737.GA4451@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary="k+w/mQv8wyuph6w0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <200606091949.07501.mi+mx@aldan.algebra.com> <20060609235734.GG22853@blar.home.comstyle.com> <200606092005.47852.mi+mx@aldan.algebra.com> <20060610001900.GH22853@blar.home.comstyle.com> Cc: Mikhail Teterin , net@freebsd.org Subject: Re: Can't turn on Jumbo Frames on bge0 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, 10 Jun 2006 19:09:34 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 09, 2006 at 08:19:00PM -0400, Brad wrote: > On Fri, Jun 09, 2006 at 08:05:47PM -0400, Mikhail Teterin wrote: > > ?'?????? 09 ??????? 2006 19:57, Brad ???????: > > > There is a mistake on that web-page. None of Broadcom's PCI Express > > > chipsets support Jumbo frames. > >=20 > > Indeed. Our bge(4) manual page says: > >=20 > > The BCM570x also supports jumbo frames, which can be configured vi= a the > > interface MTU setting. Selecting an MTU larger than 1500 bytes wi= th the > > ifconfig(8) utility configures the adapter to receive and transmit= jumbo > > frames. Using jumbo frames can greatly improve performance for ce= rtain > > tasks, such as file transfers and data streaming. > >=20 > > Mine is BCM5751 -- I guess, I'm out of luck... >=20 > I made sure the OpenBSD man page is very clear as to what models do suppo= rt Jumbo > frames after having a few end-users ask similar questions. >=20 > The BCM5700, BCM5701, BCM5703, BCM5704, BCM5714 and BCM5780 are capa= ble > of supporting Jumbo frames, which can be configured via the interfac= e MTU > setting. Selecting an MTU larger than 1500 bytes with the ifconfig(= 8) > utility configures the adapter to receive and transmit Jumbo frames.= Us- > ing Jumbo frames can greatly improve performance for certain tasks, = such > as file transfers and data streaming. >=20 > I would suggest doing the same thing for the FreeBSD man page since there= are a > number of chipset revisions which do not support Jumbo's. Thanks for the suggestion, I added this to our manpage. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEiuKRbHYXjKDtmC0RAn6LAKD5B9tijy9v0J5to8Z1crJJWG55pACg4Pkv LK3efpPYntnXA2gofUYTWVg= =QW30 -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 19:29:15 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 E2B3616A4AC for ; Sat, 10 Jun 2006 19:29:14 +0000 (UTC) (envelope-from vsemionov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38CDD43D80 for ; Sat, 10 Jun 2006 19:29:14 +0000 (GMT) (envelope-from vsemionov@gmail.com) Received: by nf-out-0910.google.com with SMTP id q29so290553nfc for ; Sat, 10 Jun 2006 12:29:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=R3CgxEXsHIr4qtJhgb5ItFYAK47QaVU3D5xc94WPdcBqfEyagK7qQUdnGFC01n2pTpGHSHj9kWPDF6HIYygMcSKszVRlV3LTR6meGABZCrqGOIGXnQg9O+fYMx1i1wPY0kYRRz0KShECUcg494krwLXElCXOfqLXPfzl20foEuQ= Received: by 10.48.208.18 with SMTP id f18mr3469239nfg; Sat, 10 Jun 2006 12:29:12 -0700 (PDT) Received: by 10.49.42.13 with HTTP; Sat, 10 Jun 2006 12:29:12 -0700 (PDT) Message-ID: Date: Sat, 10 Jun 2006 22:29:12 +0300 From: "Victor Semionov" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ath driver transmits frames only after a low watermark is filled 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, 10 Jun 2006 19:29:15 -0000 Hello list, I have a wireless card with an Atheros 5212 chipset and I'm experiencing the following behavior under FreeBSD 6.1: TCP connections that consist of small short bursts of one-way (transmission) traffic often stall until traffic is received over another TCP connection. For example, if I try to load a small web page, located on the FreeBSD box, over the wireless link, it doesn't load completely, unless I hit return in a concurrent terminal session, or until I request some other file hosted on the FreeBSD box, or until I wait 20 seconds or so. The signal is not low, the two wireless boxes are in the same room. Higher-bandwidth connections rarely stall. This makes me think there is some kind of low watermark functionality in the hardware/driver that doesn't send frames until a certain number of them have been queued for transmission, or until a frame has been received. Also, I guess this is the reason that the ath module caused the system to freeze at shutdown or when the module is unloaded, unless I do an "ifconfig ath0 down" before unloading - the unloading code is probably waiting for all queued frames to be transmitted, but that never happens. Sorry for the weak conclusion that is based on assumptions. I'm not familiar with the OS/driver internals and don't know how to investigate further. Is there a sysctl or other setting that controls this behavior, or some other workaround? Any help would be greatly appreciated. Best regards, Victor Semionov From owner-freebsd-net@FreeBSD.ORG Sat Jun 10 19:43:02 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 AFB4316A6D7; Sat, 10 Jun 2006 19:43:02 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0393D45316; Sat, 10 Jun 2006 19:16:19 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id F0B4B10D2E4; Sun, 11 Jun 2006 02:16:16 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id BC0EF10D2E3; Sun, 11 Jun 2006 02:16:16 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Sun, 11 Jun 2006 02:16:16 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Sun, 11 Jun 2006 02:16:16 +0700 Date: Sun, 11 Jun 2006 02:16:09 +0700 To: "freebsd-net@freebsd.org" From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.54 (Win32, build 3865) X-OriginalArrivalTime: 10 Jun 2006 19:16:16.0027 (UTC) FILETIME=[5856DEB0:01C68CC2] Cc: "freebsd-current@freebsd.org" Subject: [PATCH] ng_tag - new netgraph node, please test (L7 filtering possibility) 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, 10 Jun 2006 19:43:02 -0000 Hello All! I wrote new netgraph(4) node, called ng_tag, able to match packets by their mbuf_tags(9) and assign new tags to mbufs. This can be used for many things in the kernel network subsystem, but particularly useful with recently added ipfw(8) tag/tagged functionality (will be MFCed to RELENG_6 after Jun 24). With this node, in conjunction with ng_bpf(4), I was able to match and block (perhaps shaping is also possible, but this relies solely on ipfw) DirectConnect P2P data connections traffic - you know, they're using random ports, so you can't match them with usual firewall rules and must check data payload contents of the packets. See man page for example of how to do this. Download files from here: http://antigreen.org/vadim/freebsd/ng_tag/ Then do: make kldload ./ng_tag.ko Man page can be viewed as: cat ng_tag.4 | /usr/bin/tbl | /usr/bin/groff -S -Wall -mtty-char -man \ -Tascii | /usr/bin/col | more -s Please especially test tags with non-zero tag_len, if you can (though it's not needed for ipfw). P.S. BTW, what is correct subject prefix for new contributions? I think [PATCH] is not correct as these are new files, not patch :) -- WBR, Vadim Goncharov