Kernel-ongelma

Discussion in 'Linux -keskustelu' started by Coffeeod, Mar 29, 2005.

  1. Coffeeod

    Coffeeod Guest

    Eli, olen asentamassa Nvidia-ajureita ja eilen miltein onnistuiman. Ongelman tuli kernekli, ja kuvakin on jopa ongelmasta.

    http://www.rituaali.com/silence/data/media/5/errorsfuckingerrors.png

    Eli, nyt pitäisi kai sitten ladata kerneli uudestaan, onko ehdotuksia mikä kerneli? (asennuksen taisin viimeinkin oivaltaa, ainakin miten se käynnistetään)
     
    Last edited by a moderator: Mar 31, 2005
  2. Coffeeod

    Coffeeod Guest

    Ai niin, ja kyseessä on Knoppix 3.7 jos en muistanut mainita.
     
  3. Jannejt

    Jannejt Moderator Staff Member

    Joined:
    Feb 10, 2005
    Messages:
    5,045
    Likes Received:
    6
    Trophy Points:
    118
    http://www.kernel.org/
    tuolta mahd. uus kernel ainaki kävis... kai... mutta tuolla niitä kerneleitä ainaki o...
     
  4. Erkkimon

    Erkkimon Active member

    Joined:
    Jan 26, 2005
    Messages:
    1,164
    Likes Received:
    0
    Trophy Points:
    66
  5. lunix

    lunix Regular member

    Joined:
    Jun 30, 2004
    Messages:
    773
    Likes Received:
    0
    Trophy Points:
    26
    Asenna kernelin lähdekoodi suorittamalla jotain alla olevan kaltaista

    apt-get install kernel-source

     
  6. Erkkimon

    Erkkimon Active member

    Joined:
    Jan 26, 2005
    Messages:
    1,164
    Likes Received:
    0
    Trophy Points:
    66
    Debianin tarjoama kerneli on aika vanha: 2.6.8, eli kandeeraa tosiaan hakea noi tuolta kernel.orgista.
     
  7. Coffeeod

    Coffeeod Guest

    gunzip -d linux-2.6.11.6.tar.gz
    Onko tämä myös oikea tapa asentaa kerneli?

    Jos ei ole niin voisiko joku kertoa miten saisin kernelin kunnolla koneeseen? Ongelman ydin:

    Kun aloitin ET:n niin tein tämän "et +set r_allosSoftwareGL 1" mutta ET on erittäni hidas. Pätkii niin julmetusti etten pääsen pelaamaan.

    Lyhyt versio

    Kernel module compilation complete.
    ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
    because the kernel module was built using the wrong kernel source files.
    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.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
    -1 Invalid module format
    -> Kernel messages:
    eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:0a:e6:69:f7:cf.
    Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version
    0.14.10j-2.6, 23:27:48 Oct 19 2004
    PCI: Found IRQ 11 for device 0000:00:01.4
    trident: SiS 7018 PCI Audio found at IO 0xd800, IRQ 11
    ac97_codec: AC97 Audio codec, id: ALG48 (Unknown)
    Linux agpgart interface v0.100 (c) Dave Jones
    NET: Registered protocol family 17
    agpgart: Detected SiS 730 chipset
    agpgart: Maximum main memory to use for agp memory: 203M
    agpgart: AGP aperture is 64M @ 0xd0000000
    eth0: Media Link On 100mbps full-duplex
    lp0: using parport0 (interrupt-driven).
    lp0: console ready
    eth0: Media Link On 100mbps full-duplex
    No module found in object"



    Koko versio

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Thu Mar 31 20:08:47 2005

    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
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : /usr/X11R6
    OpenGL install prefix : /usr
    compat32 install prefix : (not specified)
    installer install prefix: /usr
    utility install prefix : /usr
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    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 test with CC="cc".
    -> Performing rivafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_comp
    iler.h *.d NVdriver nvidia.o
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
    rc/linux'...
    echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
    cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
    arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
    U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
    NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT
    64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_AT
    TR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -I. -I/usr/s
    rc/linux/include -Wsign-compare -Wno-cast-qual -Wno-error nv.c
    In file included from /usr/src/linux/include/linux/vmalloc.h:8,
    from nv-linux.h:56,
    from nv.c:14:
    /usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
    /usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
    used in arithmetic
    cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
    arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
    U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
    NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT
    64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_AT
    TR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -I. -I/usr/s
    rc/linux/include -Wsign-compare -Wno-cast-qual -Wno-error nv-vm.c
    In file included from /usr/src/linux/include/linux/vmalloc.h:8,
    from nv-linux.h:56,
    from nv-vm.c:14:
    /usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
    /usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
    used in arithmetic
    cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
    arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
    U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
    NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT
    64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_AT
    TR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -I. -I/usr/s
    rc/linux/include -Wsign-compare -Wno-cast-qual -Wno-error os-agp.c
    In file included from /usr/src/linux/include/linux/vmalloc.h:8,
    from nv-linux.h:56,
    from os-agp.c:24:
    /usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
    /usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
    used in arithmetic
    cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
    arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
    U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
    NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DN
    V_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
    -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB
    LE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -I. -I/usr/src/linux/include -Wsign-c
    ompare -Wno-cast-qual -Wno-error os-interface.c
    In file included from /usr/src/linux/include/linux/vmalloc.h:8,
    from nv-linux.h:56,
    from os-interface.c:26:
    /usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
    /usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
    used in arithmetic
    cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
    arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
    U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
    NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT
    64_OK -DNVCPU_X86 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHAN
    GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -I
    . -I/usr/src/linux/include -Wsign-compare -Wno-cast-qual -Wno-error os-regis
    try.c
    In file included from /usr/src/linux/include/linux/vmalloc.h:8,
    from nv-linux.h:56,
    from os-registry.c:14:
    /usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
    /usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
    used in arithmetic
    ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o
    ld -r -o nvidia.o nv-linux.o nv-kernel.o
    -> done.
    -> Kernel module compilation complete.
    ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
    because the kernel module was built using the wrong kernel source files.
    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.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
    -1 Invalid module format
    -> Kernel messages:
    eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:0a:e6:69:f7:cf.
    Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version
    0.14.10j-2.6, 23:27:48 Oct 19 2004
    PCI: Found IRQ 11 for device 0000:00:01.4
    trident: SiS 7018 PCI Audio found at IO 0xd800, IRQ 11
    ac97_codec: AC97 Audio codec, id: ALG48 (Unknown)
    Linux agpgart interface v0.100 (c) Dave Jones
    NET: Registered protocol family 17
    agpgart: Detected SiS 730 chipset
    agpgart: Maximum main memory to use for agp memory: 203M
    agpgart: AGP aperture is 64M @ 0xd0000000
    eth0: Media Link On 100mbps full-duplex
    lp0: using parport0 (interrupt-driven).
    lp0: console ready
    eth0: Media Link On 100mbps full-duplex
    No module found in object
     
    Last edited by a moderator: Mar 31, 2005
  8. lunix

    lunix Regular member

    Joined:
    Jun 30, 2004
    Messages:
    773
    Likes Received:
    0
    Trophy Points:
    26
    Kernelin lähdekoodin asentaminen ei ikävä kyllä riitä. Se pitää kääntää ja ottaa käyttöön. Käynnistää kone uudelleen ja sen jälkeen asentaa se nVidian ajuri.

    Eli sulla on joku kernelin versio x käytössä ja y lähdekoodi /usr/src/ hakemistossa. Ei toimi ei.

    ja suosittelen edelleen sitä

    apt-get install

    rimpsua. Lataa kernel ja kernel-source

     
  9. Erkkimon

    Erkkimon Active member

    Joined:
    Jan 26, 2005
    Messages:
    1,164
    Likes Received:
    0
    Trophy Points:
    66

Share This Page