[Aranym-user] Networking and bootstrapping

Francois LE COAT lecoat at lutece.net
Sun Feb 26 21:19:06 CET 2006


Hi Dominique,

Dominique Bereziat wrote:
> Francois LE COAT wrote:
>> Jean-François Lemaire wrote:
>>> Francois LE COAT wrote:
>>>
>>>> Here is my launching aranym.sh script :
>>>
>>>> sudo chmod a+rw /dev/net/tun
>>>> sudo chown $USER /dev/net/tun
>>>> sudo tunctl -t tap0 -u $USER
>>>
>>> First of, forget your script for the time being and run the following 
>>> commands _as root_ _before_ running ARAnyM:
>>>
>>> chmod a+rw /dev/net/tun
>>> chown $USER /dev/net/tun
>>> tunctl -t tap0 -u $USER
>>> ifconfig tap0 192.168.0.03 netmask 255.255.255.0 up
>>
>> "tunctl" doesn't exist in installed commands of the system, and
>> doesn't exist in installable packages under Mandriva 2006.0.
> 
> On fedora core, tunctl is from the package 'uml-utilities' that is not
> installed in the standard installation. I guess it is the case on mandriva.
> Found on rpmfind.net :
> http://rpmfind.net/linux/rpm2html/search.php?query=uml&submit=Search+...&system=mandriva&arch= 

That's right. "tunctl" is located in uml-utilities.

Now, here is my launching script :

#!/bin/sh
#
# ARAnyM 0.9.3beta Linux version
#
# BARANGER Emmanuel 25/02/2006

cd system
cd aranym

sudo chmod a+rw /dev/net/tun
sudo chown $USER /dev/net/tun
sudo tunctl -t tap0 -u $USER
sudo /sbin/ifconfig tap0 192.168.0.3 netmask 255.255.255.0 up
PATH="." ./aranym -c config

# End of script...

And here is its report in the session logfile below.

Note that I have a DHCP LAN configuration, and that I don't think that
I can declare a static address like I was suggested to do for ARAnyM's
IP address.

Best regards,

-- François LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org
_________________________________________________________________________

$ ./aranym.sh
Set 'tap0' persistent and owned by uid 501
ARAnyM 0.9.3beta
Using config  'config'
[GLOBAL] configuration: found 5 valid directives.
[HOTKEYS] configuration: found 0 valid directives.
[STARTUP] configuration: found 1 valid directives.
[JIT] configuration: found 6 valid directives.
[VIDEO] configuration: found 4 valid directives.
[TOS] configuration: found 2 valid directives.
[IDE0] configuration: found 1 valid directives.
[IDE1] configuration: found 1 valid directives.
[PARTITION0] configuration: found 0 valid directives.
[PARTITION1] configuration: found 0 valid directives.
[PARTITION2] configuration: found 0 valid directives.
[PARTITION3] configuration: found 0 valid directives.
[PARTITION4] configuration: found 0 valid directives.
[PARTITION5] configuration: found 0 valid directives.
[PARTITION6] configuration: found 0 valid directives.
[PARTITION7] configuration: found 0 valid directives.
[HOSTFS] configuration: found 4 valid directives.
[OPENGL] configuration: found 2 valid directives.
[ETH0] configuration: found 5 valid directives.
[ETH1] configuration: found 0 valid directives.
[ETH2] configuration: found 0 valid directives.
[ETH3] configuration: found 0 valid directives.
[LILO] configuration: found 3 valid directives.
[MIDI] configuration: found 2 valid directives.
[CDROMS] configuration: found 26 valid directives.
[AUTOZOOM] configuration: found 5 valid directives.
[NFOSMESA] configuration: found 3 valid directives.
[PARALLEL] configuration: found 3 valid directives.
[NATFEATS] configuration: found 2 valid directives.
[NFVDI] configuration: found 1 valid directives.
Rom image '/usr/local/share/aranym/ROM' not found.
EmuTOS 2006/02/20 loading from 'etos512k.img'... [OK]
NVRAM loaded from '/home/lecoat/.aranym/nvram'
host_IP: Permission denied
TunTap(0): ERROR: aratapif failed (code 2). Ethernet disabled!
<JIT compiler> : compile FPU instructions : yes
<JIT compiler> : requested translation cache size : 8192 KB
<JIT compiler> : Max CPUID level=2 Processor is GenuineIntel [Pentium4]
<JIT compiler> : Target CPU defines all flags on BSF instruction
<JIT compiler> : target processor has CMOV instructions : yes
<JIT compiler> : target processor can suffer from partial register 
stalls : yes
<JIT compiler> : alignment for loops, jumps are 0, 0
<JIT compiler> : lazy translation cache invalidation : on
<JIT compiler> : register aliasing : on
<JIT compiler> : FP register aliasing : on
<JIT compiler> : lazy constant offsetting : on
<JIT compiler> : block inlining : off
<JIT compiler> : separate blockinfo allocation : on
<JIT compiler> : gather statistics on untranslated insns count
<JIT compiler> : gather statistics on translation time
host_IP: Permission denied
TunTap(0): ERROR: aratapif failed (code 2). Ethernet disabled!
BIOS: Detected memory: ST-RAM = 14 MB, FastRAM = 96 MB
BDOS: Address of basepage = 00012ffc
BDOS: cinit - osinit successful ...
Detected scancode offset = 8 (key: 'space' with scancode $41)
Floppy read(-1, 009fcc, 1) failed.
hdv_boot returns 3
NF BOOTSTRAP(../../c/mint/mintnp.prg -> 0x376ce, 14414898)
NF BOOTSTRAP(0x376ce, 13982945) -> 431953
PUN cookie (from AHDI >=3.0) not found on this system.
System may have problems with the maximum sector size calculation.
HOSTFS: fs_native_init:
                  fs_drv    = 0x09dffe
                  fs_devdrv  = 0x09e0a2
                  fs_devnum  = 0x34
                  fs_mountPoint = u:\c
                  fs_hostRoot   = ../../c [7]

HOSTFS: fs_native_init:
                  fs_drv    = 0x09dffe
                  fs_devdrv  = 0x09e0a2
                  fs_devnum  = 0x35
                  fs_mountPoint = u:\d
                  fs_hostRoot   = ../../d [7]

HOSTFS: fs_native_init:
                  fs_drv    = 0x09dffe
                  fs_devdrv  = 0x09e0a2
                  fs_devnum  = 0x36
                  fs_mountPoint = u:\e
                  fs_hostRoot   = ../../e [7]

HOSTFS: fs_native_init:
                  fs_drv    = 0x09dffe
                  fs_devdrv  = 0x09e0a2
                  fs_devnum  = 0x39
                  fs_mountPoint = u:\h
                  fs_hostRoot   = . [1]

pid   0 (MiNT): block_IO []: ../block_IO.c, 96731136: Specified cache 
size too small
(12).
### Compile Block statistics
Number of calls to compile_block : 50780
Total emulation time   : 19.2 sec
Total compilation time : 0.2 sec (1.0%)
Sorting out untranslated instructions count...
Rank  Opc      Count Name
000: 84c1   15307326 DIVU
001: 007c    6206690 ORSR
002: 4e73    5492751 RTE
003: 4e6f    4034783 MVUSP2R
004: 40c1    3903675 MVSR2
005: 46c0    3900367 MV2SR
006: f228    2851396 FPP
007: 4e4d    2026559 TRAP
008: 4e4e    2020627 TRAP
009: 4e69    1427576 MVUSP2R
010: f328    1427400 FSAVE
011: 4e61    1427346 MVR2USP
012: f368    1427317 FRESTORE
013: 4e41     868428 TRAP
014: 40e8     546906 MVSR2
015: e3ee      60306 LSLW
016: 4e68      38241 MVUSP2R
017: 4af0      27619 TAS
018: e7f9      16460 ROLW
019: e3d6      15338 LSLW




More information about the cz-bobek-lists-aranym-user mailing list