Merge new network stack with trunk?

KoOS network development

POLL Should I merge the new stack NOW?

Total votes: 21
Yes
76%
16
Yes, but.. (specify in post)
14%
3
No
5%
1
I dont care
5%
1

  • do you have a DHCP server on the network?
    Probably yes. I use dlink DSL2520-U.
    Did zeroconf work on the old kernel?
    no, zeroconf always hung the kernel.
  • Serge

    If you can find the time and energy, I'd like you to capture the network traffic from your regular os (linux?).
    • -disconnect ethernet cable
      -start a wireshark capture on the interface
      -reconnect cable
      -stop capture after a couple of seconds
      -save the captured packets to a file and send them to me
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • Serge

    I believe a device on your network (your router) was sending "Ethernet flow control" messages to indicate that it is not ready for receiving.
    Have you tried running Zeroconfig again after it has terminated?

    EDIT: or just try using latest autobuild.
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • In #3649 I remove downloader hack from HTMLv. So now in my VBox it can load pages. You may click at homepage icon and on links here. They will be working well. BUT if there will be any error, for example, page not exists DOWNLOADER will freeze itself and maybe some other programs will be freezed too.

    Also please, clarify is there is any SIMPLE way to determine does current network supported or not? In previous version I can find out this information by using Ethstat program.
    Из хаоса в космос
  • Leency wrote:Also please, clarify is there is any SIMPLE way to determine does current network supported or not? In previous version I can find out this information by using Ethstat program.
    If you open netcfg program you will see if it finds a suitable driver for your card, or not.
    When the driver is loaded (nightbuild loads all drivers automatically), the device will appear on the right hand size in netstat program.
    (loopback device is in kernel, and always loaded.)
    Attachments
    Example with two available network cards, which both are supported and both drivers loaded.
    koli-net.png (31.33 KiB)
    Example with two available network cards, which both are supported and both drivers loaded. Viewed 8414 times
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • Oh, we have loopback? What if I open 127.0.0.1 with running web server?
  • SoUrcerer wrote:Oh, we have loopback? What if I open 127.0.0.1 with running web server?
    Yes, it should work.
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr
    #3649
    Spoiler:Loading RTL8169 driver
    Hooking into device, dev:0, bus:3, irq:A, addr:0000DE00
    >Zero-config service loaded
    ->MAC: 1C-6F-65-D7-C8-09
    ->Trying DHCP
    ->Socket 00000001 opened
    ->Socket Bound to local port 68
    ->Connected to 255.255.255.255 on port 67
    ->Building request
    Sending DHCP discover/request
    ETH_input: Unknown packet type=0888
    ETH_input: Unknown packet type=0888
    No answer from DHCP server
    Sending DHCP discover/request
    ->548 bytes received
    Data received, parsing response
    Client: 192.168.1.2
    DHCP Msg type: 2
    Server: 192.168.1.1
    lease: 86400
    Subnet: 255.255.255.0
    Gateway: 192.168.1.1
    DNS: 192.168.1.1
    Got offer, making request
    ->Building request
    Sending DHCP discover/request
    ->548 bytes received
    Data received, parsing response
    Client: 192.168.1.2
    DHCP Msg type: 5
    Server: 192.168.1.1
    lease: 86400
    Subnet: 255.255.255.0
    Gateway: 192.168.1.1
    DNS: 192.168.1.1
    Got ACK, applying settings
    ping works fine, downloader loads board.kolibrios.org page, but when I click the "stop" button the whole system hangs. And I can not close the program after downloading, looks like unprotect_from_terminate missing somewhere.
  • Serge wrote:hidnplayr
    #3649
    Spoiler:Loading RTL8169 driver
    Hooking into device, dev:0, bus:3, irq:A, addr:0000DE00
    >Zero-config service loaded
    ->MAC: 1C-6F-65-D7-C8-09
    ->Trying DHCP
    ->Socket 00000001 opened
    ->Socket Bound to local port 68
    ->Connected to 255.255.255.255 on port 67
    ->Building request
    Sending DHCP discover/request
    ETH_input: Unknown packet type=0888
    ETH_input: Unknown packet type=0888
    No answer from DHCP server
    Sending DHCP discover/request
    ->548 bytes received
    Data received, parsing response
    Client: 192.168.1.2
    DHCP Msg type: 2
    Server: 192.168.1.1
    lease: 86400
    Subnet: 255.255.255.0
    Gateway: 192.168.1.1
    DNS: 192.168.1.1
    Got offer, making request
    ->Building request
    Sending DHCP discover/request
    ->548 bytes received
    Data received, parsing response
    Client: 192.168.1.2
    DHCP Msg type: 5
    Server: 192.168.1.1
    lease: 86400
    Subnet: 255.255.255.0
    Gateway: 192.168.1.1
    DNS: 192.168.1.1
    Got ACK, applying settings
    ping works fine, downloader loads board.kolibrios.org page, but when I click the "stop" button the whole system hangs. And I can not close the program after downloading, looks like unprotect_from_terminate missing somewhere.
    Very cool!

    The problem with downloader is caused by SOCKET_process_end, it never finishes because mutex cannot be set.
    It seems that when program calls SOCKET_close, mutex stays set, I'm debugging that now.
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • ПРАВКА:Я был за, и я рад, что всё произошло успешно.
    Last edited by ramiil-kun on Sun Jun 16, 2013 8:54 pm, edited 1 time in total.
    Нуб зеленый.
  • ramiil-kun wrote:Добавит ли это больше возможности? Упростит ли разработку? Много ли софта заведётся сразу или с минимальным допиливанием?
    Если как минимум 2 ответа да, то я за.
    Ты поздно "за", потому что это уже случилось :lol:
  • Who is online

    Users browsing this forum: No registered users and 1 guest