Re: dist-upgrade sarge to etch

2006-04-27 Thread Jo Shields

sigi wrote:

Building the nvidia-kernel went fine. 
But I can't build nvidia-glx. If I try the dpkg-buildpackage it 

 



 

That's not possible. the nvidia-glx and nvidia-kernel packages MUST have 
matched versions - and the only way to build an nvidia-kernel-source 
package is from the nvidia-graphics-drivers source package, which 
generates several packages at once (nvidia-kernel-source and nvidia-glx)
   



My fault, I built a nvidia-kernel from another nvidia-kernel-source 
package I downloaded via apt.


 

Not sure. But it's worth noting that 8756-3+ require XOrg 7 (grab 8756-2 
source from snapshot.debian.net)
   



To prevent problems I tried nvidia-graphics-drivers-1.0.7174 this time, 
from the stable repositories. But dpkg-buildpackage shows the same 
errormessages as before:


8---
dh_link: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip: Compatibility levels before 4 are deprecated.
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/stbKY8kg: warning: 
allocated section `.bss' not in segment
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: Bad value
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: Bad value
dh_strip: command returned error code 256
make[1]: *** [binary-common] Fehler 1
make[1]: Verlasse Verzeichnis 
»/usr/src/nvidia-graphics-drivers-1.0.7174«

make: *** [binary-arch] Fehler 2
---8
 



Google suggests many things, including RAM problems. Never seen this myself.

I didn't really know what to do with the snapshot.debian.net-package, 
it had only 2 *.run files in it...?
 



A debian source package comes as three files - an orig.tar.gz, a diff, 
and a dsc. You extract the source package using dpkg-source -x foo.dsc



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-26 Thread Jo Shields

sigi wrote:


Hi,

 

And now I made it, to install a 2.6.16-kernel on sarge and nothing bad 
happened this time... graphics and sound are runnning now.
 


Can you post your sources.list? Did you have to rebuild your nvidia
driver again or does Xorg use the nv driver?
   



I actually use the nvidia-driver. I had build it for the sarge-kernel 
2.6.8. and was surprised, that after my new installation of the 
2.6.16-kernel there automatically the module nvidiafb was used... 
So, I think, that this module now is natively supported by newer kernels..? 
 



nvidiafb.ko is an open-source framebuffer (console) driver for nVidia 
cards. nvidia.ko is the kernel component of nvidia's closed-source 3D 
driver. Generally speaking, nvidiafb (and rivafb) are a bad thing, as 
they conflict with nvidia_drv.so


nv_drv.so is the unaccelerated XFree/Xorg driver for nVidia cards. 
nvidia_drv.so is the closed-source nVidia 3D driver, which requires 
nvidia.ko to operate. Check your /etc/X11/xorg.conf to see whether 
you're using nv or nvidia; use glxinfo | grep direct to see whether 
you have any 3D acceleration.


--Jo Shields


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-26 Thread sigi
 nv_drv.so is the unaccelerated XFree/Xorg driver for nVidia cards. 
 nvidia_drv.so is the closed-source nVidia 3D driver, which requires 
 nvidia.ko to operate. Check your /etc/X11/xorg.conf to see whether 
 you're using nv or nvidia; use glxinfo | grep direct to see whether 
 you have any 3D acceleration.

OK, 
glxinfo | grep direct shows:
Xlib:  extension GLX missing on display :0.0.
Error: couldn't find RGB GLX visual

So, it's as you said nvidiafb here.

Today I tried to build a nvidia.ko on my own, like the way you described 
it earlier this month on this list:

Build one. Add a normal 32-bit mirror's deb-src to /etc/apt/sources.list
(e.g. deb-src http://mirror.ox.ac.uk/debian unstable non-free).
Install some building-related bits  bobs (apt-get build-dep
nvidia-glx). Download the package source (apt-get source nvidia-glx).
Change to that folder (cd nvidia*). If building 7174 on Sarge, tweak
debian.binary/rules (change DH_COMPAT to some smaller number like 3 or
2). Run dpkg-buildpackage. Change down a folder (cd ..). Install the
kernel source package (dpkg -i nvidia-kernel-source_*_amd64.deb).
Install module-assistant and build-essential - and an appropriate GCC if
not using your standard system gcc for kernels (e.g. on Sarge, you must
install gcc-3.4 here or you'll get misleading rivafb errors - use cat
/proc/version to check; aptitude install module-assistant
build-essential). Compile  install the kernel module (m-a a-i
nvidia). Load the module (If you've an older module loaded, then run
modprobe -r nvidia first. Then, modprobe nvidia  echo nvidia 
/etc/modules). Install the driver packages (dpkg -i nvidia-glx*).
Tell X to use nvidia instead of nv (dpkg-reconfigure
xserver-(xfree86|xorg)). Restart X (/etc/init.d/*dm restart).

Building the nvidia-kernel went fine. 
But I can't build nvidia-glx. If I try the dpkg-buildpackage it 
shows this errormessages at the end:

8---
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/stXfCFyW: warning: 
allocated section `.bss' not in segment
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: Bad value
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: Bad value
dh_strip: command returned error code 256
make[1]: *** [binary-common] Fehler 1
make[1]: Verlasse Verzeichnis 
»/usr/src/nvidia-graphics-drivers-1.0.8756«
make: *** [binary-arch] Fehler 2
8

What's wrong here? I tried to build the package with gcc 3.4 and 4.0 - 
but it had the same problem. Do you have a solution for this?

sigi.















 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 

-- 
**
| gpg-key fingerprint:   |
| 77BD FD3C D144 D4CC C2F4  F7D0 465C 4321 B4C7 DE55 |
| gpg-key 06/07: |
| http://www.muffrika.net/gpg-key.txt_o) |
|  -./\\ |
| Jabber ID: [EMAIL PROTECTED]   _\_V |
**



Re: dist-upgrade sarge to etch

2006-04-26 Thread Jo Shields

sigi wrote:

nv_drv.so is the unaccelerated XFree/Xorg driver for nVidia cards. 
nvidia_drv.so is the closed-source nVidia 3D driver, which requires 
nvidia.ko to operate. Check your /etc/X11/xorg.conf to see whether 
you're using nv or nvidia; use glxinfo | grep direct to see whether 
you have any 3D acceleration.
   



OK, 
glxinfo | grep direct shows:

Xlib:  extension GLX missing on display :0.0.
Error: couldn't find RGB GLX visual
 



Broken Nvidia driver installation, usually mismatched nvidia.ko and 
nvidia_drv.so versions. Check /var/log/XFree86.0.log



So, it's as you said nvidiafb here.
 



The only circumstance in which you'll be using nvidiafb is if you built 
your own initrd image including it, and added video=nvidiafb to your 
kernel parameters.


Today I tried to build a nvidia.ko on my own, like the way you described 
it earlier this month on this list:


 


Build one. Add a normal 32-bit mirror's deb-src to /etc/apt/sources.list
(e.g. deb-src http://mirror.ox.ac.uk/debian unstable non-free).
Install some building-related bits  bobs (apt-get build-dep
nvidia-glx). Download the package source (apt-get source nvidia-glx).
Change to that folder (cd nvidia*). If building 7174 on Sarge, tweak
debian.binary/rules (change DH_COMPAT to some smaller number like 3 or
2). Run dpkg-buildpackage. Change down a folder (cd ..). Install the
kernel source package (dpkg -i nvidia-kernel-source_*_amd64.deb).
Install module-assistant and build-essential - and an appropriate GCC if
not using your standard system gcc for kernels (e.g. on Sarge, you must
install gcc-3.4 here or you'll get misleading rivafb errors - use cat
/proc/version to check; aptitude install module-assistant
build-essential). Compile  install the kernel module (m-a a-i
nvidia). Load the module (If you've an older module loaded, then run
modprobe -r nvidia first. Then, modprobe nvidia  echo nvidia 
/etc/modules). Install the driver packages (dpkg -i nvidia-glx*).
Tell X to use nvidia instead of nv (dpkg-reconfigure
xserver-(xfree86|xorg)). Restart X (/etc/init.d/*dm restart).
 



Building the nvidia-kernel went fine. 
But I can't build nvidia-glx. If I try the dpkg-buildpackage it 
 



That's not possible. the nvidia-glx and nvidia-kernel packages MUST have 
matched versions - and the only way to build an nvidia-kernel-source 
package is from the nvidia-graphics-drivers source package, which 
generates several packages at once (nvidia-kernel-source and nvidia-glx)



shows this errormessages at the end:

8---
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/stXfCFyW: warning: 
allocated section `.bss' not in segment
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: Bad value
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/stWiGLVU: Bad value
dh_strip: command returned error code 256
make[1]: *** [binary-common] Fehler 1
make[1]: Verlasse Verzeichnis 
»/usr/src/nvidia-graphics-drivers-1.0.8756«

make: *** [binary-arch] Fehler 2
8

What's wrong here? I tried to build the package with gcc 3.4 and 4.0 - 
but it had the same problem. Do you have a solution for this?


sigi.
 



Not sure. But it's worth noting that 8756-3+ require XOrg 7 (grab 8756-2 
source from snapshot.debian.net)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-26 Thread sigi
 Building the nvidia-kernel went fine. 
 But I can't build nvidia-glx. If I try the dpkg-buildpackage it 
  

 That's not possible. the nvidia-glx and nvidia-kernel packages MUST have 
 matched versions - and the only way to build an nvidia-kernel-source 
 package is from the nvidia-graphics-drivers source package, which 
 generates several packages at once (nvidia-kernel-source and nvidia-glx)

My fault, I built a nvidia-kernel from another nvidia-kernel-source 
package I downloaded via apt.

 Not sure. But it's worth noting that 8756-3+ require XOrg 7 (grab 8756-2 
 source from snapshot.debian.net)

To prevent problems I tried nvidia-graphics-drivers-1.0.7174 this time, 
from the stable repositories. But dpkg-buildpackage shows the same 
errormessages as before:

8---
dh_link: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip: Compatibility levels before 4 are deprecated.
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/stbKY8kg: warning: 
allocated section `.bss' not in segment
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: Bad value
BFD: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: The first 
section in the PT_DYNAMIC segment is not the .dynamic section
strip: debian/nvidia-glx-ia32/emul/ia32-linux/usr/lib/tls/st34aXXl: Bad value
dh_strip: command returned error code 256
make[1]: *** [binary-common] Fehler 1
make[1]: Verlasse Verzeichnis 
»/usr/src/nvidia-graphics-drivers-1.0.7174«
make: *** [binary-arch] Fehler 2
---8

I didn't really know what to do with the snapshot.debian.net-package, 
it had only 2 *.run files in it...?

sigi.



Re: dist-upgrade sarge to etch

2006-04-25 Thread sigi
Hi,

  Is there something wrong here, or should I risk this upgrade?
 
 Nothing realy wrong here. Just uninstallable and missing packages. The
 unofficial etch was never truely functional. It just got worse lately
 and with the official archive shaping up we are basicaly past caring.
 
 If you still want to use it then apt-get install specific
 packages. Try what you can update without deinstalling half the
 system. Might not be much or anything usefull. My recommendation is to
 switch to the official etch and wait it out till it becomes complete.
 
 Only 4 days left till XOrg enters etch. That should allow a ton of
 stuff to enter.
 

Thanks a lot for your answer! So, I'll wait some days...

And now I made it, to install a 2.6.16-kernel on sarge and nothing bad 
happened this time... graphics and sound are runnning now.

But now, I have another question: where can I get packages like 
libdvdcss to access my DVDs? All the marillat-mirrors I know seem to 
be down actually: nerim..., spello..., ucla...

Is there any mirror running out there? 


Regards,
sigi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-25 Thread Sam Varghese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Apr 26, 2006 at 01:40:03AM +0200 sigi said:
 
 And now I made it, to install a 2.6.16-kernel on sarge and nothing bad 
 happened this time... graphics and sound are runnning now.

Can you post your sources.list? Did you have to rebuild your nvidia
driver again or does Xorg use the nv driver?

 But now, I have another question: where can I get packages like 
 libdvdcss to access my DVDs? All the marillat-mirrors I know seem to 
 be down actually: nerim..., spello..., ucla...
 Is there any mirror running out there? 

This is what I used:

deb http://spello.sscnet.ucla.edu/marillat/ sarge main

Sam
- -- 
Sam Varghese
http://www.gnubies.com
Double your drive space - delete Windows!
My PGP key: http://www.gnubies.com/encryption/sign.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFETrB3ZyXhknb+33gRAu8QAJ0c6c/fTZmR/Q/tvMXBTxFZhq3rQwCggZZG
oD8Fs645I69ZgIbPHr2UuMM=
=Q7Wj
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-25 Thread sigi
Hi,

  And now I made it, to install a 2.6.16-kernel on sarge and nothing bad 
  happened this time... graphics and sound are runnning now.
 
 Can you post your sources.list? Did you have to rebuild your nvidia
 driver again or does Xorg use the nv driver?

I actually use the nvidia-driver. I had build it for the sarge-kernel 
2.6.8. and was surprised, that after my new installation of the 
2.6.16-kernel there automatically the module nvidiafb was used... 
So, I think, that this module now is natively supported by newer kernels..? 

My sources.list actually looks like this:

8
deb http://ftp.de.debian.org/debian-amd64/debian/ stable main contrib non-free
deb-src http://ftp.de.debian.org/debian-amd64/debian/ stable main contrib 
non-free

deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free

deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

#marillat
#deb http://spello.sscnet.ucla.edu/marillat/ sarge main
#deb http://spello.sscnet.ucla.edu/marillat/ sid main
#deb ftp://ftp.nerim.net/debian-marillat/ etch main
#deb ftp://ftp.nerim.net/debian-marillat/ etch main
#deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main
#deb http://spello.sscnet.ucla.edu/marillat/ sid main
#deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free

#nvidia
#deb http://people.debian.org/~rdonald/nvidia unstable/amd64/

#Goswins OO.o
#wget 
http://www.google.com/url?sa=Dq=http://amd64.debian.net/~goswin/amd64-archive/amd64-archive_0.2_amd64.deb
#http://amd64.debian.net/~goswin/amd64-archive/
# Converted 32bit debs
deb file:///var/lib/amd64-archive sarge main contrib non-free
# Only needed for sarge users (I think)
deb http://ftp.debian.org/debian dists/sarge/main/binary-i386/
--8

Actually I did not use dselect or aptitude this time, but only apt-get 
with the -t stable, -t testing or -t unstable option. With this 
method now all works fine. Aptitude did a mess last time with it's 
update! 

And to answer your last question: 
Up to now I use the stable xserver-xfree86. I didn't try to upgrade to 
Xorg, yet. Last time I said aptitude to install Xorg, it wanted to 
uninstall almost all my gnome and kde packages and broke it all up. 

 This is what I used:
 deb http://spello.sscnet.ucla.edu/marillat/ sarge main

I tried this one this afternoon, but it didn't work. 

sigi.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



dist-upgrade sarge to etch

2006-04-23 Thread sigi
Hi, 

some days ago I had to reinstall my system, and I chose debian sarge to 
install on it. Now, I liked to have more recent packages on my machine, 
like I had before. 

I tried a 'apt-get dist-upgrade' but this wants me to uninstall nearly 
my whole gnome and kde stuff... totally over 300 packages. 

Is this normal, and I should reinstall this packages, after the upgrade, 
or is there sonething wrong with this? 

In my sources.list I only have the 'official' mirrors listed, up to now: 

deb http://ftp.de.debian.org/debian-amd64/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free

Is there something wrong here, or should I risk this upgrade?

Regards,
sigi.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-23 Thread Sam Varghese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Apr 24, 2006 at 12:57:44AM +0200 sigi said:
 Hi, 
 
 some days ago I had to reinstall my system, and I chose debian sarge to 
 install on it. Now, I liked to have more recent packages on my machine, 
 like I had before. 
 
 I tried a 'apt-get dist-upgrade' but this wants me to uninstall nearly 
 my whole gnome and kde stuff... totally over 300 packages. 
 
 Is this normal, and I should reinstall this packages, after the upgrade, 
 or is there sonething wrong with this? 
 
 In my sources.list I only have the 'official' mirrors listed, up to now: 
 
 deb http://ftp.de.debian.org/debian-amd64/debian/ testing main contrib 
 non-free
 deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
 
 Is there something wrong here, or should I risk this upgrade?

I did this once about a month back and broke my entire system. 

I was merely looking for a kernel upgrade to get my nForce-based sound
card working. Things may have changed since then. 

I didn't mind losing the gnome and kde stuff but I also lost my X setup.

Sam
- -- 
Sam Varghese
http://www.gnubies.com
The years teach much which the days never knew.
My PGP key: http://www.gnubies.com/encryption/sign.txt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFETAmgZyXhknb+33gRAlIoAJwLomYjYOxuK+yEXlubzZpR84hrFwCgjHUv
kdlaC+pFoeMa9e0nAx/eD6w=
=7S/Z
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-23 Thread sigi
 I did this once about a month back and broke my entire system. 
 
 I was merely looking for a kernel upgrade to get my nForce-based sound
 card working. Things may have changed since then. 
 
 I didn't mind losing the gnome and kde stuff but I also lost my X setup.

Hmm, this sounds really bad! With this sarge-installation I recently 
can't print or scan and have no sound (nForce-based too)... With my 
formerly testing/unstable-installation all this worked fine. 

But I don't like to download this DVD-isos for testing again, and 
install this all for a third time! And I can't do a netinstall, because 
my wlan-card isn't recognized from debian during installation yet... 

I hope, there is a way to do a upgrade from sarge to etch?

sigi.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dist-upgrade sarge to etch

2006-04-23 Thread hendrik
On Mon, Apr 24, 2006 at 01:29:59AM +0200, sigi wrote:
  I did this once about a month back and broke my entire system. 
  
  I was merely looking for a kernel upgrade to get my nForce-based sound
  card working. Things may have changed since then. 
  
  I didn't mind losing the gnome and kde stuff but I also lost my X setup.
 
 Hmm, this sounds really bad! With this sarge-installation I recently 
 can't print or scan and have no sound (nForce-based too)... With my 
 formerly testing/unstable-installation all this worked fine. 
 
 But I don't like to download this DVD-isos for testing again, and 
 install this all for a third time! And I can't do a netinstall, because 
 my wlan-card isn't recognized from debian during installation yet... 
 
 I hope, there is a way to do a upgrade from sarge to etch?

If you have the space, make a copy on your entire Debian installation on 
another partition (all the system part, anyway.  You don't need to copy 
/home.)  Then make sure you con boot into both the original and the 
copy.  Then you can upgrade to your heart's content, knowing that you 
still have a working copy.  (make sure you have boot floppies that will 
boot you into the unupgraded system without requiring anything that's on 
the other partition, like the working code for Lilo or Grub)

When I did thie last September, it took me about a week to get my etch 
running properly.  Packages kept appearing and disappearing, having 
incompatible versions and then becomeing compatible again, and so forth.  
But once the dost-upgrade was done, regular upgrades eventually 
collected enough compatible stuff that it all started working again.

And until it did, the old sarge was still there for production work.

Oh.  Be very paranoid about boot methods.  Maybe upgrading the copy is 
the best policy, because you can make a boot floppy for the original and 
be sure it works *before* you make the copy.

-- hendrik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]