[Netkit.users] R: Netkit on Fedora 9

Massimo Rimondini rimondin at dia.uniroma3.it
Sat Oct 25 13:02:48 CEST 2008


Dear Gianluca,

I don't have a Fedora 9 machine handy (yet), therefore I'm afraid I
cannot be of much help.
I will try to come back (hopefully with a solution) once I can set up a
testing environment for this purpose.

Sorry for the annoyance.

Regards,
Massimo.

Gianluca Salvalaggio wrote:
> Julien,
>  thanks for your hints but they didn't work.
>  /dev/shm is mounted with default options, and I disabled SElinux (on
> /etc/selinux/config) but ...the virtual machine still doesn't start. The
> message is always the same:
>
> ============= Starting virtual machine "pc1" =============
>    Kernel:     /opt/netkit/kernel/netkit-kernel
>    Modules:    /opt/netkit/kernel/modules
>    Memory:     16 MB
>    Model fs:   /opt/netkit/fs/netkit-fs
>    Filesystem: /opt/pc1.disk (new)
>    Interfaces: eth0 @ a (/root/.netkit/hubs/vhub_root_a.cnct)
>    Hostfs at:  /root
>
> Running ==> /opt/netkit/bin/uml_switch -hub -unix
> /root/.netkit/hubs/vhub_root_a.cnct </dev/null 2>&1
> Running ==> /opt/netkit/kernel/netkit-kernel
> modules=/opt/netkit/kernel/modules name=pc1 title=pc1 umid=pc1 mem=20M
> ubd0=/opt/pc1.disk,/opt/netkit/fs/netkit-fs root=98:1
> uml_dir=/root/.netkit/mconsole
> eth0=daemon,,,/root/.netkit/hubs/vhub_root_a.cnct hosthome=/root con0=xterm
> con1=null SELINUX_INIT=0
> [root a nemo opt]# Core dump limits :
>         soft - 0
>         hard - NONE
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...OK
> Checking advanced syscall emulation patch for ptrace...check_ptrace :
> expected SIGTRAP or (SIGTRAP | 0x80), got status = 256
>
> Gianluca
>   
>
> -----Messaggio originale-----
> Da: netkit.users-bounces a list.dia.uniroma3.it
> [mailto:netkit.users-bounces a list.dia.uniroma3.it] Per conto di Julien
> Iguchi-Cartigny
> Inviato: martedì 21 ottobre 2008 14.07
> A: Users of the Netkit Network Emulation System
> Oggetto: Re: [Netkit.users] Netkit on Fedora 9
>
> Other option: Fedora and Redhat are very strict about SeLinux policies.
> Maybe try to switch off SeLinux and retry.
>
> Julien.
>
> Julien Iguchi-Cartigny wrote:
>   
>> I'm not sure but maybe it's the /dev/shm mounting point with the 
>> option noexec. Try "mount" command, and if you have the option noexec 
>> for the entry /dev/shm, you need to remove the noexec option in the 
>> /etc/fstab file and reboot, because UML needs exec rights on shared
>>     
> memory.
>   
>> Julien.
>>
>> Gianluca Salvalaggio wrote:
>>     
>>> Hi everybody,
>>>  i'm trying to using Netkit (latest version) on Fedora 9.
>>> The check_configuration.sh command tells that everything is OK:
>>> ---------------------------------------------------------------------
>>> -----------------------
>>> ./check_configuration.sh
>>>       
>>>>  Checking path correctness... passed.
>>>>  Checking environment... passed.
>>>>  Checking for availability of man pages... passed.
>>>>  Checking for proper directories in the PATH... passed.
>>>>  Checking for availability of auxiliary tools:
>>>>         
>>>         awk          : ok
>>>         basename     : ok
>>>         date         : ok
>>>         dirname      : ok
>>>         find         : ok
>>>         getopt       : ok
>>>         grep         : ok
>>>         head         : ok
>>>         id           : ok
>>>         kill         : ok
>>>         ls           : ok
>>>         lsof         : ok
>>>         ps           : ok
>>>         readlink     : ok
>>>         wc           : ok
>>>         port-helper  : ok
>>>         tunctl       : ok
>>>         uml_mconsole : ok
>>>         uml_switch   : ok
>>> passed.
>>>       
>>>>  Checking for availability of terminal emulator applications:
>>>>         
>>>         xterm          : found
>>>         konsole        : found
>>>         gnome-terminal : not found
>>> passed.
>>>  
>>> [ READY ] Congratulations! Your Netkit setup is now complete!
>>>           Enjoy Netkit!
>>> ---------------------------------------------------------------------
>>> ----------------------- but when I start a virtual machine  I get the 
>>> following message and nothing happens:
>>>  
>>>  vstart -L --eth0=a --verbose pc1
>>>  
>>>
>>> ============= Starting virtual machine "pc1" =============
>>>    Kernel:     /opt/netkit/kernel/netkit-kernel
>>>    Modules:    /opt/netkit/kernel/modules
>>>    Memory:     16 MB
>>>    Model fs:   /opt/netkit/fs/netkit-fs
>>>    Filesystem: /opt/netkit/pc1.disk (new)
>>>    Interfaces: eth0 @ a (/root/.netkit/hubs/vhub_root_a.cnct)
>>>    Hostfs at:  /root
>>>  
>>> Running ==> /opt/netkit/bin/uml_switch -hub -unix 
>>> /root/.netkit/hubs/vhub_root_a.cnct </dev/null 2>&1 Running ==> 
>>> /opt/netkit/kernel/netkit-kernel modules=/opt/netkit/kernel/modules 
>>> name=pc1 title=pc1 umid=pc1 mem=20M 
>>> ubd0=/opt/netkit/pc1.disk,/opt/netkit/fs/netkit-fs root=98:1 
>>> uml_dir=/root/.netkit/mconsole 
>>> eth0=daemon,,,/root/.netkit/hubs/vhub_root_a.cnct hosthome=/root 
>>> con0=xterm con1=null SELINUX_INIT=0 [root a nemo netkit]# Core dump 
>>> limits :
>>>         soft - 0
>>>         hard - NONE
>>> Checking that ptrace can change system call numbers...OK Checking 
>>> syscall emulation patch for ptrace...OK Checking advanced syscall 
>>> emulation patch for ptrace...check_ptrace :
>>> expected SIGTRAP or (SIGTRAP | 0x80), got status = 256
>>> ---------------------------------------------------------------------
>>> ---------------------------------------------------------------------
>>> ---------
>>> What is the problem?
>>> Thanks
>>>   Gianluca
>>>  
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> Netkit.users mailing list
>>> Netkit.users a list.dia.uniroma3.it
>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>       
>> _______________________________________________
>> Netkit.users mailing list
>> Netkit.users a list.dia.uniroma3.it
>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>     
>
>
> --
> Trouble-a-cat Limited
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
>   
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: http://list.dia.uniroma3.it/pipermail/netkit.users/attachments/20081025/24a4c4c3/attachment.htm 


More information about the Netkit.users mailing list