Skip navigation.

APE testbed III

, ,

APE-0.5 compiled in Redhat 2.4.21-9.EL

Problem
Boot process failed!!!
INITRD: Setting up loop devices
/dev/loop0: No such file or directory
INITRD: Loop device successfully setup!
INITRD: Booting the APE Testbed
EXT3-fs: unable to read superblock
EXT2-fs: unable to read superblock
MINIX
FAT


Buildroot Configuration
1. use kernel header 2.4.25

2. use gcc 3.3.5

3. use kernel 2.4.20 (dsr-uq can not work with kernel > 2.4.20 and AODV-UU-0.91 need kernel> 2.4.19).The definition of NETLINK_URELEASE appears at /linux/include/notifier.h start at 2.4.20.

4. use pcmcia-cs-3.2.7 with airo.c airo_cs.c version 6 (change from 1.8)
config.mk

Modification
1. dsr-uq
dsr_output.c line 400
ip_select_ident( (*skb)->nh.iph, (*skb)->dst);

to
p_select_ident( (*skb)->nh.iph, (*skb)->dst, NULL);


2. kernel/Makefile
Delete linux-$(KERNEL_VER).tar.bz2 after linux-$(KERNEL_VER)/.config because
we download it ourselves, and want to compile it later. Remermber to change the download address of pcmcia if you want an old version

3. kernel/driver/ide/ide-cd.h 440
change
__u8 short slot_tablelen;

to
__u16 slot_tablelen;


4. fs/reiserfs/super.c 945
put two lines into one line

5. ape-source-0.5/Makefile
add
src:
$(MAKE) -C $@

don't forget to add src at .PHONY

6. when make olsrd-4.9, there are some errors about makedepend, just recompile it serveral times

7. for dsr-uu, in debug.h add
#include <linux/socket.h> before
#inlcude <linux/in.h> 

because in in.h we need defintion of sa_family_t which is defined in socket.h

8. src/scenarios/Makefile
cp -df testbed.ape $(INSTALL_PATH)/root/scenarios

3D acceleration of ATI card in DebianAPE testbed IV

Comments

Anonymous 19. October 2006, 13:14

Abraham Alaka writes:

I saw your post to sourceforege with problems implementing this. Did it all work out in the end? Do you mind me asking what you were using it for?

subjam 22. October 2006, 04:21

Hi,

Could you please tell me which problem you refer to?

If you mean the problem "Boot process failed!!!", yes, it is solved. Please refer to this entry: http://my.opera.com/subjam/blog/show.dml/473096


How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies