Hello,

I'm having trouble getting my final config sorted out.

The system is thus: RedHat 5.2, Kernel 2.2.13 with updated utils, glibc
etc... all as needed for 2.2.x kernels.

System config: Cyrix M11 233, 32Mb RAM, 520Mb HD, IDE CD, ZIP drive (ppa),
on a PC-Chips TX-Pro-II motherboard.

2 x SCC cards (one BAYCOM USCC, one PACCOMM PC100)

4 x serial ports (ttyS0 = mouse, ttyS1 = KISS TNC @ 4800baud, ttyS2 = KISS
TNC @ 9600baud, ttyS3 = YAM @ 9600baud)

Problem:

I can't get my YAM modem to initialise as it claims the serial port is busy,
and I can't seem to get kissattach to see the other serial ports properly.

I know that the ttyS00/S02 ttyS01/S03 interrupts are "shared" but even if I
remove two, it makes no difference. So the problem is elsewhere.

Here are some of my boot up messages... for a bit of background info..

Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16450
ttyS01 at 0x02f8 (irq = 3) is a 16450
ttyS02 at 0x03e8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
loop: registered device at major 7

Z8530 SCC driver version 3.0.dl1bke (experimental) by DL1BKE
early initialization of device scc0 is deferred
dmascc: autoprobing (dangerous)
dmascc: no adapters found
AX.25 ethernet driver version 0.01
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
YAM driver version 0.8 by F1OAT/F6FBB
early initialization of device yam0 is deferred
early initialization of device yam1 is deferred
early initialization of device yam2 is deferred
early initialization of device yam3 is deferred
AX.25 Multikiss device enabled
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
  The PCI BIOS has not enabled this device!  Updating PCI command
0001->0005.
  PCI latency timer (CFLT) is unreasonably low at 0.  Setting to 32 clocks.
eth0: Intel EtherExpress Pro 10/100 at 0x5800, 00:90:27:5C:2C:34, IRQ 0.
  Receiver lock-up bug exists -- enabling work-around.
  Board assembly 721383-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).

scc0: data port = 0x300  control port = 0x304 -- found
scc1: data port = 0x301  control port = 0x305 -- found
scc2: data port = 0x302  control port = 0x306 -- found
scc3: data port = 0x303  control port = 0x307 -- found
scc4: data port = 0x280  control port = 0x284 -- found
scc5: data port = 0x281  control port = 0x285 -- found
Init Z8530 driver: 6 channels, IRQ 5,9

The SCC's seem to config OK but...

yamcfg uses obsolete (PF_INET,SOCK_PACKET)
Trying yam1 at iobase 0x2e8 irq 3
yam1: cannot 0x2e8 busy
Trying yam1 at iobase 0x2e8 irq 3
yam1: cannot 0x2e8 busy

That's a YAM on "COM3" (ttyS2)

This is my /proc/net/ioports file...

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0280-0280 : scc data
0281-0281 : scc data
0284-0284 : scc ctrl
0285-0285 : scc ctrl
02e8-02ef : serial(auto)
02f8-02ff : serial(auto)
0300-0300 : scc data
0301-0301 : scc data
0302-0302 : scc data
0303-0303 : scc data
0304-0304 : scc ctrl
0305-0305 : scc ctrl
0306-0306 : scc ctrl
0307-0307 : scc ctrl
0378-037a : parport0
03c0-03df : vga+
03e8-03ef : serial(auto)
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
4000-4007 : ide0
4008-400f : ide1
5800-581f : Intel Speedo3 Ethernet

Which shows that the serial interfaces are there..

Now here is an extract from my /etc/rc.d/rc.sysinit file...
It's not finished yet, I could do with some pointers / corrections.

