Mailing List Archive

Errors Building kmdls Myself
Paulo (or anyone):

I've been trying to use Paulo's directions found here:
http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html#user to
build my own set of nvidia kmdls. I've been practicing on the
existing kernel before moving on to the latest kernel, but I keep
getting the error below:

-> License accepted by command line option.
-> Installing NVIDIA driver version 302.17.
-> Skipping check for conflicting rpms.
ERROR: No NVIDIA driver is currently installed; the
'--kernel-module-only' option can only be used to install the NVIDIA
kernel module on top of an existing driver installation.
+ test -z ''
+ exit 1
error: Bad exit status from /home/ggalt/rpmbuild/tmp/rpm-tmp.nlq8Xy (%install)


I get this error after executing the command: ./bkmdl.sh 3.4.2-1.fc16
nvidia-graphics302.17-302.17-147.src.rpm

I currently have the following installed:
nvidia-graphics302.17-libs-302.17-146.fc16.x86_64
nvidia-graphics302.17-kmdl-3.4.2-1.fc16-302.17-146.fc16.x86_64
nvidia-graphics302.17-302.17-146.fc16.x86_64
nvidia-graphics-helpers-0.0.30-33.fc16.x86_64
nvidia-graphics-devices-1.0-6.fc16.noarch


Any thoughts?

Thanks,

George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
You have to use fakeroot 1.11 and
/var/lib must be writable (chmod 777)

You should be able to downgrade fakeroot once you get the source from f12, I guess, and recompile it ....

Sent from my iPod

On 15/08/2012, at 15:18, George Galt <george.galt@gmail.com> wrote:

> Paulo (or anyone):
>
> I've been trying to use Paulo's directions found here:
> http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html#user to
> build my own set of nvidia kmdls. I've been practicing on the
> existing kernel before moving on to the latest kernel, but I keep
> getting the error below:
>
> -> License accepted by command line option.
> -> Installing NVIDIA driver version 302.17.
> -> Skipping check for conflicting rpms.
> ERROR: No NVIDIA driver is currently installed; the
> '--kernel-module-only' option can only be used to install the NVIDIA
> kernel module on top of an existing driver installation.
> + test -z ''
> + exit 1
> error: Bad exit status from /home/ggalt/rpmbuild/tmp/rpm-tmp.nlq8Xy (%install)
>
>
> I get this error after executing the command: ./bkmdl.sh 3.4.2-1.fc16
> nvidia-graphics302.17-302.17-147.src.rpm
>
> I currently have the following installed:
> nvidia-graphics302.17-libs-302.17-146.fc16.x86_64
> nvidia-graphics302.17-kmdl-3.4.2-1.fc16-302.17-146.fc16.x86_64
> nvidia-graphics302.17-302.17-146.fc16.x86_64
> nvidia-graphics-helpers-0.0.30-33.fc16.x86_64
> nvidia-graphics-devices-1.0-6.fc16.noarch
>
>
> Any thoughts?
>
> Thanks,
>
> George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
Paulo:

Yes, I've checked and I have fakeroot 1.12. What is the difference
and is there any way to use 1.12?

/var/lib should be writeable, but I'll check again.

Thanks for the help.

George



