linux-image-2.6.18-6-amd64 kernel installed, but am I running a 64-bit system?

2008-05-01 Thread Neil Stewart
I'm running debian etch on an amd64 machine. I've got the right kernel
installed and running:

# uname -r
2.6.18-6-amd64

I'm trying to install the nvidia-kernel-2.6-amd64 package. I can't find the
package in aptitude. Aptitude only lists other versions:

# aptitude search nvidia-kernel
v   nvidia-kernel-1.0.8776  
   -
p   nvidia-kernel-2.6-486   
   - NVIDIA binary kernel module for 2.6 series compiled for 486
p   nvidia-kernel-2.6-686   
   - NVIDIA binary kernel module for 2.6 series compiled for 686
p   nvidia-kernel-2.6-k7
   - NVIDIA binary kernel module for 2.6 series compiled for k7
p   nvidia-kernel-2.6.18-6-486  
   - NVIDIA binary kernel module for Linux 2.6.18-6-486
p   nvidia-kernel-2.6.18-6-686  
   - NVIDIA binary kernel module for Linux 2.6.18-6-686
p   nvidia-kernel-2.6.18-6-k7   
   - NVIDIA binary kernel module for Linux 2.6.18-6-k7
i   nvidia-kernel-common
   - NVIDIA binary kernel module common files
 ... and legacy versions ...
p   nvidia-kernel-source
   - NVIDIA binary kernel module source

I'm pretty sure I've got my /etc/apt/sources.list contents correct:
deb http://ftp.uk.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free

I also know that the .deb exists here
(http://ftp.uk.debian.org/debian/pool/non-free/n/nvidia-graphics-modules-amd64/).

When I download these and install them dpkg complains that I'm trying to
install an amd64 package on a i386 system.

# dpkg -i nvidia-kernel-2.6-amd64_1.0.8776+6etch2_amd64.deb 
nvidia-kernel-2.6.18-6-amd64_1.0.8776+6etch2_amd64.deb
dpkg: error processing nvidia-kernel-2.6-amd64_1.0.8776+6etch2_amd64.deb
(--install):
 package architecture (amd64) does not match system (i386)
dpkg: error processing
nvidia-kernel-2.6.18-6-amd64_1.0.8776+6etch2_amd64.deb (--install):
 package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
 nvidia-kernel-2.6-amd64_1.0.8776+6etch2_amd64.deb
 nvidia-kernel-2.6.18-6-amd64_1.0.8776+6etch2_amd64.deb

Presumably this is why aptitude didn't list the package in the first place.

Discussion here
(http://forums.debian.net/viewtopic.php?t=12966postdays=0postorder=ascstart=15)
seems to indicate that I need to be running an amd64 system.

So, here are my questions:

1. I'm running a 64-bit kernel, but am I running a 64-bit system? If not,
how does one install a 64-bit system using the debian installer? Presumably
then I could install the nvidia drivers?

2. Should I instead leave things as they are to use the official debian
distribution and do something different to get the nvidia driver?

3. Given I can't compile the source code debian version or the version from
the nvidia pages, is there a way forward?

Finally, I've got another amd64 system with the same kernel, but this one
does have the nvidia-kernel-2.6.18-6-amd64 package installed. But I am at a
complete loss as to how the systems are different: /etc/apt/sources.list is
exactly the same and the kernel is exactly the same!



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



Re: linux-image-2.6.18-6-amd64 kernel installed, but am I running a 64-bit system?

2008-05-01 Thread Neil Stewart
Thank you all very much for all of your help. I think you've solved this
one. I do _seem_ to be running a 32-bit system after foolishly using a
32-bit CD. But one small point: How can I get the system to report which
type it is? uname -a does not seem to work.

 what does uname -a give out?  I suspect on was 32bit and the other was
 64bit (amd64)

On the known 64-bit system uname -a gives:

Linux stewart 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64
GNU/Linux


On the suspected 32-bit system with a amd64 kernel uname -a gives:

Linux sdell03 2.6.18-6-amd64 #1 SMP Thu Apr 24 10:20:33 UTC 2008 x86_64
GNU/Linux

which would seem to suggest that I'm running a 64-bit system. But on the
same suspected 32-bit system with a k7 kernel uname -a gives:

Linux sdell03 2.6.18-6-k7 #1 SMP Thu Apr 24 09:09:38 UTC 2008 i686 GNU/Linux

Note the i686. So uname -a seems to give a kernel-dependent answer and not
an answer dependent on which installer was used.

uname -i gives unknown.

Which command should I use to report the system type and not the kernel type. I
think file gives useful information. On the known 64-bit system file
/lib/libc-2.3.6.so gives:

/lib/libc-2.3.6.so: ELF 64-bit LSB shared object, AMD x86-64, version 1
(SYSV), for GNU/Linux 2.6.0, stripped

but on the suspected 32-bit system file /lib/libc-2.3.6.so gives:

/lib/libc-2.3.6.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), for GNU/Linux 2.4.1, stripped

Is there another way?



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



Re: linux-image-2.6.18-6-amd64 kernel installed, but am I running a 64-bit system?

2008-05-01 Thread Neil Stewart
 On Thu, May 01, 2008 at 09:50:31PM +0100, Neil Stewart wrote:
  Thank you all very much for all of your help. I think you've solved this
  one. I do _seem_ to be running a 32-bit system after foolishly using a
  32-bit CD. But one small point: How can I get the system to report which
  type it is? uname -a does not seem to work.

 dpkg --print-architecture

Yep, that's done it.

On the non-confirmed i386 system:
# dpkg --print-architecture
i386


On the known amd_64 system:
# dpkg --print-architecture
amd64

Thanks again. Now I just need to get my chroot set up for flash and java
plugins on iceweasel. Fortunately, there are some good howtos for this.


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



In-Reply-To=[EMAIL PROTECTED]Subject=Re:%20Mathematica SIGSEGV Crash

2006-03-20 Thread Neil Stewart
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]Subject=Re:%20Mathematica SIGSEGV 
Crash

I have found that the cleanStart option solves this problem:

mathematica -cleanStart 


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