Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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!
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.)
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.