LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-15-2003, 06:18 PM   #1
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Rep: Reputation: 15
Question Compiling Pentium4 Support Gives Kernel Panic


Background: I'm attempting to move from the default i586 to Pentium4 CPU architecture for a bit of a speed and stability boost. I'm also looking at compiling the i8k module (Dell Inspiron 8XXX Access Direct keys) and hunting for the ACPI module that will allow the OS to detect my battery state. For now, I'm ONLY compiling the Pentium4 architecture change.

Operating System: SuSE 8.2

Steps:

1. Perform a full, clean install from FTP. System boots OK, log into system and move around, system working perfectly.

2. Exit out of X-Windows, change inittab's init to 3, reboot into the console.

3. cd /usr/src/linux

4. make menuconfig

5. I changed the system architecture from i586 to Pentium4, saved the .config and exited.

6. make dep

7. make clean

8. make bzImage

9. cp arch/i386/boot/bzImage /boot/vmlinuz.Pentium4

10. I edited my GRUB configuration file (menu.lst) with the new line; however, I did not create an initrd file; sources I've read have said that it's not necessary if the hard drive drivers are compiled into the kernel, which, according to makeconfig, they were.

11. Reboot.

12. Kernel panic after the NTFS driver attempts to mount my /windows/c drive. If necessary, I'll attempt to record the information and post it.

13. I reboot using my clean kernel and it works just fine.

Any ideas? I typically haven't had much trouble recompiling my kernel, but this Pentium4 architecture has just been kicking me around.

Thanks in advance!

-David
 
Old 05-15-2003, 06:59 PM   #2
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
Which pentium 4 did you select? I ran a quick menuconfig and it looks like there are two options:

Pentium 4
Pentium 4(gcc>31)

I have just pentium 4 selected and haven't had any problems.
 
Old 05-15-2003, 07:04 PM   #3
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
Humm, I only saw one and I was using the vanilla Pentium4.
 
Old 05-15-2003, 07:09 PM   #4
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
I'm using a gentoo kernel but I can't imagine there being that big of differences in options.
 
Old 05-15-2003, 07:17 PM   #5
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
Very possible it's user error; I've tried it with SuSE and RedHat; same problems. See anything wrong with my steps?
 
Old 05-15-2003, 07:22 PM   #6
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
The only thing missing from normal recompiling is the
# make modules
# make modules_install

I'm not sure if that would make a difference but I always do that for good measure just in case. Other than that, I can't see any problems except for the fact that you're using SuSE.
 
Old 05-15-2003, 07:56 PM   #7
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
*grins at the SuSE comment*

If it makes you feel better, I'm running Mandrake 9 at work. I tried Gentoo back when it was early, but with this being my production laptop, I didn't want to spend days compiling modules--plus with built-in ALSA, it plays nice with my SB Live from Dell. I'll give the modules lines a shot. Didn't think about that since I wasn't adding any... but good idea!
 
Old 05-16-2003, 09:17 AM   #8
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
busbarn-

I recompiled with the modules and that really hosed everything. It panics immediately after processing through the first few modules. Do some modules not support 'pentium4' yet? (though, you said yours is working smooth.)
 
Old 05-16-2003, 11:19 AM   #9
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
I would say wipe out your kernel that isn't working...just totally get rid of it and start over. I've had messed up kernels when I've tried to go back and do the module thing at a later time.

Here's an idea: in your new kernel did you include ntfs in the filesystems for the kernel to identify? Your original bad kernel was fine until it tried to mount your windows drive. Check and see if it's compiled in there.

As for some things freaking out, I know nvidia drivers and alsa drivers need to be reinstalled after recompiling your kernel.
 
Old 05-16-2003, 03:41 PM   #10
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
I'll give that a shot. As for the drivers, I'm not using NVIDIA (ATI RAEDON), but I am using ALSA drivers.

Thanks!

-David
 
Old 05-16-2003, 05:39 PM   #11
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
Okay, that seemed to work; however, the cdrom, ide-cd, and ide-scsi modules didn't seem to compile; however, I think I can resolve that. One question, on the version splash in the console (and in KDE control centre), shouldn't the i586 change to pentium4? It always has when I recompiled in prior versions. The Console says i586 and KDE shows i686. As long as the tweaks are active, I couldn't care less, but ... that's the reassurance I typically look at.

Past that, everything looks like it's operational.

Thanks!

-David
 
Old 05-17-2003, 12:33 AM   #12
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
I have no idea about that. My kde control center says i686 and I haven'e bothered to look at version splash in the console. If your kernel is running and there aren't any errors, then I would say it's working for ya. I'm glad it's working for you. It's always nice to get things figured out and running smooth again. I guess I said all the right things since nobody else piped up eh?
 
Old 05-17-2003, 07:12 AM   #13
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Original Poster
Rep: Reputation: 15
Guess so! I haven't had time to fix the CD module problem, but yeah; everything's working smooth. Thanks!
 
  


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
compiling kernel 2.6.13.3: panic! Mr.Bloom Linux - General 7 10-21-2005 05:42 PM
WMP54GX support? kernel panic.... happyoutkast Linux - Wireless Networking 1 10-19-2005 06:58 AM
Kernel panic after compiling 2.4.29 ? gnirtS Debian 8 03-15-2005 10:08 AM
Kernel panic after compiling 2.4.26 alantang Linux - General 4 02-01-2005 02:51 PM
gentoo: pentium4 smp support and kernel 2.6.7 problems iliah Linux - Hardware 0 08-01-2004 11:35 AM

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

All times are GMT -5. The time now is 12:13 AM.

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