Re: 32-bit Kernel on 64-bit CPU?

2013-01-19 Thread Pascal Hambourg
Hello,

Andrei POPESCU a écrit :
  
 The 686-pae kernel is 32-bit, nothing strange here.
 
 However, in your OP you mentioned not being able to allocate more than 2 
 GB with qemu. Unless this is some limitation of qemu it should have 
 worked with the -686-pae kernel

Don't forget that even though the PAE kernel can manage up to 64 GiB of
physical memory, 32 userland processes are still limited to 32-bit
virtual memory addressing.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50faa34f.2010...@plouf.fr.eu.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-19 Thread craig
On Saturday, January 19, 2013 07:44, Pascal Hambourg pas...@plouf.fr.eu.org 
said:

 Hello,
 
 Andrei POPESCU a écrit :

 The 686-pae kernel is 32-bit, nothing strange here.

 However, in your OP you mentioned not being able to allocate more than 2
 GB with qemu. Unless this is some limitation of qemu it should have
 worked with the -686-pae kernel
 
 Don't forget that even though the PAE kernel can manage up to 64 GiB of
 physical memory, 32 userland processes are still limited to 32-bit
 virtual memory addressing.

One thing I've learned is that the more work it takes to resolve a problem, the
less likely it is that you will forget that resolution. Thanks!

I also misspoke in my previous post. It was not a problem with qemu, it was my
lack of understanding, dut to my lack of reading. Qemu was not the issue, I was.

I've also enjoyed the other 64-bit discussions and picked up a few tips. My
thanks to everyone that participated in the conversations.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358628210.60766...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread craig
On Thursday, January 17, 2013 16:08, Hugo Vanwoerkom hvw59...@care2.com 
said:

 What's the output of

 dpkg --print-architecture
 dpkg --print-foreign-architectures

 [my-desktop:~]$ dpkg --print-architecture
 i386
 [my-desktop:~]$ dpkg --print-foreign-architectures
 [my-desktop:~]$

 I assume, after a quick search of man dpkg, that I should probably add the
 correct architecture? Or is this telling us that I installed from the i386
 netinst iso (which I did), and that I need to re-install from the amd64?


 
 AFAIK you have to reinstall with
 http://cdimage.debian.org/cdimage/wheezy_di_beta4/amd64/iso-cd/debian-wheezy-DI-b4-amd64-netinst.iso
 
 Because adding a foreign architecture is only for adding its libraries
 to run some applications, not for running its kernel.
 
 Hugo

Thanks Hugo, I'm re-installing from that iso right now. I'll let you know how
that works out.

Part of my lack of understanding is undoubtedly due to my lack of experience
with newer hardware. My newest Debian system outside of this desktop is a
seven year-old Dell server, and I set it up over a year ago with Squeeze and
haven't had to mess with it since, other than the usual updates, configuration
changes, etc. I've never had any experience with Debian on anything other than
older Intel hardware. I do maintain several much newer systems here at work,
but they are Dell x86-64 running CentOS, and I inherited them.

In t he meantime, I'll go back and re-read the install guides since my knowledge
is obviously way out of date.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358525700.83787...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread craig
On Thursday, January 17, 2013 16:44, Lisi Reisz lisi.re...@gmail.com said:

 On Thursday 17 January 2013 20:44:07 cr...@gtek.biz wrote:
  Hum... this might be an option, but the easier is to install from the
  amd64 iso, since with only the kernel using amd64, you will not have
  benefits from your x86_64 arch.

 So just do a clean install? That I can do, but not today then.
 
 Much the best, if it is feasible.  Default Wheezy is not responsible - you
 must have used a 32 bit iso. ;-)
 
 Lisi

Yes, I used the 32-bit i386 installer. I should have termed it that way, and
that is, from what I've gathered, the source of my problems.

I am re-installing with amd64 installer as we speak. Will let you know how
that works out.

