Dodaj do ulubionych

Problem z Debianem

29.02.04, 00:19
Zainstalowalem Debiana 3.0r2, ale nie moge wejsc do trybu graficznego. W
katalogu etc/X11 nawet nie mam pliku XF86Config-4 ani XF86Config, jest
natomiast jakis XftConfig... Co moglo byc powodem takiego stanu rzeczy? Jak
wpisuje startx to dostaje komunikat xserver-xfree is not installed, jak go
moge zainstalowac?
poza tym pojawiaja sie komuniakaty:
/ust/X11R6/lib/xinit/xserverrc: /usr/bin/X11/X: no such file or directory

...
przy instalacji cos mi mignelo ze byly jakies problemy z programem dpkg...

Aktulanie moge sie poruszac w trybie tekstowym. Co moge wpisac by sprawdzic
gdzie tkwi problem? Jak ewentualnie doinstalowac dkpg? Ile plytek potrzebne
jest do instalacji tak naprawde, bo mialem ich 7 a wykorzystywalem tylko 2
pierwsze?
Dziekuje z gory za pomoc

Obserwuj wątek
    • kell99 Re: Problem z Debianem 29.02.04, 01:11
      problem jest prostszy niz myslisz, nie zainstalowales srodowiska okienkowego.
      zainstaluj xfree. jak? np uruchamiajac dselect, w dolnej czesci listy bedzie to
      czego szukasz.
    • hanatol Re: Problem z Debianem 29.02.04, 09:14
      sewil - czy jest jakas dystrybucja, której nie instalowałeś w tym tygodniu ?
      ;-)
    • e.111 Re: Problem z Debianem 29.02.04, 10:34
      ...jesli masz polaczenie z netem to daj poprostu:
      apt-get install xFree86-common
      i już ;)
      • sewi1 Re: Problem z Debianem 29.02.04, 10:57
        Polaczenie z netem dziala..., dalem polecenia instalujace apt-get xfree86... ale
        wystapily jakies bledy xfree86 x-window nie chce sie zainstalowac poprawnie
        (moze dlatego, ze jakis modulów nie dolozylem do jadra przy instalacji debiana,
        praktycznie korzystalem z tego co sam sobie debian wkompilowal do jadra - taka
        byla praktyczna rada na stronie debian.org dla instalacji debiana 3.0:)- co w
        tym przypadku musze posprawdzac? lsmod?). Dostalem jakis plik xfree86.0.log w
        ktorym wlasnie jest opisane dlaczego sa bledy, ale za bardzo go nie rozumie.
        Plik ten znajduje sie w katalogu var/... i chcialbym go jakos przeslac poczta,
        ale mam do dyspozycji tylko tryb tekstowy a jakos ciezko mi tam poruszac;)...
        planuje zamontowac partycja vfat windowsa tam skopiowac ten plik i wyslac go z
        windowsa, ale moze to potrwac;)

        Do hanatol: ... niestety po slackwarerze instalowalem tylko debiana, bo jestem
        poczatkujacy i chce wybrac cos z tych dwoch distro. dlatego je testuja:) do
        innych na razie mnie nie ciagnie;)

        pozdrawiam,
        • sewi1 Re: Problem z Debianem 29.02.04, 12:33
          Wpisalem:
          apt-get install x-window-system
          potem jak dostalem zachete # wpisalem startx i pojawil sie nastepujacy blad na
          ekranie (ponizej go podaje). Cos tam jest ze nv chipset unknown... Jak daje
          lspci to nie rozpoznaje prawdopodobnie karty graficznej??
          root@11:/etc# lspci

          000.0 Host bridge: VIA Technologies, Inc.: unknown device 3168 (rev 03)
          001.0 PCI bridge: VIA Technologies, Inc.: unknown device b168
          009.0 Ethernet controller: Realtek Co., Ltd. RTL-8029(AS)

          dla porownania w slacku mialem:
          000.0 Host bridge: VIA Technologies, Inc. VT8374 P4X400 Host Controller/AGP
          Bridge (rev 03)
          001.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
          009.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
          Przy instalacji dalem sterowniki nv... mam GeForce4 Mx 440 i podane jest ze jest
          kompatybilna z nvidia wiec nie wiem...

          A oto ten blad (zostal wpisany takze do pliku XFree86.0.log) z ekranu po
          poleceniu startx:

          This is a pre-release version of XFree86, and is not supported in any
          way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
          to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
          please check the latest version in the XFree86 CVS repository
          (www.XFree86.Org/cvs)

          XFree86 Version 4.1.0.1 / X Window System
          (protocol Version 11, revision 0, vendor release 6510)
          Release Date: 21 December 2001
          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 www.XFree86.Org/FAQ)
          Build Operating System: Linux 2.6.3-bk2 i686 [ELF]
          Module Loader present
          (==) Log file: "/var/log/XFree86.0.log", Time: Sun Feb 29 11:40:51 2004
          (==) Using config file: "/etc/X11/XF86Config-4"
          Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (==) ServerLayout "Default Layout"
          (**) |-->Screen "Default Screen" (0)
          (**) | |-->Monitor "Generic Monitor"
          (**) | |-->Device "Generic Video Card"
          (**) |-->Input Device "Generic Keyboard"
          (**) Option "XkbRules" "xfree86"
          (**) XKB: rules: "xfree86"
          (**) Option "XkbModel" "pc104"
          (**) XKB: model: "pc104"
          (**) Option "XkbLayout" "us"
          (**) XKB: layout: "us"
          (==) Keyboard: CustomKeycode disabled
          (**) |-->Input Device "Configured Mouse"
          (**) |-->Input Device "Generic Mouse"
          (WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
          Entry deleted from font path.
          (**) FontPath set to
          "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
          (==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
          (==) ModulePath set to "/usr/X11R6/lib/modules"
          (--) using VT number 7

          (WW) Cannot open APM
          (II) Module ABI versions:
          XFree86 ANSI C Emulation: 0.1
          XFree86 Video Driver: 0.4
          XFree86 XInput driver : 0.2
          XFree86 Server Extension : 0.1
          XFree86 Font Renderer : 0.2
          (II) Loader running on linux
          (II) LoadModule: "bitmap"
          (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
          (II) Module bitmap: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.0
          Module class: XFree86 Font Renderer
          ABI class: XFree86 Font Renderer, version 0.2
          (II) Loading font Bitmap
          (II) LoadModule: "pcidata"
          (II) Loading /usr/X11R6/lib/modules/libpcidata.a
          (II) Module pcidata: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 0.1.0
          ABI class: XFree86 Video Driver, version 0.4
          (II) PCI: Probing config type using method 1
          (II) PCI: Config type is 1
          ...
          (II) Bus -1 prefetchable memory range:
          (--) PCI:*(1:0:0) NVidia unknown chipset (0x0181) rev 164, Mem @ 0xe0000000/24,
          0xd8000000/27
          (II)
          ...
          (II) LoadModule: "nv"
          (II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o
          (II) Module nv: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.1
          Module class: XFree86 Video Driver
          ABI class: XFree86 Video Driver, version 0.4
          (II) LoadModule: "mouse"
          (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
          (II) Module mouse: vendor="The XFree86 Project"
          compiled for 4.1.0.1, module version = 1.0.0
          Module class: XFree86 XInput Driver
          ABI class: XFree86 XInput driver, version 0.2
          (II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2,
          RIVATNT2 (A), RIVATNT2 (B), RIVATNT2 (Ultra), RIVATNT2 (Vanta),
          RIVATNT2 M64, RIVATNT2 (Integrated), GeForce 256, GeForce DDR,
          Quadro, GeForce2 GTS, GeForce2 GTS (rev 1), GeForce2 ultra,
          Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR, Quadro 2 MXR,
          GeForce 2 Go, GeForce3, GeForce3 (rev 1), GeForce3 (rev 2),
          GeForce3 (rev 3)
          (II) Primary Device is: PCI 01:00:0
          (--) Assigning device section with no busID to primary device
          (EE) No devices detected.

          Fatal server error:
          no screens found

          When reporting a problem related to a server crash, please send
          the full server output, not just the last messages.
          This can be found in the log file "/var/log/XFree86.0.log".
          Please report problems to submit@bugs.debian.org.

          Moze ktos sie w tym orientuje, dzieki z gory za wskazowki
          • hanatol Re: Problem z Debianem 29.02.04, 13:33
            Sterownik wypisał karty, które obsługuje.
            Twojej tam nie ma.
            I to jest właśnie problem.
            Powinieneś ściągnąć driver ze stron nvidii:
            www.nvidia.com/object/linux.html
            i zainstalować zgodnie z instrukcją.
            Przy okazji zmień sobie us na pl w linii:
            "Option" "XkbLayout" "us"
            chyba, że nie chcesz pisać po polsku.

            PS. Do trybu tekstowego polecam program midnight commander czyli mc.
            #apt-get install mc
            • sewi1 Re: Problem z Debianem 29.02.04, 14:41
              Dzieki hanatol:) ale sa problemy;)
              przeczytalem instrukcje instalacji nvidi...
              doinstalowalem binutils bo wczesniej nie mialem linkera ld
              potem jednak pojawil sie taki blad:

              nvidia-installer log file '/var/log/nvidia-installer.log'
              creation time: Sun Feb 29 14:26:58 2004

              option status:
              license pre-accepted : false
              update : false
              force update : false
              expert : false
              uninstall : false
              driver info : false
              no precompiled interface: false
              no ncurses color : false
              query latest driver ver : false
              OpenGL header files : false
              no questions : false
              silent : false
              XFree86 install prefix : /usr/X11R6
              OpenGL install prefix : /usr
              Installer install prefix: /usr
              kernel source path : (not specified)
              kernel install path : (not specified)
              proc mount point : /proc
              ui : (not specified)
              tmpdir : /tmp
              ftp site : ftp://download.nvidia.com

              Using: nvidia-installer ncurses user interface
              -> License accepted.
              -> No precompiled kernel interface was found to match your kernel; would you li
              ke the installer to attempt to download a kernel interface for your kernel f
              rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
              -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
              this means that the installer will need to compile a kernel interface for
              your kernel.
              ERROR: Unable to find the kernel source tree for the currently running kernel.
              Please make sure you have installed the kernel source files for your
              kernel; on Red Hat Linux systems, for example, be sure you have the
              'kernel-source' rpm installed. If you know the correct kernel source
              files are installed, you may specify the kernel source path with the
              '--kernel-source-path' commandline option.
              ERROR: Installation has failed. Please see the file
              '/var/log/nvidia-installer.log' for details. You may find suggestions
              on fixing installation problems in the README available on the Linux
              driver download page at www.nvidia.com.
              ---------------------------------Koniec pliku-------------------

              w instrukcjach do instalacji jest cos zwiazane z prekompilacja jadra... z
              jakimis sciezkami do zrodla jadra, ale nie wiem co mam lopatologicznie zrobic?

              KERNEL INTERFACES

              The NVIDIA kernel module has a kernel interface layer which must be
              compiled specifically for the configuration and version of the kernel
              you are running. NVIDIA distributes the source code to this kernel
              interface layer, as well as a precompiled version for many of the kernels
              distributed by some popular distributions.

              When the installer is run, it will determine if it has a precompiled
              kernel interface for the kernel you are running. If it does not have
              one, it will check if there is one on the NVIDIA ftp site (assuming you
              have an internet connection), and download it.

              If a precompiled kernel interface is found that matches your kernel,
              then that will be linked[1] against the binary portion of the NVIDIA
              kernel module. The result of this operation will be a kernel module
              appropriate for your kernel.

              If no matching precompiled kernel interface is found, then the installer
              will compile the kernel interface for you. However, first it will
              check that you have the correct kernel headers intalled on your system.
              If the installer must compile the kernel interface, then you must install
              the kernel-sources package for your kernel.

              [1] NOTE: installation requires that you have a linker installed.
              The linker, usually '/usr/bin/ld', is part of the binutils package;
              please be sure you have this package installed prior to installing the
              NVIDIA driver.

              ??? CZy ktos mi to moze przetlumaczyc co konkretnie trzeba zrobic?
              • hanatol Re: Problem z Debianem 29.02.04, 14:56
                Jeśli używasz pre-kompilowanego jądra z dystrybucji, to musisz zainstalować
                pakiet kernel-headers
                czyli pliki nagłówkowe *.h potrzebne do kompilacji modułów.
                w takiej wersji i architekturze jak masz jądro.

                Czyli jeśli używasz jądra np. 2.4.20-k7 to instalujesz kernel-headers-2.4.20-k7

                O ile pamiętam to po zainstalowaniu będziesz miał katalog:
                /usr/src/kernel-headers-<cośtam>

                Nie wiem jak działa instalator nvidii (czy pyta o ścieżkę ?),
                ale możesz ustwaić dowiązanie do tego katalogu:
                #ln -s /usr/src/kernel-headers-<cośtam> /usr/src/linux
                wtedy powinien sobie poradzić.
                • sewi1 Re: Problem z Debianem 29.02.04, 16:36
                  Zrobiłem tak jak mówiłeś:
                  apt-get install kernel-headers-2.2.20
                  poniewaz nie mialem zrodel jadra w /usr/src zrobilem:
                  apt-get install kernel-source-2.2.20
                  otrzymalem w /usr/src/kernel-source-2.2.20.tar.bz2
                  bzip2 -dc kernel-source-2.2.20.tar.bz2 | tar - -C /usr/src/
                  otrzymalem odpakowany kernel-soruce
                  wpisalem: ln -s /usr/src/kernel-headers-2.2.20 /usr/src/kernel-source-2.2.20
                  ...
                  podales zeby /usr/src/linux ale ja takiego katalogu nie mialem wiec dalem tak i
                  nie wiem czy dobrze?

                  Jednak dalej instalator nvidi tego nie przechodzi:(

                  ERROR: Unable to find the kernel source tree for the currently running kernel.
                  Please make sure you have installed the kernel source files for your
                  kernel; on Red Hat Linux systems, for example, be sure you have the
                  'kernel-source' rpm installed. If you know the correct kernel source
                  files are installed, you may specify the kernel source path with the
                  '--kernel-source-path' commandline option.

                  co to znaczy ze moge podac sciezke zrodla jadra za pomoca
                  '--kernel-source-path' commandline option? Gdzie mam te opcje uzyc?
                  bo wpisuje:
                  sh NVidia----.run
                  czy ta opcja ma byc
                  sh NVidia----.run --/usr/src/?
                  takie cos pisalem ale tez nie chodzi...

                  z tym debianem to nie tak latwo jakby sie wydawalo;)
                  • hanatol Re: Problem z Debianem 29.02.04, 17:11
                    Niedobrze.
                    /usr/src/linux to powinien być symbolic link do żródeł DZIAŁAJĄCEGO jądra.
                    Nie miałeś , bo to polecenie go stworzy.
                    $man ln
                    Ponieważ nie kompilowałeś jądra to powinieneś mieć zamiast nich przynajmniej
                    kernel-headers - powinno wystarczyć.
                    Jeszcze raz:
                    #cd /usr/src
                    #ln -s kernel-headers-2.2.20 linux

                    Aha, jeszcze jedno.
                    Nie wiem czy nvidia działa z jądrem 2.2 może zainstaluj 2.4
                    - masz na płytach.
                    • sewi1 Re: Problem z Debianem 29.02.04, 17:15
                      Dzieki hanatol:) sprobuje tego zaraz,
                      poza tym min. wymagania nvidi to jadro 2.2.12 wiec sie mieszcze:)
                      sprawdze czy zadziala i sie odezwe za chwile...
                    • sewi1 Re: Problem z Debianem 29.02.04, 17:30
                      Zrobilem tak jak mowiles, nie dziala z tymze juz inny blad:

                      nvidia-installer log file '/var/log/nvidia-installer.log'
                      creation time: Sun Feb 29 17:21:41 2004

                      option status:
                      license pre-accepted : false
                      update : false
                      force update : false
                      expert : false
                      uninstall : false
                      driver info : false
                      no precompiled interface: false
                      no ncurses color : false
                      query latest driver ver : false
                      OpenGL header files : false
                      no questions : false
                      silent : false
                      XFree86 install prefix : /usr/X11R6
                      OpenGL install prefix : /usr
                      Installer install prefix: /usr
                      kernel source path : (not specified)
                      kernel install path : (not specified)
                      proc mount point : /proc
                      ui : (not specified)
                      tmpdir : /tmp
                      ftp site : ftp://download.nvidia.com

                      Using: nvidia-installer ncurses user interface
                      -> License accepted.
                      -> No precompiled kernel interface was found to match your kernel; would you li
                      ke the installer to attempt to download a kernel interface for your kernel f
                      rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
                      -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
                      this means that the installer will need to compile a kernel interface for
                      your kernel.
                      -> Kernel source path: '/usr/src/linux'
                      -> Performing cc_version_check with CC="cc".
                      -> gcc-version-check failed:

                      Could not compile gcc-version-check.c

                      If you know what you are doing and want to ignore the gcc version check, sel
                      ect "No" to continue installation. Otherwise, select "Yes" to abort install
                      ation, set the CC environment variable to the name of the compiler used to c
                      ompile your kernel, and restart installation. Abort now? (Answer: No)
                      ERROR: Unable to determine the NVIDIA kernel module filename.
                      ERROR: Installation has failed. Please see the file
                      '/var/log/nvidia-installer.log' for details. You may find suggestions
                      on fixing installation problems in the README available on the Linux
                      driver download page at www.nvidia.com.

                      Ale nie mam pojecia o cos chodzi z tym gcc???
                      • hanatol Re: Problem z Debianem 29.02.04, 18:09
                        Nie wiem czy to to.
                        Sprawdź czym było kompilowane jądro obejrzyj(/proc/version)
                        cat /proc/version
                        Sprawdź jaką masz wersję kompilatora:
                        gcc -v
                        Kompilatory powinny się zgadzać.

                        Możesz ustawić zmienną CC na odpowiedni np.:
                        export CC=gcc-2.95
                        oczywiście musisz go mieć.
                        • hanatol Re: Problem z Debianem 29.02.04, 18:15
                          A może tak będzie łatwiej ;-)
                          www.debianusers.pl/article.php?aid=57&top10=1#nvidia
                        • sewi1 Re: Problem z Debianem 29.02.04, 18:24
                          te kompilatory sa roznie przy cat... gcc-2.7.2.3
                          a gcc -v : 2.95
                          CZyzby czekala mnie kompilacja jadra?
                          Poczytam to z tej strony, dzieki:)

Nie masz jeszcze konta? Zarejestruj się


Nakarm Pajacyka