Hello Tim,
Thanks. I will do so.
-Darshan.
----Original Message Follows----
From: tstevens
Reply-To: "IXP1200 Developer's List"
To: ixp1200@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@pop.intec2.ugent.be
Received: from bluebox.CS.Princeton.EDU ([128.112.136.38]) by
mc1-f5.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 12 Dec 2003
05:03:16 -0800
Received: from mm.CS.Princeton.EDU (mm.CS.Princeton.EDU [128.112.136.88])by
bluebox.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP id
hBCD3Dcp016530(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256
verify=NOT);Fri, 12 Dec 2003 08:03:13 -0500 (EST)
Received: from mm.CS.Princeton.EDU (localhost [127.0.0.1])by
mm.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP id hBCD3A5l005078;Fri, 12
Dec 2003 08:03:12 -0500 (EST)
Received: from ribavirin.CS.Princeton.EDU (navgw [128.112.136.44])by
mm.CS.Princeton.EDU (8.12.10/8.12.10) with SMTP id hBCD395k005073for
;Fri, 12 Dec 2003 08:03:09 -0500 (EST)
Received: from bluebox.CS.Princeton.EDU ([128.112.136.38])by
ribavirin.CS.Princeton.EDU (NAVGW 2.5.2.17) with SMTP
idM2003121208030821456for ; Fri, 12 Dec 2003
08:03:08 -0500
Received: from plinius.intec.ugent.be (plinius.intec.ugent.be
[157.193.122.4])by bluebox.CS.Princeton.EDU (8.12.10/8.12.10) with ESMTP
idhBCD16co016337 for ;Fri, 12 Dec 2003
08:03:08 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])by plinius.intec.ugent.be
(Postfix) with ESMTP id 4046BBD52for ;Fri,
12 Dec 2003 14:01:05 +0100 (CET)
Received: from lampo.intec.ugent.be (lampo.intec.ugent.be
[157.193.122.186])by plinius.intec.ugent.be (Postfix) with ESMTP id
4774BBD51for ;Fri, 12 Dec 2003 14:01:03
+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@pop.intec2.ugent.be>
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
X-Virus-Scanned: by AMaViS snapshot-20020222
X-BeenThere: ixp1200@lists.cs.princeton.edu
X-Mailman-Version: 2.1.3
Precedence: list
List-Id: IXP1200 Developer's List
List-Unsubscribe:
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200,mailto:ixp1200-request@lists.cs.princeton.edu?subject=unsubscribe
List-Archive: https://lists.cs.princeton.edu/mailman/private/ixp1200
List-Post: mailto:ixp1200@lists.cs.princeton.edu
List-Help: mailto:ixp1200-request@lists.cs.princeton.edu?subject=help
List-Subscribe:
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200,mailto:ixp1200-request@lists.cs.princeton.edu?subject=subscribe
Errors-To: ixp1200-bounces@lists.cs.princeton.edu
Return-Path: ixp1200-bounces@lists.cs.princeton.edu
X-OriginalArrivalTime: 12 Dec 2003 13:03:17.0039 (UTC)
FILETIME=[4F1A0BF0:01C3C0B0]
Hi,
We encountered the same problem with the boot_drv rpm and the remainder of
the mail explains how we solved it.
IMPORTANT NOTE: 1) Please notice the "3" in our boot_drv RPM filename. This
means we are not using the boot_drv RPM supplied by Intel anymore, because
we noticed packet loss using the Intel package on a Radisys ENP-2505 board
(see previous postings). Probably, this does *not* apply to non-RadiSys
boards meaning you can use the Intel supplied package in those situations.
However, the installation fault encountered (and the solution) was the same
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 fail
at a certain point.
The remainder of the driver installation will have to be done manually:
- cd /usr/src/RPM/BUILD/driver/bootixp/
- Modify create_environment.rc:
Change "HOST_I = eth1" to "HOST_I = ethx" with x the number of
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=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"`
to
major=`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 = $(PWD)/../linux/include
to
ARM-KERNEL-INCLUDES = $(PWD)/../linuxIXAedu/include
Change
X86-KERNEL-INCLUDES =
to
X86-KERNEL-INCLUDES = /usr/src/linux/include
Change
CFLAGS = -g -O2 -Wall -I ../module
to
CFLAGS = -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@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200
_________________________________________________________________
Take advantage of our best MSN Dial-up offer of the year six months
@$9.95/month. Sign up now! http://join.msn.com/?page=dept/dialup