LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Help - nVidia drivers (6011) - Debian Sarge (2.6.7 kernel) (https://www.linuxquestions.org/questions/linux-hardware-18/help-nvidia-drivers-6011-debian-sarge-2-6-7-kernel-217651/)

BaptismOfFire 08-14-2004 06:11 PM

Help - nVidia drivers (6011) - Debian Sarge (2.6.7 kernel)
 
I am having trouble installing my graphics card under Debian. I hope I have supllied enough info.

First, my PC Specs...

Abit IC7 Max3
P4 Prescott 3.0E
1024MB DDR400/PC3200 SDRAM
Gigabyte GeForce FX5950 Ultra (520Mhz edition)
Soundlaster Audigy ZS
CD-RW & DVD±RW
200GB Seagate HDD
Twin Monitors

Now my software...

Debian Linux Sarge based on the 2..7 kernel and optimised for the i686
nVidia 6011 drivers

At this point I have not installed the Xwindows system (to my knowledge (could this be the problem???))



Here is a blow-by-blow install log (please note that I am attempting to follow the instructions here for installing the card.

Quote:

> Insert Linux "Sarge" NetInsatll CD

> Type "linux26 [enter]" to start installation of the 2.6 kernel using the Debian Installer

> Select [English]

> Select [United Kingdom]

> Select [British English]

> Press [enter] to select "debian" as my "Host name"

> Press [enter] leaving "Domain name" blank

> Select [Manually edit partition information] - I set up my partions thus:

- All on IDE1 (hda) - 200.0 GB ST3200822A
- - #1 primary 102.3 GB ntfs
- - #2 primary 87.8 GB ext3 /
- - #3 primary 4.8 GB swap swap
- - #4 primary 4.8 GB fat32 /fat32

> Select [Finish partitioning and write chnges to disk]

> Select [Yes] to format partions #2 and #3 on hda1

> Select [No] to installing the "GRUB boot loader" to the "Master boot record" (From a prev instal the ntfsdlr is already set to point at hda2 to run LILO/GRUB)

> Type "/dev/hda2 [enter]" to install GRUB to the secondary partition

> Remove CD and select [Continue] to restart machine and boot into DebianLinux

> At windows boot loader select [Debian Linux]

> At GRUB boot loader select [Debian GNU/Linux, kernel 2.6.7-1-386]

> Select [OK] at Base configuration screen

> Select [No] to hardware clock set by GMT

> Select [Europe/London (Great Britain)]

> Enter and confirm root password

> Enter name for user, select username, enter and confirm password for user

> Select [ftp] for "apt configuration"

> Select [Britain UK] : [ftp.uk.debian.org]

> Goto manual package selection : upgrade

> At mail configuration select [no configuration at this time]

> Select User as postmaster

> Select OK and login as root

> Using Vi, add "contrib non-free" to both lines in "/etc/apt/sources.list"

> Using "aptitude" or "apt-get install" selcet "kernel-image-2.6-686" and "kernel-image-2.6.7-1-686"

> Upgrade aptitude then reboot

> At GRUB boot loader select [Debian GNU/Linux, kernel 2.6.7-1-686] and login as root

> apt-get install nvidia-kernel-source nvidia-kernel-common

> apt-get install kernel-headers-`uname -r`

> export KVERS=`uname -r`

> export KSRC=/usr/src/kernel-headers-`uname -r`

> cd /usr/src

> tar xvzf nvidia-kernel-source.tar.gz

> cd modules/nvidia-kernel

> debian/rules binary_modules
This is as far as I get. error messages now follow. however, the text runs more than one page of the screen, and as far as I can tell there is no log file. Therefore, I decided to try and create my own.
Quote:

> touch debian/log.txt
> echo `debian/rules binary_modules` > debian/log.txt
> man debian/log.txt
The result is this...
Code:

#  select  which  makefile to use. rm -f /usr/src/modules/nvidia-
kernel/nv/Makefile || true if [ 4 = 6 ]; then  cd  /usr/src/mod-
ules/nvidia-kernel/nv  ;  ln -s Makefile.kbuild Makefile ;  cd ..
;  if [ 0 = 1 ]; then  dpatch apply  01_sysfs  ;  dpatch  status
01_sysfs  >patch-stamp ;  dpatch apply 02_pcialias ;  dpatch sta-
tus 02_pcialias  >patch-stamp ;  fi  fi if [ 4 = 4  ];  then  cd
/usr/src/modules/nvidia-kernel/nv  ;  ln -s Makefile.nvidia Make-
file ;  cd .. ;  fi #nothing here anymore  touch  configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ];
then  cp  /usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control;    fi  dh_testdir
dh_testroot PATCHLEVEL = 4 Kernel compiler version  :  3.3.4  De-
tected  compiler version : 3.3.4 Using compiler gcc version 3.3.4
touch      /usr/src/modules/nvidia-kernel/nv/gcc-check      touch
/usr/src/modules/nvidia-kernel/nv/cc-sanity-check ## Main Make ##
IGNORE_CC_MISMATCH=1  CC="gcc"  /usr/bin/make  -C  /usr/src/mod-
ules/nvidia/kernel/nv  -f Makefile SYSSRC= KBUILD_PARAMS="-C SUB-
DIRS=/usr/src/modules/nvidia-kernel/nv" module; make[1]: Entering
directory  `/usr/src/modules/nvidia-kernel/nv'  Your  kernel  was
configured to include rivafb support as a loadable kernel module.
The  rivafb  driver  conflicts with the NVIDIA driver; the NVIDIA
kernel module will still be built and  installed,  but  be  aware
that  the  NVIDIA driver will not be able to function properly if
the rivafb module is loaded! configure-stamp debian nv Failed ri-
vafb  module sanity check, but continuing! configure-stamp debian
nv  gcc  -c  -Wall  -Wimplicit  -Wreturn-type  -Wswitch  -Wformat
-Wchar-subscripts  -Wparentheses  -Wpointer-arith  -Wno-multichar
-Werror -O fnoo-common -MD  -D__KERNEL__  -DMOSULE  -D_LOOSE_KER-
NEL-NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV-
EL=6106    -DNV_UNIX    -DNV_LINUX    -DNV_INT64_OK  -DNV_CPUX86
-DREMAP_PAGE_RANGE_5      -DNV_CHANGE_PAGE_ATTR_PRESENT      -I.
-I/lib/modules/2.6.7-1-686/build/include  -Wno-cast-qual -Wno-er-
ror nv.c make[1]: Leaving directory `/usr/src/modules/nvidia-ker-
nel/nv'

this does not match what appears on screen, so I try
Quote:

> man debian/rules binary_modules
which gives this...

Code:

debian/rules:175: warning [p 3, 1.3i]: cannot adjust line       
#!/usr/bin/make  -f # Sample debian/rules that uses debhelper.  #
GNU copyright 1997 to 1999 by Joey Hess.                       
                                                               
# Uncomment this to turn on verbose mode.  #export DH_VERBOSE=1 
                                                               
# This is the debhelper compatability  version  to  use.  export
DH_COMPAT=2                                                     
                                                               
upstreamversion=1.0-5336 dirname=nv                             
                                                               
# if you need to redefine hese KSRC:=$(KSRC) KVERS:=${KVERS}   
                                                               
# 6106 has builtin sysfs support supposedly NV_PATCH_SYSFS ?= 0 
                                                               
#  redefine  the  directory  for  kbuild  to  fine  the makefile.
KBUILD_PARAMS := "-C $(KSRC) SUBDIRS=$(CURDIR)/$(dirname)"     
                                                               
#### COMPILER DETECTION ####                                   
                                                               
ifeq  ($(origin  CC),default)  ifneq  "$(wildcard  $(KSRC)/in-
clude/linux/compile.h)"  ""  CC = gcc-$(shell grep LINUX_COMPILER
$(KSRC)/include/linux/compile.h    |    sed    's/.*[gcc|GCC].*
-9].[0-9]+.*/1/') else CC = gcc endif endif                     
                                                               
ifeq ($(CC),gcc-2.7) CC = gcc272 endif                         
                                                               
#  determine  gcc  versions  used  (kernel,  nvidia.o)  mod-
ule_cc:=$(shell $(CC) -v 2>&1 | tail -1) version="^Linux  version
[^(]*  (.*&.*)  (c.*) .*"  kernel_cc:=$(shell cat /proc/version |
sed "s/"$(version)"/1/')                                       
                                                               
module_cc:=$(shell    echo    "$(module_cc)"    |    sed    's/.*
-9.]*.[0-9].*/1/')  kernel_cc:=$(shell  echo "$(kernel_cc)" | sed
's/.* -9.]*.[0-9].*/1/')                                       
                                                               
baseepoch=$(shell expr $(KDREV) : '-9]*:.*' 2>/dev/null  )  ifneq
($(baseepoch),)                                                 
      EPOCH=$(baseepoch):  endif  REV=$(shell  expr  $(KDREV)  :
'[0-9]*:' 2>/dev/null) ifeq ($(REV),)                           
    REV=$(KDREV)  endif  VERSION=$(shell  dpkg-parsechangelog  |
grep  ^Version:  |  cut  -d  '  '  -f  2) ifeq ($(REV),) PKG_VER-
SION=$(EPOCH)$(VERSION)      else      PKG_VERSION=$(EPOCH)$(VER-
SION)+$(REV) endif                                             
                                                               
