Mombu the GNU Linux Forum

Go Back   Mombu the GNU Linux Forum > GNU_Linux > compiling kernel for i486 on pentium 2
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 5th November 05:12
christopher pinon
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2



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
  Reply With Quote


 


2 5th November 05:13
daniel de kok
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2



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
  Reply With Quote
3 5th November 05:13
neosadist
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2


Try compiling it on the host machine then...

--
Authors (and perhaps columnists) eventually rise to the top of whatever
depths they were once able to plumb.
-- Stanley Kaufman
  Reply With Quote
4 5th November 05:13
rm
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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-----
  Reply With Quote
5 5th November 05:15
+alan hicks+
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, NeoSadist dared to utter,

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-----
  Reply With Quote
6 5th November 05:16
+alan hicks+
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2


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
  Reply With Quote
7 5th November 05:21
chud
External User
 
Posts: 1
Default compiling kernel for i486 on pentium 2


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.
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666