Sorry Jiri,
A slight correction to what was in my last email, see below.
Steve
On Mon, 22 Sep 2003, Steve Traylen wrote:
> Hi Jiri
>
> This whole area has just been cleaned up a just couple of days ago
> in EDG. If nothing else is fruitful then you could try the following.
>
> Steve
>
> There are two packages.
>
> kernel-lcfg-boot-2.4.20-20.7.edg2.i386.rpm
> kernel-lcfg-boot-pxeinstall-2.4.20-20.7.edg2.i386.rpm
>
> These are available from the marriane repository in
> the externals directory.
>
> This is a kernel build that has a ton of network drivers compiled
> in. The only bit you have to have compiled in.
>
> 1) Install the second one on the LCFG server.
>
> 2) Install the first one on the LCFG server but in the
> nfs root, ie use.
>
> rpm --root /opt/local/linux/nginstallroot/7.3 \
> -ivh kernel-lcfg-boot-2.4.20-20.7.edg2.i386.rpm
>
>
> 3) You will need to do some modprobing during the install to load
> the scsi modules. To your LCFG profile add
>
> EXTRA(install.installmethods) mp
> install.imethod_mp install run /sbin/modprobe sym53c8xx
This won't work since this has to happen at the right time not just
at the end as what I suggested would have done.
Currently in your redhat73-cfg. you have
install.installmethods gettime nfsmount preparedisks dev null \
updaterpms fstab configclock profile \
setuptz network grub hardware \
log mkinitrd umount setclock last
this needs to become.
install.installmethods gettime nfsmount mp preparedisks dev null \
updaterpms fstab configclock profile \
setuptz network grub hardware \
log mkinitrd umount setclock last
and then as before add on a new line.
install.imethod_mp install run /sbin/modprobe sym53c8xx
>
>
> 4) Recompile your profiles and pxe boot.
>
> 5) I am assuming here you using PXE, if not you will need to stick
> that kernel on a floppy.
>
> i) Dos format a floppy
> ii) syslinux /dev/fd0
> iii) mount -t auto /def/fd0 /mnt/floppy
> iii) cp /tftpboot/kernel/vmlinuz-2.4.20-20.7-lcfg-boot /mnt/floppy/vmlinuz
> iv) Create a file on the floppy called syslinux.cfg that conatains
>
> default linux
>
> label linux
> kernel vmlinuz
> ipappend 1
> append root=/dev/nfs nfsroot=/opt/local/linux/nginstallroot/7.3 init=/etc/rc_install
>
> That last line is one long line.
>
> Put the floppy in and pray.
>
> Steve
>
>
>
>
>
> On Mon, 22 Sep 2003, Emanuele LEONARDI wrote:
>
> > Hi Jiri.
> >
> > Before starting the troubleshooting of the installation problem, can you
> > please confirm that you have enabled SCSI support in redhat73-cfg.h?
> > This is the line
> >
> > /* #define SCSI_HOSTADAPTER aic7xxx */
> >
> > It should be uncommented and aic7xxx replaced with the name of the
> > module for your controller (this should be sym53c8xx but I am not 100%
> > sure).
> >
> > Gergely's suggestion is indeed valid: when using PXE you have much more
> > freedom in choosing how the install kernel can be configured, so that
> > you can pre-compile all needed modules in the kernel itself. Also,
> > setting up PXE now will help a lot when the number of nodes grows and
> > going around with floppies will become a burden.
> >
> > If you cannot use PXE for these nodes, there might be other ways out.
> >
> > One is to create a new install floppy with a kernel which includes all
> > needed modules. I do not know how to this but I can ask WP4 people for a
> > recipe.
> >
> > On the other hand, from the dot.config file I see that the sym53c8xx
> > module you need is known to the kernel on the floppy as an external
> > module (CONFIG_SCSI_SYM53C8XX=m). When booted, the kernel looks for it
> > in the standard place, i.e. /lib/modules/<kernel version>, but on the
> > partition mounted from the LCFG server this path is not available, as
> > the kernel used to create the nginstallroot partition is 2.4.18-3,
> > instead of the required 2.4.18-18.7.x.cern (I assume the message you
> > reported has a typo in, as 2.4.18-18.7.x-cern is not a valid kernel
> > version).
> >
> > To fix this you can update the kernel version used in the nginstallroot
> > partition.
> >
> > 1) download the rpm with the correct version of the kernel. One copy is
> > in
> >
> > /afs/cern.ch/project/linux/redhat/cern/7.3.1/i386/RedHat/RPMS/kernel-2.4.18-18.7.x.cern.i386.rpm
> >
> > 2) on the LCFG server execute this command:
> >
> > /usr/local/bin/rpm4 --root /opt/local/linux/nginstallroot/7.3 --dbpath
> > /var/lib/rpm -Uvh kernel-2.4.18-18.7.x.cern.i386.rpm
> >
> > As I have never tried this, there might be some dependencies or
> > incompatibilities, so try with --test first.
> >
> > Please let me know if you manage to get the thing going.
> >
> > Cheers
> >
> > Emanuele
> >
> > Jiri Kosina wrote:
> > >
> > > Hello,
> > >
> > > I have problems when installing my LCG-1 nodes. After I reboot any of the
> > > nodes with installation diskette, network gets configured thourgh DHCP,
> > > then I select that I want to install ... and then
> > >
> > > [DEBUG] install: Calling fstab preparedisks /root .
> > > ide-floppy driver 0.99.newide
> > > modpprobe: modprobe: Can't open dependencies file
> > > /lib/modules/2.4.18-18.7.x-cern/modules.dep (No such file or directory)
> > > hda: driver not present
> > > LCFG object fstab: hackparts failed - fdiskOpenDevice: [and here is
> > > something I can't read, because there is FAILED written over it :)]
> > > LCFG object install: install method failed
> > >
> > > When I scroll up through the messages kernel gives upon boot, I can see
> > > that it doesn't detect our SCSI disk controller (LSILogic 53c1010-33, and
> > > when I look to
> > > http://datagrid.in2p3.fr/distribution/datagrid/wp4/edg-lcfg/packages/external/diskettes/RH73/dot.config
> > > (I suppose that this is the .config of the .img file I am using) I see
> > > that
> > >
> > > # CONFIG_SCSI_SYM53C8XX_2 is not set
> > > CONFIG_SCSI_NCR53C8XX=m
> > > CONFIG_SCSI_SYM53C8XX=m
> > >
> > > Which may be problem for me.
> > >
> > > So I have two questions:
> > > 1) Is the above error really caused by not detected disk controller?
> > > 2) What is the fastest and the most efficient way to solve this problem?
> > >
> > > Thanks in advance for your advices.
> > >
> > > --
> > > Jiri Kosina
> > > Institute of physics, Academy of Sciences of the Czech republic
> >
> > --
> > /------------------- Emanuele Leonardi -------------------\
> > | eMail: [log in to unmask] - Tel.: +41-22-7674066 |
> > | IT division - Bat.31 2-012 - CERN - CH-1211 Geneva 23 |
> > \---------------------------------------------------------/
> >
>
> --
> Steve Traylen
> [log in to unmask]
> http://www.gridpp.ac.uk/
>
--
Steve Traylen
[log in to unmask]
http://www.gridpp.ac.uk/
|