Subject: Nell PCMCIA/modem
To: None <port-sparc@netbsd.org>
From: Antonio Prioglio <a.prioglio@city.ac.uk>
List: port-sparc
Date: 04/22/2002 16:25:03
Still trying to get nell/com to work.

Following the current thread on nell I abilitated debugging on nell
as well.

[snip]
nell0 at sbus0 slot 1 offset 0x0 level 4 (ipl 7) level 7 (ipl 13): rev 1
socket[0] registers:
        ICR0=0
        ICR1=0<VPP1EN=0,VPP2EN=0>
        ISR0=15364<IOIS16,STSCHG,SPKR,CD1ST,CD2ST,WPCHG,BVD1CHG,BVD2CHG>
        ISR1=1<REV=1,PCTYPE=0>
pcmcia0 at nell0 socket 0
nell0: configuring card for MEM ONLY useage
com0 at pcmcia0 function 0nell0: configuring card for IO useage
: serial device
com0: ns16550a, working fifo
socket[1] registers:
        ICR0=0
        ICR1=0<VPP1EN=0,VPP2EN=0>
        ISR0=37074<IOIS16,IOREQ,STSCHG,SPKR,WPCHG,RDYCHG,BVD1CHG,BVD2CHG,CDC
        ISR1=1<REV=1,PCTYPE=0>
pcmcia1 at nell0 socket 1
cgthree0 at sbus0 slot 3 offset 0x0 level 9: , 1152 x 900
cgthree0: attached to /dev/fb
stp4020_statintr: ISR0=42364<IOIS16,STSCHG,SPKR,CD1ST,CD2ST,RDYCHG,SCINT>
stp4020[0]: Ready/Busy change
stp4020_statintr: ISR0=74<IOIS16,IOREQ,STSCHG,SPKR>
[snip]

The above is from a NetBSD sparc dist snapshot 1.5.3RC1 with a cvs update 
(from /usr/src!) made on the 20th. (machine is sparc classic, modem is in 
slot0)

After creating /dev/ttyC0 with MAKEDEVS and a /etc/uucp/port as in the 
NetBSD userguide, after a cu -p modem

this is the log:
--------------------------------------
nell0: configuring card for IO useage
com_iflush timeout ff
com_iflush timeout ff
com_iflush timeout ff
com_iflush timeout ff
--------------------------------------
and no reply from the modem.
same results with minicom.

What does it mean "com_iflush timeout ff"? (I've skimmed through the 
pcmcia/com driver, but I didn't see any reference to this message)

What other option can be activated to have a clearer debug profile?

Thank you for any suggestion. (I'm new to NetBSD)


-- 
Regards,
Antonio Prioglio [a.prioglio@cbtcentre.co.uk]
http://www.cbtcentre.co.uk
====================================================
Cognitive Behavioural Therapy Centre - London