Thu, 07 Dec 2000 Troy Davis wrote:
> Hello-
>       I have recently started trying to run rtlinux on its own.  What I've done
> is created /dev/hdb1 on a new hard drive.  Then I copy the rtlinux gzipped
> file over to hdb1 (by mounting it under /newdrive) and unzip it.  Then I do
> the same with lilo.  I compile the rtlinux kernel, and lilo.  I then modify
> lilo.conf so that it will treat hdb1 as though it was hda1 and run lilo.  I
> boot the kernel.  It seems to boot but then gives Kernel Panic:   Unable to
> find init.  What is init?  Do I need another package installed in addition
> to the rtlinux kernel and lilo?  Any clues to this would be very helpful!

"init" is the first task in the system (except for the "dummy" idle task
that's built into the kernel); the one that interprets the runlevel init
files (I think...), loads up the basic system components and so on. It stays in
the system until you shut down, and it cannot be killed.

If you're only going to load modules and run code that doesn't need any POSIX
services at all (basically code that talks only to the kernel, and doesn't rely
on any system daemons or similar), you may get away with replacing init with
some suitable custom code for your application.

Note that this code would have to tell the kernel which modules to load, which
other files to load, where to find libraries etc etc, as this is things that
init either does itself, or uses libraries or daemons for.

(If you've programmed boot loaders and thi like on the Amiga computer, you
could compare this to the initial boot stage, where there is only exec.library,
graphics.library and some other low level stuff - dos.library [the file
systems] and other stuff are not yet initialized, so you have to talk directly
to the device drivers, or take over on the hardware level. This was frequently
done in games.)


//David

..- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
..- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to