The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"FreeBSD 4.8 na VMWare 4.0.5-6030"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"FreeBSD 4.8 na VMWare 4.0.5-6030"
Сообщение от Laksmus Искать по авторуВ закладки on 24-Мрт-04, 01:51  (MSK)
Поставил FreeBSD 4.8 на VMWare 4.0.5-6030 (под Вин2000) и обнаружил, что не запускаются Иксы. OpenBSD 3.4, NetBSD 1.6.1 - тоже самое, система работает, а иксы не запускаются. Поставил Linux RedHat 8.0 - установка прошла в текстовом режиме (хотя указал графический), но после инсталляции система что-то увидела не то, пару раз сама запустила какую-то экранную утилиту и Х запустились! На *БСД - ни в какую :-( Беда ещё в том, что ВМВарь устройства воспринимает иначе, чем они есть на самом деле, т.е. путает модели и типы. Интересно, что когда на Фре запускаешь xf86conf, то работает twm на карточке vmware на шине PCI:0:15:0. Но в XF86Config'e шина определена как PCI:1:0:0. В "реале" видеокарта - SiS 630, монитор Самтрон 77/76Е. Для примера привожу работающий конфиг Линукса:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier     "Default Layout"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

RgbPath      "/usr/X11R6/lib/X11/rgb"
FontPath     "unix/:7100"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier  "Keyboard0"
Driver      "keyboard"
Option     "XkbRules" "xfree86"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "PS/2"
Option     "Device" "/dev/psaux"
Option     "ZAxisMapping" "4 5"
Option     "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier  "DevInputMice"
Driver      "mouse"
Option     "Protocol" "IMPS/2"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5"
Option     "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Unknown monitor"
HorizSync    31.5 - 37.9
VertRefresh  50.0 - 70.0
ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Option     "dpms"
EndSection

Section "Device"
Identifier  "Videocard0"
Driver      "vesa"
VendorName  "Videocard vendor"
BoardName   "VESA driver (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Videocard0"
Monitor    "Monitor0"
DefaultDepth     16
SubSection "Display"
Modes    "800x600"
EndSubSection
SubSection "Display"
Depth     16
Modes    "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group        0
Mode         0666
EndSection

Но беда в том, что на БСД эти параметры не работают. Как быть, знает кто?

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "FreeBSD 4.8 na VMWare 4.0.5-6030"
Сообщение от Laksmus Искать по авторуВ закладки on 24-Мрт-04, 02:55  (MSK)
Пс. На этой же машине стоит FreeBSD 4.8 и с иксами там всё нормально.
  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "FreeBSD 4.8 na VMWare 4.0.5-6030"
Сообщение от Gennadi emailИскать по авторуВ закладки on 24-Мрт-04, 03:01  (MSK)
>Но беда в том, что на БСД эти параметры не работают. Как
>быть, знает кто?

1. ИнсталлируешьVMWware-Tools:

VM -> Install VMWware-Tools ->OK

2. Стартуешь konsole и выполняешь следуюшее:

free# mount /cdrom/
free# cd /cdrom/
free# cp vmware-freebsd-tools.tar.gz /mnt
free# cd /mnt/
free# tar xvfz vmware-freebsd-tools.tar.gz
free# cd vmware-tools-distrib/
free# ./vmware-install.pl

выбираешь необходимые параметры

free# startx

  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "FreeBSD 4.8 na VMWare 4.0.5-6030"
Сообщение от Gennadi emailИскать по авторуВ закладки on 24-Мрт-04, 03:08  (MSK)

XF86Config-4 выглядит так:
======================================================
# VMware SVGA

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
#    Load       "glx"
EndSection

Section "Files"
    RgbPath "/usr/X11R6/lib/X11/rgb"
#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
#    Option NoTrapSignals
EndSection

Section "InputDevice"
    Identifier "Keyboard"
    Driver "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"
    Option "XkbCompat" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "vmmouse"
    Option "Protocol"    "SysMouse"
    Option "Device"      "/dev/sysmouse"
    Option "ZAxisMapping" "4 5"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection

Section "Monitor"
    Identifier  "vmware"
    VendorName "VMware, Inc"
    HorizSync 1-10000
    VertRefresh 1-10000

    ModeLine "640x480" 100 640 700 800 900 480 500 600 700
    ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
    ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
    ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
    ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
    ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
    ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
    ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
    ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000
EndSection

Section "Device"
    Identifier  "VMware SVGA"
    Driver "vmware"
            
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VMware SVGA"
    Monitor     "vmware"

    # Don't specify DefaultColorDepth unless you know what you're
    # doing. It will override the driver's preferences which can
    # cause the X server not to run if the host doesn't support the
    # depth.

    Subsection "Display"
        # VGA mode: better left untouched
        Depth       4
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
Modes "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
Modes "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard" "CoreKeyboard"
EndSection
==================================================

  Рекомендовать в FAQ | Cообщить модератору | Наверх

4. "FreeBSD 4.8 na VMWare 4.0.5-6030"
Сообщение от Laksmus Искать по авторуВ закладки on 24-Мрт-04, 03:41  (MSK)
Спасибо Геннадий Большое!!! Ура, заработало!
  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру