SUMMARY: SPARCprinter problem

From: Taeko Thompson (txthom2@lookout.ecte.uswc.uswest.com)
Date: Thu Feb 16 1995 - 12:49:50 CST


Sun Managers,

I have rebootd the machine using "reboot -r"
several times, but that did not solve the problem.
So I decided to re-install "NewsPrint" as suggested.
But I needed to removed link "lpvi1" under /dev
before I did that. The device file created by re-installing
the printer looked exactly same as before. But the
printer is now working.
Thank you very much to the following people:

bismark@alta.jpl.nasa.gov (Bismark Espinoza)
clive@inteleq.com (Clive Beddall )
Jane.Medefesser@Eng.Sun.COM (Jane Medefesser)
dave%endeavour.exar.com@exar.com (Dave Haut)

Original Question:
-----------------

Hi, I need to get help from you again.
I have cheked FAQ, but could not find the solution.

One of our client has SS2 with Solaris2.3 running.
He also has a SPARCprinter connectd on his machine.
The printer was working fine until he installed a second
ethernet card on his machine. Originally, the printer card
was installed in Sbus slot1. But when he installed the
ethernet card, he moved the printer card to slot2 and
installed the ethernet card to slot1. The ethernet card
is working. But the printer is not working anymore.
When I try to print to the printer, the job stays in spool
forever. When I run lpc to check the status of the
printer, I see "waiting for SPARCprinter1 to become ready (offline?)"
and when I run lpq, I see "Warning: SPARCprinter1 is down: Failed
to open the printer port. (No such device or address)".
I checked the device (/dev/lpvi1) exsits. So I am not sure about
the meaning of the above messages.
I also checked boot messages (dmesg) and I saw the following:

BAD TRAP
lpvitest: Data fault
kernel read fault at addr=0x3, pme=0x0
Sync Error Reg 80<INVALID>
pid=490, pc=0xf000aaa8, sp=0xf041a608, psr=0x114000c1, context=8
g1-g7: ffffff88, 8000000, ffffffff, 0, f041a9e0, 1, ff782800
Begin traceback... sp = f041a608
Called from ff0c5534, fp=f041a680, args=f041a6e4 3 2 ff831f00 f041a6e4 c
Called from f00985e0, fp=f041a6f0, args=0 ff3d49f4 ff831f00 ff3d4980 ff0c642c ff0c4f48
Called from f00951d8, fp=f041a848, args=295bc 0 3 0 f041a8ac 0
Called from f00245f4, fp=f041a8b8, args=295bc 3 0 f041a920 295bc f00b7a70
Called from f0005acc, fp=f041a938, args=f00beb8c f041aeb4 0 f041ae90 fffffffc ffffffff
Called from 12c64, fp=effff9c0, args=295bc 2 28000 ffffffff 12c ffffffff
End traceback...
panic: Data fault

I do not know if above messages are caused by the printer or not. But after
those messages, the machine was rebooted. And I did not see any device
message for the printer card. (I was expecting to see something like:
SUNW,lpvi1 at sbus0: SBus slot 0 0x300000 SBus level 7 sparc ipl 13)

Responces:
---------

From: bismark@alta.jpl.nasa.gov (Bismark Espinoza)
Message-Id: <9502101713.AA13488@alta.Jpl.Nasa.Gov>
To: txthom2@lookout.ecte.uswc.uswest.com
Subject: Re: SPARCprinter problem
Cc: bismark@alta.jpl.nasa.gov
Status: RO

The SPARCprinter software is built every time
with a kernel rebuild. So, reinstall the Newsprint
software from scratch.

-------------------------------------------------------------

From: John Valdes <valdes@geosun.uchicago.edu>
Subject: Re: SPARCprinter problem
To: txthom2@lookout.ecte.uswc.uswest.com
Date: Fri, 10 Feb 1995 19:59:40 -0600 (CST)

> The printer was working fine until he installed a second
> ethernet card on his machine. Originally, the printer card
> was installed in Sbus slot1. But when he installed the
> ethernet card, he moved the printer card to slot2 and
> installed the ethernet card to slot1. The ethernet card
> is working. But the printer is not working anymore.

If I can hazard a guess, I'd say that the printer card isn't
installed properly. Make sure that its seated all the way
into the SBus connector.

Hope this helps.

John Valdes
valdes@geosun.uchicago.edu
------------------------------------------------------------
From: clive@inteleq.com (Clive Beddall )
To: txthom2@lookout.ecte.uswc.uswest.com
Subject: Re: SPARCprinter problem

Yo the address is still attached to the old location for the printer!
The printer and card had an address under 2.3 in the origional config...
when you moved the card you also chnged the name/address...so try to
boot the new config with boot -r and pay attention to the NEW printer name.

(eg.) if the old printer config was called lp1 now it will default to some lp2
name as it has a new address and the old name is now reserved for the printer
at the old address... ya with me?

Try it and if you have a problem ... don't call me!

Just kiddin!@

clive.

---------------------------------------------------------------------------
From: Jane.Medefesser@Eng.Sun.COM (Jane Medefesser)
To: txthom2@lookout.ecte.uswc.uswest.com
Subject: Re: SPARCprinter problem
Status: RO

By moving the printer card around you have confused
the software. You can't open the printer port because Solaris
is still looking for it in it's old place. If you look at /dev/lpvi
you will see that it is actually a link to a physical device. By
moving the physical device, you now have lpvi pointing to something
that is not a printer card.

Do the following to restore your printing:

Use "rm_np_printer" to de-install your SPARCprinter.
Halt the ss2. Reboot with the "-r" option (reconfig). This will tell your
        ss2 to reconfigure itself. It will figure out the new physical location
        for lpvi.
Re-install your printer using "add_np_printer".

This may even work with a simple "boot -r". If not, then re-install the printer.

Jane Medefesser - SQA Engineer
SMCC - Sun Printer Products
Sun Microsystems
2550 Garcia Avenue MS MTV02-106
Mountain View, CA 94043-1100

(408) 336-4844
(408) 969-6649 fax
jane.medefesser@Eng.Sun.Com

-----------------------------------------------------------------------
From: dave%endeavour.exar.com@exar.com (Dave Haut)
To: txthom2@lookout.ecte.uswc.uswest.com
Subject: Re: SPARCprinter problem

Hi,

I think the problem is that your SS2 still thinks that the SPARCprinter card
is in slot 1 and is trying to address it there.

What you need to do is as root cd to the /devices directory and delete the
sbus@1* and sbus@2* directories. Also, delete the /dev/lpvi1 link. Then
force the system to recreate these directories by doing a "boot -r".

When the machine comes back up, deinstall the newsprint printer and
reinstall using device /dev/lpvi2 instead of /dev/lpvi1 as the printer
port that it is connected to ...

Hope this helps ...

---------------------------------
  _ /| Dave Haut
  \,o.O' Sys Admin
  =(___)= EXAR Corporation
     U dave@exar.com
             (408) 434-6400 x3462
---------------------------------

  



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:16 CDT