CHFILE=$(CURDIR)/../../nvidia-kernel-$(KVERS)_$(PKG_VER-       
SION)_$(ARCH).changes                                           
                                                               
KERNEL_VERSION_CODE = $(shell cat $(KSRC)/include/linux/version.h
|  grep  LINUX_VERSION_CODE  |  cut  -d  "  " -f 3) DESIRED_VER-
SION=132608 # 2 << 16 + 6 << 8 + 0 VERSION_EXPR  =  $(shell  test
$(KERNEL_VERSION_CODE) -ge $(DESIRED_VERSION) : echo $$? )     
                                                               
ifeq ($(VERSION_EXPR),0)                                       
  PATCHLEVEL=6 else                                             
  PATCHLEVEL=4 endif                                           
                                                               
%.makefile  :        # select which makefile to use.          rm
-f $(CURDIR)/$(dirname)/Makefile || true        if [ $(PATCHLEV-
EL)  =  6  ]; then            cd $(CURDIR)/$(dirname) ;      ln
-s Makefile.kbuild  Makefile  ;        cd  ..  ;          if  [
$(NV_pATCH_SYSFS)  =  1  ];  then                  dpatch  apply
01_sysfs  ;            dpatch  status  01_sysfs  >patch-stamp  ;
          dpatch          apply          02_pcialias          ;
        dpatch  status  02_pcialias  >>patch-stamp  ;          fi
        fi                    if  [  $(PATCHLEVEL)  = 4  ]; then
            cd  $(CURDIR)/$(dirname)  ;            ln  -s  Make-
file.nvidia Makefile ;        cd .. ;    fi                   
                                                               
configure: configure-stamp configure-stamp: config.Makefile                                                                     
        #nothing here anymore                                   
                                                               
        touch configure-stamp                                   
                                                               
build:  configure-stamp  build-stamp build-stamp:        if [ -f
$(CURDIR)/debian/control.template ]; then              cp  $(CUR-
DIR)/debian/control.template $(CURDIR)/debian/control;        fi
                                                               
        dh_testdir        dh_testroot                           
                                                               
        @echo "PATCHLEVEL = $(PATCHLEVEL) " ;        @:echo "Ker-
ne compiler version : $(kernel_cc)"  ;          @echo  "Detected
compiler version : $(module_cc)" ;                             
                                                               
        @if  [  "$(kernel_cc)"  != "$(module_cc)" ]; then  echo "
";    echo "You appear to be compiling the NVIDIA kernel  module
with    ";      echo  "a compiler different from the one that was
used to compil ";    echo "the running kernel. This may  be  per-
fectly alright and you ";  echo "may be building this module for
another kernel in which case";    echo "you may ignore this mes-
sage.";  echo 2 2 ;      echo "the compiler that will be used to
compile this  module  has  been";    echo  "determined  from:"  ;
      echo " 1) the CC environment variable " ;        echo " 2)
