LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-16-2009, 01:12 PM   #1
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Rep: Reputation: 27
What is the correct kernel for my system?


I've got an AMD X2 processor, using lenny 32bit, with 4Gb ram. I'm currently running kernel; linux-image-2.6.26-2-686. But its description says it is meant for PPro/Celeron/PII/PIII/P4 chips. There is a 'bigmem' variant of the same kernel which lets me see all of the 4Gb, but I also see 'linux-image-2.6.26-2-amd64' listed. I'm not sure if they are kernels meant for the 64-bit version of the distro or what? the filename for the amd64 kernel ends with '_i386.deb' which would suggest its meant for the 32-bit distro, i think!



Thanks if anyone can clear this up for me!
 
Old 06-16-2009, 01:29 PM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
Continue using the "-686" kernel. Stay away from anything you think is 64 bit, anything like "amd64" unless you reinstall and specify 64 bit during your re-install. I think the bigmem kernel is not needed in your case... I may be wrong.
 
Old 06-16-2009, 01:29 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Mr Marmmalade View Post
I've got an AMD X2 processor, using lenny 32bit, with 4Gb ram. I'm currently running kernel; linux-image-2.6.26-2-686. But its description says it is meant for PPro/Celeron/PII/PIII/P4 chips. There is a 'bigmem' variant of the same kernel which lets me see all of the 4Gb, but I also see 'linux-image-2.6.26-2-amd64' listed. I'm not sure if they are kernels meant for the 64-bit version of the distro or what? the filename for the amd64 kernel ends with '_i386.deb' which would suggest its meant for the 32-bit distro, i think!



Thanks if anyone can clear this up for me!
If you're running Lenny, I would guess it is linux-image-2.6-2-amd64. If you want to run a 32bit kernel then linux-image-2.6-2-686(-bigmem) should be fine.
cheers,
jdk

Last edited by jdkaye; 06-16-2009 at 01:31 PM.
 
Old 06-16-2009, 01:33 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If you want to be running 32-bit lenny, then you've got the right kernel. The description is just a reference to that class of processors, including AMD equivalents (there is no longer an AMD-k7 optimized kernel). Or you can use the bigmem. I don't think it matters if you have exactly 4GB RAM as both should support that scenario.

If you want to run 64-bit debian, then I believe you need to reinstall with the amd64 installer media. AFAIK you can't "upgrade" a system from 32-bit to 64-bit.
 
Old 06-16-2009, 02:11 PM   #5
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 27
Thanks for the replies, hmm. If i had wanted the 64-bit system, yeah i would've installed from that CD. but its then strange to have amd64 listed if its not possible to do. i wouldnt have expected a 64-bit package to end with_i386.deb. i might just give the amd64 one a bash eventually and see what happens, i mean what could possbily go wrong...!
 
Old 06-16-2009, 11:49 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Mr Marmmalade View Post
Thanks for the replies, hmm. If i had wanted the 64-bit system, yeah i would've installed from that CD. but its then strange to have amd64 listed if its not possible to do. i wouldnt have expected a 64-bit package to end with_i386.deb. i might just give the amd64 one a bash eventually and see what happens, i mean what could possbily go wrong...!
In fact you could install both and be able to chroot from one system to another. There are some howto's about this that you can use. This was a common solution in the "old days" when things like openoffice, firefox, flash, etc. didn't come in 64bit versions.
cheers,
jdk

Last edited by jdkaye; 06-16-2009 at 11:50 PM.
 
Old 06-17-2009, 08:20 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Use the -686 kernel; there used to be a -k7 for AMD procs but it was merged with -686.

-bigmem should not be necessary if I'm understanding this correctly. I think you should only need CONFIG_HIGHMEM4G set. Run:
Code:
grep CONFIG_HIGHMEM /boot/config-`uname -r`
and see what the three results are.
 
Old 06-17-2009, 08:28 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
You'll need the bigmem to utilise all 4 GB (well, 3.6), the 686 will show just under 3 GB running free -m.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Correct kernel for dual AMD Athlon MP system? JMCraig Debian 3 07-23-2008 11:10 PM
Kernel 2.6.24.4desktop-3mnb - what is the correct kernel source? dolphans1 Mandriva 4 05-23-2008 02:49 PM
Setting up a correct Window System. hgb Debian 9 06-17-2006 04:53 AM
System not using correct interface andrewb758 Linux - Networking 1 04-16-2003 05:59 AM
Choose which one is the correct to patch the system? explorer1979 Linux - Security 1 03-07-2002 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration