Page 2 of 3

Re: Merge new network stack with trunk?

Posted: Thu May 30, 2013 11:09 pm
by hidnplayr
G@К wrote:Hi
Description of the stack will be??
If you are talking about the API, it can be found on http://wiki.kolibrios.org/wiki/New_network_api
Functions 74 and 75 have already been documented in sysfuncs.txt, but only english version, and not in great detail yet (unfortunately).

Re: Merge new network stack with trunk?

Posted: Thu May 30, 2013 11:53 pm
by SoUrcerer
I'm preparing an article for Habrahabr.ru, where I plan to translate Network API and make some tutorials on russian. This text can be used for sysfuncr.txt

Re: Merge new network stack with trunk?

Posted: Tue Jun 04, 2013 11:46 pm
by Leency
After Kolibri boots, Zeroconf can't detect my network (my card not supported), so he hanging in process list and and doesn't close. Is it normal?

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:00 am
by hidnplayr
Leency wrote:After Kolibri boots, Zeroconf can't detect my network (my card not supported), so he hanging in process list and and doesn't close. Is it normal?
Yes, it's waiting for a driver to register itself.
In the future zeroconfig service should handle all devices, and re-configure everything if link goes down and things like that. :)

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:05 am
by yogev_ezra
hidnplayr wrote:Yes, it's waiting for a driver to register itself.
Maybe you can add a check now whether the driver exists at all in /sys/drivers folder. And if not, skip the wait?

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:09 am
by hidnplayr
yogev_ezra wrote:
hidnplayr wrote:Yes, it's waiting for a driver to register itself.
Maybe you can add a check now whether the driver exists at all in /sys/drivers folder. And if not, skip the wait?
And what if, user inserts a usb network card, or another plug and play compatible one? :)

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:09 am
by Leency
...or set timeout. For example, if 3 minutes left after zeroconf started, it will close itself.

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:10 am
by Leency
hidnplayr wrote:And what if, user inserts a usb network card, or another plug and play compatible one? :)
So rezoconf works like Plag-n-Play? :)

Re: Merge new network stack with trunk?

Posted: Wed Jun 05, 2013 12:10 am
by yogev_ezra
Leency wrote:...or set timeout. For example, if 3 minutes left after zeroconf started, it will close itself.
Yes, also good option. Even 1 minute could be enough, I think.

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 10:03 am
by Mario_r4
Qemu 0.12.2 and SVN r. 3611
1. Telnet hangs after the first command from the user. Retrieved on Dlink Dir-320 and Dlink DES-3200-10.
Spoiler:
telnet.png
telnet.png (19.86 KiB)
Viewed 7712 times
BOARDLOG.TXT (8.68 KiB)
Downloaded 349 times
2. Synergy client - simply terminates after startup.
3. HTMLv does not receive data from the downloader.
Spoiler:
htmlv.png
htmlv.png (24.99 KiB)
Viewed 7712 times

Code: Select all

SOCKET_nuto_ptr: not found
SOCKET: error
Warning: library doesn't exists - TrueType
Downloadng http://board.kolibrios.org                                                                                                                                      
K : Process - forced terminate PID: 00000025 [downloader]
K : Page fault
K : EAX : 40CD5B0C EBX : 0000003C ECX : 00000000
K : EDX : 0000003C ESI : 80CB7000 EDI : 80027844
K : EBP : 00000000 EIP : 000022AB ESP : 00002241
K : Flags : 00001206 CS : 00000008 (kernel)
K : destroy app object
K : destroy app object

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 11:42 am
by yogev_ezra
Mario_r4 wrote:Qemu 0.12.2 and SVN r. 3611
4. CPU load shows 169%

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 12:25 pm
by Mario_r4
yogev_ezra wrote:
Mario_r4 wrote:Qemu 0.12.2 and SVN r. 3611
4. CPU load shows 169%
This is Qemu, and not a real system - this is not a problem the network stack.

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 5:23 pm
by hidnplayr
Mario_r4 wrote: 2. Synergy client - simply terminates after startup.
Synergy exits because it has no configuration file (synergyc.ini), also it has no GUI.
I can add a demo configuration file to the distro.

To fix the other problems, I need to investigate :)

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 5:42 pm
by Mario_r4
hidnplayr wrote:To fix the other problems, I need to investigate :)
You complained about the lack of testing? You got it! :lol:

Re: Merge new network stack with trunk?

Posted: Fri Jun 07, 2013 9:20 pm
by Serge
hidnplayr
My log. Realtek PCIe GBE Family controller PCI\VEN_10EC&DEV_8168&SUBSYS_E0001458&REV_06
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
ETH_input: Unknown packet type=0888
ETH_input: Unknown packet type=0888
->-1 bytes received
Link Local IP assinged: 169.254.132.245
Waiting 1600ms
Sending Probe
Waiting 1240ms
Sending Probe
Waiting 1460ms
Sending Probe
Waiting 2s
Sending Announce
Waiting 2s
Sending Announce
Socket error