--ZoomitID_=_t1942539.372
Content-Type: Text/plain;charset=us-ascii
Content-Disposition: Inline
Hello All,
I am having problem with the uscc driver with it locking up the pc and also am
unable to mke the ports transmit.
The card is on port 220 irq 11.
My system is a 486dx2-66 running redhat 4.1 with kernel 2.0.32,
ax25-module-14f, ax25-utils-2.1.42a and z8530-2.4c.
Should I be running the z8530 driver version 3 with the patched 2.0.32 kernel.
Has anybody experience these problems of lockups.
I also was trying to get the axdigipeating to work via these ports and cannot
see any action.
I found that i run sccinit and ifconfig the ports and the ports seem to
monitor and mheard ok, they will receive but not tx.
I tried using the baycom 1.6 program by booting on a dos floopy and running
baycom 1.6 and tx and rx via the ports so the hardware side seems ok.....
73 peter
--ZoomitID_=_t1942539.372
Content-Type: Text/plain;charset=us-ascii
Content-Disposition: Attachment; filename="Z8530D~1.CON"
# z8530drv.conf - initialization for the Z8530 SCC driver v 2.4
#
# Lines must not be longer than 255 bytes!
#
#
# Hardware section
#
# SCC chip 1
#
chip 1
data_a 0x220 # data port A
ctrl_a 0x224 # control port A
data_b 0x221 # data port B
ctrl_b 0x225 # control port B
irq 11 # IRQ No. 5 (#)
pclock 4915200 # clock (+)
board BAYCOM # hardware type (*)
escc no # enhanced SCC chip? (8580/85180/85280) (*)
vector no # latch for interrupt vector ($)
special no # address of special function register (*)
option 0 # option to set via sfr (*)
#
# (*) option, default value is 0
# (+) option, default is 4915200
#
# SCC chip 2
#
chip 2
data_a 0x222
ctrl_a 0x226
data_b 0x223
ctrl_b 0x227
board BAYCOM
#
# (#) all chips can share one interrupt, or you may use multiple INTs,
# but there must be at least one IRQ defined in this system.
# ($) only one Vector Latch for all Chips is allowed.
#
#
# Software section
#
# The order of entries IS important!
#
# first : DEVICE
# then : MODEM section
# after that: Level 1 parameters
#
# Definition of /dev/scc0
#
device /dev/scc0
#
# MODEM related stuff
#
speed 9600
clock ext
mode nrz
#
# Level 1 parameters
#
txdelay 5
persist 128
slot 10
tail 4
fulldup 0
wait 2
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd off
#
# Definition of /dev/scc1
#
device /dev/scc1
#
# MODEM related stuff
#
speed 1200 # 1200 baud
clock dpll # clock source: use the dpll
mode nrzi # normal NRZI operation
#
# Level 1 parameters
#
txdelay 30 # You should know about these already!
persist 128
slot 10
tail 4
fulldup 0
wait 12
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd on # use software dcd
#
#
# Definition of /dev/scc2
#
#
device /dev/scc2
#
speed 1200
clock dpll
mode nrzi
#
txdelay 30
persist 128
slot 10
tail 4
fulldup 0
wait 12
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd on
#
# End of File
#
--ZoomitID_=_t1942539.372
Content-Type: Text/plain;charset=us-ascii
Content-Disposition: Attachment; filename="AX25"
#!/bin/sh
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo Starting AX25
##############################
# Define variables
##############################
IPADDR="44.136.83.10"
IPADDR4050="44.136.83.3"
IPADDR4750="44.136.110.13"
IPADDR5000="44.136.96.193"
BROADCAST="44.136.83.15"
NETMASK8="255.0.0.0"
NETMASK23="255.255.254.0"
NETMASK24="255.255.255.0"
NETMASK25="255.255.255.128"
NETMASK26="255.255.255.192"
NETMASK27="255.255.255.224"
NETMASK28="255.255.255.240"
NETWORK="44.0.0.0"
RUMGATEWAY="44.136.83.33"
P10GATEWAY="44.136.83.2"
##############################
# Attach Async Interfaces
##############################
echo Attaching Async Interfaces
# Attach rumlink to ttyS1 (COM 2) with MTU 512
/usr/sbin/kissattach -i ${IPADDR} -m 512 /dev/ttyS1 rumlnk
# Set rumlink to full duplex, txtail 10mS, persist 255
# slottime 10mS, txdelay 10mS
kissparms -p rumlnk -f y -l 10 -r 255 -s 10 -t 10
# Set netmask and broadcast address
/sbin/ifconfig ax0 netmask 255.255.255.240 broadcast 44.136.83.15
##############################
# Configure BPQEther Interface
##############################
echo Configuring BPQ Interface
/sbin/ifconfig bpq0 ${IPADDR} hw ax25 vk3rpa-10 up
##############################
# Configure USCC>4 Card
##############################
echo Configuring USCC Card
# Initialise USCC>4 Card
# /sbin/sccinit
# Set IP Address and callsign on USCC>4 Ports
# Configure USCC>4 Port 0 - 9600 Baud port on 434.050MHz
# /sbin/ifconfig scc0 ${IPADDR4050} hw ax25 vk3rpa-4 mtu 512
# Configure USCC>4 Port 1 - 1200 Baud port on 144.750MHz
# /sbin/ifconfig scc2 ${IPADDR4750} hw ax25 vk3rpa-8 mtu 512
# Configure USCC>4 Port 2 - 1200 Baud port on 147.550MHz
# /sbin/ifconfig scc1 ${IPADDR} hw ax25 vk3rpa-5 mtu 512
##############################
# Configure AX.25 Parameters
##############################
echo Setting AX.25 Parameters
/usr/sbin/axsetparm
##############################
# Routing
##############################
echo Setting up routing on AX.25 ports
# Setup routing on port ax0 (rumlnk)
# Routing to 44 Network via vk3rum.ampr.org
/sbin/route add ${RUMGATEWAY} mss 512 window 512 ax0
/sbin/route add -net ${NETWORK} gw ${RUMGATEWAY} netmask ${NETMASK8} mss 512 window 512
# Setup routing on port ec0 to p10.vk3rpa.ampr.org (eth0)
/sbin/route add ${P10GATEWAY} mss 512 window 512 eth0
/sbin/route add -host 44.136.83.1 gw ${P10GATEWAY} dev eth0
# Routing to VK3RPS network
/sbin/route add -net 44.136.80.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3KSK Network
/sbin/route add -net 44.136.96.64 gw ${P10GATEWAY} netmask ${NETMASK27} mss 512 window 512
# Route to VK3TLW Local Network
/sbin/route add -net 44.136.83.16 gw ${P10GATEWAY} netmask ${NETMASK28} mss 512 window 512
# Route to VK3RPK IP Network
/sbin/route add -net 44.136.84.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RGU IP Network
/sbin/route add -net 44.136.120.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RMU IP Network
/sbin/route add -net 44.136.76.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RGV IP Network
/sbin/route add -net 44.136.104.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RBB IP Network
/sbin/route add -net 44.136.128.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RPC IP Network
/sbin/route add -net 44.136.110.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RPG IP Network
/sbin/route add -net 44.136.108.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to VK3RCU IP Network
/sbin/route add -net 44.136.106.0 gw ${P10GATEWAY} netmask ${NETMASK23} mss 512 window 512
# Route to Users on VK3RPA Local Net
/sbin/route add -net 44.136.96.192 gw ${P10GATEWAY} netmask ${NETMASK27} mss 512 window 512
#################
# Start netrom
#################
echo Starting Netrom
# attach primary netrom port
/usr/sbin/nrattach -i ${IPADDR} netrom
# attach converse bridge netrom id
/usr/sbin/nrattach -i ${IPADDR} converse
# attach dx cluster netrom id
/usr/sbin/nrattach -i ${IPADDR} cluster
# restore nodes table
/etc/rc.d/rc.nodes
# load netrom demon
/usr/sbin/netromd -i -q 255 -t 10
##################
# Setup Rose port
##################
#echo Starting Rose
# attach rose port
#/usr/sbin/rsattach -i ${IPADDR} rose
#####################
# Start ax25d
#####################
echo Starting ax25d
# Start ax25 demon
/usr/sbin/ax25d &
#####################
# Start mheardd
#####################
echo Starting mheardd
# Start mheard demon
/usr/sbin/mheardd &
#####################
# Start ax25 digi
#####################
echo Starting ax25digi
# Start ax25 cross port digi
/usr/sbin/axdigi &
#######################
# Callsign Associations
#######################
echo Associating callsigns with users
/usr/sbin/axparms -assoc vk3ave vk3ave
/usr/sbin/axparms -assoc vk3ave peterh
#####################
# Clear Login files
#####################
# Clear node users loggin file
> /var/ax25/node/loggedin
# Clear pms users loggin file
> /var/ax25/pms/loggedin
;;
stop)
echo "Stopping AX25"
killproc netromd
sleep 1
killproc ax25d
sleep 1
killproc mheardd
sleep 1
ifconfig rose0 down
sleep 1
ifconfig bpq0 down
sleep 1
echo
;;
*)
echo "Usage : /etc/rc.d/ax25 {start|stop}"
exit 1
esac
exit 0
--ZoomitID_=_t1942539.372--