From adam_kaufman at yahoo.com Tue Nov 18 10:40:55 2003 From: adam_kaufman at yahoo.com (Adam Kaufman) Date: Tue Nov 18 10:43:07 2003 Subject: oltr driver Message-ID: <20031118184049.99324.qmail@web10501.mail.yahoo.com> I am having trouble getting the oltr driver to recognize my token ring card. I am running FreeBSD 4.9-RELEASE and have an ISA Olicom token ring card Model No. 770000591, which I think is an OC-3118. My kernel config contains: device oltr0 pseudo-device token # Generic TokenRing Is the 770000591 not a 3118? Do you know where I can find this information? I'm sorry if this has been answered in an online forum already, but I've spent the last few weeks searching and have found little to no documentation concerning troubleshooting this driver. Thanks for your time, -Adam __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From david at madole.net Tue Nov 18 10:57:46 2003 From: david at madole.net (David S. Madole) Date: Tue Nov 18 10:58:19 2003 Subject: oltr driver In-Reply-To: <20031118184049.99324.qmail@web10501.mail.yahoo.com> References: <20031118184049.99324.qmail@web10501.mail.yahoo.com> Message-ID: <63929.12.148.10.20.1069181864.squirrel@ssl.omd3.com> > I am having trouble getting the oltr driver to > recognize my token ring card. I am running FreeBSD > 4.9-RELEASE and have an ISA Olicom token ring card > Model No. 770000591, which I think is an OC-3118. > My kernel config contains: ISA cards are no longer supported by the oltr driver. I think they were dropped when the driver was rewritten for newbus around 4.3-RELEASE. I have gotten the OC-3118 working for a project of mine. It's a quick hack but it works. You can get the replacement if_oltr.c file from: http://madole.net/scanjet/files/if_oltr.c I also have a "proper" version of support for ISA cards that I started, but it's unfinished as of now. If you're interested in working on it, I could dig up where I left off. David From adam_kaufman at yahoo.com Tue Nov 18 11:50:44 2003 From: adam_kaufman at yahoo.com (Adam Kaufman) Date: Tue Nov 18 11:51:16 2003 Subject: oltr driver In-Reply-To: <63929.12.148.10.20.1069181864.squirrel@ssl.omd3.com> Message-ID: <20031118195039.47995.qmail@web10505.mail.yahoo.com> --- "David S. Madole" wrote: > ISA cards are no longer supported by the oltr > driver. I think they were dropped when the driver > was rewritten for newbus around 4.3-RELEASE. That's good to know. Perhaps someone could update LINT to reflect that. > I have gotten the OC-3118 working for a project of > mine. It's a quick hack but it works. You can get > the replacement if_oltr.c file from: Thanks, but these are for production machines and I'd like something a little more solid. > I also have a "proper" version of support for ISA > cards that I started, but it's unfinished as of now. > If you're interested in working on it, I could dig > up where I left off. Sorry, but I don't have the time to work on it. I think I'll buy some cards that are well supported. Which would be the best token ring cards (PCI or ISA) to use for FreeBSD 4.9 and 5.1? -Adam __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From david at madole.net Tue Nov 18 12:50:23 2003 From: david at madole.net (David S. Madole) Date: Tue Nov 18 12:52:15 2003 Subject: oltr driver In-Reply-To: <20031118195039.47995.qmail@web10505.mail.yahoo.com> References: <63929.12.148.10.20.1069181864.squirrel@ssl.omd3.com> <20031118195039.47995.qmail@web10505.mail.yahoo.com> Message-ID: <33068.12.148.10.20.1069188621.squirrel@ssl.omd3.com> >> I have gotten the OC-3118 working for a project of >> mine. It's a quick hack but it works. You can get >> the replacement if_oltr.c file from: > > Thanks, but these are for production machines and I'd > like something a little more solid. Interesting -- that's the first time I've heard "token ring" and "production" used in the same context in a couple of years :) I didn't mean to suggest it wsn't solid. I've been using it continuously for a year or so. The only real issues with it are: it can't be compiled without PCI support also, and it's only known to work with the OC-3118 in PnP mode. I would be willing to fix these issues if anyone is interested in it. I offered about a year ago on the list and no one took me up on it, and it works as well as I need to the way it is, so it's stayed that way. > I think I'll buy some cards that are well supported. > Which would be the best token ring cards (PCI or ISA) > to use for FreeBSD 4.9 and 5.1? I'm not sure you could say any cards are "well supported". The Olicom PCI cards are, I beleive, the only cards supported in standard kernel sources. I have used the OC-3137 for a couple of years. The driver is a bit overzealous in logging soft ring errors like insertion of other nodes, but is basically reliable. I have "tweaked" the driver myself to inhibit some of the logging. You should see Matthew Dodd's page at http://www.jurai.net/~winter/tr/ for more details on drivers. He has several in various stages of being "in the works." David From david at madole.net Thu Nov 20 20:27:10 2003 From: david at madole.net (David S. Madole) Date: Thu Nov 20 20:27:43 2003 Subject: ISA support added to oltr driver References: <63929.12.148.10.20.1069181864.squirrel@ssl.omd3.com> <20031118195039.47995.qmail@web10505.mail.yahoo.com> <33068.12.148.10.20.1069188621.squirrel@ssl.omd3.com> Message-ID: <001001c3afe8$0955b070$e3e7a8c0@david> I finally cleaned up the support I added months ago for support of ISA cards by the oltr driver. Details here: http://www.madole.net/olicom/ This is for -STABLE but I will probably later update for -CURRENT as well. The driver seems to be every bit as solid as before, but I welcome testing and feedback. I will probably continue to work on these a bit more to clean up a few other things. David Madole From adam_kaufman at yahoo.com Tue Nov 25 12:46:55 2003 From: adam_kaufman at yahoo.com (Adam Kaufman) Date: Tue Nov 25 12:47:26 2003 Subject: ISA support added to oltr driver Message-ID: <20031125204653.46308.qmail@web10502.mail.yahoo.com> I'm having some issues with the oltr driver and need some help troubleshooting. I'm not sure that it is getting compiled and installed. I installed David's files and applied the patch. I recompiled and installed a new kernel. The card was still not detected. My kernel contains the following two lines: device oltr pseudo-device token I think the driver should be in /modules, but I don't see it there. It would be if_oltr.ko right? -Adam __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ From david at madole.net Tue Nov 25 13:44:26 2003 From: david at madole.net (David S. Madole) Date: Tue Nov 25 13:45:47 2003 Subject: ISA support added to oltr driver In-Reply-To: <20031125204653.46308.qmail@web10502.mail.yahoo.com> References: <20031125204653.46308.qmail@web10502.mail.yahoo.com> Message-ID: <7828.153.11.141.82.1069796664.squirrel@ssl.omd3.com> > I installed David's files and applied the patch. I > recompiled and installed a new kernel. The card was > still not detected. My kernel contains the following > two lines: > > device oltr > pseudo-device token Looks good to me. Are you sure your card is setup for plug and play mode? You might want to download the Olicom setup disk and check if you're not sure. If it's not, then you can either enable it, or specifically give the various I/O parameters on the "device oltr" line so the driver can find the card. > I think the driver should be in /modules, but I don't > see it there. It would be if_oltr.ko right? No, the driver does not compile a loadable module. It will be embedded in the kernel itself. I have actually modified it since to generate a loadable module, but there's still more work to do on that version so I haven't posted it yet. David