bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oskit-mach (oskit-20010214/oskit-20020317) and ping -f


From: Daniel Wagner
Subject: oskit-mach (oskit-20010214/oskit-20020317) and ping -f
Date: Tue, 19 Mar 2002 00:36:10 +0100
User-agent: Mutt/1.3.24i

I've been playing around with some ping flooding. As it seems
oskit-mach is not stable enough for these kind of torturing.
Here are some things I tried and what happened. I didn't have
analyzed the problems more deeply. I just wanted them to report
right now. I used for this test the newest oskit snapshot (20020317).

newton is the gnu/linux box
gauss is the hurd box

1. gauss:~# ping -f localhost                                                   
PING localhost (127.0.0.1): 56 data bytes                                       
...............................................................................C
--- localhost ping statistics ---                                               
3822 packets transmitted, 766 packets received, 79% packet loss                 
round-trip min/avg/max = 0.0/618.9/1240.0 ms                                    

The interesting part of it is that the longer it runs the more packets are lost.
In this example ping did only run for several secounds. After 30 minutes or
so 99% packet are lost. Marcus did the same thing on his hurd box with 
gnumach running with the same result. What is really interesting is that
always 766 packets are received but not one more. 


2. wagi@newton:~$ sudo ping -f gauss
Password:
PING gauss.wlab.debian (192.168.2.3): 56 data bytes
..............................................................................
--- gauss.wlab.debian ping statistics ---
601 packets transmitted, 213 packets received, 64% packet loss
round-trip min/avg/max = 0.7/1.0/4.1 ms

oskit-mach crashes immidiately:
(device driver) EMERGENCY: assertion `FDEV_LINUX_local_irq_count[0] ==1
assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file ../../../../oskit1

Breakpoint 1, panic (fmt=0x22ae9a "\r\npanic in device driver!")
    at ../../../oskit-20020317/libc/gen/panic.c:31
31              va_start(vl, fmt);
(gdb) bt
#0  panic (fmt=0x22ae9a "\r\npanic in device driver!")
    at ../../../oskit-20020317/libc/gen/panic.c:31
#1  0x0013c759 in log_vpanic (o=0x279d40, 
    fmt=0x231a60 "assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file 
../../../../oskit-20020317/linux/dev/softintr.c, line %d\n", args=0x2a3dc8)
    at ../../oskit-mach/oskit/osenv_log.c:156
#2  0x0013c784 in log_panic (o=0x279d40, 
    fmt=0x231a60 "assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file 
../../../../oskit-20020317/linux/dev/softintr.c, line %d\n")
    at ../../oskit-mach/oskit/osenv_log.c:165
#3  0x00163d3b in linux_softintr_handler (arg=0x0)
    at ../../../../oskit-20020317/linux/dev/softintr.c:121
#4  0x0013d1c1 in oskit_softint () at ../../oskit-mach/oskit/osenv_softirq.c:84
#5  0x0013ce8c in softclock_oskit ()
    at ../../oskit-mach/oskit/pc/osenv_timer.c:58
#6  0x0011e825 in softclock () at ../../oskit-mach/kern/mach_clock.c:306
#7  0x00156bf8 in spl0 ()
#8  0x0015de47 in intr_enable (s=0x27ab1c)
    at ../../../oskit-20020317/dev/osenv_intr.c:67
#9  0x0018212e in OSKIT_LINUX_linux_sti ()
    at ../../../../oskit-20020317/linux/shared/x86/s_intr.c:31
#10 0x00173b8c in linux_intr (data=0xa)
    at ../../../../oskit-20020317/linux/dev/irq.c:100
---Type <return> to continue, or q <return> to quit---
#11 0x0013c809 in irq_handler (iunit=10, old_ipl=1, ret_addr=0x156849, 
    regs=0x6) at ../../oskit-mach/oskit/osenv_irq.c:78
#12 0x00156389 in interrupt ()
#13 0x0013ce87 in softclock_oskit ()
    at ../../oskit-mach/oskit/pc/osenv_timer.c:56
#14 0x0011e825 in softclock () at ../../oskit-mach/kern/mach_clock.c:306
#15 0x00156cfe in splx_cli ()
#16 0x0013690b in vm_page_free (mem=0xc28e7b0)
    at ../../oskit-mach/vm/vm_resident.c:1283
#17 0x00132dc9 in vm_object_terminate (object=0xc0e0130)
    at ../../oskit-mach/vm/vm_object.c:595
#18 0x00132c91 in vm_object_deallocate (object=0xc0e0130)
    at ../../oskit-mach/vm/vm_object.c:511
#19 0x0012ed22 in vm_map_entry_delete (map=0xc0c107c, entry=0xc032ca0)
    at ../../oskit-mach/vm/vm_map.c:1629
#20 0x0012eeb6 in vm_map_delete (map=0xc0c107c, start=225230848, end=225234944)
    at ../../oskit-mach/vm/vm_map.c:1772
#21 0x0012ef34 in vm_map_remove (map=0xc0c107c, start=225230848, end=225234944)
    at ../../oskit-mach/vm/vm_map.c:1797
#22 0x00137028 in vm_deallocate (map=0xc0c107c, start=225234130, size=98)
    at ../../oskit-mach/vm/vm_user.c:108
#23 0x0013ef28 in ds_device_write (dev=0xc107534, reply_port=0xc1080f8, 
    reply_port_type=18, mode=8, recnum=0, data=0xc112da8 ",\021\f
#24 0x00148272 in _Xdevice_write (InHeadP=0xc1155c0, OutHeadP=0xc2b9010)
    at device_server.c:250
#25 0x0011b0a8 in ipc_kobject_server (request=0xc1155b0)
    at ../../oskit-mach/kern/ipc_kobject.c:192
#26 0x0011346e in mach_msg_trap (msg=0x122fc50, option=3, send_size=56, 
    rcv_size=40, rcv_name=60, time_out=0, notify=0)
    at ../../oskit-mach/ipc/mach_msg.c:1419
#27 0x00156903 in mach_call_call ()


3. gauss:~# ping -f newton

This command produces immediately:

PING newton (192.168.2.2): 56 data bytes
(device driver) EMERGENCY: assertion `FDEV_LINUX_local_irq_count[0] == 0' faile1
assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file 
../../../../oskit1 


