Date: Mon, 10 Feb 2003 11:07:22 -0700 From: Darren Spruell <darren_spruell@sento.com> To: freebsd-questions@FreeBSD.ORG Subject: X problems on i810 | AddScreen/ScreenInit failed Message-ID: <3E47EA5A.9070206@sento.com>
next in thread | raw e-mail | index | archive | help
Greetz, I'm trying to configure v4.7 to run X but am having a hard time getting the server to start. I've followed the config instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html by doing the following steps: Run XFree86 -configure to create the default XF86Config.new Run XFree86 -xf86config ./XF86Config.new to ensure that it works w/my hardware Edit it to taste, to change specifics for HorizSync, VertRefresh, and the Display subsection under "Screen". However, running 'XFree86 -xf86config ./XF86Config.new' after changing my config does not work. The output error is: ====================================================================== (==) VGA(0): Write-combining range (0xa0000,0x10000) was already clear Fatal server error: AddScreen/ScreenInit failed for driver 0 ====================================================================== I followed through the part in the Advanced Configuration section about adding in support for agpgart and created the device node and added the following to /boot/loader.conf: agp_load="YES" dmesg now shows: Preloaded elf module "agp.ko" at 0xc051a09c. agp0: <Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller> mem 0xffa80000-0xffafffff,0xf8000000-0xfbffffff irq 11 at device 1.0 on pci0 Here is the current XF86Config.new (non-working). The Monitor section was taken from a specs page on the Monitor (Gateway EV700). Full dmesg included below this: Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" Load "record" Load "xie" Load "xtrap" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "MouseSystems" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Gateway" ModelName "EV700" HorizSync 30 - 69 VertRefresh 50 - 110 EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "ShadowFB" # [<bool>] #Option "VGAClocks" # [<bool>] Identifier "Card0" Driver "vga" VendorName "Intel" BoardName "i810-dc100" BusID "PCI:0:1:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection EndSection Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (697.88-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 267124736 (260864K bytes) avail memory = 254693376 (248724K bytes) Preloaded elf kernel "kernel" at 0xc051a000. Preloaded elf module "agp.ko" at 0xc051a09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f35a0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82810-DC100 (i810-DC100 GMCH) Host To Hub bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82810-DC100 (i810-DC100 GMCH) SVGA controller> mem 0xffa80000-0xffafffff,0xf8000000-0xfbffffff irq 11 at device 1.0 on pci0 pcib1: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0 pci1: <PCI bus> on pcib1 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xdf00-0xdf3f mem 0xff700000-0xff7fffff,0xff8ff000-0xff8fffff irq 3 at device 1.0 on pci1 fxp0: Ethernet address 00:03:47:0b:0e:20 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82801AA (ICH) USB controller> port 0xef80-0xef9f irq 10 at device 31.2 on pci0 usb0: <Intel 82801AA (ICH) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: <unknown card> (vendor=0x8086, dev=0x2413) at 31.3 irq 9 chip1: <Intel 82801AA (ICH) AC'97 Audio Controller> port 0xef00-0xef3f,0xe800-0xe8ff irq 9 at device 31.5 on pci0 orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xcc000-0xccfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: failed to get data. psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 14324MB <QUANTUM FIREBALLlct15 15> [29104/16/63] at ata0-master UDMA66 acd0: MODE_SENSE_BIG trying to write on read buffer acd0: MODE_SENSE_BIG - NO SENSE asc=0x00 ascq=0x00 error=0x04 acd0: CDROM <CD-224E> at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted THANKS IN ADVANCE!!! -- Darren Spruell Sento IS Department darren_spruell@sento.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E47EA5A.9070206>