Forum Home
Press F1
 
Thread ID: 44112 2004-04-07 08:46:00 Linux Problem Nforce thingimies Nigel Thomson (629) Press F1
Post ID Timestamp Content User
227903 2004-04-07 08:46:00 Greetings all

Ok ages ago I updated my SuSE 8.2 install using the "YOU" (YAST Online Update) which promptly screwed all my nvidia drivers, sound, graphic and network .
After much hunting and advice,
I tried to install the source rpm for the sound and network,
I firstly tried uninstalling the original drivers i had installed via rpm -e *whatever the name of the drivers where* and it promptly told me the rpm wasn't installed in the first place.
I then compiled the Source rpm, then tried installing it, only to be told it the created modules clashed with the original modules I had installed,

so then I tried uninstalling (the rpm) again to be told that it was not installed.
So I am oficially stumped, I am sure I have specified the correct rpm (it was still in the directory I installed from)

I have the log of what i did below (sorry its big)

linux:~/Desktop # rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm
Installing NVIDIA_nforce-1.0-0261.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.87091
+ umask 022
+ cd /usr/src/packages/BUILD
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/packages/BUILD
+ rm -rf nforce
+ /bin/gzip -dc /usr/src/packages/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:36:14 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:37 nforce/nvnet/
-r--r--r-- buildmeister/adm 16904 2003-05-06 12:39:37 nforce/nvnet/adapter.h
-r--r--r-- buildmeister/adm 794 2003-05-06 12:39:37 nforce/nvnet/basetype.h
-r--r--r-- buildmeister/adm 6752 2003-05-06 12:39:37 nforce/nvnet/nvnet.h
-r--r--r-- buildmeister/adm 4437 2003-05-06 12:39:37 nforce/nvnet/os.h
-r--r--r-- buildmeister/adm 4749 2003-05-06 12:39:37 nforce/nvnet/phy.h
-r--r--r-- buildmeister/adm 37870 2003-05-06 12:39:37 nforce/nvnet/nvnet.c
-rw-r--r-- buildmeister/adm 21504 2003-05-06 12:39:37 nforce/nvnet/nvnetlib.o
-r--r--r-- buildmeister/adm 3088 2003-05-06 12:39:37 nforce/nvnet/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /bin/gzip -dc /usr/src/packages/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:38 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:38 nforce/nvaudio/
-r--r--r-- buildmeister/adm 2522 2003-05-06 12:39:38 nforce/nvaudio/Makefile
-r--r--r-- buildmeister/adm 58241 2003-05-06 12:39:38 nforce/nvaudio/nvcrush.c
-r--r--r-- buildmeister/adm 32174 2003-05-06 12:39:38 nforce/nvaudio/nvhw.c
-r--r--r-- buildmeister/adm 33857 2003-05-06 12:39:38 nforce/nvaudio/nvmain.c
-r--r--r-- buildmeister/adm 8314 2003-05-06 12:39:38 nforce/nvaudio/nvrec.c
-r--r--r-- buildmeister/adm 26382 2003-05-06 12:39:38 nforce/nvaudio/nvspdif.c
-r--r--r-- buildmeister/adm 14709 2003-05-06 12:39:38 nforce/nvaudio/nvwavout.c
-r--r--r-- buildmeister/adm 4546 2003-05-06 12:39:38 nforce/nvaudio/chaninfo.h
-r--r--r-- buildmeister/adm 5065 2003-05-06 12:39:38 nforce/nvaudio/nvhw.h
-r--r--r-- buildmeister/adm 1570 2003-05-06 12:39:38 nforce/nvaudio/nvioctl.h
-r--r--r-- buildmeister/adm 1392 2003-05-06 12:39:38 nforce/nvaudio/nvrec.h
-r--r--r-- buildmeister/adm 1618 2003-05-06 12:39:38 nforce/nvaudio/nvspdif.h
-r--r--r-- buildmeister/adm 1499 2003-05-06 12:39:38 nforce/nvaudio/nvwavout.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /bin/gzip -dc /usr/src/packages/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:36 nforce/
-r--r--r-- buildmeister/adm 1091 2003-05-06 12:39:36 nforce/Makefile
-r--r--r-- buildmeister/adm 5404 2003-05-06 12:39:36 nforce/NVLicense.txt
-r--r--r-- buildmeister/adm 18007 2003-05-06 12:39:36 nforce/GNULicense.txt
-r--r--r-- buildmeister/adm 23612 2003-05-06 12:39:36 nforce/ReleaseNotes.html
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /bin/gzip -dc /usr/src/packages/SOURCES/nvgart.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:38 nforce/
drwxr-xr-x buildmeister/adm 0 2003-05-06 12:39:38 nforce/nvgart/
-r--r--r-- buildmeister/adm 590 2003-05-06 12:39:38 nforce/nvgart/Makefile
-r--r--r-- buildmeister/adm 1231 2003-05-06 12:39:38 nforce/nvgart/README
-r--r--r-- buildmeister/adm 14033 2003-05-06 12:39:38 nforce/nvgart/linux-2.4.20
-agpgart.diff
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.87091
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nforce
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes
-DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fal
ign-functions=4 -DMODULE -I/lib/modules/2.4.20-4GB-athlon/build/include -DMODV
ERSIONS -include /lib/modules/2.4.20-4GB-athlon/build/include/linux/modversions.
h nvnet.c
In file included from /lib/modules/2.4.20-4GB-athlon/build/include/linux/netdevi
ce.h:147,
from nvnet.h:35,
from nvnet.c:21:
/lib/modules/2.4.20-4GB-athlon/build/include/linux/skbuff.h: In function `__pskb
_pull':
/lib/modules/2.4.20-4GB-athlon/build/include/linux/skbuff.h:856: warning: compar
ison between signed and unsigned
/lib/modules/2.4.20-4GB-athlon/build/include/linux/skbuff.h: In function `pskb_m
ay_pull':
/lib/modules/2.4.20-4GB-athlon/build/include/linux/skbuff.h:872: warning: compar
ison between signed and unsigned
ld -r -o temp.o nvnet.o nvnetlib.o
objcopy --strip-symbol="gcc2_compiled." temp.o
cp temp.o nvnet.o
rm temp.o
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvnet'
make -C nvaudio
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvaudio'
make nvaudio.o
make[2]: Entering directory `/usr/src/packages/BUILD/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvhw.o nvhw.c
nvhw.c: In function `alloc_dmabuf':
nvhw.c:49: warning: comparison between signed and unsigned
nvhw.c:56: warning: comparison between signed and unsigned
nvhw.c: In function `prog_dmabuf':
nvhw.c:198: warning: comparison between signed and unsigned
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvrec.o nvrec.c
nvrec.c: In function `Nvaudio_get_recdma_addr':
nvrec.c:35: warning: comparison between signed and unsigned
nvrec.c: In function `__start_adc':
nvrec.c:119: warning: comparison between signed and unsigned
nvrec.c: In function `__Nvaudio_update_reclvi':
nvrec.c:151: warning: comparison between signed and unsigned
nvrec.c: In function `Nvaudio_update_recptr':
nvrec.c:199: warning: comparison between signed and unsigned
nvrec.c:211: warning: comparison between signed and unsigned
nvrec.c: In function `Nvaudio_get_available_read_data':
nvrec.c:226: warning: comparison between signed and unsigned
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvwavout.o nvwavout.c
nvwavout.c: In function `Nvaudio_get_dma_addr':
nvwavout.c:83: warning: comparison between signed and unsigned
nvwavout.c: In function `Nvaudio_update_ptr':
nvwavout.c:235: warning: comparison between signed and unsigned
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvspdif.o nvspdif.c
nvspdif.c: In function `Nvaudio_get_spdma_addr':
nvspdif.c:82: warning: comparison between signed and unsigned
nvspdif.c: In function `Nvaudio_update_spptr':
nvspdif.c:209: warning: comparison between signed and unsigned
nvspdif.c: In function `Nvaudio_spdifwrite':
nvspdif.c:391: warning: comparison between signed and unsigned
nvspdif.c:398: warning: comparison between signed and unsigned
nvspdif.c:608: warning: comparison between signed and unsigned
nvspdif.c:688: warning: comparison between signed and unsigned
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvcrush.o nvcrush.c
nvcrush.c: In function `Nvaudio_read':
nvcrush.c:73: warning: comparison between signed and unsigned
nvcrush.c:77: warning: comparison between signed and unsigned
nvcrush.c: In function `Nvaudio_write':
nvcrush.c:242: warning: comparison between signed and unsigned
nvcrush.c:249: warning: comparison between signed and unsigned
cc -D__KERNEL__ -I/lib/modules/2.4.20-4GB-athlon/build/include -Wall -Wstrict-p
rototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fali
gn-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-4GB-athlon/b
uild/include/linux/modversions.h -c -o nvmain.o nvmain.c
In file included from nvmain.c:14:
/lib/modules/2.4.20-4GB-athlon/build/include/asm/irq.h:40: warning: `struct task
_struct' declared inside parameter list
/lib/modules/2.4.20-4GB-athlon/build/include/asm/irq.h:40: warning: its scope is
only this definition or declaration, which is probably not what you want
nvmain.c: In function `Nvaudio_ac97_init':
nvmain.c:504: warning: comparison is always false due to limited range of data t
ype
ld -r nvhw.o nvrec.o nvwavout.o nvspdif.o nvcrush.o nvmain.o -o nvaudio.o
make[2]: Leaving directory `/usr/src/packages/BUILD/nforce/nvaudio'
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvaudio'
make -C nvgart
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvgart'
making gart
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvgart'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.91342
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nforce
+ echo '---- Installing Drivers ----'
---- Installing Drivers ----
+ rm -f /usr/src/packages/BUILD/nforce/modules.list
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.20-4GB-athlon
+ TARGET_KERNEL=2.4.20-4GB-athlon
+ make INSTROOT=/var/tmp/NVIDIA_nforce-1.0-0261-root install
make -C nvnet install
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvnet'
mkdir -p /var/tmp/NVIDIA_nforce-1.0-0261-root//lib/modules/2.4.20-4GB-athlon/ker
nel/drivers/net
install -b -m 644 -o root nvnet.o /var/tmp/NVIDIA_nforce-1.0-0261-root//lib/modu
les/2.4.20-4GB-athlon/kernel/drivers/net
/sbin/depmod -a
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvnet'
make -C nvaudio install
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvaudio'
mkdir -p /var/tmp/NVIDIA_nforce-1.0-0261-root//lib/modules/2.4.20-4GB-athlon/ker
nel/drivers/sound
install -b -m 644 -o root nvaudio.o /var/tmp/NVIDIA_nforce-1.0-0261-root//lib/mo
dules/2.4.20-4GB-athlon/kernel/drivers/sound
/sbin/depmod -a
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvaudio'
make -C nvgart install
make[1]: Entering directory `/usr/src/packages/BUILD/nforce/nvgart'
mkdir -p /var/tmp/NVIDIA_nforce-1.0-0261-root//usr/src/nvidia/nvgart
install -b -m 644 -o root linux-2.4.20-agpgart.diff /var/tmp/NVIDIA_nforce-1.0-0
261-root//usr/src/nvidia/nvgart
install -b -m 644 -o root README /var/tmp/NVIDIA_nforce-1.0-0261-root//usr/src/n
vidia/nvgart
make[1]: Leaving directory `/usr/src/packages/BUILD/nforce/nvgart'
+ echo '%attr(644, root, root) /lib/modules/2.4.20-4GB-athlon/kernel/drivers/sou
nd/nvaudio.o'
+ echo '%attr(644, root, root) /lib/modules/2.4.20-4GB-athlon/kernel/drivers/net
/nvnet.o'
+ /usr/lib/rpm/brp-compress
Processing files: NVIDIA_nforce-1.0-0261
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.20808
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nforce
+ DOCDIR=/var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/packages/NVIDIA_nfor
ce
+ export DOCDIR
+ rm -rf /var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/packages/NVIDIA_nfor
ce
+ / bin/mkdir -p /var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/packages/NVID
IA_nforce
+ cp -pr NVLicense.txt /var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/packag
es/NVIDIA_nforce
+ cp -pr GNULicense.txt /var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/packa
ges/NVIDIA_nforce
+ cp -pr ReleaseNotes.html /var/tmp/NVIDIA_nforce-1.0-0261-root/usr/share/doc/pa
ckages/NVIDIA_nforce
+ exit 0
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
PreReq: /bin/sh
Wrote: /usr/src/packages/RPMS/i386/NVIDIA_nforce-1.0-0261.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.24241
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nforce
+ '[' /var/tmp/NVIDIA_nforce-1.0-0261-root '!=' / ']'
+ rm -rf /var/tmp/NVIDIA_nforce-1.0-0261-root
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.24241
+ umask 022
+ cd /usr/src/packages/BUILD
+ rm -rf nforce
+ exit 0
linux:~/Desktop # cd ~
linux:~ # cd usr/
bash: cd: usr/: No such file or directory
linux:~ # cd /usr/src/packages/
linux:/usr/src/packages # cd /RPMS/i386/
bash: cd: /RPMS/i386/: No such file or directory
linux:/usr/src/packages # cd /RPMS/i386
bash: cd: /RPMS/i386: No such file or directory
linux:/usr/src/packages # cd RPMS/i386/
linux:/usr/src/packages/RPMS/i386 # ls
. .. NVIDIA_nforce-1.0-0261.i386.rpm
linux:/usr/src/packages/RPMS/i386 # rpm -i NVIDIA_nforce-1.0-0261.i386.rpm
package NVIDIA_nforce-1.0-0261 is already installed
file /lib/modules/2.4.20-4GB-athlon/kernel/drivers/net/nvnet.o from install of NVIDIA_nforce-1.0-0261 conflicts with file from package NVIDIA_nforce-1.0-0261
file /lib/modules/2.4.20-4GB-athlon/kernel/drivers/sound/nvaudio.o from install of NVIDIA_nforce-1.0-0261 conflicts w ith file from package NVIDIA_nforce-1.0-0261
linux:/usr/src/packages/RPMS/i386 #
Nigel Thomson (629)
227904 2004-04-07 08:48:00 Bugger I posted it instead of previewing it

I had something else to write about it but it has slipped my mind

Anyway any help would be greatly appreciated

thanks Nigel
Nigel Thomson (629)
227905 2004-04-08 03:14:00 Removing an RPM takes just the name of the package, without all the version stuff at the end. :D So rpm -e NVIDIA_nforce might be the command you need.

It all gets a bit verbose when it's doing things, doesn't it? ;-) But it looks as if it's made some modules, and installed them in the right places ... (in /lib/modules/2....whatever version/kernel/drivers/...). Are the modules being loaded ? lsmod will tell you. If not, then modprobe nvnet and modprobe nvaudio then lsmod.

Does Suse want you (like RH) to use a "Find Sound/" tool to set up so you can hear sound?

dmesg | less, and tail -20 /var'log/messages are useful commands.
Graham L (2)
1