Thanks!


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358525942.155232...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread craig
On Thursday, January 17, 2013 17:08, Andrei POPESCU 
andreimpope...@gmail.com said:

 On Jo, 17 ian 13, 13:09:46, cr...@gtek.biz wrote:
 Hello all,

 I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
 appears the default install of Wheezy installed a 32-bit kernel, because qemu
 will not allow me to allocate more than 2047MB of RAM. How can I verify that
 
 uname -a
 
 is the case, and if so, can anyone point me to anything that might help me
 understand how to get a 64-bit kernel? Do I just need to select the correct
 ARCH (which I'm getting ready to try in the meantime)?
 
 Currently the only 32-bit kernel in wheezy without PAE support for i386
 is the -486 flavour, but the installer would not install that unless
 your processor(s) are not supported by the other images.
 
 If this is indeed the case ('uname -a' will tell) and you can reproduce
 it you might want to send an installation report.
 
 Kind regards,
 Andrei

Hi Andrei,

I used the i386 net install image, and selected the (if I remember correctly)
i686-3.2.0-4-pae kernel. Are you saying that should have installed the 64-bit
kernel or that I got the 32-bit kernel I did't realize I was asking for?

I've begun the process of re-installing with the amd64 net install image, but
on a separate hard drive. I can still boot into the original system, but I did
install the linux-image-3.2.0-4-amd64 package yesterday. The only dependency
installed with it was firmware-linux-free:i386.

I'll be happy to post the install report from that install if you would still
like to see it.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358526370.477627...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread Andrei POPESCU
On Vi, 18 ian 13, 10:26:10, cr...@gtek.biz wrote:
 
 I used the i386 net install image, and selected the (if I remember correctly)
 i686-3.2.0-4-pae kernel. Are you saying that should have installed the 64-bit
 kernel or that I got the 32-bit kernel I did't realize I was asking for?
 
The 686-pae kernel is 32-bit, nothing strange here.

However, in your OP you mentioned not being able to allocate more than 2 
GB with qemu. Unless this is some limitation of qemu it should have 
worked with the -686-pae kernel, which is why I thought the installer 
got the -486 (non-pae) kernel for you (which would have been a bug).

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread craig
On Friday, January 18, 2013 11:13, Andrei POPESCU andreimpope...@gmail.com 
said:

 On Vi, 18 ian 13, 10:26:10, cr...@gtek.biz wrote:

 I used the i386 net install image, and selected the (if I remember correctly)
 i686-3.2.0-4-pae kernel. Are you saying that should have installed the 64-bit
 kernel or that I got the 32-bit kernel I did't realize I was asking for?
 
 The 686-pae kernel is 32-bit, nothing strange here.

And that is what I unknowingly asked for, so all is good here.

 
 However, in your OP you mentioned not being able to allocate more than 2
 GB with qemu. Unless this is some limitation of qemu it should have
 worked with the -686-pae kernel, which is why I thought the installer
 got the -486 (non-pae) kernel for you (which would have been a bug).

I seem to recal the -486 kernel being an option, one of five or six that
I could choose from. But it was also a 2.6 kernel, I think.

Thanks for the clarification, and sorry for causing the confusion.

I haven't been able to find a clear answer for why I would not have been
able to allocate more RAM, but I did see one thread that seemed to indicate
32-bit addressing could be a cause. That is what started me down that path.

This could also just be a result of the learning curve I need to go through
to learn qemu. We'll find out in a bit I think. I had wanted to experiment
some on my home system but haven't had time. I'm at the point here that it
would be a big help if I could build some VMs here without fear of tearing
up a needed system. I've gotten it working with qemu-kvm on one of our
CentOS servers, but it is remote and I'd like to do away with the network
lag and the possibility of being cut off if we have network issues during
an upcoming cable run.



Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358530664.713226...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU? [SOLVED]

2013-01-18 Thread craig
On Thursday, January 17, 2013 16:08, Hugo Vanwoerkom hvw59...@care2.com 
said:

 understand how to get a 64-bit kernel? Do I just need to select the correct
 
 AFAIK you have to reinstall with
 http://cdimage.debian.org/cdimage/wheezy_di_beta4/amd64/iso-cd/debian-wheezy-DI-b4-amd64-netinst.iso
 
 Because adding a foreign architecture is only for adding its libraries
 to run some applications, not for running its kernel.
 
 Hugo

After re-installing off of a usb stick with the
debian-wheezy-DI-b4-amd64-netinst.iso image, I did the following:

Installed qemu-kvm, libvirt-bin, virt-manager, and virt-viewer
Added the physical volume I want my VMs on
Extended the volume group
Created the new logical volume
Formatted and mounted it to /var/lib/libvirt/images
Launched Virtual Machine Manager

I was then able to create a new VM with 3072 MB of RAM, so it looks like my
choice of install image was the issue. Thanks to all for the help.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358543052.75231...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread craig
On Friday, January 18, 2013 11:13, Andrei POPESCU andreimpope...@gmail.com 
said:

 On Vi, 18 ian 13, 10:26:10, cr...@gtek.biz wrote:

 I used the i386 net install image, and selected the (if I remember correctly)
 i686-3.2.0-4-pae kernel. Are you saying that should have installed the 64-bit
 kernel or that I got the 32-bit kernel I did't realize I was asking for?
 
 The 686-pae kernel is 32-bit, nothing strange here.
 
 However, in your OP you mentioned not being able to allocate more than 2
 GB with qemu. Unless this is some limitation of qemu it should have
 worked with the -686-pae kernel, which is why I thought the installer
 got the -486 (non-pae) kernel for you (which would have been a bug).

This is a problem with qemu. I seem to have missed the line about except
64-bit guests on 32-bit hosts Reloading with the amd64 iso image has
resolved the problems. I just allocated 3073 MB to a vm with no problem.

Thanks for your time!


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358543235.79938...@webmail.gtek.biz



RE: 32-bit Kernel on 64-bit CPU?

2013-01-18 Thread Mark Allums
 This is a problem with qemu. I seem to have missed the line about except
 64-bit guests on 32-bit hosts Reloading with the amd64 iso image has
 resolved the problems. I just allocated 3073 MB to a vm with no problem.

Doing that is at least theoretically possible with hardware virtualization 
support.  I ran 64-bit Window Vista guest under 32-bit Windows XP host once 
just for the heck of it.  It worked flawlessly under VirtualBox.  Of course 
this wasn't  QEMU, or under Debian host or guest, but at least it shows it can 
be done.  Why it would be of interest other than as a novelty, I'm not quite 
sure.  



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/005f01cdf608$56ee6e10$04cb4a30$@allums.com



32-bit Kernel on 64-bit CPU?

2013-01-17 Thread craig
Hello all,

I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
appears the default install of Wheezy installed a 32-bit kernel, because qemu
will not allow me to allocate more than 2047MB of RAM. How can I verify that
is the case, and if so, can anyone point me to anything that might help me
understand how to get a 64-bit kernel? Do I just need to select the correct
ARCH (which I'm getting ready to try in the meantime)?

Regards, Craig


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358449786.68023...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread berenger . morel

Le 17.01.2013 20:09, cr...@gtek.biz a écrit :

Hello all,

I have a fairly modern Desktop PC with two Intel Xeon X5690 
Processors. It
appears the default install of Wheezy installed a 32-bit kernel, 
because qemu
will not allow me to allocate more than 2047MB of RAM. How can I 
verify that
is the case, and if so, can anyone point me to anything that might 
help me
understand how to get a 64-bit kernel? Do I just need to select the 
correct

ARCH (which I'm getting ready to try in the meantime)?

Regards, Craig


Sent - Gtek Web Mail


SImply download the correct arch, which is named amd64 (it is ok for 
intel proc too)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/6d0ad47a474e9489e3c8cbf39f436...@neutralite.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread craig
On Thursday, January 17, 2013 13:13, berenger.mo...@neutralite.org said:

 can anyone point me to anything that might help me
 understand how to get a 64-bit kernel?

 Regards, Craig
 
 SImply download the correct arch, which is named amd64 (it is ok for
 intel proc too)

Didn't know that (ok for intel)! So you're saying to just install the
linux-image-3.2.0-4-amd64 package? That's certainly easier than compiling
a Kernel.

Thanks!


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358452424.19144...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread berenger . morel



Le 17.01.2013 20:53, cr...@gtek.biz a écrit :
On Thursday, January 17, 2013 13:13, berenger.mo...@neutralite.org 
said:



can anyone point me to anything that might help me
understand how to get a 64-bit kernel?

Regards, Craig


SImply download the correct arch, which is named amd64 (it is ok for
intel proc too)


Didn't know that (ok for intel)! So you're saying to just install the
linux-image-3.2.0-4-amd64 package? That's certainly easier than 
compiling

a Kernel.

Thanks!


Sent - Gtek Web Mail


Hum... this might be an option, but the easier is to install from the 
amd64 iso, since with only the kernel using amd64, you will not have 
benefits from your x86_64 arch.


I am not even sure that installing that kernel is hard.

About compiling, modern linux distributions need really few compiling, 
and only for very rare cases (rare softwares, enabling a specific 
option...). Except for source distros like gentoo, of course.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/45efa3b3a5828296224504b1b8fcf...@neutralite.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread craig
On Thursday, January 17, 2013 14:33, berenger.mo...@neutralite.org said:

 Le 17.01.2013 20:53, cr...@gtek.biz a écrit :
 On Thursday, January 17, 2013 13:13, berenger.mo...@neutralite.org
 said:

 can anyone point me to anything that might help me
 understand how to get a 64-bit kernel?

 Regards, Craig

 SImply download the correct arch, which is named amd64 (it is ok for
 intel proc too)

 Didn't know that (ok for intel)! So you're saying to just install the
 linux-image-3.2.0-4-amd64 package? That's certainly easier than
 compiling
 a Kernel.

 Thanks!


 Sent - Gtek Web Mail
 
 Hum... this might be an option, but the easier is to install from the
 amd64 iso, since with only the kernel using amd64, you will not have
 benefits from your x86_64 arch.

So just do a clean install? That I can do, but not today then. FWIW,
installing just the package did not resolve the qemu error. I do get an
x86-64 option in the Virtual Machine Manager now, but I still fail with
the same qemu: at most 2047 MB RAM can be simulated error.

 
 I am not even sure that installing that kernel is hard.
 
 About compiling, modern linux distributions need really few compiling,
 and only for very rare cases (rare softwares, enabling a specific
 option...). Except for source distros like gentoo, of course.
 
You're likely right. I haven't had to compile a kernel in a while. I
usually get to do that when I'm building a production server since I
like to go module-less then. I'm just lost now because I haven't had to
mess with a 64-bit system before, other than my AMD64 desktop at home.



Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358455447.26530...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread Hugo Vanwoerkom

cr...@gtek.biz wrote:

Hello all,

I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
appears the default install of Wheezy installed a 32-bit kernel, because qemu
will not allow me to allocate more than 2047MB of RAM. How can I verify that
is the case, and if so, can anyone point me to anything that might help me
understand how to get a 64-bit kernel? Do I just need to select the correct
ARCH (which I'm getting ready to try in the meantime)?



What's the output of

dpkg --print-architecture
dpkg --print-foreign-architectures

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kd9qi9$oro$1...@ger.gmane.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread craig
On Thursday, January 17, 2013 15:30, Hugo Vanwoerkom hvw59...@care2.com 
said:

 I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
 appears the default install of Wheezy installed a 32-bit kernel, because qemu
 will not allow me to allocate more than 2047MB of RAM. How can I verify that
 is the case, and if so, can anyone point me to anything that might help me
 understand how to get a 64-bit kernel? Do I just need to select the correct
 ARCH (which I'm getting ready to try in the meantime)?
 
 What's the output of
 
 dpkg --print-architecture
 dpkg --print-foreign-architectures

[my-desktop:~]$ dpkg --print-architecture
i386
[my-desktop:~]$ dpkg --print-foreign-architectures
[my-desktop:~]$

I assume, after a quick search of man dpkg, that I should probably add the
correct architecture? Or is this telling us that I installed from the i386
netinst iso (which I did), and that I need to re-install from the amd64?


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358459117.324528...@webmail.gtek.biz



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread Hugo Vanwoerkom

cr...@gtek.biz wrote:

On Thursday, January 17, 2013 15:30, Hugo Vanwoerkom hvw59...@care2.com 
said:


I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
appears the default install of Wheezy installed a 32-bit kernel, because qemu
will not allow me to allocate more than 2047MB of RAM. How can I verify that
is the case, and if so, can anyone point me to anything that might help me
understand how to get a 64-bit kernel? Do I just need to select the correct
ARCH (which I'm getting ready to try in the meantime)?

What's the output of

dpkg --print-architecture
dpkg --print-foreign-architectures


[my-desktop:~]$ dpkg --print-architecture
i386
[my-desktop:~]$ dpkg --print-foreign-architectures
[my-desktop:~]$

I assume, after a quick search of man dpkg, that I should probably add the
correct architecture? Or is this telling us that I installed from the i386
netinst iso (which I did), and that I need to re-install from the amd64?




AFAIK you have to reinstall with 
http://cdimage.debian.org/cdimage/wheezy_di_beta4/amd64/iso-cd/debian-wheezy-DI-b4-amd64-netinst.iso


Because adding a foreign architecture is only for adding its libraries 
to run some applications, not for running its kernel.


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/kd9sov$kg3$1...@ger.gmane.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread Lisi Reisz
On Thursday 17 January 2013 20:44:07 cr...@gtek.biz wrote:
  Hum... this might be an option, but the easier is to install from the
  amd64 iso, since with only the kernel using amd64, you will not have
  benefits from your x86_64 arch.

 So just do a clean install? That I can do, but not today then.

Much the best, if it is feasible.  Default Wheezy is not responsible - you 
must have used a 32 bit iso. ;-)

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201301172244.50226.lisi.re...@gmail.com



Re: 32-bit Kernel on 64-bit CPU?

2013-01-17 Thread Andrei POPESCU
On Jo, 17 ian 13, 13:09:46, cr...@gtek.biz wrote:
 Hello all,
 
 I have a fairly modern Desktop PC with two Intel Xeon X5690 Processors. It
 appears the default install of Wheezy installed a 32-bit kernel, because qemu
 will not allow me to allocate more than 2047MB of RAM. How can I verify that

uname -a

 is the case, and if so, can anyone point me to anything that might help me
 understand how to get a 64-bit kernel? Do I just need to select the correct
 ARCH (which I'm getting ready to try in the meantime)?

Currently the only 32-bit kernel in wheezy without PAE support for i386 
is the -486 flavour, but the installer would not install that unless 
your processor(s) are not supported by the other images.

If this is indeed the case ('uname -a' will tell) and you can reproduce 
it you might want to send an installation report.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature