#124 0.8.0-20080420 ndis-bridge hang system

v0.8.x (devel)
closed-duplicate
nobody
5
2009-02-10
2008-04-26
Xuefer
No

config gentoo.txt:
kernel=vmlinux
mem=256
# the old one which is ok
# eth0=pcap-bridge,Bridge,00:ff:4f:0d:e7:c0
# the new one which hang
eth0=ndis-bridge,Bridge,00:ff:4f:0d:e7:c0
root=/dev/sda3
sda2=\Device\Harddisk1\Partition2
sda3=\Device\Harddisk1\Partition3
sda5=\Device\Harddisk1\Partition4
cofs0=\DosDevices\c:\app\system\colinux\ cofs1=\DosDevices\c:\ cofs2=\DosDevices\d:\ cofs3=\DosDevices\e:\ bootlevel=c.boot
softlevel=c.default
setcobd=async

"Bridge" is an windows xp bridge interface that bridge 2 of my interfaces, WAN (which is a real eth card) and lo (loopback virtual device).
i use bridge because i want to "interface down" issue when the wire is unplugged from eth card, since lo is always up so "Bridge" will be up too.

when i do "net start gentoo" (colinux), it boots nicely but as soon as it reach one of the init.d script (/etc/init.d/net.eth0, i guess), the whole box become slower and slower, any windows becomes not responding, and lastly only mouse pointer is active, i have to reset the box

Discussion

  • Xuefer
    Xuefer
    2008-08-07

    Logged In: YES
    user_id=185131
    Originator: YES

    still reproduced in 0.8.0-20080803

    i was about to file a bug claim that colinux network latency is high and make samba slow but i found a workaround to this bug.

    pcap based config that working fine: eth0=pcap-bridge,Bridge,00:ff:4f:0d:e7:c0
    ndis based config that hang: eth0=ndis-bridge,Bridge,00:ff:4f:0d:e7:c0
    ndis based config that workaround: eth0=ndis-bridge,lo,00:ff:4f:0d:e7:c0

    so pcap-bridge will work on Bridge interface (and maybe "lo" interface, not tested) but ndis-bridge will hang when using Bridge interface

    can u pls fix it? either disallow user to use bridge interface or fix the problem

     
  • Xuefer
    Xuefer
    2008-08-07

    Logged In: YES
    user_id=185131
    Originator: YES

    about the network latency and slow samba:
    c:\> ping router
    ...
    Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
    ...

    **** ping latency with pcap-bridge
    c:\&gt; ping colinux
    ...
    Reply from 192.168.0.3: bytes=32 time=15ms TTL=64
    Reply from 192.168.0.3: bytes=32 time=16ms TTL=64
    ...
    see? colinux on the same box as my windows xp has higher latency than a real network adapter on wire.
    *** samba latency with pcap-bridge
    it took me's 5 seconds to open \\gentoo\etc\ and when i drag the scroll bar down, it take some seconds to get it display because windows explorer is requesting for more data from samba but colinux network has high latency

    **** was using ndis-bridge
    c:\&gt; ping colinux
    ...
    Reply from 192.168.0.3: bytes=32 time<1ms TTL=64
    ...
    cool, as fast as a real interface
    *** samba latency with pcap-bridge
    just seems as fast as a another real matchin that run linux serving samba, no latency

    thanks for the great work on ndis-bridge

     
  • Henry N.
    Henry N.
    2008-08-10

    Logged In: YES
    user_id=579204
    Originator: NO

    The title problem and "box become slower and slower" was solved as memory leakage and is fixed in todays snapshot.

    I can use ndis-bridge on a Windwos-Bridged network.
    The only difference I can see, is that a Windows-Bridge is slower as direct Ethernet adapter.

    Please check it again with the latest version.

     
  • Xuefer
    Xuefer
    2008-08-11

    Logged In: YES
    user_id=185131
    Originator: YES

    still reproduced in 0.8.0-20080810

    CPU: AMD Athlon(tm) 64 X2 Dual
    MEM: 2G (128M shared with nvidia geforce 6150SE on board)
    System: Windows XP Pro SP3 with latested patches

     
  • Xuefer
    Xuefer
    2008-08-11

    Logged In: YES
    user_id=185131
    Originator: YES

    colinux config file:
    kernel=vmlinux
    mem=256
    #video0=4
    #eth0=pcap-bridge,ADSLModem
    #eth1=tuntap,coeth1
    #eth0=pcap-bridge,lo,00:ff:4f:0d:e7:c0
    eth0=ndis-bridge,Bridge,00:ff:4f:0d:e7:c0
    root=/dev/sda3
    sda2=\Device\Harddisk1\Partition2
    sda3=\Device\Harddisk1\Partition3
    sda5=\Device\Harddisk1\Partition4
    cofs0=\DosDevices\c:\app\system\colinux\ cofs1=\DosDevices\c:\ cofs2=\DosDevices\d:\ cofs3=\DosDevices\e:\ bootlevel=c.boot
    softlevel=c.default
    setcobd=async

     
  • Henry N.
    Henry N.
    2009-02-10

    Crashing ndis was fixed in Bug #2357595, and committed to SVN as revision r1218.
    Feel free to reopen this bug, if it not solved the problem here.

     
  • Henry N.
    Henry N.
    2009-02-10

    • labels: --> Crash / BSOD
    • milestone: --> v0.8.x (devel)
    • status: open --> closed-duplicate