[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: Booting Linux using AHA2940UW (no IDE), with aic7xxx as modu



udif@usa.net (Udi Finkelstein) wrote:
>  On Sun, 29 Nov 1998 03:32:17 +0200 (IST), Evgeny Stambulchik
>  <fnevgeny@plasma-gate.weizmann.ac.il> wrote:
>  
>  >On 28-Nov-98 Meir Litmanovich wrote:
>  >
>  >>  You can use RAMDISK for booting and then fire up kernel with
>  >>  SCSI as module.
>  >
>  >I'm not sure it's possible without the time machine :). In the real life,
>  the
>  >order is slightly different: first you load a kernel and then, you can
>  create a
>  >RAM disk. Or, do you, by "fire up kernel", mean loading the SCSI driver
>  module?
>  >Then anyway, how is the module going to jump onto the RAM disk?
>  This was my original question, if you will look at my original post.
>  
>  The kernel is loaded by LILO by using the BIOS INT13H routines, and this is
>  why LILO can boot off a SCSI HD (because the SCSI BIOS provides BIOS INT13H
>  support in ROM).
>  After the kernel is loaded in memory, it is run.
>  Now the question is - who loads the ramdisk?

OK, so the answer depends on _kind_ of ramdisk. For a "plain" ramdisk, what I
said in the beginning of the thread, is right. For the initrd, the answer is
different (in fact, even the question above is incorrect for this case, since
the _init_ RAM disk is loaded not after the kernel, but in the middle of the
kernel load process - until the kernel takes the whole responsibility over I/O
and the BIOS is still usable).

BTW, personally I don't use initrd (nor kerneld) - that's, probably, why I
didn't think of it first.

Regards,

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________|