Re: Howto create 64bit Kernel?

2007-05-07 Thread Jonas Bardino
* Alex Samad [EMAIL PROTECTED] [May 01. 2007 23:08]:
snip
  I´m working with many new hardware because of that, i need an kernel
  with updated driver
  and debian doesn´t update the kernel after an freeze.
 
 you might want to track unstable or even testing

... or try out a kernel from backports.org:
deb http://ftp.de.debian.org/backports.org/ etch-backports main

There's a backported 2.6.20 kernel available there.
I'm using the i386 version on a 32-bit system myself and haven't
experienced any problems so far.

  Thanks, to all for your help.
  
  Regards
  Stefan D.

Cheers, Jonas

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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



Re: Howto create 64bit Kernel?

2007-05-02 Thread Daniel Schröter
Alex Samad wrote:
 On Tue, May 01, 2007 at 05:55:16PM +0200, Stefan Drees wrote:
 I´m working with many new hardware because of that, i need an kernel
 with updated driver
 and debian doesn´t update the kernel after an freeze.
 
 you might want to track unstable or even testing

In unstable/testing there is (currently) also prebuild version of 2.6.18
like in stable.


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



Howto create 64bit Kernel?

2007-05-01 Thread Stefan Drees
Hi,
some short question. What must i change in kernel config, to create an
64bit kernel?
I downloaded the current kernel from ftp.kernel.org and used the 64bit
config
from debian etch amd64 and the 32bit config. Both works, but i want to know
what to change to switch between 64bit and 32bit kernel (cpu-) type?

Thanks.

Regards
Stefan D.


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



Re: Howto create 64bit Kernel?

2007-05-01 Thread Stefan Drees
Hans-J. Ullrich schrieb:
 Am Dienstag 01 Mai 2007 schrieb Stefan Drees:
   
 A.E.Lawrence schrieb:
 
 Stefan Drees wrote:
   
 Hi,
 some short question. What must i change in kernel config, to create an
 64bit kernel?
 I downloaded the current kernel from ftp.kernel.org and used the 64bit
 config
 from debian etch amd64 and the 32bit config. Both works, but i want to
 know what to change to switch between 64bit and 32bit kernel (cpu-)
 type?
 
 Look at the README file at top level.

 make gconfig

 for example, will give you a full menu which contextual help.

 ael
   
 I didn´t find it. I did make menuconfig because i didn´t have a GUI on
 the system.
 I can only select 32bit processor´s or does make detect which cpu type
 i have
 and let me only select 32bit, because i started on an 32bit system?

 Stefan D.
 

 Hi Stefan,
 maybe your sources are linked to the headers ? This is my way, it might not 
 be 
 correct, but it works:

 Go to /usr/src

 Check a link /usr/src/linux , it should point to the unpacked 
 linux-sources, /usr/src/linux-source-2.6.20

 If the link points to the headers, delete it and make it new, pointing to the 
 sources.

 O.k., now cd into /usr/src/linux

 Do make menuconfig

 In the forth line of the GUI you see Processor type and features. Step 
 into. 

 In the second line of this menu, you see Processor family , anbd here you 
 can choose your processor.

 Hint: The kernel-headers are only for building modules, the kernel-sources 
 are 
 building a kernel.

 I hope, this helps. Good luck !

 Regards

 Hans
   

I downloaded the fresh source and created the right link. make
menuconfig shows me
under Processor family only 386 - Pentium... - VIA C3-2. These are
only 32bit cpu´s.

Any other hints?

Regards
Stefan D.


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



Re: Howto create 64bit Kernel?

2007-05-01 Thread Hans-J. Ullrich
Am Dienstag 01 Mai 2007 schrieb Stefan Drees:
 Hans-J. Ullrich schrieb:
  Am Dienstag 01 Mai 2007 schrieb Stefan Drees:
  A.E.Lawrence schrieb:
  Stefan Drees wrote:
  Hi,
  some short question. What must i change in kernel config, to create an
  64bit kernel?
  I downloaded the current kernel from ftp.kernel.org and used the 64bit
  config
  from debian etch amd64 and the 32bit config. Both works, but i want to
  know what to change to switch between 64bit and 32bit kernel (cpu-)
  type?
 
  Look at the README file at top level.
 
  make gconfig
 
  for example, will give you a full menu which contextual help.
 
  ael
 
  I didn´t find it. I did make menuconfig because i didn´t have a GUI on
  the system.
  I can only select 32bit processor´s or does make detect which cpu type
  i have
  and let me only select 32bit, because i started on an 32bit system?
 
  Stefan D.
 
  Hi Stefan,
  maybe your sources are linked to the headers ? This is my way, it might
  not be correct, but it works:
 
  Go to /usr/src
 
  Check a link /usr/src/linux , it should point to the unpacked
  linux-sources, /usr/src/linux-source-2.6.20
 
  If the link points to the headers, delete it and make it new, pointing to
  the sources.
 
  O.k., now cd into /usr/src/linux
 
  Do make menuconfig
 
  In the forth line of the GUI you see Processor type and features. Step
  into.
 
  In the second line of this menu, you see Processor family , anbd here
  you can choose your processor.
 
  Hint: The kernel-headers are only for building modules, the
  kernel-sources are building a kernel.
 
  I hope, this helps. Good luck !
 
  Regards
 
  Hans

 I downloaded the fresh source and created the right link. make
 menuconfig shows me
 under Processor family only 386 - Pentium... - VIA C3-2. These are
 only 32bit cpu´s.

 Any other hints?

 Regards
 Stefan D.

Hi Stefan, 
is there a reason, why you don´t use the sources from Debian ?

If you use Debian you should use theire sources, because they are already 
optimized for the Debian system. If you try to compile and use a kernel of 
vanilla.org, you might get some difficulties, as the vanilla-kernel might be 
a little bit different from the Debian kernels.

My suggestion: Use the kernel-sources of your distribution.

The other way might be to edit the .config itself. 

If this fails, too, I myself fail, too. :)

regards

Hans


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



Re: Howto create 64bit Kernel?

2007-05-01 Thread Rob Andrews
On 01-May-2007 15:35.56 (BST), Stefan Drees wrote:
  I downloaded the fresh source and created the right link. make
  menuconfig shows me
  under Processor family only 386 - Pentium... - VIA C3-2. These are
  only 32bit cpu??s.

Stefan;

It sounds a lot like you have a 32-bit installation. If this is the case,
you should probably consider reinstalling with a 64-bit installation
instead. That is the easiest way.

There is no easy way of converting an existing 32-bit installation to
64-bit, but if you want a 64-bit kernel and 32-bit userspace for
compatibility, ensure you have a gcc that can generate x86_64 binaries, and
perform all kernel make commands (including menuconfig) with, e.g.:

make ARCH=x86_64

In the parameters.

Although, if you want simplicity, you should really just use the prebuilt
Debian kernel packages. There are 64-bit kernels available for the i386
port.

Kind regards,
rob.

-- 
rob andrews   :: pgp 0x01e00563 :: [EMAIL PROTECTED]


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