Subject: netbsd-current and XF86 problems
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Alex R.N. Wetmore <aw2t+@andrew.cmu.edu>
List: current-users
Date: 12/09/1993 22:30:54
This may be a xf86 problem, so let me know.  I've been running
netbsd-current on my roommates machine for the past 2 weeks, along with
xfree86-2.0, just fine.  About two days ago the machine started
rebooting upon starting up the x server.  I've done a bit of playing and
have found that it isn't the probe code (because XF86_SVGA -probeonly
doesn't reboot, whereas XF86_SVGA by itself does).  The output from
XF86_SVGA looks fine to me (i'll paste it at the end of this message).

We didn't change any major parts of the system when it started doing
this, so I don't think that there are any problems there.  I also know
that my copy of XF86 is fine, because the same copy (we have it mounted
off of nfs) works fine on my computer.

We were running NetBSD-current as of about 3 weeks ago until today, but
we didn't recompile any of the binary trees (we were mostly interested
in playing around with shared X).  I did use the shared X stuff that
someone else posted about, but this breaks regardless of our use of that
or not.  Today I recompiled the NetBSD-current as of yesterday on
sun-lamp (in tar_files), including all of the system binaries (usr.bin,
usr.sbin, sbin, and bin).  Still no luck.

Here is his machine configuration: IBM 486SLC2/66 (this is an odd IBM
chip that is a 486sx with a 16-bit external data path an a 16k internal
cache), ITT 387sx/33 (could this be a problem?  i've heard bad things
about these chips), 8.5 megs of memory (two 4 meg simms, two 256k
simms), two ide hard drives (340+100), Orchid Prodesigner IIS video
card, and a Sony 14" triniton monitor.  The resolution that we set the
xconfig up for doesn't seem to matter.

The kernel is pretty much stock, with the addition of the syscons
driver.  here is the config file:
---- start SAMS ----
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
ident		SAMS
timezone	5 dst
maxusers	10
options		INET
options		SWAPPAGER
options		VNODEPAGER
options		DEVPAGER
options		FIFO
options		NFSCLIENT
options		FASTLINKS
options		NFSSERVER
options		"COMPAT_43"
options		"TCP_COMPAT_42"
options		FFS
options		XSERVER
options		UCONSOLE
options		MSDOSFS
options		KERNFS
options		"MATH_EMULATE"
options		"COMPAT_NOMID"
#options		DDB

config		netbsd	root on wd0 swap on wd0

controller	isa0
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

#device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint
device		sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
device		com0	at isa? port "IO_COM1" tty irq 4 vector comintr
device		com1	at isa? port "IO_COM2" tty irq 3 vector comintr
#device		com2	at isa? port "IO_COM3" tty irq 5 vector comintr
#device		com3	at isa? port "IO_COM4" tty irq 9 vector comintr

#device		lpt0	at isa? port "IO_LPT3" tty irq 7 vector lptintr
#device		lpa0	at isa? port "IO_LPT1" tty
#device		lpa1	at isa? port "IO_LPT2" tty

device ed0 at isa? port 0x280 net irq 15 iomem 0xd0000 vector edintr
device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
#device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
#device ne0 at isa? port 0x300 net irq 9 vector neintr
#device is0 at isa? port 0x320 net irq 10 drq 7 vector isintr

#device		wt0	at isa? port 0x1e8 bio irq 12 drq 1 vector wtintr

pseudo-device	ether
pseudo-device	log
pseudo-device	loop
pseudo-device	pty		16
pseudo-device	sl		1
pseudo-device	bpfilter	4
pseudo-device	speaker

#pseudo-device	swappager
#pseudo-device	vnodepager
#pseudo-device	devpager
---- end SAMS ----

Like I've said, I'm not sure if this is a netbsd problem or a XF86
problem, so let me know.

Here is the output from running the server (from another terminal):
---- start server output ----
[sams:p0] ~/work % XF86_SVGA vt01
XFree86 Version 2.0 / X Window System
(protocol Version 11, revision 0, vendor release 5000)
Operating System: NetBSD
Configured drivers:
  VGA256: server for 8-bit colour SVGA (Patchlevel 0):
      et4000, et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c31, gvga, ati,
      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420,
      clgd5422, clgd5424, clgd5426, clgd5428, clgd6205, clgd6215, clgd6225,
      clgd6235, ncr77c22, ncr77c22e, cpq_avga, oti067, oti077
Using syscons driver with X support (version 0.x)
(using VT number 1)

Xconfig: /etc/Xconfig
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: Microsoft, device: /dev/tty00, baudrate: 1200,
       3 button emulation
Warning: The directory "/usr/X386/lib/X11/fonts/Type1/" does not exist.
         Entry deleted from font path.
(**) FontPath set to
"/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Speedo/,/usr/X386/
lib/X11/fonts/75dpi/"
(--) VGA256: ET4000: Initial hibit state: low
(--) VGA256: chipset:  et4000
(--) VGA256: videoram: 1024k
(**) VGA256: clocks:  25.20  28.32  32.50  36.20  40.00  44.90  80.00  65.00
(**) VGA256: clocks:  12.60  14.20  16.20  18.10  20.00  22.50   0.00   0.00
(--) VGA256: Maximum allowed dot-clock: 90MHz
(**) VGA256: Mode "640x480": mode clock =  28.322, clock used =  28.320
(--) VGA256: Virtual resolution set to 640x480
(--) VGA256: SpeedUp code selection modified because virtualX != 1024
(--) VGA256: ET4000: SpeedUps selected (Flags=0xf)
---- end server output ----

thanks for any help,
alex



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