Subject: sparcbook tctrl0 device still hangs my 3gx.
To: None <port-sparc@netbsd.org>
From: Todd Whitesel <toddpw@best.com>
List: port-sparc
Date: 07/24/2000 22:44:58
My sparcbook 3gx runs 19991223-1.4P (which it built, incidentally).

Even back then, the tctrl0 device hung my particular 3gx (but not
Matt Thomas' 3gx) and so I have had to run with it disabled.

Lately I've been wanting to upgrade it to 1.5, but apparently even
GENERIC has tctrl0 enabled now, so I decided I should take a whack
at debugging this guy.

Tonight I enabled TCTRL_DEBUG in tctrl.c and here's the relevant output:

tctrl0 at obio0 slot 0 offset 0xd1000020 level 11
pre read: sc->sc_ext_status = 0x0
tctrl0: op=0x11(l=3) [ack] ack=0xfe [data(2)] [0]=0x00 [1]=0x03 [idle]

... and there it hangs. keyboard is not responsive, except for the
microcontroller functions (like pause-R which is what I use to reset it).

I will try scattering some printf's around to see if I can locate where
it is hanging, but if anyone can help direct my efforts that would be
appreciated.

Todd Whitesel
toddpw @ best.com