|
I ultram tramadol hci stalling Boca Card Mini-HOWTODavid H. Dennis david@amazing.com Joy Yokley - Converted document from HTML to DocBook v4.1 (SGML)2001-01-17Revision History ultram tramadol hci Revision 1.1 2001-01-17 Revised by: JEY Revision 1.0 1997-07-08 Revised by: DHD Describes the basic ultram tramadol hci of a Boca 16-port Serial Card (Boca 2016) used withLinux.-----------------------------------------------------------------------------Table of Contents1. Introduction2. Warning3. What do you n ultram tramadol hci ed to install a BocaBoard? 1. 4. The Basic Procedure 4.1. Recompiling the Kernel 4.2. Installing the Card 4.3. Telling Linux about Your Card 5. Possible Problems 5.1. ultram tramadol hci Additional Information and Service Comments 6. Acknowledgements-----------------------------------------------------------------------------1. IntroductionThis HOWTO is being maintained by ultram tramadol hci David H Dennis, david@amazing.com, to tryand help any other individuals who may have acquired a BocaBoard, stared atit and found out that it didn't seem to do anything.A very high percentage of ultram tramadol hci those interested in the BocaBoard are alsointerested in becoming Internet Service Providers (ISPs). If you are one ofthem, please feel free to drop by my web site, [http://www.amazing.com] http ultram tramadol hci //www.amazing.com, and check out my Inet-Access FAQ, over 9,000 linesdetailing how to hook up to the net and how to make your Internet providerbusiness succeed in these most interesting times.- ultram tramadol hci ---------------------------------------------------------------------------2. WarningMulti-Port serial cards, such as the BocaBoard, are all but dead. If you arein business as an Internet Servi ultram tramadol hci e Provider (ISP), you will not want to useany of these devices, because the new 56k modem standards will not supportthem. Instead, you need digital modem/terminal server combinations such asthe ultram tramadol hci Livingston PM3 ?? , Cisco 5200 ?? or US Robotics Total Control ??.Otherwise, you simply won't be competitive in major markets. Users want highspeeds; you won't be able to provide them with a Bo ultram tramadol hci aBoard or othermulti-port serial card.Even as a multi-port serial card, the BocaBoard is hopelessly obsolete. Theoverwhelming majority of people who want to buy a BocaBoard would be betteroff g ultram tramadol hci tting a accelerated card such as the Cyclades?? or Rocketport??. (Whenlast I looked, Rocketport?? was a better board, but Cyclades?? had the moststable kernel support). Accelerated cards use le ultram tramadol hci s of the CPU of yourmachine, and so you can support more ports per computer with less performancedegradation.That being said, perhaps you own one of these devices and want to make use ofit, or ultram tramadol hci erhaps you are planning an ISP based on a low-cost business modelthat basically means the use of cast-off equipment from others. In that case,the information in this document should be useful f ultram tramadol hci r you. But again, Irepeat: The person who buys a new BocaBoard at this point probably needs afew more clues before starting his ISP or other venture.-------------------------------------------- ultram tramadol hci --------------------------------3. What do you need to install a BocaBoard? 1. The board itself and its manuals 2. Your Linux source tree 3. Patience ----------------------------------- ultram tramadol hci -----------------------------------------4. The Basic Procedure4.1. Recompiling the KernelThe first step is to change your kernel so that it knows you have aBocaBoard. Unfortunately, this is no ultram tramadol hci a part of the configure script; youmust go in and modify the source by hand. In the older versions of thekernel, this consists of putting the following line at the beginning of linux/drivers/c ultram tramadol hci ar/serial.c: #define CONFIG_BOCA 1 As of some kernel version or another, this has changed. To make it work withnewer kernels, search for th ultram tramadol hci "BOCA_FLAGS" #define in serial.c, and change the value to#define BOCA_FLAGS ASYNC_BOOT_AUTOCONF ultram tramadol hci You can then recompile your kernel using the instructions included with thesource tree. I recommend running the new kern ultram tramadol hci l from a floppy until you'revery sure it works; otherwise, the procedure for getting back your system ismind-numbing at best.At least to me, digging into my kernel and re-compiling it was quite ultram tramadol hci astressful venture! Relax; as long as you copy it to a floppy, your new kernelis completely harmless. It won't bite! Honest! :-)----------------------------------------------------------------- ultram tramadol hci -----------4.2. Installing the CardThe default address on both the card and the Linux software for theconfiguration is 0x100; leave that alone. Set the IRQ on the card to Linuxdefault of 12. If ultram tramadol hci you want to change the IRQ, you will have to search for"BOCA_FLAGS" in the file. You will find lines like this: { BASE_BAUD, 0x100, 12, BOCA_FLAGS }, /* ttyS16 ultram tramadol hci */ { BASE_BAUD, 0x108, 12, BOCA_FLAGS }, /* ttyS17 */ ultram tramadol hci You can change the IRQ from 12 by changing the 12 to any valid IRQ. I havenot tried this, however.---------------------------------------------------- ultram tramadol hci ------------------------4.3. Telling Linux about Your CardOnce you have compiled your new kernel, switch off the machine and installthe card. Then, turn your machine on with the new kernel flop ultram tramadol hci y in the drive.If the installation succeeded, you should see all sorts of strange stuffabout 16550 UARTS being connected to ttyS16-ttyS32. The system will then comeup normally.The odds are pret ultram tramadol hci y good that you don't actually have entries in /dev forthose lines. Remember that they start at 16 and go on to 32. If you look atthe source code, you'll see why; support for other cards is inc ultram tramadol hci uded in thecode for lower line numbers. Creating them is pretty simple, once you knowthe trick.To create entries for dial-out lines (where you call out), type:#mknod /dev/cuaxx c 4 N ultram tramadol hci n = 64 + {line number}. The C indicates that this is a character mode device.For example, to create the first couple of lines on your board, type:#mkno ultram tramadol hci /dev/cua16 c 4 80 #mknod /dev/cua17 c 4 81 To create dial-in lines (where users call you ultram tramadol hci , type:#mknod /dev/ttySxx c 5 n where N is the same as described above. For example, to create the firstcouple of lines on your BocaBoard, ty ultram tramadol hci e:#mknod /dev/ttyS16 c 5 80 #mknod /dev/ttyS17 c 5 81 It is recommended that you create bot ultram tramadol hci dial in and dial out lines for eachport, so that you have maximum flexibility. It turns out to be very handy tocall another line of your system by activating one of your lines as dial-outand c ultram tramadol hci lling your main number. I've done this already and it works great! It'smost useful for checking how things look "on the other side of the fence"; Iused it to find out how my software looked at ultram tramadol hci 400bps. (It's slower than theLinux console. A LOT slower, in fact).Once you've finished with this, you can add entries to your inittab file inthe same way as you would for a standard ttySx entr ultram tramadol hci , and the modems orterminals should come up!-----------------------------------------------------------------------------5. Possible ProblemsIf you have problems, you may find that this is due ultram tramadol hci o conflicts between yourBocaBoard and systems with dual IDE controllers. According to Kevin Traas: Is the kernel recognising the board? (i.e. Right at the start of the boot process, ultram tramadol hci all sixteen ports should be listed on screen with ttySxx, I/O Port, and IRQ identified.) Also, setserial -bg ttyS* should list *every* port in your system. By default, the BB2016 is ultram tramadol hci configured to use IO Ports between 0100 and 017f. This creates problems on systems with two IDE controllers. The second controller, ide1, uses 0170-0177 which falls into this range. Big ultram tramadol hci problems!!! So, the solution, in my cases, is to go with an IO base of 0200 through 027f. I haven't had any conflicts in this region; however, you may want to check you system to b ultram tramadol hci sure. (run cat /proc/ioports - better run cat / proc/interrupts to make sure IRQ 12 isn't used either.) Once you've found an IO range and IRQ that isn't used, you'll have to change ultram tramadol hci the jumpers on the BB2016 and edit /usr/src/linux/drivers/char/ serial.c to reflect the new settings. Then, compile the kernel and install as per normal. ------------------------------- ultram tramadol hci ---------------------------------------------5.1. Additional Information and Service CommentsIf you want to use your new Boca card with any standard DB-25 RS232connector, you will have to get a ultram tramadol hci special breakout box, which costs about$80. The card itself comes with a breakout box that plugs into the cardthrough a truly formidable cable. It then supplies phone-like cables for theports. ultram tramadol hci he special $80 box has phone-like cables that plug into the breakoutbox included with the Boca card; you can then plug your modems or terminalsinto standard RS-232 connectors on the box. Unless ultram tramadol hci you actually have a systemthat accepts the phone-like connectors, you should add the price of the boxto the cost of the card when comparing it to other alternatives.I got my Boca 2016 card through a special wholesale deal that I don't thinkmany people will be able to reproduce. It was available quickly. However, thebreakout box for RS-232 took about two weeks to ship. You should be aware ofyour need for this box before you acquire the card. The 2016 board was $235and the additional box was $79.95.I've heard that this breakout box is no longer available, and that now peoplejust have special cables made. I'm not sure how you would go about doingthis, though.Only one port of my first Boca 2016 worked. I called Boca, expecting to heara long string of questions and advice. When they said, "Linux? What's that?"I feared the worst. However, upon hearing my actual problem, they cheerfullytold me that the card was defective and I should send it back; full 5-yearfactory warranty, 30-days exchange. I was struck by how cheery the lady was.It was as though they were expecting the worst, and very kindly making themost of it!I had my hardware guy exchange the card. Unfortunately, the cards wereb
|