Date: Tue, 2 Apr 1996 12:56:30 -0800 From: gshaffer@nosc.mil (Greg Shaffer) To: current@FreeBSD.ORG, report@XFree86.org Cc: gshaffer@nosc.mil Subject: Interesting XF86 Problem Message-ID: <v02140b00ad8734a4ad71@[128.49.16.48]>
next in thread | raw e-mail | index | archive | help
My appologies for such a long e-mail, but here is an interesting problem which has had me stumped for a week that I would appriciate some suggestion on. Recently, I upgraded to a new PCI motherboard, UMC chipset, Am586-P75 133MHz CPU, Diamond Stealth 64 (S3-Trio64V+) with 2MB DRAM, and an Adaptec AHA-2940 (see dmesg output below for more specific info). At the same time I upgraded the hardware, I also upgraded XFree86 in my FreeBSD 2.1.0 installation to 3.1.2D since it fixed some S3-Trio64 bugs. Right away I started to have problems with the X server (XF86_S3) locking up the computer. When X starts up there is a flurry of disk activity, the sometimes the screen will change to my default background color, other times the screen would flicker and then the machine would hang. In all cases I noticed the disk access light on my external hard drive was always on (even thought there was no continued disk activity) and remained on until I reset the machine. I rummaged the archives at www.FreeBSD.Org to see if there was any similar reports. I noticed several discussions regarding conflicts with the serial I/O (sio) code and S3 graphics cards. So I downloaded sio.c from FreeBSD-stable, modifyed my config file and rebuilt the kernel. Problem still occurs. Heres the kicker... I noticed a pattern to the success and failures that occured. The first time you run the 3.1.2D S3 server you get a warning message with a 10 second delay before the server starts up. When ever this delay occurs, X will successfully start up with my configuration. If I shut down the server and restart it the server will hang. If you remove the '.X' file created by the 3.1.2D XF86_S3 server before it is restarted the server will successfully start up. I was able to verify this by removing the '.X' file prior to executing startx. Every time this file is removed, X will start up without a problem! At present I cannot find anything obviously wrong with my configuration (see dmesg and X output below). The system runs fine under Windows and appears to operate fine with my work around. Is there some obscure timing thing or dependency that I am not taking into account here? Does anybody have any suggestions on how to solve this problem (e.g. upgrade to FreeBSD-stable)? Thanks Greg Shaffer ** DMESG Output FreeBSD 2.1.0-RELEASE #0: Mon Apr 1 21:21:02 PST 1996 root@intrepid:/usr/src/sys/compile/TEST CPU: i486DX (486-class CPU) Origin = "AuthenticAMD" Id = 0x4f4 real memory = 25165824 (24576K bytes) avail memory = 22810624 (22276K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 9 on isa ed0: address 1e:80:00:16:b2:84, type NE1000 (8 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 not found at 0x3e8 sio3 not found at 0x2e8 lpt1 at 0x378-0x37f irq 7 on isa lpt1: Interrupt-driven port lp1: TCP/IP capable interface pca0 on isa pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in ahc0 not found npx0 on motherboard npx0: INT 16 interface pas0 at 0x388 irq 12 drq 3 on isa pas0: <Pro AudioSpectrum 16D rev 191> Probing for devices on the PCI bus: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci0:12 ahc0: aic7870 Ultra Single Channel, SCSI Id=7, aic7870, 255 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "SEAGATE ST42400N 0119" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 2030MB (4159462 512 byte sectors) (ahc0:1:0): "QUANTUM LPS525S 3100" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 501MB (1027548 512 byte sectors) (ahc0:2:0): "TOSHIBA CD-ROM XM-5301TA 0925" type 5 removable SCSI 2 cd0(ahc0:2:0): CD-ROM cd present.[325252 x 2048 byte records] vga0 <VGA-compatible display device> rev 83 int a irq 11 on pci0:13 pci0:16: UMC, device=0x8881, class=bridge (host) [no driver assigned] pci0:18: UMC, device=0x886a, class=bridge (isa) [no driver assigned] lpt1 switched to polled mode ** XF86_S3 Output This is a beta version of XFree86. This binary may be redistributed providing it is not modified in any way. Please send success and problem reports to <report@XFree86.org>. This version ( 3.1.2D ) will expire at Fri May 31 17:00:00 1996 Waiting for 10 seconds... XFree86 Version 3.1.2D / X Window System (protocol Version 11, revision 0, vendor release 6100) Release Date: Feb 24 1996 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: FreeBSD 2.0.5 Configured drivers: S3: accelerated server for S3 graphics adaptors (Patchlevel 0) mmio_928, s3_generic Using syscons driver with X support (version 2.0) (using VT number 4) XF86Config: /etc/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) Mouse: type: Mouseman, device: /dev/ttyd1, baudrate: 1200 (**) S3: Graphics device ID: "Diamond Stealth 64" (**) S3: Monitor ID: "SVGA Color Monitor" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/l ib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font s/100dpi/" (--) S3: PCI: Trio32/64 rev 53, Linear FB @ 0xf8000000 (**) S3: Option flag "nomemaccess" is not defined for this driver (--) S3: Option "nomemaccess" is ignored for 86x/96x/TRIOxx (--) S3: card type: PCI (--) S3: Diamond Stealth BIOS found (--) S3: chipset: Trio64V+ (untested, please report !!) rev. 531 (**) S3: chipset driver: mmio_928 (**) S3: videoram: 2048k (**) S3: Ramdac type: s3_trio64 (**) S3: Ramdac speed: 135 (--) S3: Using Trio32/64 programmable clock (MCLK 54.886 MHz) (--) S3: Maximum allowed dot-clock: 135.000 MHz (**) S3: Mode "1024x768": mode clock = 65.000 (--) S3: Using 6 bits per RGB value (**) S3: Virtual resolution set to 1024x768
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02140b00ad8734a4ad71>