On Wed, Aug 15, 2012 at 6:30 PM, Roma <promac@gmail.com> wrote:
> You have to use fakeroot 1.11 and
> /var/lib must be writable (chmod 777)
>
> You should be able to downgrade fakeroot once you get the source from f12, I guess, and recompile it ....
>
> Sent from my iPod
>
> On 15/08/2012, at 15:18, George Galt <george.galt@gmail.com> wrote:
>
>> Paulo (or anyone):
>>
>> I've been trying to use Paulo's directions found here:
>> http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html#user to
>> build my own set of nvidia kmdls. I've been practicing on the
>> existing kernel before moving on to the latest kernel, but I keep
>> getting the error below:
>>
>> -> License accepted by command line option.
>> -> Installing NVIDIA driver version 302.17.
>> -> Skipping check for conflicting rpms.
>> ERROR: No NVIDIA driver is currently installed; the
>> '--kernel-module-only' option can only be used to install the NVIDIA
>> kernel module on top of an existing driver installation.
>> + test -z ''
>> + exit 1
>> error: Bad exit status from /home/ggalt/rpmbuild/tmp/rpm-tmp.nlq8Xy (%install)
>>
>>
>> I get this error after executing the command: ./bkmdl.sh 3.4.2-1.fc16
>> nvidia-graphics302.17-302.17-147.src.rpm
>>
>> I currently have the following installed:
>> nvidia-graphics302.17-libs-302.17-146.fc16.x86_64
>> nvidia-graphics302.17-kmdl-3.4.2-1.fc16-302.17-146.fc16.x86_64
>> nvidia-graphics302.17-302.17-146.fc16.x86_64
>> nvidia-graphics-helpers-0.0.30-33.fc16.x86_64
>> nvidia-graphics-devices-1.0-6.fc16.noarch
>>
>>
>> Any thoughts?
>>
>> Thanks,
>>
>> George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
On Wed, Aug 15, 2012 at 11:08 PM, George Galt <george.galt@gmail.com> wrote:

> Paulo:
>
> Yes, I've checked and I have fakeroot 1.12. What is the difference
> and is there any way to use 1.12?
>

None that I am aware of.
I always downgrade to 1.11. I should have
a pre-build version if you want.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: Errors Building kmdls Myself [ In reply to ]
Thanks, I've grabbed the src.rpm from Axel's site (here:
http://dl.atrpms.net/all/fakeroot-1.11-19.src.rpm) and built it
myself, but I am still getting an error that says: ERROR: No NVIDIA
driver is currently installed; the '--kernel-module-only' option can
only be used to install the NVIDIA kernel module on top of an existing
driver installation.

/var/lib is set to 777

Can you spot anything else wrong below?

$ ./bkmdl.sh 3.4.7-1.fc16 nvidia-graphics302.17-302.17-147.src.rpm
Parameters: 3.4.7-1.fc16.x86_64 nvidia-graphics302.17-302.17-147.src.rpm fc16
Installing nvidia-graphics302.17-302.17-147.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /home/ggalt/rpmbuild/tmp/rpm-tmp.xUX5dO
+ umask 022
+ cd /home/ggalt/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/ggalt/rpmbuild/BUILD
+ rm -rf nvidia-graphics302.17-302.17
+ /bin/mkdir -p nvidia-graphics302.17-302.17
+ cd nvidia-graphics302.17-302.17
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sh /home/ggalt/rpmbuild/SOURCES/NVIDIA-Linux-x86_64-302.17.run --extract-only
Creating directory NVIDIA-Linux-x86_64-302.17
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64
302.17.........................................................................................................................................................
+ mv NVIDIA-Linux-x86_64-302.17/32 NVIDIA-Linux-x86_64-302.17/LICENSE
NVIDIA-Linux-x86_64-302.17/NVIDIA_Changelog
NVIDIA-Linux-x86_64-302.17/README.txt NVIDIA-Linux-x86_64-302.17/gl.h
NVIDIA-Linux-x86_64-302.17/glext.h NVIDIA-Linux-x86_64-302.17/glx.h
NVIDIA-Linux-x86_64-302.17/glxext.h NVIDIA-Linux-x86_64-302.17/html
NVIDIA-Linux-x86_64-302.17/kernel NVIDIA-Linux-x86_64-302.17/libGL.la
NVIDIA-Linux-x86_64-302.17/libGL.so.302.17
NVIDIA-Linux-x86_64-302.17/libOpenCL.so.1.0.0
NVIDIA-Linux-x86_64-302.17/libXvMCNVIDIA.a
NVIDIA-Linux-x86_64-302.17/libXvMCNVIDIA.so.302.17
NVIDIA-Linux-x86_64-302.17/libcuda.so.302.17
NVIDIA-Linux-x86_64-302.17/libglx.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvcuvid.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-cfg.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-compiler.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-glcore.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-ml.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-tls.so.302.17
NVIDIA-Linux-x86_64-302.17/libnvidia-wfb.so.302.17
NVIDIA-Linux-x86_64-302.17/libvdpau.so.302.17
NVIDIA-Linux-x86_64-302.17/libvdpau_nvidia.so.302.17
NVIDIA-Linux-x86_64-302.17/libvdpau_trace.so.302.17
NVIDIA-Linux-x86_64-302.17/makeself.sh
NVIDIA-Linux-x86_64-302.17/mkprecompiled
NVIDIA-Linux-x86_64-302.17/nvidia-bug-report.sh
NVIDIA-Linux-x86_64-302.17/nvidia-debugdump
NVIDIA-Linux-x86_64-302.17/nvidia-installer
NVIDIA-Linux-x86_64-302.17/nvidia-installer.1.gz
NVIDIA-Linux-x86_64-302.17/nvidia-settings
NVIDIA-Linux-x86_64-302.17/nvidia-settings.1.gz
NVIDIA-Linux-x86_64-302.17/nvidia-settings.desktop
NVIDIA-Linux-x86_64-302.17/nvidia-settings.png
NVIDIA-Linux-x86_64-302.17/nvidia-smi
NVIDIA-Linux-x86_64-302.17/nvidia-smi.1.gz
NVIDIA-Linux-x86_64-302.17/nvidia-xconfig
NVIDIA-Linux-x86_64-302.17/nvidia-xconfig.1.gz
NVIDIA-Linux-x86_64-302.17/nvidia.icd
NVIDIA-Linux-x86_64-302.17/nvidia_drv.so
NVIDIA-Linux-x86_64-302.17/pkg-history.txt
NVIDIA-Linux-x86_64-302.17/tls NVIDIA-Linux-x86_64-302.17/tls_test
NVIDIA-Linux-x86_64-302.17/tls_test_dso.so
NVIDIA-Linux-x86_64-302.17/.manifest .
+ rmdir NVIDIA-Linux-x86_64-302.17
+ perl -pi '-es,(-I\$SOURCES/arch/x86/include)("| ),$1
-I\$SOURCES/arch/x86/include/generated$2,' kernel/conftest.sh
+ exit 0
Executing(%install): /bin/sh -e /home/ggalt/rpmbuild/tmp/rpm-tmp.ameJuA
+ umask 022
+ cd /home/ggalt/rpmbuild/BUILD
+ '[' /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
'!=' / ']'
+ rm -rf /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
++ dirname /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
+ mkdir -p /home/ggalt/rpmbuild/BUILDROOT
+ mkdir /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
+ cd nvidia-graphics302.17-302.17
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
+ mkdir -p /home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64
++ pwd
+ fakebin=/home/ggalt/rpmbuild/BUILD/nvidia-graphics302.17-302.17/fakebin
+ mkdir /home/ggalt/rpmbuild/BUILD/nvidia-graphics302.17-302.17/fakebin
+ PATH=/usr/libexec/nvidia-graphics-helpers:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ggalt/bin
+ export PATH
+ fakeroot ./nvidia-installer -s -N -e -b --no-runlevel-check
--no-rpms --no-x-check
--kernel-source-path=/usr/src/kernels/3.4.7-1.fc16.x86_64
--kernel-install-path=/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/lib/modules/3.4.7-1.fc16.x86_64/updates/drivers/video/nvidia
--log-file-name=kernel.log -K -k 3.4.7-1.fc16.x86_64

ERROR: No NVIDIA driver is currently installed; the
'--kernel-module-only' option can only be used to install the NVIDIA
kernel module on top of an existing
driver installation.

+ cat kernel.log
nvidia-installer log file 'kernel.log'
creation time: Thu Aug 16 10:54:55 2012
installer version: 302.17

PATH: /usr/libexec/nvidia-graphics-helpers:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ggalt/bin

nvidia-installer command line:
./nvidia-installer
-s
-N
-e
-b
--no-runlevel-check
--no-rpms
--no-x-check
--kernel-source-path=/usr/src/kernels/3.4.7-1.fc16.x86_64
--kernel-install-path=/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/lib/modules/3.4.7-1.fc16.x86_64/updates/drivers/video/nvidia
--log-file-name=kernel.log
-K
-k
3.4.7-1.fc16.x86_64

chdir("./")
Using built-in stream user interface
-> Searching for system utilities:
-> found `ldconfig` : `/usr/libexec/nvidia-graphics-helpers/ldconfig`
-> found `ldd` : `/usr/bin/ldd`
-> found `ld` : `/usr/bin/ld`
-> found `objcopy` : `/usr/bin/objcopy`
-> found `grep` : `/bin/grep`
-> found `dmesg` : `/bin/dmesg`
-> found `tail` : `/usr/bin/tail`
-> found `cut` : `/usr/bin/cut`
-> found `tr` : `/usr/bin/tr`
-> found `sed` : `/bin/sed`
-> found `chcon` : `/usr/bin/chcon`
-> found `selinuxenabled` : `/usr/sbin/selinuxenabled`
-> found `getenforce` : `/usr/sbin/getenforce`
-> found `execstack` : `/usr/bin/execstack`
-> found `pkg-config` : `/usr/bin/pkg-config`
-> found `X` : `/usr/bin/X`
-> Searching for module utilities:
-> found `insmod` : `/usr/libexec/nvidia-graphics-helpers/insmod`
-> found `modprobe` : `/usr/libexec/nvidia-graphics-helpers/modprobe`
-> found `rmmod` : `/usr/libexec/nvidia-graphics-helpers/rmmod`
-> found `lsmod` : `/usr/libexec/nvidia-graphics-helpers/lsmod`
-> found `depmod` : `/usr/libexec/nvidia-graphics-helpers/depmod`
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> Only installing a kernel module for a non-running kernel; skipping
the "is an X server running?" test.
-> Only installing a kernel module for a non-running kernel; skipping
the "is an NVIDIA kernel module loaded?" test.
-> License accepted by command line option.
-> Installing NVIDIA driver version 302.17.
-> Skipping check for conflicting rpms.
ERROR: No NVIDIA driver is currently installed; the
'--kernel-module-only' option can only be used to install the NVIDIA
kernel module on top of an existing driver installation.
+ test -z ''
+ exit 1
error: Bad exit status from /home/ggalt/rpmbuild/tmp/rpm-tmp.ameJuA (%install)


RPM build errors:
Bad exit status from /home/ggalt/rpmbuild/tmp/rpm-tmp.ameJuA (%install)



On Thu, Aug 16, 2012 at 10:54 AM, Paulo Cavalcanti <promac@gmail.com> wrote:
>
>
> On Wed, Aug 15, 2012 at 11:08 PM, George Galt <george.galt@gmail.com> wrote:
>>
>> Paulo:
>>
>> Yes, I've checked and I have fakeroot 1.12. What is the difference
>> and is there any way to use 1.12?
>
>
> None that I am aware of.
> I always downgrade to 1.11. I should have
> a pre-build version if you want.
>
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 11:58 AM, George Galt <george.galt@gmail.com> wrote:

> Thanks, I've grabbed the src.rpm from Axel's site (here:
> http://dl.atrpms.net/all/fakeroot-1.11-19.src.rpm) and built it
> myself, but I am still getting an error that says: ERROR: No NVIDIA
> driver is currently installed; the '--kernel-module-only' option can
> only be used to install the NVIDIA kernel module on top of an existing
> driver installation.
>
> /var/lib is set to 777
>
> Can you spot anything else wrong below?
>
>
You have to build the libs first for all new driver version.
Just add 0 1 (0 space 1) at the end of the command line
you used to build the kmdl. After building the libs, you can build the kmdl
by removing the 0 1 extra parameters.
Re: Errors Building kmdls Myself [ In reply to ]
Paulo:

Thanks. I added 0 1 to the end and got a little further, but I've had
a bunch of other issues. I had to create a directory /etc/OpenCL and
chmod 777, but I still get a bunch of errors. It seems like it is
trying to uninstall the current nvidia driver before building. I'm
not sure that is what is supposed to happen.

I'm going to give up for the time being -- I have something else I
have to finish -- but I'll try to come back to this later.

However, so you (or others) can see the types of errors I'm getting,
here is a sampling.. I can send the full output if you want, but it is
rather long.

George

WARNING: You specified the '--no-kernel-module' command line option,
nvidia-installer will not install a kernel module as part of this
driver installation,
and it will not remove existing NVIDIA kernel modules not
part of an earlier NVIDIA driver installation. Please ensure that an
NVIDIA kernel
module matching this driver version is installed seperately.


WARNING: Your driver installation has been altered since it was
initially installed; this may happen, for example, if you have since
installed the NVIDIA
driver through a mechanism other than nvidia-installer (such
as your distribution's native package management system).
nvidia-installer will
attempt to uninstall as best it can. Please see the file
'user.log' for details.


ERROR: Unable to create
'/usr/share/kde-settings/kde-profile/default/share/applications/nvidia-settings.desktop'
for copying (Permission denied)


-> There appears to already be a driver installed on your system
(version: 302.17). As part of installing this driver (version:
302.17), the existing driver will be uninstalled. Are you sure you
want to continue? ('no' will abort installation) (Answer: Yes)
-> No distribution pre-install script found.

-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libnvidia-glcore.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libGL.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/extensions/libglx.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/libnvidia-tls.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/tls/libnvidia-tls.so.302.17'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/drivers/nvidia_drv.so'
(No such file or directory).
-> Unable to access previously installed file
'/home/ggalt/rpmbuild/BUILDROOT/nvidia-graphics302.17-302.17-147.fc16.x86_64/usr/lib64/xorg/modules/libnvidia-wfb.so.302.17'
(No such file or directory).

-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (302.17):
-> Deleting: /usr/lib64/libGL.so.1.2
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so.1.2'. Continue
anyway? ("no" will abort)? (Answer: Yes)
-> Deleting: /usr/lib64/libGL.so.1
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so.1'. Continue anyway?
("no" will abort)? (Answer: Yes)
-> Deleting: /usr/lib64/libGL.so
-> The installer has encountered the following error during
installation: 'Cannot delete /usr/lib64/libGL.so'. Continue anyway?
("no" will abort)? (Answer: Yes)


On Thu, Aug 16, 2012 at 11:09 AM, Paulo Cavalcanti <promac@gmail.com> wrote:
>
>
> On Thu, Aug 16, 2012 at 11:58 AM, George Galt <george.galt@gmail.com> wrote:
>>
>> Thanks, I've grabbed the src.rpm from Axel's site (here:
>> http://dl.atrpms.net/all/fakeroot-1.11-19.src.rpm) and built it
>> myself, but I am still getting an error that says: ERROR: No NVIDIA
>> driver is currently installed; the '--kernel-module-only' option can
>> only be used to install the NVIDIA kernel module on top of an existing
>> driver installation.
>>
>> /var/lib is set to 777
>>
>> Can you spot anything else wrong below?
>>
>
> You have to build the libs first for all new driver version.
> Just add 0 1 (0 space 1) at the end of the command line
> you used to build the kmdl. After building the libs, you can build the kmdl
> by removing the 0 1 extra parameters.
>
>
>

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 12:41 PM, George Galt <george.galt@gmail.com> wrote:

> Paulo:
>
> Thanks. I added 0 1 to the end and got a little further, but I've had
> a bunch of other issues. I had to create a directory /etc/OpenCL and
> chmod 777, but I still get a bunch of errors. It seems like it is
> trying to uninstall the current nvidia driver before building. I'm
> not sure that is what is supposed to happen.
>
> I'm going to give up for the time being -- I have something else I
> have to finish -- but I'll try to come back to this later.
>
> However, so you (or others) can see the types of errors I'm getting,
> here is a sampling.. I can send the full output if you want, but it is
> rather long.
>
>
You do not need to create any extra directory.
Are you sure you downgraded fakeroot? The
nvidia script should not access the system directories ...

Mine is:

fakeroot-1.11-19.fc17.src.rpm


--
Paulo Roma Cavalcanti
DCC - UFRJ
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 2:01 PM, Paulo Cavalcanti <promac@gmail.com> wrote:
>
>
> On Thu, Aug 16, 2012 at 12:41 PM, George Galt <george.galt@gmail.com> wrote:
>>
>> Paulo:
>>
>> Thanks. I added 0 1 to the end and got a little further, but I've had
>> a bunch of other issues. I had to create a directory /etc/OpenCL and
>> chmod 777, but I still get a bunch of errors. It seems like it is
>> trying to uninstall the current nvidia driver before building. I'm
>> not sure that is what is supposed to happen.
>>
>> I'm going to give up for the time being -- I have something else I
>> have to finish -- but I'll try to come back to this later.
>>
>> However, so you (or others) can see the types of errors I'm getting,
>> here is a sampling.. I can send the full output if you want, but it is
>> rather long.
>>
>
> You do not need to create any extra directory.
> Are you sure you downgraded fakeroot? The
> nvidia script should not access the system directories ...
>
> Mine is:
>
> fakeroot-1.11-19.fc17.src.rpm
>
>
> --
> Paulo Roma Cavalcanti
> DCC - UFRJ

Paulo:

I believe so. I had fakeroot 1.12 installed, removed it (and
fakeroot-libs) with yum, built the src.rpm from Axel's repository for
1.11-19, and installed that rpm using yum localinstall. RPM reports
the following:

$ rpm -qa | grep fakeroot
fakeroot-1.11-19.fc16.x86_64

As I said, it may not be worth wasting more of your time on this.
I'll try to poke around some more this weekend to see what I can find.

Thanks,

George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 3:07 PM, George Galt <george.galt@gmail.com> wrote:

> On Thu, Aug 16, 2012 at 2:01 PM, Paulo Cavalcanti <promac@gmail.com>
> wrote:
> >
> >
> > On Thu, Aug 16, 2012 at 12:41 PM, George Galt <george.galt@gmail.com>
> wrote:
> >>
> >> Paulo:
> >>
> >> Thanks. I added 0 1 to the end and got a little further, but I've had
> >> a bunch of other issues. I had to create a directory /etc/OpenCL and
> >> chmod 777, but I still get a bunch of errors. It seems like it is
> >> trying to uninstall the current nvidia driver before building. I'm
> >> not sure that is what is supposed to happen.
> >>
> >> I'm going to give up for the time being -- I have something else I
> >> have to finish -- but I'll try to come back to this later.
> >>
> >> However, so you (or others) can see the types of errors I'm getting,
> >> here is a sampling.. I can send the full output if you want, but it is
> >> rather long.
> >>
> >
> > You do not need to create any extra directory.
> > Are you sure you downgraded fakeroot? The
> > nvidia script should not access the system directories ...
> >
> > Mine is:
> >
> > fakeroot-1.11-19.fc17.src.rpm
> >
> >
> > --
> > Paulo Roma Cavalcanti
> > DCC - UFRJ
>
> Paulo:
>
> I believe so. I had fakeroot 1.12 installed, removed it (and
> fakeroot-libs) with yum, built the src.rpm from Axel's repository for
> 1.11-19, and installed that rpm using yum localinstall. RPM reports
> the following:
>
> $ rpm -qa | grep fakeroot
> fakeroot-1.11-19.fc16.x86_64
>
> As I said, it may not be worth wasting more of your time on this.
> I'll try to poke around some more this weekend to see what I can find.
>
>
I know what is happening. You are using kde.

Try to login in gnome and do the same thing and it should work (I had the
same problem).


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 2:25 PM, Paulo Cavalcanti <promac@gmail.com> wrote:
>
>
> On Thu, Aug 16, 2012 at 3:07 PM, George Galt <george.galt@gmail.com> wrote:
>>
>> On Thu, Aug 16, 2012 at 2:01 PM, Paulo Cavalcanti <promac@gmail.com>
>> wrote:
>> >
>> >
>> > On Thu, Aug 16, 2012 at 12:41 PM, George Galt <george.galt@gmail.com>
>> > wrote:
>> >>
>> >> Paulo:
>> >>
>> >> Thanks. I added 0 1 to the end and got a little further, but I've had
>> >> a bunch of other issues. I had to create a directory /etc/OpenCL and
>> >> chmod 777, but I still get a bunch of errors. It seems like it is
>> >> trying to uninstall the current nvidia driver before building. I'm
>> >> not sure that is what is supposed to happen.
>> >>
>> >> I'm going to give up for the time being -- I have something else I
>> >> have to finish -- but I'll try to come back to this later.
>> >>
>> >> However, so you (or others) can see the types of errors I'm getting,
>> >> here is a sampling.. I can send the full output if you want, but it is
>> >> rather long.
>> >>
>> >
>> > You do not need to create any extra directory.
>> > Are you sure you downgraded fakeroot? The
>> > nvidia script should not access the system directories ...
>> >
>> > Mine is:
>> >
>> > fakeroot-1.11-19.fc17.src.rpm
>> >
>> >
>> > --
>> > Paulo Roma Cavalcanti
>> > DCC - UFRJ
>>
>> Paulo:
>>
>> I believe so. I had fakeroot 1.12 installed, removed it (and
>> fakeroot-libs) with yum, built the src.rpm from Axel's repository for
>> 1.11-19, and installed that rpm using yum localinstall. RPM reports
>> the following:
>>
>> $ rpm -qa | grep fakeroot
>> fakeroot-1.11-19.fc16.x86_64
>>
>> As I said, it may not be worth wasting more of your time on this.
>> I'll try to poke around some more this weekend to see what I can find.
>>
>
> I know what is happening. You are using kde.
>
> Try to login in gnome and do the same thing and it should work (I had the
> same problem).
>
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ

Really!!! Wow! OK, I'll give it a try.

Thanks.

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
On Thu, Aug 16, 2012 at 2:38 PM, George Galt <george.galt@gmail.com> wrote:
> On Thu, Aug 16, 2012 at 2:25 PM, Paulo Cavalcanti <promac@gmail.com> wrote:
>>
>>
>> On Thu, Aug 16, 2012 at 3:07 PM, George Galt <george.galt@gmail.com> wrote:
>>>
>>> On Thu, Aug 16, 2012 at 2:01 PM, Paulo Cavalcanti <promac@gmail.com>
>>> wrote:
>>> >
>>> >
>>> > On Thu, Aug 16, 2012 at 12:41 PM, George Galt <george.galt@gmail.com>
>>> > wrote:
>>> >>
>>> >> Paulo:
>>> >>
>>> >> Thanks. I added 0 1 to the end and got a little further, but I've had
>>> >> a bunch of other issues. I had to create a directory /etc/OpenCL and
>>> >> chmod 777, but I still get a bunch of errors. It seems like it is
>>> >> trying to uninstall the current nvidia driver before building. I'm
>>> >> not sure that is what is supposed to happen.
>>> >>
>>> >> I'm going to give up for the time being -- I have something else I
>>> >> have to finish -- but I'll try to come back to this later.
>>> >>
>>> >> However, so you (or others) can see the types of errors I'm getting,
>>> >> here is a sampling.. I can send the full output if you want, but it is
>>> >> rather long.
>>> >>
>>> >
>>> > You do not need to create any extra directory.
>>> > Are you sure you downgraded fakeroot? The
>>> > nvidia script should not access the system directories ...
>>> >
>>> > Mine is:
>>> >
>>> > fakeroot-1.11-19.fc17.src.rpm
>>> >
>>> >
>>> > --
>>> > Paulo Roma Cavalcanti
>>> > DCC - UFRJ
>>>
>>> Paulo:
>>>
>>> I believe so. I had fakeroot 1.12 installed, removed it (and
>>> fakeroot-libs) with yum, built the src.rpm from Axel's repository for
>>> 1.11-19, and installed that rpm using yum localinstall. RPM reports
>>> the following:
>>>
>>> $ rpm -qa | grep fakeroot
>>> fakeroot-1.11-19.fc16.x86_64
>>>
>>> As I said, it may not be worth wasting more of your time on this.
>>> I'll try to poke around some more this weekend to see what I can find.
>>>
>>
>> I know what is happening. You are using kde.
>>
>> Try to login in gnome and do the same thing and it should work (I had the
>> same problem).
>>
>>
>> --
>> Paulo Roma Cavalcanti
>> LCG - UFRJ
>
> Really!!! Wow! OK, I'll give it a try.
>
> Thanks.

Paulo:

Thanks for all of the help! You are correct that KDE was the culprit.
Building under Gnome (Cinnamon, to be precise), it worked just fine.
I also experimented with upgrading back to fakeroot 1.12, but found
that didn't work.

I'm curious about these 2 issues. I notice that fakeroot is available
up to version 1.18, and I may try that to see if it works. As for the
KDE issue, I may just ignore that and build under Gnome, but I still
find it odd that the desktop would have an impact on this.

Thanks again.

George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users
Re: Errors Building kmdls Myself [ In reply to ]
Paulo:
>
> Thanks for all of the help! You are correct that KDE was the culprit.
> Building under Gnome (Cinnamon, to be precise), it worked just fine.
> I also experimented with upgrading back to fakeroot 1.12, but found
> that didn't work.
>
> I'm curious about these 2 issues. I notice that fakeroot is available
> up to version 1.18, and I may try that to see if it works. As for the
> KDE issue, I may just ignore that and build under Gnome, but I still
> find it odd that the desktop would have an impact on this.
>
>
>
I did not know cinnamon, but it turned out to be very nice, and I am using
it right now ...

I think kde should change some environment variables, which causes
the build to fail, but you can login remotely (that is, no desktop) and it
should also work.

Regarding fakeroot, I have no clue. Maybe Axel fixes the issue one day ...

The good part for you is that, now, you can build your own modules,
for any kernel you have installed, without having to boot with the kernel
you
want to build for.

--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: Errors Building kmdls Myself [ In reply to ]
On Sun, Aug 19, 2012 at 9:55 AM, Paulo Cavalcanti <promac@gmail.com> wrote:
>
>
>> Paulo:
>>
>> Thanks for all of the help! You are correct that KDE was the culprit.
>> Building under Gnome (Cinnamon, to be precise), it worked just fine.
>> I also experimented with upgrading back to fakeroot 1.12, but found
>> that didn't work.
>>
>> I'm curious about these 2 issues. I notice that fakeroot is available
>> up to version 1.18, and I may try that to see if it works. As for the
>> KDE issue, I may just ignore that and build under Gnome, but I still
>> find it odd that the desktop would have an impact on this.
>>
>>
>
> I did not know cinnamon, but it turned out to be very nice, and I am using
> it right now ...
>
> I think kde should change some environment variables, which causes
> the build to fail, but you can login remotely (that is, no desktop) and it
> should also work.
>
> Regarding fakeroot, I have no clue. Maybe Axel fixes the issue one day ...
>
> The good part for you is that, now, you can build your own modules,
> for any kernel you have installed, without having to boot with the kernel
> you
> want to build for.
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ

Paulo:

Yes, Cinnamon is rather nice. If I need to work under Gnome, I
greatly prefer it to Gnome 3. FYI, I'm not sure how you installed it,
but I found a repository for it a while back. Here is the information
if you don't already have it:

[fedora-cinnamon]
name=Cinnamon provides core user interface functions for the GNOME 3 desktop
baseurl=http://repos.fedorapeople.org/repos/leigh123linux/cinnamon/fedora-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=0

[fedora-cinnamon-source]
name=Cinnamon provides core user interface functions for the GNOME 3
desktop - Source
baseurl=http://repos.fedorapeople.org/repos/leigh123linux/cinnamon/fedora-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=0


George

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users