#
# Fire up the SCC interfaces
#
/sbin/sccinit
#
# Now to setup up the interfaces
#
# NOS to Linux slip link (internal)
#
/usr/sbin/kissattach /dev/ptys0 axlink 44.131.162.129
/sbin/ifconfig ptys0 44.131.162.129 hw ax25 gb7zpu-8
/sbin/ifconfig ptys0 broadcast 44.131.162.143 netmask 255.255.255.128
/sbin/ifconfig ptys0 arp mtu 256 up
#
# Link to GB7PT via a YAM on COM2 (ttyS1)
#
/usr/sbin/yamcfg yam1 iobase 0x2e8h irq 3 txdelay 50
/sbin/ifconfig yam1 44.131.162.144 hw ax25 gb7zpu-10
/sbin/ifconfig yam1 broadcast 44.131.162.159 netmask 255.255.255.128
/sbin/ifconfig yam1 arp mtu 256 up
#
# 6m port on SCC port B
#
/sbin/ifconfig scc1 44.131.162.161 hw ax25 gb7zpu-6
/sbin/ifconfig scc1 broadcast 44.131.162.175 netmask 255.255.255.128
/sbin/ifconfig scc1 arp mtu 256 up
#
# 4m port on KISS TNC via COM3 (ttyS2)
#
/usr/sbin/kissattach 4m /dev/ttyS01 44.131.162.177
/sbin/ifconfig 4m 44.131.162.177 hw ax25 gb7zpu-4
/sbin/ifconfig 4m broadcast 44.131.162.191 netmask 255.255.255.128
/sbin/ifconfig 4m arp mtu 256 up
#
# 2m port on PC100 Port B
#
/sbin/ifconfig scc5 44.131.162.193 hw ax25 gb7zpu-2
/sbin/ifconfig scc5 broadcast 44.131.162.207 netmask 255.255.255.128
/sbin/ifconfig scc5 arp mtu 256 up
#
# 432.675MHz port on KISS TNC via COM4 (ttyS3)
#
/usr/sbin/kissattach 432 /dev/ttyS02 44.131.162.209
/sbin/ifconfig 432 44.131.162.209 hw ax25 gb7zpu-7
/sbin/ifconfig 432 broadcast 44.131.162.223 netmask 255.255.255.128
/sbin/ifconfig 432 arp mtu 256 up
#
# 433.650MHz port on USCC Port A
#
/sbin/ifconfig scc0 44.131.162.225 hw ax25 gb7zpu-9
/sbin/ifconfig scc0 broadcast 44.131.162.239 netmask 255.255.255.128
/sbin/ifconfig scc0 arp mtu 256 up
#
# 439.825MHz 9K6 on USCC Port D
#
/sbin/ifconfig scc3 44.131.162.241 hw ax25 gb7zpu-1
/sbin/ifconfig scc3 broadcast 44.131.162.255 netmask 255.255.255.128
/sbin/ifconfig scc3 arp mtu 256 up
#
# Link port 9K6 on USCC port C
#
/sbin/ifconfig scc2 44.131.162.253 hw ax25 gb7zpu-3
/sbin/ifconfig scc2 broadcast 255.255.255.128
/sbin/ifconfig scc2 arp mtu 256 up
#
# Link Port 9K6 on PC100 Port A
/sbin/ifconfig scc4 44.131.162.129 hw ax25 gb7zpu-5
/sbin/ifconfig scc4 broadcast 255.255.255.128
/sbin/ifconfig scc4 arp mtu 256 up
#
# Set up NETROM
#
/usr/sbin/nrattach -i 44.131.162.129 netrom
/usr/sbin/nrattach -i 44.131.162.129 netbbs
#
# Start up the daemons
#
/usr/sbin/ax25d
/usr/sbin/netromd
/usr/sbin/mheardd
/usr/sbin/axdigi &
/usr/local/fbb/xfbb.sh -d &

I know it's a long message with lots of stuff, but I'm stuck. I have read
and re-read the AX25-HOWTO, the DL1BKE help documents, and more examples
that I have pulled off of the 'net, but I can't seem to put all of the
information together to make sense out of what I have, and what I have done
(or not done!).

Without comments like RTFM, or It's easy... etc.. I'm on a steep learning
curve with Linux, and until recently I didn't even know how to delete files
& directories etc..

Kind regards

Rob G1ZPU

PS, I can't seem to configure eth0 properly either!!

===================================================================
Get paid to surf the web, tell your friends, and get paid while they surf
too!
Check out: http://www.teamdangerous.com
Links, Motorsport, A look a the lighter side of Amateur Radio, Homebrewing
and more
===================================================================

Reply via email to