LINUX.ORG.RU
ФорумAdmin

Как поднять мультипортовку (часть 2)


0

0

Как поднять мультипортовку
Господа! Я начинающий сисадмин. Большой Босс (ББ), задал задачу - поднять мультипортовку. Создал устройства cuaa2-cuaa8. Я пытаюсь выполнить slatach -c -h -l -s 57600 /dev/cuaa2, а в ответ - устройство /dev/cuaa2 не сконфигурированно. В GENERIC прописываю:
device sio4 at isa? port ... tty flags ... vector siointr;
config GENERIC
А он мне в ответ: syntax error
И что делать?
Покорнейше прошу ответов типа RTFM не присылать.
С уважением, Солнышко

Что у тебя за плата? Например у меня Зеленоградская на 8 портов Вот файл конфигур. # # /etc/rc.serial # Initializes the serial ports on your system # # Version 2.01 # cd /dev SETSERIAL="/bin/setserial -b" PORTS=`echo cua? cua??` #echo -n "Configuring serial ports...." echo "Configuring serial ports...." # Do wild interrupt detection (uncomment if you're brave enough to # attempt auto-configuration... ) # # ${SETSERIAL} -W ${PORTS} ############################################################### # # AUTOMATIC CONFIGURATION # # Uncomment the appropriate lines below to enable auto-configuration # of a particular board. Or comment them out to disable them.... # ############################################################### # Do AUTOMATIC_IRQ probing # #AUTO_IRQ=auto_irq # These are the standard COM1 through COM4 devices # # If you have an internal modeme with a Rockwell Chipset, add a "skip_test" # to the /dev/cua3 line below. (It's not added by default because it will # screw up people with 8514 displays). # # ${SETSERIAL} /dev/cua0 ${AUTO_IRQ} skip_test autoconfig # ${SETSERIAL} /dev/cua1 ${AUTO_IRQ} skip_test autoconfig # ${SETSERIAL} /dev/cua2 ${AUTO_IRQ} skip_test autoconfig # ${SETSERIAL} /dev/cua3 ${AUTO_IRQ} autoconfig # These are for the first AST Fourport board (base address 0x1A0) # # ${SETSERIAL} /dev/cua4 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua5 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua6 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua7 ${AUTO_IRQ} autoconfig # These are for the second AST Fourport board (base address 0x2A0) # # ${SETSERIAL} /dev/cua8 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua9 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua10 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua11 ${AUTO_IRQ} autoconfig # These are the 3rd and 4th ports on the Accent Async board. # # ${SETSERIAL} /dev/cua12 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua13 ${AUTO_IRQ} autoconfig # Usenet Serial Board II (base address 0x100) # # ${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig # BocaBoard 4 port (BB-1004) (base address 0x100) # # ${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig # BocaBoard 8 port (BB-1008) (base address 0x100), # or two BB-1004's (base addresses 0x100 and 0x120) # # ${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua20 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua21 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua22 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua23 ${AUTO_IRQ} autoconfig # BocaBoard 16 port (BB-1008), (base address 0x100), # or two BB-1008's (base addresses 0x100 and 0x140), # or four BB-1004's (base address 0x100, 0x120, 0x140, and 0x160) # # Warning --- some of these ports may conflict with the Future Domain # SCSI controller. If you want to run both the BocaBoards and the # Future Domain controller, you may need to change the port assignment # of the Bocaboards -- see below in the section on manual configuration. # # ${SETSERIAL} /dev/cua16 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua17 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua18 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua19 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua20 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua21 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua22 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua23 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua24 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua25 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua26 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua27 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua28 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua29 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua30 ${AUTO_IRQ} autoconfig # ${SETSERIAL} /dev/cua31 ${AUTO_IRQ} autoconfig ############################################################### # # MANUAL CONFIGURATION # # If you want to do manual configuration of one or more of your # serial ports, uncomment and modify the relevant lines. # ############################################################### # These are the standard COM1 through COM4 devices # # ${SETSERIAL} /dev/cua0 uart 16450 port 0x3F8 irq 4 # ${SETSERIAL} /dev/cua1 uart 16450 port 0x2F8 irq 3 # ${SETSERIAL} /dev/cua2 uart 16450 port 0x3E8 irq 4 # ${SETSERIAL} /dev/cua3 uart 16450 port 0x2E8 irq 3 ${SETSERIAL} /dev/cua0 uart 16550A port 0x3F8 irq 4 ${SETSERIAL} /dev/cua1 uart 16550A port 0x2F8 irq 3 #${SETSERIAL} /dev/cua2 uart 16450 port 0x3E8 irq 9 #${SETSERIAL} /dev/cua3 uart 16450 port 0x2E8 irq 5 # These are the first set of AST Fourport ports # ${SETSERIAL} /dev/cua4 uart 16450 port 0x1A0 irq 10 fourport ${SETSERIAL} /dev/cua5 uart 16450 port 0x1A8 irq 10 fourport ${SETSERIAL} /dev/cua6 uart 16450 port 0x1B0 irq 10 fourport ${SETSERIAL} /dev/cua7 uart 16450 port 0x1B8 irq 10 fourport # These are the second set of AST Fourport ports # # ${SETSERIAL} /dev/cua8 uart 16450 port 0x2A0 irq 5 fourport # ${SETSERIAL} /dev/cua9 uart 16450 port 0x2A8 irq 5 fourport # ${SETSERIAL} /dev/cua10 uart 16450 port 0x2B0 irq 5 fourport # ${SETSERIAL} /dev/cua11 uart 16450 port 0x2B8 irq 5 fourport # These are the 3rd and 4th ports on the Accent Async board. # # ${SETSERIAL} /dev/cua12 uart 16450 port 0x330 irq 4 # ${SETSERIAL} /dev/cua13 uart 16450 port 0x338 irq 4 # These are two spare devices you can use to customize for # some board which is not supported above.... # ${SETSERIAL} /dev/cua14 uart XXXXX port XXXX irq X # ${SETSERIAL} /dev/cua15 uart XXXXX port XXXX irq X # These are the ports used for either the Usenet Serial II # board, or the Boca Board 4, 8, or 16 port boards. # # Uncomment only the first 4 lines for the Usenet Serial II board, # and uncomment the first 4, 8, or all 16 lines for the # Boca Board BB-1004, BB-1008, and BB-2016 respectively. #Leo #For Arnet Multiport 8 clone from Zelinograd ${SETSERIAL} /dev/cua16 uart 16550 port 0x200 irq 7 ${SETSERIAL} /dev/cua17 uart 16550 port 0x208 irq 7 ${SETSERIAL} /dev/cua18 uart 16550 port 0x210 irq 7 ${SETSERIAL} /dev/cua19 uart 16550 port 0x218 irq 7 ${SETSERIAL} /dev/cua20 uart 16550 port 0x220 irq 7 ${SETSERIAL} /dev/cua21 uart 16550 port 0x228 irq 7 ${SETSERIAL} /dev/cua22 uart 16550 port 0x230 irq 7 ${SETSERIAL} /dev/cua23 uart 16550 port 0x238 irq 7 # ${SETSERIAL} /dev/cua24 uart 16550A port 0x140 irq 12 # ${SETSERIAL} /dev/cua25 uart 16550A port 0x148 irq 12 # ${SETSERIAL} /dev/cua26 uart 16550A port 0x150 irq 12 # ${SETSERIAL} /dev/cua27 uart 16550A port 0x158 irq 12 # ${SETSERIAL} /dev/cua28 uart 16550A port 0x160 irq 12 # ${SETSERIAL} /dev/cua29 uart 16550A port 0x168 irq 12 # ${SETSERIAL} /dev/cua30 uart 16550A port 0x170 irq 12 # ${SETSERIAL} /dev/cua31 uart 16550A port 0x178 irq 12 ########################################################### # # Print the results of the serial configuration process # ########################################################### echo "done." ${SETSERIAL} -bg ${PORTS}

anonymous
()
Ответ на: комментарий от anonymous

Читайте: как-же поднять мультипортовку (часть3)

AlextheSun
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.