Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to compile kernel source

20 views
Skip to first unread message

Sergio Aguayo

unread,
Jul 30, 2007, 3:40:46 PM7/30/07
to
I've installed Coherent from the disk images found in some ftps in an
old 486. It's working great :) However, i would like to know what i have
to do to compile the kernel sources that are available.

Thanks in advance,

Sergio Aguayo

Andrzej Popielewicz

unread,
Aug 2, 2007, 2:48:51 AM8/2/07
to
Sergio Aguayo napisał(a):

Try the following
Assuming You are in the source tree :

In the directory i386 there is a script bld

./bld

it will build libraries etc, but finally probably fails

In the directory conf

bin/idbld -o cohtest

cohtest is the name of the new kernel.
You can customize the bld script. Do not touch idbld script, it finally
calls another script idmkcoh.

You can also try simply

make

or if You installed gcc

make gcc

being in conf directory , and look what happens, but probably it fail
and environment is probably wrong so it would require extra hacking of
makefiles.

Do not touch boot or tboot directories. You do not need it. To build
boot or tboot You would need tools from old Coherent version etc.
Boot or tboot files from Your present working system can be used instead.
As far as I remember /bin/sh should be replaced with bash, because
otherwise the new system after booting is not usable, but it could make
old system not usable(?).
Better prepare boot floppy in case Your system does not boot anymore.
Good idea is also have another Coherent partition to boot from.

BTW tell the people what are hardware parameters of Your PC, it could
help others.


Andrzej

Sergio Aguayo

unread,
Aug 3, 2007, 11:09:35 AM8/3/07
to
Andrzej Popielewicz wrote:
<snip>


Thanks for your reponse

I'll try that tonight. The specs of the machine are the following:

- Compaq Presario (don't remember the model, but it's one of those that
have a built-in color monitor in the CPU).
- 486DX (not sure about the speed,but i think it's 33Mhz).
- 20MB RAM (although Coherent only shows ~12500KB free)
- 270MB IDE hard disk
- Built-in 9600bps modem (not a winmodem, it's attached at COM2)
- Serial mouse (Logitech, but Microsoft-compatible)
- 3Com Etherlink III (isa) ethernet card.

I'm not sure that video it has, the only thing i know is that it has a
Cirrus Logic chip (if i remember right).

I can say that Coherent works neatly, though i would like network (i
know it's impossible right now). I will get more information about my
machine tonight and will post again.


Thanks,

Sergio

Sergio Aguayo

unread,
Aug 4, 2007, 12:52:46 PM8/4/07
to

The machine specs are:
- Compaq Presario 460
- Cirrus Logic video (integrated)
- 20MB RAM


- 270MB IDE hard disk

Hope this helps someone.

Sergio Aguayo

va...@icpnet.pl

unread,
Aug 5, 2007, 2:49:57 PM8/5/07
to
This is test response to news message.

Tool used is lynx 2.8.1.

Platform Coherent 4.2.10

Andrzej

0 new messages