that specified in ";  echo "    $(KSRC)/include/linux/compile.h"
;      echo  "  3) gcc " ;      fi        @echo "Using compiler
$(CC) version $(module_cc)";                                   
                                                               
        touch $(CURDIR)/$(dirname)/gcc-check        touch $(CUR-
DIR)/$(dirname)/cc-sanity-check                                 
                                                               
        ##  Main  Make ##        IGNORE_CC_MISMATCH=1 CC="$(CC)"
$(MAKE) -C $(CURDIR)/$(dirname) -f Makefile SYSSRC=$(KSRC)  $(KP-
KG_EXTRAV_ARG) KBUILD_PARAMS=$(KBUILD_PARAMS) module;           
                                                               
        touch build-stamp                                       
                                                               
install:    build            dh_testdir            dh-testroot
        dh_clean -k                                             
                                                               
        sed  's/#KVERS#/$(KVERS)/g'  debian/control.template  >
$(CURDIR)/debian/control          sed  's/#KVERS#/$(KVERS)/g' de-
bian/dirs.template    >    $(CURDIR)/debian/dirs            sed
's/#KVERS#/$(KVERS)/g'  debian/override.template  > $CURDIR)/de-
bian/override                                                   
                                                               
        dh_installdirs                                         
                                                               
        install -m 0644  $(CURDIR)/debian/override  $(CURDIR)/de-
bian/nvidia-kernel-$(KVERS)/usr/share/lintian/overrides/nvidia- 
kernel-$(KVERS)        if [ "$(PATCHLEVEL)" = "6" ] ; then     
install  -m 0644  $(CURDIR)/$(dirname)/nvidia.ko  $(CURDIR)/de-
bian/nvidia-kernel-$(KVERS)/lib/modules/$(KVERS)/nvidia/nvidia.ko
;    else        install  -m 0644 $(CURDIR)/$(dirname)/nvidia.o
$(CURDIR)/debian/nvidia-kernel-$(KVERS)/lib/mod-               
ules/$(KVERS)/nvidia/nvidia.o ;    fi                         
                                                               
binary_module: build install          dh_testdir        dh_test-
root  #      dh_installdebconf                    dh_installdocs
#      dh_installexamples            #      dh_installmanpages
#      dh_undocumented #      dh_installmodules               
                                                               
        dh_installinit                      dh_installchangelogs
        dh_link                dh_strip              dh_compress
        dh_fixperms # You may want to make some executables  suid
here.        #      dh_suidregister      #      dh_makeshlibs
        dh_installdeb #      dh_shlibdeps          dh_gencontrol
--  -v$(PKG_VERSION)          dh_md5sums  ifeq  "$(origin  KP-
KG_DEST_DIR)" "undefined"      ifeq  "$(origin  KMAINT)"  "unde-
fined"              dh_builddeb  --destdir=$(CURDIR)/..  else   
        dh_builddeb      --destdir=$(KSRC)/..      endif    else
        dh_builddeb  --destdir=$(KPKG_DEST_DIR) endif           
clean:  clean.Makefile  unpatch          if  [  -f $(CURDIR)/de-
bian/control.template ]; then                  cp  $(CURDIR)/de-
bian/control.template $(CURDIR)/debian/control;      fi         
                                                               
        dh_testroot        rm -f build-stamp configure-satmp   
                                                               
        $(MAKE)  clean  SYSSRC=$(KSRC) -C $(CURDIR)/$(dirname) -f
Makefile $(KPKG_EXTRAV_ARG)                                     
                                                               
        rm  -f  $(CURDIR)/$(dirname)/Makefile  ||  true;     
        -rm  $(CURDIR)/$(dirname)/gcc-check          -rm  $(CUR-
DIR)/$(dirname)/cc-sanity-check                  -dh_clean     
                                                               
        -rm  $(CURDIR)/debian/control          -rm  $(CURDIR)/de-
bian/dirs        -rm $(CURDIR)/debian/override                 
                                                               
unpatch:          if [ -e patch-stamp ]; then        dpatch deap-
ply-all ;            rm  -rf  patch-stamp  debian/patched  ;  fi
                                                               
#  The kdist_configure target is called by make-kpkg modules_con-
fig. It # should configure the module so it is ready for compila-
tion  (mostly  #  useful  for  calling  configure)  kdist_config:
            $(ROOT_CMD) $(MaKE) $(MFLAGS) -f  debian/rules  con-
figure                                                         
                                                               
kdist_configure:                $(ROOT_CMD) $(MAKE) $(MFLAGS) -f
debian/rules configure                                         
                                                               
# the kdist_image target is called by make_kpkg modules_image. It
is  # responsable for compiling the module and creating the pack-
age. It # should also clean up after making  the  module.  Please
note  we  use  a # seperate binary-modules target to make testing
the  package  building  #  easier    kdist_image:           
$(ROOT_CMD)  $(MAKE)  $(MFLAGS)  -f  debian/rules  binary_modules
            $(ROOT_CMD) $(MAK) $(MFLAGS) -f debian/rules clean 
                                                               
# the kdist_clean target is called by make_kpkg modules_clean. It
is  # responsable for cleaning up any changes that have been made
by the # other kdist_commands (except for the .deb  files  creat-
ed.    kdist_clean:              $(ROOT_CMD) $(MAKE) $(MFLAGS) -f
debian/rules clean                                             
                                                               
kdist:        $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules  bi-
nary_modules          # Build a .changes file          dpkg-gen-
changes  -b  -e"$(KMAINT)  <$(KEMAIL)>"  -u"$(CURDIR)/../.."  >
$(CHFILE)          debsign  -e"$(KMAINt)  <$(KEMAIL)>"  $(CHFILE)
        $(ROOT_CMD)  $(MAKE)  $(MFLAGS)  -f  debian/rules  clean
                                                               
No manual entry for binary modules

Some of that text matches the previous text and may shed light on the error message i receive. that error message will now follow, however, until I learn how to view the text that has scrolled off the screen, all I can give is this last page. (NB I have more of the error message, but not necessarily all of it, by using a combination of scroll lock and
[quote]> debian/rules binary_modules > log.txt
> cat log.txt[\quote]

BaptismOfFire 08-14-2004 06:14 PM

The text shown indented by Italics is only visible in the log.txt.
The text shown indented by bold italics is only visible by using scroll lock, and is also inserted in between 2 lines that appear right next to each other in log.txt.
The line of ~~~ is to show that there may or may not be text missing from here as this was obtained wholly by the use of scroll lock.


Code:

# select which makefile to use                                               
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true                         
if [ 4 = 6  ]; then \                                                           
    cd /usr/src/modules/nvidia-kernel/nv ; \                                   
    ln -s Makefile.kbuild Makefile ; \                                         
    cd .. ; \                                                                   
      if [ 0 = 1 ]; then \                                                       
        dpatch apply 01_sysfs ; \                                               
        dpatch status 01_sysfs >patch-stamp ; \                                 
        dpatch apply 02_pcialias ; \                                             
                dpatch status 02_pcialias >>patch-stamp ; \                     
      fi \ 

fi                                                                               
if [  4 = 4  ]; then \                                                           
    cd /usr/src/modules/nividia-kernel/nv ; \                                   
    ln -s Makefile.nvidia Makefile ; \                                         
    cd .. ; \                                                                   
fi                                                                               
#nothing here anymore                                                           
touch configure-stamp                                                           
if [ -f /usr/src/modules/nvidia-kernel/debian/control.templatwe ]; then \       
        cp  /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modu 
les/nvidia-kernel/debian/control; \                                             
fi                                                                               
dh_testdir                                                                       
dh_testroot                                                                     
PATCHLEVEL = 4                                                                   
Kernel compiler version : 3.3.4                                                 
Detected compiler version : 3.3.4                                               
Using compiler gcc version 3.3.4                                                 
touch /usr/src/modules/nvidia-kernel/nv/gcc-check                               
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check                         
## Main Make ##                                                                 
IGNORE_CC_MISMATCH=1 CC="gcc" /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv 
 -f Makefile SYSSRC=  KBUILD_PARAMS="-C  SUBDIRS=/usr/src/modules/nvidia-kernel 
/nv" module                                                                     
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'                 
                                                                                 
Your kenel was configured to include rivafb support as                       
a loadable kernel module                                                         
                                                                                   
The rivafb driver conflicts with the NVIDIA driver; the

NVIDIA kernel module will still be built and installed,                         
but be aware that the nvidia driver will not be able to                         
function properly if the rivafb module is loaded!                               
                                                                                 
*** Failed rivafb module sanity check, but continuing! ***                       
                                                                                 
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare 
ntheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD -D__KERNEL__ 
 -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__K 
ERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6106 
  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86      -DREMAP_PAGE_RANGE_5 
 -DNV_CHANGE_PAGE_ATTR_PRESENT  -I. -I/lib/modules/2.6.7-1-686/build/include -Wn 
o-cast-qual -Wno-error nv.c                                                     
In file included from /lib/modules/2.6.7-1-686/build/include/linux/list.h:7,
                from /lib/modules/2.6.7-1-686/build/include/linux/wait.h:14,   
                from /lib/modules/2.6.7-1-686/build/include/asm/semaphore.h:41, 
                from /lib/modules/2.6.7-1-686/build/include/linux/sched.h:18,   
                from /lib/modules/2.6.7-1-686/build/include/linux/module.h:10, 
                from nv-linux.h:52                                             
                from nv.c:14:                                                   
/lib/modules/2.6.7-1-686/build/include/linux/prefetch.h: In function `prefetch_r 
ange':                                                                           
/lib/modules/2.6.7-1-686/build/include/linux/prefetch.h:62: warning: pointer of 
type `void *' used in arithmetic                                                 
                                                                               
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                               
                from nv.c:14:                                                   
/lib/modules/2.6.7-1-686/build/include/asm/irq.h:16:25: irq_vectors.h: No such f 
ile or directory                                                                 
In file included from /lib/modules/2.6.7-1-686/build/include/asm/hardirq.h:6,   
                from /lib/modules/2.6.7-1-686/build/include/linux/interrupt.h:1 
1,                                                                               
                from nv-linux.h:76,                                             
                from nc.c:14:                                                   
/lib/modules/2.6.7-1-686/build/include/linux/irq.h: At top level:               
/lib/modules/2.6.7-1-686/build/include/linux/irq.h:70: error: `NR_IRQS' undeclar 
ed here (not in a function)                                                     
In file included from /lib/modules/2.6.7-1-686/build/include/linux/irq.h:72,     
                from /lib/modules/2.6.7-1-686/build/include/asm/hardirq.h:6,   
                from /lib/modules/2.6.7-1-686/build/include/linux/interrupt.h:1 
1,                                                                               
                from nv-linux.h:76,                                             
                from v.c:14:                                                   
/lib/modules/2.6.7-1-686/build/include/asm/hw_irq.h:28: error `NR_IRQ_VECTORS'   
undeclared here (not in a function)                                             
/lib/modules/2.6.7-1-686/build/include/asm/hw_irq.h:32: error: `NR_IRWS' undecla 
red here (not in a function)                                                     
make[1]: *** [nv.o] Error 1

make[1]: Leaving directory `/usr/src/modules/nvidi-kernel/nv'                   
make: *** [build-stamp] Error 2

At first i thought that the rivafb module was causing all the grief. But based on the following 3 commands and there results, I am not so sure.

Quote:

> rmmod rivafb
Code:

ERROR: Module rivafb does not exist in /proc/modules
Quote:

> insmod rivafb
Code:

insmod: can't load 'rivafb': No such file or directory
Quote:

> apropos rivafb
Code:

rivafb: nothing appropriate
I am afraid I cannot give the output of /sbin/lspci as the file lspci does not appear to exist (at least not in this directory).

Quote:

> dmesg
Code:

at 000f5d80
On node 0 totalpages: 262128
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:16
  HighMem zone: 32752 pages, LIFO batch:7
DMI 2.2 present.
ACPI: RSDP (v000 IntelR                                    ) @ 0x000f7ca0
ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff7a40
ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 20
WARNING: NR_CPUS limit of 1 reached.  Processor ignored.
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
Kernel command line: root=/dev/hda2 ro
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 3007.534 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 1032084k/1048512k available (1515k kernel code, 15500k reserved, 659k da
ta, 148k init, 131008k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5963.77 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:    After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU:    After vendor identify, caps: bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU:    After all inits, caps: bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not co
nnected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 3006.0191 MHz.
..... host bus clock speed is 200.0412 MHz.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4588k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfbca0, last bus=3
PCI: Using configuration type 1 mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 *4 5 7 9 10 11 12 14 15)
ACPI: Power Resource [PFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fc690
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc6c0, dseg 0xf0000
PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
00:00:1f[C] -> 2-16 -> IRQ 16 level low
00:00:1f[A] -> 2-18 -> IRQ 18 level low
00:00:1f[B] -> 2-17 -> IRQ 17 level low
00:00:1d[B] -> 2-19 -> IRQ 19 level low
00:00:1d[D] -> 2-23 -> IRQ 23 level low
00:03:08[A] -> 2-20 -> IRQ 20 level low
00:03:08[B] -> 2-21 -> IRQ 21 level low
00:03:08[C] -> 2-22 -> IRQ 22 level low
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00178020
.......    : max redirection entries: 0017
.......    : PRQ implemented: 1
.......    : IO APIC version: 0020
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00  1    0    0  0  0    0    0    00
01 001 01  0    0    0  0  0    1    1    39
02 001 01  0    0    0  0  0    1    1    31
03 001 01  0    0    0  0  0    1    1    41
04 001 01  0    0    0  0  0    1    1    49
05 001 01  0    0    0  0  0    1    1    51
06 001 01  0    0    0  0  0    1    1    59
07 001 01  0    0    0  0  0    1    1    61
08 001 01  0    0    0  0  0    1    1    69
09 001 01  0    1    0  0  0    1    1    71
0a 001 01  0    0    0  0  0    1    1    79
0b 001 01  0    0    0  0  0    1    1    81
0c 001 01  0    0    0  0  0    1    1    89
0d 001 01  0    0    0  0  0    1    1    91
0e 001 01  0    0    0  0  0    1    1    99
0f 001 01  0    0    0  0  0    1    1    A1
10 001 01  1    1    0  1  0    1    1    A9
11 001 01  1    1    0  1  0    1    1    B9
12 001 01  1    1    0  1  0    1    1    B1
13 001 01  1    1    0  1  0    1    1    C1
14 001 01  1    1    0  1  0    1    1    D1
15 001 01  1    1    0  1  0    1    1    D9
16 001 01  1    1    0  1  0    1    1    E1
17 001 01  1    1    0  1  0    1    1    C9
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables
configured (established 262144 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4588 blocks [1 disk] into ram disk... \

done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 148k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 0000:00:1f.1
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: ST3200822A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: DVD-RW IDE1004, ATAPI CD/DVD-ROM drive
hdd: YAMAHA CRW-F1E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 4763264k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda2, internal journal
Real Time Clock Driver v1.12
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 44X CD-ROM CD-R/RW CD-MRW drive, 8192kB Cache, UDMA(33)
Capability LSM initialized
e1000: Ignoring new-style parameters in presence of obsolete ones
Intel(R) PRO/1000 Network Driver - version 5.2.52-k4
Copyright (c) 1999-2004 Intel Corporation.
PCI: Setting latency timer of device 0000:02:01.0 to 64
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
SCSI subsystem initialized
libata version 1.02 loaded.
ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 18
ata2: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD008 irq 18
ata1: SATA port has no device.
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
sata_sil version 0.54
ata3: SATA max UDMA/100 cmd 0xF8828080 ctl 0xF882808A bmdma 0xF8828000 irq 19
ata4: SATA max UDMA/100 cmd 0xF88280C0 ctl 0xF88280CA bmdma 0xF8828008 irq 19
ata5: SATA max UDMA/100 cmd 0xF8828280 ctl 0xF882828A bmdma 0xF8828200 irq 19
ata6: SATA max UDMA/100 cmd 0xF88282C0 ctl 0xF88282CA bmdma 0xF8828208 irq 19
ata3: no device found (phy stat 00000000)
scsi2 : sata_sil
ata4: no device found (phy stat 00000000)
scsi3 : sata_sil
ata5: no device found (phy stat 00000000)
scsi4 : sata_sil
ata6: no device found (phy stat 00000000)
scsi5 : sata_sil
Intel 810 + AC97 Audio, version 1.01, 05:54:57 Jul 8 2004
PCI: Setting latency timer of device 0000:00:1f.5 to 64
i810: Intel ICH5 found at IO 0xdc00 and 0xd800, MEM 0xfc102000 and 0xfc103000, I
RQ 17
i810: Intel ICH5 mmio at 0xf88b4000 and 0xf8b58000
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ALG32 (ALC650)
i810_audio: AC'97 codec 0, new EID value = 0x05c7
i810_audio: AC'97 codec 0, DAC map configured, total channels = 6
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem f8b5a000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i875 Chipset.
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 128M @ 0xf0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 16, io base 0000bc00
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 19, io base 0000b000
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 18, io base 0000b400
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.3: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: irq 16, io base 0000b800
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 3-1: new low speed USB device using address 2
usbcore: registered new driver hiddev
usb 3-2: new full speed USB device using address 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.10 Joystick [Logitech Logitech Freedom 2.4] on usb-0000:00:1d.
1-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 pr
oto 2 vid 0x04B8 pid 0x0005
usbcore: registered new driver
usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
hw_random: RNG not detected
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[fb008000-fb0087ff] Max
 Packet=[2048]
ohci1394: fw-host1: OHCI-1394 1.1 (PCI): IRQ=[23] MMIO=[fb009000-fb0097ff] Max
 Packet=[2048]
Creative EMU10K1 PCI Audio Driver, version 0.20a, 05:55:25 Jul 8 2004
gameport: pci0000:03:06.1 speed 1147 kHz
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00508d0000f87913]
ip1394: $Rev: 1224 $ Ben Collins <bcollins@debian.org>
ip1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
ip1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (fw-host1)
ieee1394: Host added: ID:BUS[1-00:1023] GUID[00023c015101da81]
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Half Duplex
NET: Registered protocol family 17

Well done to anyone who has got this far and read it.

Please, if anyone has any suggestions I am all ears.

I will be updating past 6011 very soon, that might help ut I doubt it. Do I need to install Xwindows first though?

crashmeister 08-15-2004 05:18 AM

Well - you could go and install:
apt-get install nvidia-glx
apt-get install nvidia-kernel-2.6.7-1-386

The 386 is on my box but I am sure you can find a 686 somewhere.

BaptismOfFire 08-15-2004 11:30 AM

cheers, I will try that.

I didn't see that step documented on the howto I am using though. Which I know has seen someone through OK. (<aybe they had GLX installed already).

I will give it a try anyway, I'll see you in 5.

BaptismOfFire 08-15-2004 11:54 AM

Quote:

[apt-get install nvidia-glx
Code:

nvidia-glx is already the newest version
Quote:

apt-get install nvidia-kernel-2.6.7-1-386
Code:

E: Couldn't find package nvidia-kernel-2.6.7-1-i386

liquidtenmilion 08-15-2004 12:38 PM

type "apt-cache search nvidia"

then type apt-get install nvidia-glx and all the others that seem relavent.

BaptismOfFire 08-15-2004 12:40 PM

OK, now my head is completely screwed...

I was following the howto HERE, which I know has helped someone else install the nvidia drivers.

I had also attempted to install the nvidia installation package. no luck.

I did and update under aptitude and got the latest version of nvidia-kernel-common and even that didn't work. So, just out of sheer spite I thought I would try the nvidia download again. This time i downloaded the 6111 driver as opposed to the 6011 that was available, run it, and apart from the customary your kernel was compiled with riafb nag message, it all worked.

Please note, that before I did this I did apt-get install x-window-system. Now this didn't help with regards to the how to I was attempting to follow, but I cannot say if it made a difference to the nvidia installer.

Anyway, it seems to be working, for now, and I am just about to install KDE

BaptismOfFire 08-15-2004 12:43 PM

now regarding rivafb, do I need to worry about it? As when I tried to rmmod or insmod it, it behaved like it didn't exist.

darkleaf 08-15-2004 12:47 PM

It doesn't matter much now you've got it working but I found that you can solve this error (and all similar all those errors you had seem to have something to do with this):

Quote:

/lib/modules/2.6.7-1-686/build/include/asm/irq.h:16:25: irq_vectors.h: No such f
ile or directory
You need to create the 2.6.7-1-686 directory if it's not there yet (the similar directory for me wasn't there) then you create a symbolic link build to the kernel source.


All times are GMT -5. The time now is 11:23 AM.