From owner-freebsd-tokenring Tue May 18 13: 9:25 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 1AEBE14ED9 for ; Tue, 18 May 1999 13:09:15 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id QAA12288 for ; Tue, 18 May 1999 16:09:15 -0400 (EDT) Date: Tue, 18 May 1999 16:09:14 -0400 (EDT) From: "Matthew N. Dodd" To: freebsd-tokenring@freebsd.org Subject: FreeBSD Token Ring Project page updated. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://www.jurai.net/~winter/tr/ The site was updated, with content incorporated from both Larry Lile's and Nicolai Petri's FreeBSD Token Ring pages. Local mirrors of their site content are at http://www.jurai.net/~winter/tr/mirror/. The main page graphics were also updated in honor of the opening of TPM in the US tomorrow. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Tue May 18 19:51:58 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id 2DDBC150C9 for ; Tue, 18 May 1999 19:51:54 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id WAA03286 for ; Tue, 18 May 1999 22:50:25 -0400 (EDT) (envelope-from lile@stdio.com) Date: Tue, 18 May 1999 22:50:24 -0400 (EDT) From: Larry Lile To: freebsd-tokenring@FreeBSD.ORG Subject: The source routing patches are available for 3.x In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The generic source routing patches are available on http://anarchy.stdio.com (or on Matthew Dodd's mirror) These will allow any token-ring driver to source route with only one minor caveat. You *MUST* set m_pkthdr to the beginning of your packet in the first mbuf. This allows the arp code to retrieve the arriving source route. See the oltr driver for an example (around line 1316 in if_oltr.c) m0->m_pkthdr.rcvif = &sc->arpcom.ac_if; m0->m_pkthdr.len = ByteCount; m0->m_len = 0; m0->m_data += 2; mbuf_size -=2; th = mtod(m0, struct iso88025_header *); >>>>>>> m0->m_pkthdr.header = (void *)th; m = m0; mbuf_offset = 0; frag_offset = 0; Hopefully I will get everything patched and tested under 3.2-RELEASE and we can get merged into stable soon. Make world is currently grinding away... Larry Lile lile@stdio.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu May 27 7:14:33 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from mail-in1.inet.tele.dk (mail-in1.inet.tele.dk [194.182.148.158]) by hub.freebsd.org (Postfix) with SMTP id B6D85151E4 for ; Thu, 27 May 1999 07:14:30 -0700 (PDT) (envelope-from morten@seeberg.dk) Received: (qmail 6043 invoked from network); 27 May 1999 14:14:29 -0000 Received: from gw.danadata.com (HELO tp) (194.239.79.3) by mail-in1.inet.tele.dk with SMTP; 27 May 1999 14:14:29 -0000 Message-ID: <00cc01bea84b$4a1bc4e0$16280c0a@tp.swamp.dk> From: "Morten Seeberg" To: Subject: Fw: Heads up! Date: Thu, 27 May 1999 16:14:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Has Token-RIng been added to 3.2-STABLE? -----Original Message----- From: Chris D. Faulhaber To: Julian Elischer Cc: stable@FreeBSD.ORG Date: 27. maj 1999 13:33 Subject: Re: Heads up! >On Wed, 26 May 1999, Julian Elischer wrote: > >> '/usr/sbin/arp' will need to be recompiled to work properly >> after the addition of Token ring support to 3.2++ today. >> >> *snip* >> > >how about /usr/sbin/tcpdump? > >output from 'make buildworld' with sources cvsupped 0700 EDT... > >===> usr.sbin/tcpdump >===> usr.sbin/tcpdump/tcpdump >rm -f version.c ; sed 's/.*/char version[] = "&";/' >/usr/src/usr.sbin/tcpdump/t >cpdump/../../../contrib/tcpdump/VERSION > version.c >rm -f .depend >mkdep -f .depend -a -DHAVE_FCNTL_H=1 -DHAVE_NET_SLIP_H=1 >-DTIME_WITH_SYS_TIME =1 -DHAVE_ETHER_NTOHOST=1 -DHAVE_SETLINEBUF=1 >-DSTDC_HEADERS=1 -DRETSIGTYPE=void > -DRETSIGVAL= -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_TM_GMTOFF=1 -DLBL_ALIGN=1 >-DPPP -D HAVE_FDDI >-I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/lbl >-I/usr/obj/usr/src/tmp/usr/include version.c >/usr/src/usr.sbin/tcpdump/tcpdump/../.. > >*snip a lot of .c files* > >.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-token.c >In file included from >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ppp.c:54: >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:18: >warning: `PPP_ADDRESS' redefined >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:40: warning: this is the >location of the previous definition >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:19: >warning: `PPP_CONTROL' redefined >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:41: warning: this is the >location of the previous definition >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:22: >warning: `PPP_IP' redefined >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:56: warning: this is the >location of the previous definition >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:27: >warning: `PPP_IPX' redefined >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:59: warning: this is the >location of the previous definition >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-token.c:38 : >token.h: No such file or directory >mkdep: compile failed >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > > >token.h is not present (at least for networking) in the source tree... >...am I missing something? > > >----- >Chris D. Faulhaber | All the true gurus I've met never >System/Network Engineer, | claimed they were one, and always >Reality Check Information, Inc | pointed to someone better. > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /\/\orten $eeberg, Systems Consultant @ Merkantildata CMA Enterprise Sollutions #echo 'System Administrators suck :)' > /dev/console To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu May 27 7:15:44 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 0872E14D04 for ; Thu, 27 May 1999 07:15:42 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id KAA16835 for ; Thu, 27 May 1999 10:15:42 -0400 (EDT) Date: Thu, 27 May 1999 10:15:41 -0400 (EDT) From: "Matthew N. Dodd" To: freebsd-tokenring@freebsd.org Subject: FreeBSD Token Ring Project pages updated. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://www.jurai.net/~winter/tr/ I've added a number of links to the resources section. If there are any that I missed, please email me and let me know. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu May 27 8:33:23 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id 8F9BD15061 for ; Thu, 27 May 1999 08:32:59 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id LAA02442; Thu, 27 May 1999 11:32:45 -0400 (EDT) (envelope-from lile@stdio.com) Date: Thu, 27 May 1999 11:32:45 -0400 (EDT) From: Larry Lile To: Morten Seeberg Cc: tokenring@FreeBSD.ORG Subject: Re: Fw: Heads up! In-Reply-To: <00cc01bea84b$4a1bc4e0$16280c0a@tp.swamp.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, sort of. I screwed up when I sent Julian the patches. I ONLY sent him the patches so it is missing 3~4 files. I am trying to get someone to commit them from Current for me. Pointy hat please. Larry Lile lile@stdio.com On Thu, 27 May 1999, Morten Seeberg wrote: > Has Token-RIng been added to 3.2-STABLE? > > -----Original Message----- > From: Chris D. Faulhaber > To: Julian Elischer > Cc: stable@FreeBSD.ORG > Date: 27. maj 1999 13:33 > Subject: Re: Heads up! > > > >On Wed, 26 May 1999, Julian Elischer wrote: > > > >> '/usr/sbin/arp' will need to be recompiled to work properly > >> after the addition of Token ring support to 3.2++ today. > >> > >> *snip* > >> > > > >how about /usr/sbin/tcpdump? > > > >output from 'make buildworld' with sources cvsupped 0700 EDT... > > > >===> usr.sbin/tcpdump > >===> usr.sbin/tcpdump/tcpdump > >rm -f version.c ; sed 's/.*/char version[] = "&";/' > >/usr/src/usr.sbin/tcpdump/t > >cpdump/../../../contrib/tcpdump/VERSION > version.c > >rm -f .depend > >mkdep -f .depend -a -DHAVE_FCNTL_H=1 -DHAVE_NET_SLIP_H=1 > >-DTIME_WITH_SYS_TIME =1 -DHAVE_ETHER_NTOHOST=1 -DHAVE_SETLINEBUF=1 > >-DSTDC_HEADERS=1 -DRETSIGTYPE=void > > -DRETSIGVAL= -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_TM_GMTOFF=1 -DLBL_ALIGN=1 > >-DPPP -D HAVE_FDDI > >-I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/lbl > >-I/usr/obj/usr/src/tmp/usr/include version.c > >/usr/src/usr.sbin/tcpdump/tcpdump/../.. > > > >*snip a lot of .c files* > > > >.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-token.c > >In file included from > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-ppp.c:54: > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:18: > >warning: `PPP_ADDRESS' redefined > >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:40: warning: this is the > >location of the previous definition > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:19: > >warning: `PPP_CONTROL' redefined > >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:41: warning: this is the > >location of the previous definition > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:22: > >warning: `PPP_IP' redefined > >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:56: warning: this is the > >location of the previous definition > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/ppp.h:27: > >warning: `PPP_IPX' redefined > >/usr/obj/usr/src/tmp/usr/include/net/ppp_defs.h:59: warning: this is the > >location of the previous definition > >/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-token.c:38 > : > >token.h: No such file or directory > >mkdep: compile failed > >*** Error code 1 > > > >Stop. > >*** Error code 1 > > > >Stop. > >*** Error code 1 > > > >Stop. > >*** Error code 1 > > > > > >token.h is not present (at least for networking) in the source tree... > >...am I missing something? > > > > > >----- > >Chris D. Faulhaber | All the true gurus I've met never > >System/Network Engineer, | claimed they were one, and always > >Reality Check Information, Inc | pointed to someone better. > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-stable" in the body of the message > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /\/\orten $eeberg, Systems Consultant @ > Merkantildata CMA Enterprise Sollutions > #echo 'System Administrators suck :)' > /dev/console > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-tokenring" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri May 28 1:18:31 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from mail.ftf.dk (mail.ftf.net [129.142.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 8DDCC14F3E for ; Fri, 28 May 1999 01:18:27 -0700 (PDT) (envelope-from regnauld@ftf.net) Received: from ns.int.ftf.net (fw2.ftf.dk [192.168.1.2] (may be forged)) by mail.ftf.dk (8.9.3/8.9.3/gw-ftf-1.2) with ESMTP id KAA27871 for ; Fri, 28 May 1999 10:20:07 +0200 (CEST) X-Authentication-Warning: mail.ftf.dk: Host fw2.ftf.dk [192.168.1.2] (may be forged) claimed to be ns.int.ftf.net Received: (from regnauld@localhost) by ns.int.ftf.net (8.9.2/8.9.3) id KAA01525 for freebsd-tokenring@freebsd.org; Fri, 28 May 1999 10:25:32 +0200 (CEST) Message-ID: <19990528095720.38159@ns.int.ftf.net> Date: Fri, 28 May 1999 09:57:20 +0200 From: Phil Regnauld To: freebsd-tokering@freebsd.org Subject: Strange behavior with OC-3117, 4.0-C Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Operating-System: FreeBSD 3.1-RELEASE i386 Organization: FTFnet Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here's the context: uname: FreeBSD aylee 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Wed May 19 14:31:48 CEST 1999 root@:/usr/src/sys/compile/AYLEE i386 dmesg: oltr0: oltr_probe oltr0: auto assigning card. oltr0: [00:00:83:79:d5:c4] oltr0 at port 0xa20 irq 10 drq 7 on isa0 oltr0: Adapter modes - TRLLD_MODE_16M TRLLD_MODE_PHYSICAL oltr0 XXX: driver didn't set ifq_maxlen oltr0: adapter status good. (close completed/self-test) oltr0: Ring status change: [Soft error] oltr0: receive error. (ReceiveStatus=3) oltr0: receive error. (ReceiveStatus=3) oltr0: receive error. (ReceiveStatus=3) ^--- repeat every ~10 seconds ---^ ifconfig: oltr0: flags=8843 mtu 1500 inet 1.2.3.4 netmask 0xff000000 broadcast 1.255.255.255 lladdr 00:00:83:79:d5:c4 media: autoselect () supported media: UTP/16Mbit UTP/4Mbit autoselect - the card seems to work fine, but when I do some heavy traffic (i.e.: ftp from machine to machine), the connection hangs, between 100 and 200 KB into the transfer. When I do ifconfig down, I see: oltr0: Promiscuous mode stopped: Poll failure May 28 09:39:49 aylee /kernel: oltr0: promiscuous mode enabled May 28 09:40:36 aylee calife+[523]: pr to root on ttyp6 - BEGIN oltr0: otlr_stop oltr0: DriverTransmitFrameCompleted (frame 2 status 1) oltr0: DriverTransmitFrameCompleted (frame 3 status 1) oltr0: DriverTransmitFrameCompleted (frame 4 status 1) oltr0: DriverTransmitFrameCompleted (frame 5 status 1) oltr0: DriverTransmitFrameCompleted (frame 0 status 1) oltr0: DriverTransmitFrameCompleted (frame 6 status 1) oltr0: DriverTransmitFrameCompleted (frame 7 status 1) oltr0: DriverTransmitFrameCompleted (frame 8 status 1) oltr0: DriverTransmitFrameCompleted (frame 9 status 1) oltr0: DriverTransmitFrameCompleted (frame 10 status 1) oltr0: DriverTransmitFrameCompleted (frame 11 status 1) oltr0: DriverTransmitFrameCompleted (frame 12 status 1) oltr0: DriverTransmitFrameCompleted (frame 13 status 1) oltr0: DriverCloseCompleted ... and then if I ifconfig the oltr0 back up within a short delay, the connection is "restored" (until the next heavy trnsfer). note: on an earlier test, I suddenly saw a large frame burst with tcpdump that looked like: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 ... over a few hundred lines I couldn't see the offending packet header, as the scrollback buffer wasn't long enough, and then my machine suddenly rebooted :-| The hardware is an IBM 300PL with on board fxp0, Pii-350 and 128-MB of RAM -- the bios settings for DMA and such look ok, but I will need to check. Anybody seen this kind of problem ? I'v heard the Olicom drivers were supposed to be stable, and we already use them here in Linux, but I'm dying to get our internal DNS+DHCP boxes up and running on FreeBSD... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri May 28 6:48:11 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from distortion.dk (distortion.dk [195.249.147.156]) by hub.freebsd.org (Postfix) with ESMTP id D09DD14BE9 for ; Fri, 28 May 1999 06:48:08 -0700 (PDT) (envelope-from npp@distortion.dk) Received: from localhost (npp@localhost) by distortion.dk (8.9.1/8.9.1) with ESMTP id RAA27703 for ; Fri, 28 May 1999 17:22:17 +0200 (CEST) (envelope-from npp@distortion.dk) Date: Fri, 28 May 1999 17:22:17 +0200 (CEST) From: Nicolai Petri To: tokenring@freebsd.org Subject: Loadable Token Ring drivers! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just compiled a "test" loadable net driver.. Will there be any problems running TR Cards as modules ?? ---- Nicolai Petri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri May 28 7:29:38 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id 9BD1F15262 for ; Fri, 28 May 1999 07:29:36 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id KAA15761; Fri, 28 May 1999 10:29:24 -0400 (EDT) (envelope-from lile@stdio.com) Date: Fri, 28 May 1999 10:29:24 -0400 (EDT) From: Larry Lile To: Nicolai Petri Cc: tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It should work fine for hardware drivers. I don't think we can make the 802.5 layer loadable though. How goes your driver? The generic source routing code is now in place in both -current and -stable. Larry Lile lile@stdio.com On Fri, 28 May 1999, Nicolai Petri wrote: > I just compiled a "test" loadable net driver.. Will there be any problems > running TR Cards as modules ?? > > ---- > Nicolai Petri > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-tokenring" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri May 28 8:53:23 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from distortion.dk (distortion.dk [195.249.147.156]) by hub.freebsd.org (Postfix) with ESMTP id 074FE14E65 for ; Fri, 28 May 1999 08:47:55 -0700 (PDT) (envelope-from npp@distortion.dk) Received: from localhost (npp@localhost) by distortion.dk (8.9.1/8.9.1) with ESMTP id TAA27991; Fri, 28 May 1999 19:21:15 +0200 (CEST) (envelope-from npp@distortion.dk) Date: Fri, 28 May 1999 19:21:15 +0200 (CEST) From: Nicolai Petri To: Larry Lile Cc: tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 May 1999, Larry Lile wrote: > > How goes your driver? The generic source routing code is now in > place in both -current and -stable. > I have reorganized my code and is currently making module support.. I'll count on making recieve code work this weekend.. I'll post the status. ------------ Nicolai Petri To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Fri May 28 11:58:26 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 2616514DA2 for ; Fri, 28 May 1999 11:58:18 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id OAA20078; Fri, 28 May 1999 14:58:09 -0400 (EDT) Date: Fri, 28 May 1999 14:58:08 -0400 (EDT) From: "Matthew N. Dodd" To: Larry Lile Cc: Nicolai Petri , tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 May 1999, Larry Lile wrote: > I don't think we can make the 802.5 layer loadable though. I looked at the code a little and I'm not sure what would stop us from making the 802.5 stuff loadable. In fact, all the various MAC layer code should be loadable. The question is how to create a dependancy on the module from within the hardware drivers. (So that the code is loaded if a driver is loaded and the code is not compiled in.) -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun May 30 7: 5:40 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id DB56C14E7B for ; Sun, 30 May 1999 07:05:24 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id KAA09466; Sun, 30 May 1999 10:05:09 -0400 (EDT) (envelope-from lile@stdio.com) Date: Sun, 30 May 1999 10:05:08 -0400 (EDT) From: Larry Lile To: "Matthew N. Dodd" Cc: Nicolai Petri , tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I vaugely remember something about not being able to plumb/un-plumb network interfaces on the fly. Has that changed? Matt is right about the MAC layer code - I was remebering things wrong. Larry On Fri, 28 May 1999, Matthew N. Dodd wrote: > On Fri, 28 May 1999, Larry Lile wrote: > > I don't think we can make the 802.5 layer loadable though. > > I looked at the code a little and I'm not sure what would stop us from > making the 802.5 stuff loadable. > > In fact, all the various MAC layer code should be loadable. The question > is how to create a dependancy on the module from within the hardware > drivers. (So that the code is loaded if a driver is loaded and the code > is not compiled in.) > > -- > | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | > | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | > | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun May 30 8:30:25 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from distortion.dk (distortion.dk [195.249.147.156]) by hub.freebsd.org (Postfix) with ESMTP id 063AA14DC6 for ; Sun, 30 May 1999 08:30:17 -0700 (PDT) (envelope-from npp@distortion.dk) Received: from localhost (npp@localhost) by distortion.dk (8.9.1/8.9.1) with ESMTP id TAA07087; Sun, 30 May 1999 19:04:22 +0200 (CEST) (envelope-from npp@distortion.dk) Date: Sun, 30 May 1999 19:04:22 +0200 (CEST) From: Nicolai Petri To: Larry Lile Cc: "Matthew N. Dodd" , tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 May 1999, Larry Lile wrote: > > I vaugely remember something about not being able to plumb/un-plumb > network interfaces on the fly. Has that changed? Matt is right > about the MAC layer code - I was remebering things wrong. I don't think is has changed.. Actually if I load and unload my module.. it's working okay.. But never try to load it again (panic occurs). Maybe this is my fault, but I have a ideer that it's the ifmedia stuff that do not clean up good enough... Comments ??? ------- Nicolai Petri npp@swamp.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Sun May 30 11:10: 5 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id A200D15170 for ; Sun, 30 May 1999 11:10:03 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id OAA29630; Sun, 30 May 1999 14:09:59 -0400 (EDT) Date: Sun, 30 May 1999 14:09:59 -0400 (EDT) From: "Matthew N. Dodd" To: Nicolai Petri Cc: Larry Lile , tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 May 1999, Nicolai Petri wrote: > I don't think is has changed.. Actually if I load and unload my module.. > it's working okay.. But never try to load it again (panic occurs). Maybe > this is my fault, but I have a ideer that it's the ifmedia stuff that do > not clean up good enough... Use the if_detach() function. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Mon May 31 8:16: 0 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from distortion.dk (distortion.dk [195.249.147.156]) by hub.freebsd.org (Postfix) with ESMTP id D78F314BE5 for ; Mon, 31 May 1999 08:15:54 -0700 (PDT) (envelope-from npp@distortion.dk) Received: from localhost (npp@localhost) by distortion.dk (8.9.1/8.9.1) with ESMTP id SAA11457; Mon, 31 May 1999 18:49:55 +0200 (CEST) (envelope-from npp@distortion.dk) Date: Mon, 31 May 1999 18:49:55 +0200 (CEST) From: Nicolai Petri To: "Matthew N. Dodd" Cc: Larry Lile , tokenring@FreeBSD.ORG Subject: Re: Loadable Token Ring drivers! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 May 1999, Matthew N. Dodd wrote: > On Sun, 30 May 1999, Nicolai Petri wrote: > > I don't think is has changed.. Actually if I load and unload my module.. > > it's working okay.. But never try to load it again (panic occurs). Maybe > > this is my fault, but I have a ideer that it's the ifmedia stuff that do > > not clean up good enough... > > Use the if_detach() function. > I allready do.. But do if_detach() detach the 802.5 if stuff ?? --- Nicolai Petri npp@swamp.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Jun 3 4:27:14 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from post.ruh-bath.swest.nhs.uk (hide14.nhs.uk [194.6.81.14]) by hub.freebsd.org (Postfix) with ESMTP id 255AD15012 for ; Thu, 3 Jun 1999 04:27:10 -0700 (PDT) (envelope-from rich@ruh-bath.swest.nhs.uk) Received: by post.ruh-bath.swest.nhs.uk with Internet Mail Service (5.5.2448.0) id ; Thu, 3 Jun 1999 12:27:33 +0100 Message-ID: From: "Wood, Richard" To: "'freebsd-tokenring@freebsd.org'" Subject: Re: Strange behavior with OC-3117, 4.0-C Date: Thu, 3 Jun 1999 12:27:33 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Phil Regnauld [mailto:regnauld@ftf.net] > Sent: Friday, May 28, 1999 8:57 AM > To: freebsd-tokering@freebsd.org > Subject: Strange behavior with OC-3117, 4.0-C > Anybody seen this kind of problem ? I've had similar problems with a OC-3137 (PCI/II 16/4) card in a Digital Venturis P75 machine, but I managed to break the machine completely before looking into it any further. The symptoms were very similar to yours. The machine would be fine as long as I didn't use it much, but doing anything which transferred data at a high rate would cause the card to fall over. Even doing an `ls -al` on a large directory would cause the link to fail, however downloading a 100MB file over our 512K WAN link was fine, therefore it's almost definately speed of delivery and not quantity of data which is the problem. IIRC though, I couldn't `ifconfig down` and then `ifconfig up` the interface to restart it, a powerdown was the only option. Rich -- Rich Wood, Systems Manager Royal United Hospital, Bath, UK rich@ruh-bath.swest.nhs.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Jun 3 4:37:41 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from mail.ftf.dk (mail.ftf.net [129.142.64.2]) by hub.freebsd.org (Postfix) with ESMTP id D921614C20 for ; Thu, 3 Jun 1999 04:37:36 -0700 (PDT) (envelope-from regnauld@ftf.net) Received: from ns.int.ftf.net (fw2.ftf.dk [192.168.1.2] (may be forged)) by mail.ftf.dk (8.9.3/8.9.3/gw-ftf-1.2) with ESMTP id NAA23482 for ; Thu, 3 Jun 1999 13:39:11 +0200 (CEST) X-Authentication-Warning: mail.ftf.dk: Host fw2.ftf.dk [192.168.1.2] (may be forged) claimed to be ns.int.ftf.net Received: (from regnauld@localhost) by ns.int.ftf.net (8.9.2/8.9.3) id NAA18565; Thu, 3 Jun 1999 13:45:35 +0200 (CEST) Message-ID: <19990603134535.55646@ns.int.ftf.net> Date: Thu, 3 Jun 1999 13:45:35 +0200 From: Phil Regnauld To: freebsd-tokenring@freebsd.org Subject: Re: Strange behavior with OC-3117, 4.0-C Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Operating-System: FreeBSD 3.1-RELEASE i386 Organization: FTFnet Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wood, Richard writes: > > -----Original Message----- > > From: Phil Regnauld [mailto:regnauld@ftf.net] > > Sent: Friday, May 28, 1999 8:57 AM > > To: freebsd-tokering@freebsd.org > > Subject: Strange behavior with OC-3117, 4.0-C > > > > > Anybody seen this kind of problem ? > > I've had similar problems with a OC-3137 (PCI/II 16/4) card in a Digital > Venturis P75 machine, but I managed to break the machine completely before > looking into it any further. > > The symptoms were very similar to yours. The machine would be fine as long > as I didn't use it much, but doing anything which transferred data at a high > rate would cause the card to fall over. Even doing an `ls -al` on a large > directory would cause the link to fail, however downloading a 100MB file > over our 512K WAN link was fine, therefore it's almost definately speed of > delivery and not quantity of data which is the problem. > > IIRC though, I couldn't `ifconfig down` and then `ifconfig up` the interface > to restart it, a powerdown was the only option. I solved this problem by reinstalling 19990421-CURRENT -- something between 19990421 and 19990530 had broken the DMA or something else. Larry Lile said it might be the new bus code. My adapter works fine now, except for regular receive error(3) messages on the console (and corresponding errors in netstat -i) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Jun 3 7:28:23 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id DFDE9153A2 for ; Thu, 3 Jun 1999 07:28:03 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id KAA09425; Thu, 3 Jun 1999 10:27:53 -0400 (EDT) (envelope-from lile@stdio.com) Date: Thu, 3 Jun 1999 10:27:53 -0400 (EDT) From: Larry Lile To: "Wood, Richard" Cc: "'freebsd-tokenring@freebsd.org'" Subject: Re: Strange behavior with OC-3117, 4.0-C In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry everyone, pass me the pointy hat! The problem stems from some optimizations I was trying to make to the transmit code for the PCI adapters. In an attempt to improve performance I was using the mbufs passed to the driver directly in the transmit queue which make the driver very fast for things like ftp. The problem is that under certain circumstances the driver receives a large number of mbufs in a single chain and starves the adapters transmit queue and the driver did not recover. As far as I know ISA adapters should work fine or more specifically adapters that report Adapter modes - TRLLD_MODE_16M I will have this resolved shortly and I apologize for any inconveinence. Larry Lile lile@stdio.com On Thu, 3 Jun 1999, Wood, Richard wrote: > > -----Original Message----- > > From: Phil Regnauld [mailto:regnauld@ftf.net] > > Sent: Friday, May 28, 1999 8:57 AM > > To: freebsd-tokering@freebsd.org > > Subject: Strange behavior with OC-3117, 4.0-C > > > > > Anybody seen this kind of problem ? > > I've had similar problems with a OC-3137 (PCI/II 16/4) card in a Digital > Venturis P75 machine, but I managed to break the machine completely before > looking into it any further. > > The symptoms were very similar to yours. The machine would be fine as long > as I didn't use it much, but doing anything which transferred data at a high > rate would cause the card to fall over. Even doing an `ls -al` on a large > directory would cause the link to fail, however downloading a 100MB file > over our 512K WAN link was fine, therefore it's almost definately speed of > delivery and not quantity of data which is the problem. > > IIRC though, I couldn't `ifconfig down` and then `ifconfig up` the interface > to restart it, a powerdown was the only option. > > Rich > -- > Rich Wood, Systems Manager > Royal United Hospital, Bath, UK > rich@ruh-bath.swest.nhs.uk > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-tokenring" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message From owner-freebsd-tokenring Thu Jun 3 10:48:58 1999 Delivered-To: freebsd-tokenring@freebsd.org Received: from heathers.stdio.com (heathers.stdio.com [199.89.192.5]) by hub.freebsd.org (Postfix) with ESMTP id 45D791556B for ; Thu, 3 Jun 1999 10:48:35 -0700 (PDT) (envelope-from lile@stdio.com) Received: from heathers.stdio.com (lile@heathers.stdio.com [199.89.192.5]) by heathers.stdio.com (8.8.8/8.8.8) with ESMTP id NAA17436; Thu, 3 Jun 1999 13:48:25 -0400 (EDT) (envelope-from lile@stdio.com) Date: Thu, 3 Jun 1999 13:48:25 -0400 (EDT) From: Larry Lile To: Phil Regnauld Cc: freebsd-tokenring@FreeBSD.ORG Subject: Re: Strange behavior with OC-3117, 4.0-C In-Reply-To: <19990603134535.55646@ns.int.ftf.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 3 Jun 1999, Phil Regnauld wrote: > Wood, Richard writes: > > > -----Original Message----- > > > From: Phil Regnauld [mailto:regnauld@ftf.net] > > > Sent: Friday, May 28, 1999 8:57 AM > > > To: freebsd-tokering@freebsd.org > > > Subject: Strange behavior with OC-3117, 4.0-C > > > > > > to restart it, a powerdown was the only option. > > I solved this problem by reinstalling 19990421-CURRENT -- > something between 19990421 and 19990530 had broken the DMA or > something else. > > Larry Lile said it might be the new bus code. Sorry, I was being paranoid. It doesn't look like that had any effect. > My adapter works fine now, except for regular > receive error(3) > messages on the console (and corresponding errors in netstat -i) Maybe there was some other change to the IP stack? I don't see any obvious changes in the driver code that would have caused this to be any more broken than it already was. There is a problem that I need to address, and will. I still don't understand why things are happening the way they are. For example: ftp works fine, mostly 1 or 2 mbufs in each packet chain. Most telnet packets are the same 1 or 2 mbufs in each packet. However as a couple of people have noted if you do a "ls" that returns a lot of data it will hang and this is becuase I am getting roughly 1500 bytes of data (perfectly normal and acceptable) but it is being sent in a chain of 12 to 36 mbufs! I do not understand why this data has not been collapsed into a mbuf (and or a mbuf cluster) at some point further into the stack. I don't beleive that it has always been this way previously. Never the less, I have a bug and I will fix it. Could someone look into what might have changed in the IP stack? I am really pressed for time right now. Larry Lile lile@stdio.com [Changes to if_oltr.c between 19990421 and -current] *** if_oltr.c Wed Mar 10 12:45:26 1999 --- /sys/contrib/dev/oltr/if_oltr.c Tue May 18 21:57:52 1999 *************** *** 30,36 **** * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ! * $Id: if_oltr.c,v 1.2 1999/03/10 17:45:26 julian Exp $ */ --- 30,36 ---- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ! * $Id: if_oltr.c,v 1.5 1999/05/09 17:07:24 peter Exp $ */ *************** *** 259,265 **** NULL }; ! DATA_SET(pcidevice_set, oltr_device); int pci_cards = 0; #endif /* NPCI */ --- 259,265 ---- NULL }; ! COMPAT_PCI_DRIVER(oltr_pci, oltr_device); int pci_cards = 0; #endif /* NPCI */ *************** *** 355,361 **** if (!is->id_irq) is->id_irq = (1 << sc->config->interruptlevel); /* Claim our interrupt */ is->id_intr = (inthand2_t *)oltr_intr; - register_intr(ffs(is->id_irq) - 1, is->id_id, is->id_ri_flags, is->id_intr, &net_imask, is->id_unit); if ((is->id_drq == 0xffffffff) && (sc->config->dmalevel != TRLLD_DMA_PIO)) is->id_drq = sc->config->dmalevel; /* Claim our dma channel */ printf("oltr%d: <%s> [%6D]\n", is->id_unit, AdapterName[sc->config->type], sc->config->macaddress, ":"); --- 355,360 ---- *************** *** 374,380 **** if (is->id_irq == 0) is->id_irq = (1 << sc->config->interruptlevel); /* Claim our interrupt */ is->id_intr = (inthand2_t *)oltr_intr; - register_intr(ffs(is->id_irq) - 1, is->id_id, is->id_ri_flags, is->id_intr, &net_imask, is->id_unit); if ((is->id_drq == 0xffffffff) && (sc->config->dmalevel != TRLLD_DMA_PIO)) is->id_drq = sc->config->dmalevel; /* Claim our dma channel */ printf("oltr%d: <%s> [%6D]\n", is->id_unit, AdapterName[sc->config->type], sc->config->macaddress, ":"); --- 373,378 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message