[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference mvblab::alphaserver_4100

Title:AlphaServer 4100
Moderator:MOVMON::DAVISS
Created:Tue Apr 16 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:648
Total number of notes:3158

630.0. "combo_diag test syntax" by VAXRIO::16.179.32.71::CARDOSO () Tue May 27 1997 16:51

	Hi,

	 I'am not able to find out the correct sintax for combo_diag test.
	 The machine is AlphaServer 4100 and I need to verify the functinality
	of parallel port at console prompt.

	Thanks in advance,

	Regards,

	Daniel Cardoso.
	MCS/CSC - Brazil

T.RTitleUserPersonal
Name
DateLines
630.1Testing PARA from SRM consoleMAY30::CUMMINSTue May 27 1997 19:1129
    Two ways to test the parallel port from console:
    
      1. With an external loopback connector..
    
         P00>>> set mode diag              # put console in diag mode
         P00>>> load para                  # exercise para with EXER..
         P00>>> exer para -bs 1 -a 'wRc' -l 400 -p 0 &
         P00>>> show_status                # to view EXER progress
         P00>>> kill_diags                 # to abort EXER testing
    
      2. Without an external loopback connector..
    
         P00>>> set mode diag              # put console in diag mode
         P00>>> set d_trace on             # enable test tracing
         P00>>> combo_diag -t 16,18 -p n   # internal loopback only
    
    
     An external loopback connector should have this configuration:
     
       1  --->  13      Strobe----------------Inverted--->Select
       2  --->  15      DB0------->Error
       10 <---  16      Ack<-------Init
       11 <---  17      Busy<------Selectin
       12 <---  14      Paperend<-------------Inverted---Autofeed
    
    
    Let me know if problems/questions..
    
    BC
630.2Little more detail !VAXRIO::16.179.32.71::CARDOSOWed May 28 1997 09:4416
	Hi, Cummins

	Many thanks for your fast reply.
	Before preparing the loopback connector, is it possible to do the
loopback test with the printer connected to the port ? Does it comes out a
pattern test ?
	Thanks again.
	Best regards.

	Daniel Cardoso
	MCS/CSC - Brazil

PS: I'm talking to the customer by phone.


630.3Using EXER with a printer connectedHARMNY::CUMMINSWed May 28 1997 11:2525
    Yes, you could use EXER similarly to that described previously, but with a
    printer installed. With different qualifiers.. Since you won't be reading
    back what you write, you won't want to use reads (R,r) or compares (c) in
    the EXER action string (-a qualifier). A sample command sequence follows:
    
    P00>>>set mode diag              # put console in diag mode
    P00>>>load para                  # exercise para with EXER..
    P00>>>echo "48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70" >foo
    P00>>>for next in 'cat foo';do      # perform a bunch of writes to para
    _>exer -bs 1 -d1 'next' -a 'w' -l 50 para
    _>done                           # 
    P00>>>
    P00>>>help exer
    NAME    
      exer
    FUNCTION
      Exercise one or more devices.
    SYNOPSIS
      exer [-sb <start_block>] [-eb <end_block>] [-p <pass_count>] 
      [-l <blocks>] [-bs <block_size>] [-bc <block_per_io>] 
      [-d1 <buf1_string>] [-d2 <buf2_string>] [-a <action_string>] 
      [-sec <seconds>] [-m] [-v] [-delay <milliseconds>] 
      <device_name>... 
    
    P00>>>
630.4Little more help.VAXRIO::16.179.32.123::ManoelFri May 30 1997 09:3214
	Hi,
	Here is a friend of Daniel, he asked me to help him with this
problem, because he won't be able to be here today.
	I talked to the customer by phone and the internal test went fine, but
the external one gives a sintaxe error.
	What does it mean 'cat foo' ? in the previous command.
	I was not able to find these test sintaxes in any manual.

	Best Regards.


				Manoel F. Abreu Neto (MCS/DEC@Rio)

630.5Wrong single quote used?HARMNY::CUMMINSMon Jun 02 1997 14:1111
    For details about advanced console commands and scripting, see pointer
    to SRM console command line interface (CLI) document in note 404.3.
    
    You'll have to post a log of the problem for me to help. Unless the
    problem is that the user used  `  instead of  '  when typing the line:
    
    Should be:         for next in 'cat foo';do  
    
    Was out on Friday. Sorry for late reply..
    
    BC