Breakpoint 1, panic (fmt=0x22ae9a "\r\npanic in device driver!")
    at ../../../oskit-20020317/libc/gen/panic.c:31
31              va_start(vl, fmt);
(gdb) bt
#0  panic (fmt=0x22ae9a "\r\npanic in device driver!")
    at ../../../oskit-20020317/libc/gen/panic.c:31
#1  0x0013c759 in log_vpanic (o=0x279d40, 
    fmt=0x231a60 "assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file 
../../../../oskit-20020317/linux/dev/softintr.c, line %d\n", args=0x2a3e14)
    at ../../oskit-mach/oskit/osenv_log.c:156
#2  0x0013c784 in log_panic (o=0x279d40, 
    fmt=0x231a60 "assertion `FDEV_LINUX_local_irq_count[0] == 0' failed in file 
../../../../oskit-20020317/linux/dev/softintr.c, line %d\n")
    at ../../oskit-mach/oskit/osenv_log.c:165
#3  0x00163d3b in linux_softintr_handler (arg=0x0)
    at ../../../../oskit-20020317/linux/dev/softintr.c:121
#4  0x0013d1c1 in oskit_softint () at ../../oskit-mach/oskit/osenv_softirq.c:84
#5  0x0013ce8c in softclock_oskit ()
    at ../../oskit-mach/oskit/pc/osenv_timer.c:58
#6  0x0011e825 in softclock () at ../../oskit-mach/kern/mach_clock.c:306
#7  0x00156cfe in splx_cli ()
#8  0x001fce01 in FDEV_LINUX_ei_interrupt (irq=10, dev_id=0x869d344, 
    regs=0x2a3f7c)
    at ../../../../oskit-20020317/linux/src/drivers/net/8390.c:465
#9  0x00173bac in linux_intr (data=0xa)
    at ../../../../oskit-20020317/linux/dev/irq.c:105
#10 0x0013c809 in irq_handler (iunit=10, old_ipl=0, ret_addr=0x156823, 
---Type <return> to continue, or q <return> to quit---
    regs=0xdaddd14) at ../../oskit-mach/oskit/osenv_irq.c:78
#11 0x00156389 in interrupt ()
#12 0x0015c669 in write (si=0xc0c11cc, buf=0xc0c5088, len=1, 
    out_actual=0xdadddb4) at ../../../oskit-20020317/com/cq_intr_stream.c:156
#13 0x00141ffc in ds_asyncio_write_inband (dev=0xc0c2fe8, 
    reply_port=0xc11b5fc, reply_port_type=18, mode=8, recnum=0, 
    data=0xc0c5088 ".", count=1, bytes_written=0xc2b9034)
    at ../../oskit-mach/oskit/ds_asyncio.c:356
#14 0x0013f13a in ds_device_write_inband (dev=0xc0c2fe8, reply_port=0xc11b5fc, 
    reply_port_type=18, mode=8, recnum=0, data=0xc0c5088 ".", count=1, 
    bytes_written=0xc2b9034) at ../../oskit-mach/oskit/ds_routines.c:784
#15 0x001483c0 in _Xdevice_write_inband (InHeadP=0xc0c505c, OutHeadP=0xc2b9010)
    at device_server.c:353
#16 0x0011b0a8 in ipc_kobject_server (request=0xc0c504c)
    at ../../oskit-mach/kern/ipc_kobject.c:192
#17 0x0010671c in ipc_mqueue_send (kmsg=0xc0c504c, option=0, time_out=0)
    at ../../oskit-mach/ipc/ipc_mqueue.c:208
#18 0x001138b0 in mach_msg_trap (msg=0x11ebb28, option=1, send_size=48, 
    rcv_size=0, rcv_name=0, time_out=0, notify=0)
    at ../../oskit-mach/ipc/mach_msg.c:1622
#19 0x00156903 in mach_call_call ()


After these test I was not more sure if oskit-20020317 is really fully
functional. Therefore I checked my results with oskit-mach andoskit-20010214.


1. gauss:~# ping -f localhost                                                 
PING localhost (127.0.0.1): 56 data bytes                                       
...............................................................................C
--- localhost ping statistics ---                                               
3004 packets transmitted, 766 packets received, 74% packet loss                 
round-trip min/avg/max = 0.0/633.8/1270.0 ms                                    

No difference here.


2. wagi@newton:~$ sudo ping -f gauss
PING gauss.wlab.debian (192.168.2.3): 56 data bytes
............................................................................
--- gauss.wlab.debian ping statistics ---
6787 packets transmitted, 6545 packets received, 3% packet loss
round-trip min/avg/max = 0.8/14.0/27.9 ms

The hurd box doesn't crash on this test.


3. gauss:~# ping -f newton
PING newton.wlab.debian (192.168.2.2): 56 data bytes                            
.^C                                                                             
--- 192.168.2.2 ping statistics ---                                             
2203 packets transmitted, 2202 packets received, 0% packet loss                 
round-trip min/avg/max = 0.0/2.0/20.0 ms                                        
 
And also here, the hurd box keeps running.

To conclude (and going to bed) we have certain problems
with oskit-20020317 :(

wagi

-- 
Daniel Wagner                       "Don't drink and derive."        
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]