From owner-freebsd-net Mon Oct 23 4: 1:48 2000 Delivered-To: freebsd-net@freebsd.org Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by hub.freebsd.org (Postfix) with ESMTP id 9045537B4CF for ; Mon, 23 Oct 2000 04:01:46 -0700 (PDT) Received: from localhost (jcv@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id e9NB1j589697 for ; Mon, 23 Oct 2000 12:01:45 +0100 (BST) X-Authentication-Warning: brunel.uk1.vbc.net: jcv owned process doing -bs Date: Mon, 23 Oct 2000 12:01:45 +0100 (BST) From: Jean-Christophe Varaillon X-Sender: jcv@brunel.uk1.vbc.net To: freebsd-net@FreeBSD.ORG Subject: - sr Interface & Conf - In-Reply-To: <001901c03a97$98ff1320$0a06030a@visionmis.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I would like to connect a freeBSD box on a Cisco router. To do it I did rebuilt a kernel with that: pseudo-device sppp device sr0 at pci? port 0x300 irq iomem 0xd0000 Then, when I made dmseg 'sr0', it tells me that: sr0 XXX: driver didn't set ifq_maxlen sr1 XXX: driver didn't set ifq_maxlen From a specialist called Kenjiro Cho: Starting from FreeBSD-4, drivers are supposed to set ifq_maxlen. The messages are just warnings but if you want to suppress the warning, add ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; in srattach() in sys/i386/isa/if_sr.c just before calling if_attach(). ---------------- But how the FreeBSD box can know the modification since I didn't compile the program ? And I am not sur that reboot the machine is enough ? If someone has a global bit of idea, he is more than welcome. Thanks on advanced, Jean-Christophe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message