Incercand sa aflu de ce  2.4.3-SGI_XFS_1.0.1 buteaza fara /initrd/ in
timp ce  2.4.9-12SGI_XFS_1.0.2 moare cu "Kernel panic: No init found",
am decompresat imaginile pt. ramdisk si le-am montat (-o loop). Sunt
diferente mari in ceea ce priveste scriptul linuxrc

In  2.4.3-SGI_XFS_1.0.1:
    insmod /lib/scsi_mod.o
    insmod /lib/sd_mod.o
    insmod /lib/aic7xxx.o

In 2.4.9-12SGI_XFS_1.0.2
    insmod /lib/scsi_mod.o
    insmod /lib/sd_mod.o
    insmod /lib/aic7xxx.o
    mount -t proc /proc /proc
    echo Mounting /proc filesystem
    echo Creating root device
    mkrootdev /dev/root
    echo 0x0100 > /proc/sys/kernel/real-root-dev
    umount /proc
    echo Mounting root filesystem
    mount --ro -t xfs /dev/root /sysroot
    pivot_root /sysroot /sysroot/initrd

Deci in 2.4.9 (spre deosebire de 2.4.3) root-ul normal e montat in
/sysroot, dupa care se face pivot_root in /sysroot/initrd. Daca nu
exista directorul initrd pe root, moare.

In mod evident greseala a fost a mea; e clar ca directorul a fost acolo
candva si l-am sters, iar 2.4.3 a mers pentru ca nu-l folosea.

Sectiunea "Instalation" din
/usr/src/linux-2.4.3/Documentation/initrd.txt incepe cu
==================
First, a directory for the initrd file system has to be created on the
"normal" root file system, e.g.
# mkdir /initrd

==================

Iar`man initrd` zice - printre altele - :
==================
If directory /initrd does  not exist  on  the  normal  root  file-system
and  any processes remain running from /dev/ram0 when /linuxrc exits,
the behavior of the kernel  is  UNSPECIFIED.
==================


Cam atat.

Mihai

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui