Subject: Odd XF86_SVGA weirdness on i386-current
To: None <current-users@NetBSD.ORG, port-i386@NetBSD.ORG>
From: Scott Ellis <scotte@warped.com>
List: port-i386
Date: 06/24/1998 23:27:59
I recently replaced a 3x509 ISA ethernet card with a D-Link 500TX (DEC 21140
based) PCI ethernet card, and expanded the memory in my system from 48M to 96M.
The systems seems to be running just fine, and everything is hunkey-dorey except
when I attempt to run the XF86_SVGA server using linear addressing.
The video card is an S3 968 based card, and using the aperture driver can run
with the XF86_S3 server just fine, however it issues an interesting message when
starting the server:
(--) S3: PCI: base address not correctly aligned or address conflict
                base address changed from 0xe4000000 to 0xf8000000
(--) S3: PCI: 968 rev 0, Linear FB @ 0xf8000000
(--) checkDevMem: using aperture driver /dev/xf86

If I attempt to use the XF86_SVGA driver, the system freezes (SCSI light on, no
keyboard activity, the whole bit).  Disabling the aperture lkm and running
XF86_SVGA yields an error that address 0xe5000000 is out of range, and the
server exits.

This system worked fine before the ethernet and memory change, and I'm lost as
to how to solve this problem, and allow the XF86_SVGA server to run once again. 
The system is -current as of July 23rd (kernel and userland, ap.o LKM rebuilt),
and is using pmap_new, uvm, and egcs.  The dmesg output follows.

  Scott

NetBSD 1.3F (INTREPID) #0: Tue Jun 23 12:46:55 PDT 1998
    scotte@intrepid.warped.com:/home/src/sys/arch/i386/compile/INTREPID
cpu0: family 5 model 2 step 5
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 100270080
avail mem = 91623424
using 1249 buffers containing 5115904 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x122d (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x122e (rev. 0x02)
vendor 0x8086 product 0x1230 (IDE mass storage, interface 0x80, revision 0x02) at pci0 dev 7 function 1 not configured
de0 at pci0 dev 9 function 0
de0: interrupting at irq 15
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:80:c8:7f:d2:74
ep0 at pci0 dev 10 function 0: 3Com 3C590 Ethernet
ep0: MAC address 00:20:af:eb:a7:17
ep0: 32KB byte-wide FIFO, 1:1 Rx:Tx split, utp/aui/bnc default utp
ep0: interrupting at irq 11
vendor 0x5333 product 0x88f0 (VGA display) at pci0 dev 11 function 0 not configured
ncr0 at pci0 dev 12 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at irq 14
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST15150N, 0023> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 4095MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sect x 8388315 sectors
cd0 at scsibus0 targ 3 lun 0: <PIONEER, CD-ROM DR-U12X, 1.06> SCSI2 5/cdrom removable
probe(ncr0:3:1): 10.0 MB/s (100 ns, offset 8)
st0 at scsibus0 targ 4 lun 0: <CONNER, CTMS  3200, 7.08> SCSI2 1/sequential removable
st0: st0(ncr0:4:0): 5.0 MB/s (200 ns, offset 8)
drive empty
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
com3 at isa0 port 0x2e8-0x2ef irq 9: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
lpt1 at isa0 port 0x278-0x27b: polled
sb0 at isa0 port 0x220-0x237 irq 10 drq 1 drq2 5: dsp v4.13
audio0 at sb0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: unknown s3, 80 col, color, 8 scr, mf2-kbd, [R3.32]
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
apm0 at mainbus0: Power Management spec V1.1
APM power mgmt engage (device 1)
: power management disabled (0x10f)
apm0: A/C state: on
apm0: battery charge state: no battery
biomask 4040 netmask c840 ttymask c8c2
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
uvm_swap: allocated 256 swap buffer headers
de0: enabling 10baseT port
IP Filter: initialized.  Default = pass all, Logging = enabled

 Aperture driver for XFree86 version 1.6