免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2391 | 回复: 7
打印 上一主题 下一主题

[FreeBSD] FreeBSD5.3配置X window问题?????? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-22 17:55 |只看该作者 |倒序浏览
各位FB大侠,我是新手,根据FreeBSD Handbook配置X window,多次测试均不成功,请各位大侠拔刀相助,不胜感激,相关信息:
———————————————————————————————————
计算机系统:
    中央处理器 Intel(R) Celeron(R) CPU 2.60GHz
      主板        Legend QDI PLATINIX-8
      主板芯片组  Intel Corporation 82845G/GL/GE Brookdale
      内存        253424 KB
      主硬盘        ST340015A
      显示卡        Intel(R) 82845G/GL/GE/PE/GV Graphics Controller
      显示器        即插即用监视器(LXB-F17069HB)
      音频设备        SoundMAX Digital Audio
      网络适配器      Realtek RTL8139 Family PCI Fast Ethernet NIC
      键盘        标准 101/102 键或 Microsoft 自然 PS/2 键盘
    鼠标        PS/2 Compatible Mouse
_____________________________________________________
BSDsrv# X -xf86config /root/xorg.conf.new

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: FreeBSD 5.3 i386 [ELF]
Current Operating System: FreeBSD BSDsrv.flag.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 16 October 2004
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 23 00:30:15 2005
(++) Using config file: "/root/xorg.conf.new"
[drm] failed to load kernel module "i830"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
———————————————————————————————————
BSDsrv# dmesg |more
Copyright (c) 1992-2004 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 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
    root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.60GHz (2590.41-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,S
SE2,SS,HTT,TM,PBE>;
real memory  = 259981312 (247 MB)
avail memory = 244752384 (233 MB)
ACPI APIC Table: <IntelR AWRDACPI>;
ioapic0 <Version 2.0>; irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor>; on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI>; on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz>; port 0x408-0x40b on acpi0
cpu0: <ACPI CPU>; on acpi0
acpi_tz0: <Thermal Zone>; on acpi0
acpi_button0: <ower Button>; on acpi0
acpi_button1: <Sleep Button>; on acpi0
pcib0: <ACPI Host-PCI bridge>; port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus>; on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller>; mem 0xee000000-0xee07ffff,0xe0000000-0xe7ffffff irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A>; port 0xd800-0xd81f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A>; 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
uhci1: <Intel 82801DB (ICH4) USB controller USB-B>; port 0xd000-0xd01f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B>; on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C>; port 0xd400-0xd41f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C>; on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB>; at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge>; at device 30.0 on pci0
pci1: <ACPI PCI bus>; on pcib1
rl0: <RealTek 8139 10/100BaseTX>; port 0xc000-0xc0ff mem 0xed000000-0xed0000ff irq 20 at device 3.0 on pci1
miibus0: <MII bus>; on rl0
rlphy0: <RealTek internal media interface>; on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:87:db:f5:2b
isab0: <CI-ISA bridge>; at device 31.0 on pci0
isa0: <ISA bus>; on isab0
atapci0: <Intel ICH4 UDMA100 controller>; port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus>; at device 31.3 (no driver attached)
pci0: <multimedia, audio>; at device 31.5 (no driver attached)
fdc0: <floppy drive controller>; port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive>; on fdc0 drive 0
sio0: <16550A-compatible COM port>; port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port>; port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port>; port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <arallel port bus>; on ppc0
plip0: <LIP network interface>; on ppbus0
lpt0: <rinter>; on ppbus0
lpt0: Interrupt-driven port
ppi0: <arallel I/O>; on ppbus0
atkbdc0: <Keyboard controller (i8042)>; port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard>; irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <S/2 Mouse>; irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <ISA Option ROM>; at iomem 0xcc000-0xd3fff on isa0
pmtimer0 on isa0
sc0: <System console>; at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>;
vga0: <Generic ISA VGA>; at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2590410200 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 39205MB <Maxtor 2F040L0/VAM51JJ0>; [79656/16/63] at ata0-master UDMA100
acd0: CDROM <SAMSUNG CD-ROM SC-148A/B400>; at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s2a
———————————————————————————————————
BSDsrv# Xorg -configure

xorg.conf.new文件内容:

Section "ServerLayout"
        Identifier     "X.org 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/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        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  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
Section "ServerLayout"
        Identifier     "X.org 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/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        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  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
        #DisplaySize      320   240     # mm
        Identifier   "Monitor0"
        VendorName   "LCS"
        ModelName    "LXB-F17069HB"
### Uncomment if you don't want to default to DDC:
#       HorizSync    30.0 - 70.0
#       VertRefresh  48.0 - 0.0
        Option      "DPMS"
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     "NoAccel"                   # [<bool>;]
        #Option     "SWcursor"                  # [<bool>;]
        #Option     "ColorKey"                  # <i>;
        #Option     "CacheLines"                # <i>;
        #Option     "Dac6Bit"                   # [<bool>;]
        #Option     "DRI"                       # [<bool>;]
        #Option     "NoDDC"                     # [<bool>;]
        #Option     "ShowCache"                 # [<bool>;]
        #Option     "XvMCSurfaces"              # <i>;
        #Option     "ageFlip"                  # [<bool>;]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport 0 0
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection         
———————————————————————————————————

论坛徽章:
0
2 [报告]
发表于 2005-02-22 18:55 |只看该作者

FreeBSD5.3配置X window问题??????

我的也是同样问题。。提示说刷新率过高。。

启动不了X。。

论坛徽章:
0
3 [报告]
发表于 2005-02-23 09:39 |只看该作者

FreeBSD5.3配置X window问题??????

关键是这两句:
[drm] failed to load kernel module "i830"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
———————————————————————————————————
还有xorg.conf.new文件中:

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     "NoAccel"                   # [<bool>;]
        #Option     "SWcursor"                  # [<bool>;]
        #Option     "ColorKey"                  # <i>;
        #Option     "CacheLines"                # <i>;
        #Option     "Dac6Bit"                   # [<bool>;]
        #Option     "DRI"                       # [<bool>;]
        #Option     "NoDDC"                     # [<bool>;]
        #Option     "ShowCache"                 # [<bool>;]
        #Option     "XvMCSurfaces"              # <i>;
        #Option     "ageFlip"                  # [<bool>;]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
        BusID       "CI:0:2:0"
EndSection
———————————————————————————————————
第一句的意思是内核加载i830模块失败,这个i830是指的是:
agp0: <Intel 82845G (845G GMCH) SVGA controller>;显卡类型吗?
该如何修改使之加载成功呢?
这个显卡是集成在从主板上的,共享8MB内存作为显存的,以下
agp0: detected 8060k stolen memory

论坛徽章:
0
4 [报告]
发表于 2005-03-14 08:39 |只看该作者

FreeBSD5.3配置X window问题??????

我的也是同样问题。。提示说刷新率过高。。


就是不知道怎样解决

论坛徽章:
0
5 [报告]
发表于 2005-03-14 14:58 |只看该作者

FreeBSD5.3配置X window问题??????

我的5.3也启动不了X....
但是在虚拟机中却能顺利启动X...
可是在真实机器里不行...
不明白..关注.....

论坛徽章:
0
6 [报告]
发表于 2005-03-14 15:27 |只看该作者

FreeBSD5.3配置X window问题??????

#cp xorg.conf.new /etc/X11/xorg.conf
#startx

主要是查看etc/X11中的 xorg.conf和你配置出来的xorg.conf.new
文件内容是否一致

论坛徽章:
0
7 [报告]
发表于 2005-03-14 16:37 |只看该作者

FreeBSD5.3配置X window问题??????

原帖由 "肥虾" 发表:
#cp xorg.conf.new /etc/X11/xorg.conf
#startx

主要是查看etc/X11中的 xorg.conf和你配置出来的xorg.conf.new
文件内容是否一致


我还没到这步呢,我刚到
# X -xf86config /root/xorg.conf.new 这步就挂了:(

论坛徽章:
0
8 [报告]
发表于 2005-03-14 18:38 |只看该作者

FreeBSD5.3配置X window问题??????

textmode模式试下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP