SliTaz SliTaz Forum

You are not logged in.

#26 2012-02-21 22:19:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: nvidia compiling failed

Your systems are crashing because you have nvidia and nouveau loading at the same time.

Check /etc/rcS.conf and remove nouveau from LOAD_MODULES= if it's there.

tazhw may be loading it,you can try to blacklist nouveau,or delete nouveau.

/lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz

nvidia-173xx-173.14.31_2.6.37.tazpkg with Geforce 8400GS.

tux@slitaz:~$ lsmod

Module                  Size  Used by    Tainted: P

nvidia               7024955 24

i2c_core               12192  1 nvidia

vboxnetflt             15048  0

vboxnetadp              5571  0

vboxdrv               149433  2 vboxnetflt,vboxnetadp

cifs                  173609  0

intel_agp               7908  0

intel_gtt               9214  1 intel_agp

agpgart                18221  3 nvidia,intel_agp,intel_gtt

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886  1

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  2 snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394  8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

/var/log/Xorg.0.log : http://pastebin.com/cVuA5KgD

Offline

#27 2012-02-21 22:30:54

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Ok, thanks for the instruction - but tomorrow morning, sorry. Feedback immediate, as usual...

Offline

#28 2012-02-22 09:00:25

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Ok, I removed /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz, renamed it to ../nouveau.k.old.gz

And I changed the /etc/rcS in that particular line. Plus: in /etc/modprobe.conf/ I added a file with one line ,,blacklist nouveau".

Nevertheless:

,,Something" during the bootprocess wrote into the rcS-file and added the phrase ,,nouveau ,", with the comma, in the module loading line.

Therefore ,,tazhw detect-pci" gave a result:

module nvidia was loaded, but an error line ,,missing module nouveau" is in there.

Therefor the Xorg.0.log showed:

105.873]     Module class: X.Org Server Extension

[   105.873] (II) NVIDIA GLX Module  173.14.31  Sun Jul 17 22:43:28 PDT 2011

[   105.873] (II) Loading extension GLX

[   105.873] (II) LoadModule: "nv"

[   105.873] (II) Loading /usr/lib/X11/modules/drivers/nv_drv.so

[   105.873] (II) Module nv: vendor="X.Org Foundation"

[   105.873]     compiled for 1.9.5, module version = 2.1.18

[   105.873]     Module class: X.Org Video Driver

and later

[   105.875] (WW) xf86OpenConsole: setpgid failed: Operation not permitted

[   105.886] (EE) NV: The PCI device 0x10de016a (GeForce 7100 GS) at 05@00:00:0 has a kernel module claiming it.

[   105.886] (EE) NV: This driver cannot operate until it has been unloaded.

[   105.886] (EE) No devices detected.

[   105.886]

Fatal server error:

[   105.886] no screens found

[   105.886]

So it did not work - yet. Now I try to find the culprit.

Offline

#29 2012-02-22 09:22:43

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

I guess I have the culprit now. Look into the attached log file.

Most likely this ,,something" sits in /usr/lib/X11/modules/drivers - something there tries to load nv in the boot process and overwrites the changes rcS-file.

/var/log/Xorg.0.log : http://pastebin.com/C3YzjZA2

Offline

#30 2012-02-22 10:11:59

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Finally I got it. The point is:

after having installed your package one must manually remove the packages xorg-xf86-video-nv and xorg-f86-video-vesa!

Otherwise the trouble occurs, that I showd here in details.

(With Slitaz 3.0 it happened automatically! There is a message: do you want to remove.... and then one clicks: y !)

Now it runs - and I will have a cup of coffee! ;-)

And take my notice that I am grateful to all of you for your patience, which was not second to mine...

(Please believe me: on some screens like the one I have with 1280x1024 resolution this fu... proprietary thing is necessary, while on a laptop with 1400 or 1600 one cannot see the difference)

Offline

#31 2012-02-22 11:31:41

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: nvidia compiling failed

Hey, good job michaelbischof!! :-) Really glad you made it.

Would you mind giving here (after your coffee...) a short step by step guide to successfully install nvidia driver?

Thanks for sharing.

Cheers.

Offline

#32 2012-02-22 11:45:21

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

,,Would you mind giving here (after your coffee...) a short step by step guide to successfully install nvidia driver?"

Of course not. This is the meaning of communication.

1. Download the driver that mojo offered here

2. cd to the directory where it is

3. tazpkg install <nvidia...tazpkg>

4. tazpkg remove xorg-xf86-video-nv

5. tazpkg remove xorg-xf86-video-vesa

6. close the screen, get to be root - no Xserver should run!

7. Check: tazhw detect-pci - the module nvidia must be loaded. If not: depmod -a , check again.

8. /etc/init.d/slim start

9. startx

That's it. On 3.0 the installation process automatically removes nv and vesa - and that's the point.

(I did this now on slitaz-core, later I check it with slitaz-cooking iso's that I have here).

In case of trouble check /etc/rcS: there should be under ,,Load modules" only nvidia

Feed back here is welcome!

Offline

#33 2012-02-22 12:58:40

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: nvidia compiling failed

I have to ask. Does blacklisting work properly in rolling's busybox now?

Offline

#34 2012-02-22 13:20:10

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Puh, difficult:

I  made a file /etc/modprobe.d/blacklist (after I had installed nvidia). Calling: blacklist nouveau

Plus: I had removed the nouveau module manually.

Plus: in /etc/rcS I had removed nouveau.

(Then I booted and at that time busybox was working)

So if blacklisting worked or not I really cannot say for sure.

In addition: I try to start kompozer and installed the dev-toolchain. I was asked if I want to substitute busybox with bash. I said ,,yes".

(I have a difficult problem in running kompozer. When I try it

tux@slitaz:~/kompozer$ ./kompozer-bin

./kompozer-bin: error while loading shared libraries: libxpcom_core.so: cannot open shared object file: No such file or directory

tux@slitaz:~/kompozer$ ./kompozer

<= Hopefully it was no mistake to substitute?

Offline

#35 2012-02-22 15:38:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: nvidia compiling failed

root@slitaz:~# tazpkg search-pkgname  libxpcom_core.so

Search result for file libxpcom_core.so

================================================================================

thunderbird

================================================================================

1 pkg(s) found with file: libxpcom_core.so

#tazpkg -gi thunderbird

Offline

#36 2012-02-22 17:49:39

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Thank you, Mojo,

but the error continues after having installed thunderbird.

tux@slitaz:~$ cd /home/tux/bin/kompozer

tux@slitaz:~/bin/kompozer$ ./kompozer

tux@slitaz:~/bin/kompozer$ ./kompozer-bin

./kompozer-bin: error while loading shared libraries: libxpcom_core.so: cannot open shared object file: No such file or directory

tux@slitaz:~/bin/kompozer$ sh mozilla-xremote-client

mozilla-xremote-client: line 1: syntax error: unexpected "("

tux@slitaz:~/bin/kompozer$ sh run-mozilla.sh

run-mozilla.sh: Cannot execute .

tux@slitaz:~/bin/kompozer$ ./run-mozilla.sh

run-mozilla.sh: Cannot execute .

As you should know: this is a program with static dependencies. So in the directory ../kompozer there is libxpcom_compat.so

tux@slitaz:~/bin/kompozer$ ldd kompozer

When I run 'ldd kompozer' I get this:

kompozer:

./kompozer: error while loading shared libraries: ./kompozer: invalid ELF header

(I am on slitaz-core)

Offline

#37 2012-02-22 18:12:09

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: nvidia compiling failed

From January 2011:

http://vanilla.slitaz.org/index.php?p=/discussion/2457/kompozer-unknown-trouble/p1

Do you have bash installed ? Some scripts don't work with busybox ash.

Offline

#38 2012-02-22 19:03:12

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

What I shame to be remembered like that! ;-)

Yes, I installed bash and the necessary tools for ldconfig. And I copied kompozer to /usr/lib.

Now I am here:

root@slitaz:/usr/lib/kompozer# tazpkg get-install nss

nss-3.12.9 package is already installed. You can

use the --forced option to force installation or remove it and reinstall.

root@slitaz:/usr/lib/kompozer# /usr/lib/kompozer/kompozer-bin

/usr/lib/kompozer/kompozer-bin: /usr/lib/libnss3.so: version `NSS_3.12.10' not found (required by /usr/lib/libxul.so)

One last trick necesary? If yes: which one?

Offline

#39 2012-02-22 19:33:00

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: nvidia compiling failed

Just to make it complete:

on Slitaz 3.0 it functions out the box.

michael@slitaz:~/Desktop.inhalte/kompozer$ ./kompozer

(process:2307): Gtk-WARNING **: Locale not supported by C library.

        Using the fallback 'C' locale.

(kompozer-bin:2307): Gdk-CRITICAL **: gdk_x11_xatom_to_atom_for_display: assertion `xatom != None' failed

In spite of this error messages it opens and it functions. Hmmh...

Offline

#40 2012-03-10 09:07:03

tvicol
Member
Registered: 2011-12-28
Posts: 66

Re: nvidia compiling failed

Hello,

I''m close, but when i run startx I get following error:

"Illegal instruction at address 0xb5dec9b1"

Xorg.0.log : http://pastebin.com/y3TfspSF

Any support is appreciated.

Regards,

Tibi

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]