Linux Token Ring Support Bringing Down Corporate Nets?
"My company runs Token Ring at the office (puke!) I got drivers from the card manufacturer (Madge), and I'd been happily churning along. Then last week, we started seeing a bunch of errors on the network. These errors would bring everyone on the ring down. After a week of this kinda stuff, they eventually isolated it to me.
Reboot the laptop into Windows and the network card works just fine and they don't see any ring errors. Reboot into linux, and suddenly they start seeing ring errors. I don't really grok token ring, so I'm not entirely certain that I know exactly what the problem is. But, whenever I brought the token ring on line under linux, they saw ring errors, which eventually (as I understand it) would bring down the entire ring. Switch cards (same model) and it continues to happen. It looked to me (and the network analysts) that the Linux driver was causing the problem.
I tried switching to an IBM token ring card, but there's a bug and I hadn't patched for this. The people with the fluke would not wait around while I tried to figure this out. I didn't have any other token ring cards that I could try.
In the end, I agreed not to boot into Linux unless I went into the conference room (which is one of the only rooms in the building with ethernet ports). How should I have done this differently so that using Linux would have been a more positive experience for my company?"
No excuse. If you say you support something and that support is stable... it should be so.
Fix it... don't say its not worth having anyway. Or if its not worth having strip token ring support out and save a few kB.
I had the same thing with a Microsot implementation of DHCP taking down My SCO server. I found a patch on SCO's website, which completely resolved this issue.
Perhaps the biggest problem in the computing industry in general, and in mixed os environments in general, is the fact that standards are often never actually standards. Even without casting blame on any of the products in question, standards are often not as defined as they should be, and any liberties or assumptions made by programmers, usually ends up in catastrophic incompatibilities. Regardless of where the blame lies (MS, BSD or Linux not following standards), the solution is to viehemently define standards so that there is no question about their implementation.
If you already have ethernet in a conference room it might not be too hard to just have the port you use added to whatever hub they use for the conference room.
It seems that you are running on a laptop since you can move you computer to the conference room. Another option is to insist that they put up an 802.11b network. You could then wander freely and have wireless ethernet. Even better!
Lasers Controlled Games!
Not true. There's gigabit TokenRing just like there's gigabit Ethernet. What's more, TR has collision avoidance built into the protocol, where Ethernet networks have to be architected in star topologies to avoid collision, because Ethernet responds horribly.
Of course, Ethernet costs so little that you can build an Ethernet in a star topology for less than a TokenRing in a ring topology. "Good enough" wins again.
You do have a way out: use the IBM card. It was working a few years ago, and I imagine it's still working today. Yes, you do have to patch the kernel--what's the problem with that?
If that's not to your liking, you can throw money at the problem and buy a TokenRing/Ethernet bridge and use an Ethernet card on the Linux machine. Maybe your managers will see the light and convert more of your network to Ethernet.
In general, TokenRing is dead technology. Many operating systems just don't support it at all anymore. How long should Linux carry the burden of supporting outdated and flaky technologies?
Token ring was often more reliable than Real Ethernet Thick-wire with Vampire Taps - the mechanical connectors were better than just chomping your way into a coax cable with the possible risk of trashing the code enough to get reflections. I'm not sure if it was better than connectorized thinwire or not, and it certainly wasn't better than Cat5 10baseT, at least if you used genuine Cat5 and didn't cheat with Cat3 (or didn't use cable-TV coax instead of proper thinwire :-) Back when I used to deal with this awful stuff, I had one customer for whom the original Ugly Shielded Twisted Pair token-ring really did make sense - they were a city's Department of Water and Power, and they had lots of Really Big Electric Motors which were a really bad electrically noisy environment, and their network needed all the help if could get. These days I hope they're using fiber.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Wow! This has *got* to be what the problem was. This problem started showing up right around the time of the big Code Red hubub. So I installed snort just to watch and see what was going on. Snort, of course, uses libpcap and puts the card into promiscuous mode. Right afterwards, is when we started seeing problems on the network.
Holy schnikies! You must have been in the room! That is *exactly* what happened. They discovered these errors and basically said that the errors were the *only* thing that they could see that was wrong with the network. From this they concluded that the problem must have been caused by my running Linux.
About the only thing that does not fit, is that since I've stopped running Linux on the network at work, the problem has completely gone away. Not a single recurrance in several weeks time (I actually submitted this article to /. many weeks ago. Why it took so long to get accepted, I dunno.) They did, as part of their process of troubleshooting replace all of the TR equipment in the closet. But even after they did that, we were still having problems. So far the only thing that seems to have fixed this problem was me staying out of Linux.
Thanks for you're very informative post!
Key to financial independence: Spend less than you earn. Save and invest the difference. Do it for a long time.
Where I work we installed ibm cards and used the driver that came with our redhat 5.1 distribution. The only problem we encountered was getting messages about network problem resets. It was reporting problems being corrected that a bridge was having in another building - a problem our IT people knew nothing of. After informing our IT department, we commented out the message in the driver. The sytem has been running for around three years now and has not been the cause of a single problem on the Token Ring network. We also installed two ethernet cards in each machine along with the TR card and they all get along without any problems.