Solved

recompile for 386 --- not!

Posted on 2001-06-11
4
262 Views
Last Modified: 2013-12-15
After installing slackware 7.1 on a hard drive in a P2 and moving the drive to a 386DX with a 387, the kernel (2.2) panics with 'recompile for a 386!'.  So I put the drive back in the P2, select all the 386 related options and compile with 'make bzlilo'.  

The kernel gives the same complaint back in the 386 every time.  Is there some option that I might be missing that isn't in the 'processor options' section of the kernel's make config?  Or does something else special need to be done when compiling on one platform and moving to another?  I've done this successfully with a MUCH older slackware distro without any special changes between the P2 and the 386, but something is stopping this particular release.

Thanks for any help,
magarity
0
Comment
Question by:magarity
  • 2
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6179846
Did you do a "make mrproper" before configuring the kernel for a 386 CPU type? If not, the build process is probably picking up other CPU type information. Be aware that "make mrproper" will delete the existing .config file. If you want to save that kernel config copy the .config file to some other name.
0
 
LVL 13

Author Comment

by:magarity
ID: 6181575
No, I haven't tried mrproper.  I'll give it a try tonight.  Should I do mrproper and then make config?
0
 
LVL 13

Author Comment

by:magarity
ID: 6188673
Ah, that actually worked...  From a blank install, where the heck was it getting the wrong CPU type info???  Anyway, thanks for the tip; my little firewall box is now on a 2.4.4 kernel, whee!
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6189378
It got the incorrect CPU type because the kernel source tree had been used to compile a kernel before it was packaged for distribution. Whether the kernel should be distributed that way or not is something of a moot question. The kernel building docs that I've seen all say to do a "make mrproper" the first time you build a kernel and each time that you change the CPU type or mode.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maybe no no httpd.conf 6 63
Bash script - Exit out of choice loop 2 44
awk variable in printf 1 34
CentOS 7 Linux for HP DL380 G4 32Bits 7 49
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question