[ixp1200] Re:boot driver file

Darshan Uka ukadarshan_2001 at hotmail.com
Fri Dec 12 11:29:04 EST 2003


Hello Tim,
Thanks. I will do so.

-Darshan.




----Original Message Follows----
From: tstevens <tim.stevens at intec.ugent.be>
Reply-To: "IXP1200 Developer's List" <ixp1200 at lists.cs.princeton.edu>
To: ixp1200 at lists.cs.princeton.edu
Subject: [ixp1200] Re:boot driver file
Date: Fri, 12 Dec 2003 14:06:52 +0100
MIME-Version: 1.0
X-Sender: tstevens at pop.intec2.ugent.be
Received: from bluebox.CS.Princeton.EDU ([128.112.136.38]) by=20
mc1-f5.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 12 Dec 200=
3=20
05:03:16 -0800
Received: from mm.CS.Princeton.EDU (mm.CS.Princeton.EDU [128.112.136.88])=
by=20
bluebox.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP id=20
hBCD3Dcp016530(version=3DTLSv1/SSLv3 cipher=3DDHE-RSA-AES256-SHA bits=3D2=
56=20
verify=3DNOT);Fri, 12 Dec 2003 08:03:13 -0500 (EST)
Received: from mm.CS.Princeton.EDU (localhost [127.0.0.1])by=20
mm.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP id hBCD3A5l005078;Fri, 1=
2=20
Dec 2003 08:03:12 -0500 (EST)
Received: from ribavirin.CS.Princeton.EDU (navgw [128.112.136.44])by=20
mm.CS.Princeton.EDU (8.12.10/8.12.10) with SMTP id hBCD395k005073for=20
<ixp1200 at lists.cs.princeton.edu>;Fri, 12 Dec 2003 08:03:09 -0500 (EST)
Received: from bluebox.CS.Princeton.EDU ([128.112.136.38])by=20
ribavirin.CS.Princeton.EDU (NAVGW 2.5.2.17) with SMTP=20
idM2003121208030821456for <ixp1200 at lists.cs.princeton.edu>; Fri, 12 Dec 2=
003=20
08:03:08 -0500
Received: from plinius.intec.ugent.be (plinius.intec.ugent.be=20
[157.193.122.4])by bluebox.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP=20
idhBCD16co016337 for <ixp1200 at lists.cs.princeton.edu>;Fri, 12 Dec 2003=20
08:03:08 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])by plinius.intec.ugent.be=
=20
(Postfix) with ESMTP id 4046BBD52for <ixp1200 at lists.cs.princeton.edu>;Fri=
,=20
12 Dec 2003 14:01:05 +0100 (CET)
Received: from lampo.intec.ugent.be (lampo.intec.ugent.be=20
[157.193.122.186])by plinius.intec.ugent.be (Postfix) with ESMTP id=20
4774BBD51for <ixp1200 at lists.cs.princeton.edu>;Fri, 12 Dec 2003 14:01:03=20
+0100 (CET)
X-Message-Info: yilqo4+6kc4bNFF0EkwhX+wjF3GlP/JR
X-Mailman-Handler: $Id: mm-handler,v 1.2 2002/04/05 19:41:09 bwarsaw Exp =
$
Message-Id: <5.2.1.1.0.20031212134346.03e92ba0 at pop.intec2.ugent.be>
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
X-Virus-Scanned: by AMaViS snapshot-20020222
X-BeenThere: ixp1200 at lists.cs.princeton.edu
X-Mailman-Version: 2.1.3
Precedence: list
List-Id: IXP1200 Developer's List <ixp1200.lists.cs.princeton.edu>
List-Unsubscribe:=20
<https://lists.cs.princeton.edu/mailman/listinfo/ixp1200>,<mailto:ixp1200=
-request at lists.cs.princeton.edu?subject=3Dunsubscribe>
List-Archive: <https://lists.cs.princeton.edu/mailman/private/ixp1200>
List-Post: <mailto:ixp1200 at lists.cs.princeton.edu>
List-Help: <mailto:ixp1200-request at lists.cs.princeton.edu?subject=3Dhelp>
List-Subscribe:=20
<https://lists.cs.princeton.edu/mailman/listinfo/ixp1200>,<mailto:ixp1200=
-request at lists.cs.princeton.edu?subject=3Dsubscribe>
Errors-To: ixp1200-bounces at lists.cs.princeton.edu
Return-Path: ixp1200-bounces at lists.cs.princeton.edu
X-OriginalArrivalTime: 12 Dec 2003 13:03:17.0039 (UTC)=20
FILETIME=3D[4F1A0BF0:01C3C0B0]

Hi,

We encountered the same problem with the boot_drv rpm and the remainder o=
f=20
the mail explains how we solved it.

IMPORTANT NOTE: 1) Please notice the "3" in our boot_drv RPM filename. Th=
is=20
means we are not using the boot_drv RPM supplied by Intel anymore, becaus=
e=20
we noticed packet loss using the Intel package on a Radisys ENP-2505 boar=
d=20
(see previous postings). Probably, this does *not* apply to non-RadiSys=20
boards meaning you can use the Intel supplied package in those situations=
.=20
However, the installation fault encountered (and the solution) was the sa=
me=20
for both versions of the package...

Here is a step-by-step guide to solve the problem:

- rpm -recompile boot_drv-2.0.1-3.src.rpm

     There's a fault in the installation script. The installation will fa=
il
     at a certain point.
     The remainder of the driver installation will have to be done manual=
ly:

  - cd /usr/src/RPM/BUILD/driver/bootixp/

  - Modify create_environment.rc:

      Change "HOST_I =3D eth1" to "HOST_I =3D ethx" with x the number of=20
non-IXP1200
      NIC's in the computer.

  - Modify .create_environment:

     Change "exportfs -ra" to "exportfs -ra >& /dev/null"

  - cd /usr/src/RPM/BUILD/driver/src/boot_drv/

  - Modify load_bv:

     Change
       major=3D`cat /proc/devices | awk "\\$2=3D=3D\"$module\" {print \\$=
1}"`
     to
       major=3D`cat /proc/devices | grep $module | cut -d ' ' -f 1`

  - Modify Makefile:

     Change
       cp bvloadapp ../bin
     to
       cp bvloadapp $(BOOTDIR)

     Change
       cp $(TARGET).o ../bin
     to
       cp $(TARGET).o $(BOOTDIR)

     Add to "install: all" section: (use TAB, not 8 spaces !!!)

       cp load_bv $(BOOTDIR)
       cp unload_bv $(BOOTDIR)

  - make clean
  - make dep
  - make
  - make install

  - cd /usr/src/RPM/BUILD/driver/src/pciDg

  - Modify rules.mk:

     Change
       ARM-KERNEL-INCLUDES =3D $(PWD)/../linux/include
     to
       ARM-KERNEL-INCLUDES =3D $(PWD)/../linuxIXAedu/include

     Change
       X86-KERNEL-INCLUDES =3D
     to
       X86-KERNEL-INCLUDES =3D /usr/src/linux/include

     Change
       CFLAGS =3D -g -O2 -Wall  -I ../module
     to
       CFLAGS =3D -g -O2 -Wall  -I ../module -I $(X86-KERNEL-INCLUDES)

  - make clean
  - make
  - make install

  - cd /usr/src/RPM/BUILD/driver/

  - mkdir /opt/ixasdk/enp-2505
  - cp -fR * /opt/ixasdk/enp-2505

  - Eventually reboot the machine (probably not necessary)

Hope this helps.

Best regards,

Tim

_______________________________________________
ixp1200 mailing list
ixp1200 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200

_________________________________________________________________
Take advantage of our best MSN Dial-up offer of the year =97 six months=20
@$9.95/month. Sign up now! http://join.msn.com/?page=3Ddept/dialup



More information about the ixp1200 mailing list