LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-18-2005, 06:40 AM   #1
renski
LQ Newbie
 
Registered: Sep 2005
Location: Sydney
Distribution: Debian
Posts: 13

Rep: Reputation: 0
AMD Sempron boot problems - debian


I recently changed my motherboard/cpu/ram to an AMD Sempron 2600+ .. i'm using debian 3.1 w/ the debian kernel image 2.4.26-1-386 (from previous install).

That boots okay.. but whenever I try to install a new kernel of any other kind it won't boot. I'm trying to build a custom 2.6 kernel, I've tried enabling i386, x86 support, k7 and k8 support (all at different times) and none of them will work.

When I boot it just stops at "boot" .. like it sets the filesystem type, finds the kernel, then just stops.. before even detecting the cpu.

Are there any special options i should be selecting in the kernel setup for this processor?
 
Old 09-19-2005, 03:37 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
You probably want to boot it without initrd. If this is the case you have to compile all essential (needed to boot) hardware support into kernel. I think your problem is not CPU. Generic i386 should work with every PC CPU.
 
Old 09-19-2005, 11:25 PM   #3
renski
LQ Newbie
 
Registered: Sep 2005
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
I'll give that a go when I get home.. I understand that with a custom built kernel that something is probably missing, but that doesn't explain why the debian image kernels won't boot.. they include absolutely every possible driver... the box is actually using an exiting debian kernel, 2.4.26-i386 .. but if i try and install any other kernel image it just won't boot.

Also this is grub boot loader

Last edited by renski; 09-19-2005 at 11:31 PM.
 
Old 09-20-2005, 06:06 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,317

Rep: Reputation: Disabled
When you try to boot with some foreign generic kernel, the chances are initrd is not working. This means necessary modules for booting are not loaded and boot will stop. Yes, they include every possible driver, but as modules.
 
Old 09-21-2005, 12:26 AM   #5
renski
LQ Newbie
 
Registered: Sep 2005
Location: Sydney
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
I tried booting without an initrd and it still wouldn't boot
 
Old 09-21-2005, 05:19 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You need to make sure ramdisk and initrd is compiled as built-in, but not as modules. Also make sure you set your chipset as built-in. The chipset can be set as modules but it can be pain in the ass to find the names of the modules to include in the ramdisk file. Next make sure you select PIIX4 as built-in or else DMA will never work. This can also be set as module but settings chipsets and PIIX4 as modules does reduce the performance to some degree.

I suggest using at least a vanialla kernel version 2.6.12 because it fixes a lot of problems and has more support for today's systems. Using the latest stable kernel version is fine too. Kernel version 2.6.x provides better performance than 2.4.x kernels.

Configuring the kernel does take a long time. You should take the time to set and look over the options before going to the next step. If you are using kernel version 2.6.x, all you do to compile is make && make modules_install. After it is done compiling and copying the modules to /lib/modules/, find bzImage in the kernel source code directory and copy it to the /boot directory. Next go into /boot and run mkinitrd to make a ramdisk file that may need to include required modules to boot up Linux. Add an entry in the bootloader. Check over some things (is there a directory named /initrd and boot configs are correct) and reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
AMD Sempron 64 bit kumarnarain Red Hat 1 04-03-2006 01:15 PM
AMD Sempron 2600 debian installs 386 kernel by default MrInept Debian 12 11-11-2005 06:14 PM
Is Mandriva compatible with the AMD Sempron ? eyeonic Mandriva 3 08-14-2005 12:20 PM
sempron vs amd 64 kpachopoulos General 4 11-06-2004 12:49 PM
Which kernel is best with AMD Sempron? xucaen Debian 2 10-26-2004 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration