This is a discussion on compiling kernel for i486 on pentium 2 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I don't have much experience in compiling custom kernels. I'm running Slackware 10 on both an old i486 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I don't have much experience in compiling custom kernels. I'm running Slackware 10 on both an old i486 and a pentium 2. I would like to compile a custom kernel (2.4.27) for the i486 to improve performance. (The stock bare.i kernel works fine, but it contains a lot of drivers that I don't need on my i486.) Since I don't have space for gcc and co. on the i486, I want to compile the kernel for the i486 on my pentium 2. When configuring the new kernel, I explicitly choose i486 as the processor type. The compiliation (make dep, make bzImage, make modules) goes well, but when I try to boot the new kernel on the i486 I get the following error message: Kernel panic: Kernel compiled for Pentium+, requires TSC features This puzzles me, because (as I said) I explicitly chose i486 as the processor type. Of course, I suspect that this error is related to the fact that I'm actually compiling the kernel on my pentium 2. I would like to ask what I'm doing wrong. Thank you, Christopher |
| |||
| On Tue, 05 Oct 2004 09:05:43 +0000, Christopher Pinon wrote: > Kernel panic: Kernel compiled for Pentium+, requires TSC features It tries to read the TSC (Time Stamp Counter). Try to enable the "Unsynced TSC support" (CONFIG_X86_TSC_DISABLE) kernel option from the "Processor type and features" section, and pass the "notsc" parameter to the kernel. With kind regards, Daniel de Kok |
| |||
| Christopher Pinon wrote: > Hi, > > I don't have much experience in compiling custom kernels. > > I'm running Slackware 10 on both an old i486 and a pentium 2. I would like > to compile a custom kernel (2.4.27) for the i486 to improve performance. > (The stock bare.i kernel works fine, but it contains a lot of drivers that > I don't need on my i486.) Since I don't have space for gcc and co. on the > i486, I want to compile the kernel for the i486 on my pentium 2. When > configuring the new kernel, I explicitly choose i486 as the processor > type. The compiliation (make dep, make bzImage, make modules) goes well, > but when I try to boot the new kernel on the i486 I get the following > error message: > > Kernel panic: Kernel compiled for Pentium+, requires TSC features > > This puzzles me, because (as I said) I explicitly chose i486 as the > processor type. Of course, I suspect that this error is related to the > fact that I'm actually compiling the kernel on my pentium 2. Try compiling it on the host machine then... > I would like to ask what I'm doing wrong. > > Thank you, > Christopher -- Authors (and perhaps columnists) eventually rise to the top of whatever depths they were once able to plumb. -- Stanley Kaufman |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NeoSadist <neosad1st@charter.net> wrote: > Christopher Pinon wrote: > >> Hi, >> >> I don't have much experience in compiling custom kernels. >> >> I'm running Slackware 10 on both an old i486 and a pentium 2. I would like >> to compile a custom kernel (2.4.27) for the i486 to improve performance. >> (The stock bare.i kernel works fine, but it contains a lot of drivers that >> I don't need on my i486.) Since I don't have space for gcc and co. on the >> i486, I want to compile the kernel for the i486 on my pentium 2. When >> configuring the new kernel, I explicitly choose i486 as the processor >> type. The compiliation (make dep, make bzImage, make modules) goes well, >> but when I try to boot the new kernel on the i486 I get the following >> error message: >> >> Kernel panic: Kernel compiled for Pentium+, requires TSC features >> >> This puzzles me, because (as I said) I explicitly chose i486 as the >> processor type. Of course, I suspect that this error is related to the >> fact that I'm actually compiling the kernel on my pentium 2. Try typing rdev /dev/hdnew vmlinuz on the new kernel. If the 486 is on /dev/hda1 then type rdev /dev/hda1 vmlinuz then move vmlinuz to the new machine. Ignore NeoSadist. He is a flooder and a troll. cordially, as always, rm -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBQWJ8OuEckfDWS6x8EQLWCQCg5G37dQWo9yQSYTPdq5Bx4p VRWNAAoJVH VYDBYJqDdsL5fDqJIEoY09Bw =J/gc -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, NeoSadist dared to utter, >> Since I don't have space for gcc and co. on the >> i486, I want to compile the kernel for the i486 on my pentium 2. > > Try compiling it on the host machine then... Did you not read the OP's post or something? He specifically said he doesn't have nor want gcc installed on the 486 and doesn't have much disk space left. He may not even have enough for the kernel source for all we know. - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBYqiUlKR45I6cfKARAtUNAKCR6o5xm0deDwC7VvTKkD HnCD/PKQCgoKMl qh4huBH9PhkPK0GtaXlwYng= =napn -----END PGP SIGNATURE----- |
| |||
| NOTE: This message was sent thru a mail2news gateway. No effort was made to verify the identity of the sender. -------------------------------------------------------- pgp trash troll delete Hicks, Alan 188 Shady Dale Dr Lizella, GA 31052 478-935-8132 +Alan Hicks+ <alan@lizella.network> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In alt.os.linux.slackware, NeoSadist dared to utter, >>> Since I don't have space for gcc and co. on the >>> i486, I want to compile the kernel for the i486 on my pentium 2. >> >> Try compiling it on the host machine then... > > Did you not read the OP's post or something? He specifically said he > doesn't have nor want gcc installed on the 486 and doesn't have much > disk space left. He may not even have enough for the kernel source for > all we know. > > - -- > It is better to hear the rebuke of the wise, > Than for a man to hear the song of fools. > Ecclesiastes 7:5 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQFBYqiUlKR45I6cfKARAtUNAKCR6o5xm0deDwC7VvTKkD HnCD/PKQCgoKMl > qh4huBH9PhkPK0GtaXlwYng= > =napn > -----END PGP SIGNATURE----- |
| ||||
| On Tue, 05 Oct 2004 09:05:43 +0000, Christopher Pinon wrote: > when I try to boot the new kernel on the i486 I get the following > error message: > > Kernel panic: Kernel compiled for Pentium+, requires TSC features > > This puzzles me, because (as I said) I explicitly chose i486 as the > processor type. Of course, I suspect that this error is related to the > fact that I'm actually compiling the kernel on my pentium 2. > > I would like to ask what I'm doing wrong. > > Thank you, > Christopher Which config did you use to build your 2.4.27 kernel? The config that builds the stock bare.i kernel will build a kernel that boots on a 486 machine. Start with that config, do a make oldconfig, then do the usual make bzImage... etc, and veryify that the kernel boots. THEN go back and start customizing the config for your specific needs. Do it a few steps at a time in case you break something. |