Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!qns1.qns.com!news.sprintlink.net!hookup!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gumby!yale!yale.edu!nigel.msen.com!zib-berlin.de!cs.tu-berlin.de!nuggets
From: nuggets@cs.tu-berlin.de (Lars Hentschke)
Newsgroups: comp.os.386bsd.questions
Subject: GAMMA-sio and dsp problem
Date: 29 Apr 1994 21:27:12 GMT
Organization: Technical University of Berlin, Germany
Lines: 157
Message-ID: <2pru3g$n70@news.cs.tu-berlin.de>
NNTP-Posting-Host: troll.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi
I've some trouble with my sio's, strange things ...
and a question about snd-driver.
I want use my modem on sio0 with getty and tip (bidir),
but call-out-device is busy and sometimes silo overflow ...
DESCRIPTION of my problem:
486/50 16MB AHA1742 Ne2000 PAS16 2ser 1par MiroCrystal16Si_2MB_VLB
240MB+525MB FreeBSD1.1-GAMMA
1. I turn on power and boot up.
2. in rc.local i set sio0 with stty and comcontrol for
bidir and modem:
echo -n 'setup modem '
comcontrol /dev/ttyd0 bidir
stty -f /dev/ttyd0 38400 hupcl -clocal -istrip tty ixon -ixany
stty -f /dev/ttyd0 cs8 -parenb crtscts
echo '.'
3. getty comes up on sio0 with 38400:
(/etc/ttys)
ttyd0 "/usr/libexec/getty std.38400" vt100 on
DEVICES ARE:
tworivers ROOT root 19 (/tmp): ls -lag /dev/cua00 /dev/ttyd0
crw------- 1 uucp wheel 28, 128 Apr 29 16:30 /dev/cua00
crw------- 1 root wheel 28, 0 Apr 29 17:32 /dev/ttyd0
KERNEL IS:
options "COM_BIDIR"
options "COM_MULTIPORT"
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
PROBING DURING BOOT: OK.
4. login as root on local console and use tip:
tworivers ROOT root 22 (/tmp): tip dial38400 (... WORKS fine)
(/etc/remote)
dial38400:\
:dv=/dev/cua00:br#38400:pa=none:
5. login over modem:
HERE COMES ON THE FOREIGN SITE MUCH LIKE "GF#@%$SGFA " AFTER
"CONNECT 14400"
SOMETIMES MY LOCAL CONSOLE (during login-tries) IS FULL OF
sio0: 1 more silo overflow (total 91)
sio0: 1 more silo overflow (total 92)
sio0: 1 more silo overflow (total 93)
sio0: 1 more silo overflow (total 94)
sio0: 1 more silo overflow (total 95)
here i'm working 3 days continously, but a login over modem
was NEVER succesful, my friends on the other side can read
much CRUNCH like "%@GGSH" and today "NO CARRIER".
tworivers ROOT root 24 (/tmp): ps ax
PID TT STAT TIME COMMAND
0 ?? DLs 0:00.55 (swapper)
1 ?? Is 0:00.21 init --
2 ?? DL 0:13.01 (pagedaemon)
3 ?? DL 0:00.97 (update)
29 ?? Ss 0:00.35 syslogd
45 ?? Ss 0:00.54 cron
48 ?? IWs 0:00.02 portmap
52 ?? Is 0:00.06 routed -q
59 ?? IWs 0:00.08 lpd
64 ?? Is 0:00.56 sendmail: accepting connections
67 ?? Is 0:00.28 inetd
90 ?? I 0:00.24 /usr/X386/bin/xdm
##############################################################
9828 ?? I 0:00.04 /usr/libexec/getty std.38400 ttyd0
##############################################################
25111 ?? RU 0:18.80 /usr/X386/bin/X -auth /usr/X386/lib/X11/xdm/A:0-b00090
25112 ?? I 0:00.21 -:0 (xdm)
25123 ?? I 0:00.10 /bin/sh /usr/X386/lib/X11/xdm/Xsession
25127 ?? I 0:00.31 xconsole
25128 ?? SU 0:01.01 xterm -sl 500 -sb -geometry 80x44+156+78 -fn -*-courie
25130 ?? S 0:00.96 fvwm
25132 ?? S 0:00.45 /usr/X386/lib/X11/fvwm/GoodStuff 10 7 /root/.fvwmrc 0
25133 ?? S 0:00.10 /usr/X386/bin/FvwmSound 12 7 /root/.fvwmrc 0 0
25142 ?? SU 0:00.43 /usr/X386/bin/xload
25144 ?? S 0:00.16 /usr/local/X11/bin/oclock
25135 p1 Ss 0:01.01 -csh (tcsh)
25189 p1 RU+ 0:00.04 ps ax
86 v8- I 0:04.97 /usr/X386/bin/fs -port 7777
6. after 1-2hours (TV or cookie-time):
tworivers ROOT root 25 (/tmp): cat /dev/cua00
cat: /dev/cua00: Device busy
tip didnt work, but getty runs on ttyd0
and sio0 is always bidir:
tworivers ROOT root 26 (/tmp): comcontrol /dev/ttyd0
bidir dtrwait 200
i cannot find a process, wich works on /dev/cua00 !
7. give up ...
Any good Ideas? (FreeBSD1.0-release means nothing like 'silo overflow',
but login also fails)
##############################################################################
The other Question is about the snd-driver and sampling over /dev/dsp
or /dev/dsp16:
My PAS16 has a buffer with a size of 64k on board.
FreeBSD-1.0-RELEASE detects this with 32k (ioctl SNDCTL_DSP_GETBLKSIZE)
Result was KNACK ................. KNACK ................ KNACK
FreeBSD-1.1-GAMMA detects this with 4k
Result was KNACK ... KNACK ... KNACK ... KNACK ... KNACK ... KNACK
WHY DO THEY NOT DETECT 64k ?
Hmmmm i've tried to kill this KNACK:
Some people means, AHA1542 and ISA-Bus is a problem, well i've got
a AHA1742 and EISA. Sound playing was now stable and the
'KNACK' turns into a 'knack' (i mean volume).
Hmmmm i've got my 'Sherlock-Watson-Eye-Helper-Glass' and saw: this
knack is synchronous with my light on harddisk.
Hmmmm i've make a mfs-filesys (small enough, without X386 to
eliminate HD-activity) but no success: knack ... knack ... knack ...
sampling a CD, and you will hear a LP (very old LP)
Bang my head against a wall : ... knack ...
Bis denne: Lars.