Subject: bwtwo questions
To: None <port-sun3@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sun3
Date: 05/12/1996 18:14:28
Well, this is perhaps only peripherally NetBSD-related (I suspect it's
mostly a Sun-3 hardware question), but since (a) I want to run NetBSD
on the box and (b) this includes a bug report of sorts, I figure I can
let myself ask it here :-)

I recently got a Sun monochrome monitor by swapping a spare keyboard
and mouse for it.  I have three machines that could potentially drive
it: two -3/260s and one -3/150.  None of them work.

The -3/150, as far as I can tell, does not drive anything out the video
connector at all - the display is solid black and stays that way, even
if I flip the switch to DIAG mode and press e for echo mode when the
self-test finishes.  (That machine has no other framebuffer.)

The -3/260s appear to behave identically in this respect.  In each
case, they seem to be driving the monitor with signals appropriate for
a 1600x1280 monitor, and the monitor can almost handle it - the display
looks like what I'd expect from a 1600x1280 monitor with the horizontal
sync severely mis-adjusted.  Given some idea what is being displayed, I
can sort-of read the console typeout.  The hardware docs I have for the
260s say that their bwtwos are _always_ 1600x1280.  The monitor is
known to work as-is with a -3/60 driving it 1152x900; I saw it myself.

My questions, then, are (1) is there any reasonable chance of getting
the -3/150 to drive its video connector? (2) can the monitor be
adjusted to run 1600x1280, and would it hurt it to do so? and (3) when
I boot NetBSD on the -3/260 (using the cgtwo it also has for console),
it reports the bwtwo as 1152x900, why?

If the answers depend on details I haven't mentioned, I'll be glad to
supply them.  The -3/150 is currently running NetBSD, one of the
-3/260s is running SunOS 3.5, and the other -3/260 is turned off but
has NetBSD on it.

The bug report is question (3): when booting NetBSD, the boot messages
indicate as follows.  Note the incorrect size given for bwtwo0.

	Copyright (c) 1982, 1986, 1989, 1991, 1993
		The Regents of the University of California.  All rights reserved.
	
	NetBSD 1.1A (GENERIC) #3: Mon Mar  4 13:03:46 EST 1996
	    mouse@Daily-Planet.Rodents.Montreal.QC.CA:/sources/working-usr-src/sys/arch/sun3/compile/GENERIC
	Model: Sun 3/260
	real mem = 16760832
	avail mem = 13762560
	using 204 buffers containing 1671168 bytes of memory
	cache enabled
	mainbus0 (root)
	obctl0 at mainbus0
	idprom0 at obctl0 hostid 0x1300217d
	fpu0 at mainbus0 (mc68881)
	obmem0 at mainbus0
	bwtwo0 at obmem0 addr 0xff000000 (1152x900)
	obio0 at mainbus0
	eeprom0 at obio0 addr 0x40000
	clock0 at obio0 addr 0x60000 level 5
	ie0 at obio0 addr 0xc0000 level 3 hwaddr 08:00:20:00:85:fa
	zsc0 at obio0 addr 0x0 level 6 softpri 3
	kbd0 at zsc0 channel 0 (console)
	ms0 at zsc0 channel 1
	zsc1 at obio0 addr 0x20000 level 6 softpri 3
	zstty0 at zsc1 channel 0
	zstty1 at zsc1 channel 1
	vmes0 at mainbus0
	ie1 at vmes0 addr 0xffe88000 level 3 vector 0x75 hwaddr 08:00:20:00:85:fa
	si0 at vmes0 addr 0xff200000 level 2 vector 0x40: options=3
	scsibus0 at si0
	scsi_inqmatch: 2/0/0 <, , >
	scsi_inqmatch: 2/0/0 <, , >
	sd0 at scsibus0 targ 0 lun 0: <IBM, WDS-L160, S510> SCSI1 0/direct fixed
	sd0: 163MB, 1923 cyl, 4 head, 43 sec, 512 bytes/sec x 334601 sectors
	cgtwo0 at vmes0 addr 0xff400000 level 4 vector 0xa8 (1152x900)
	vmel0 at mainbus0
	rd0 at mainbus0
	rd1 at mainbus0
	root on sd0a
	swap on sd0b
	dump on sd0b

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu