Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Feb 25, 2020 3:44 am

All times are UTC+03:00




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 42 posts ]  Go to page Previous 1 2 3 Next

Should I merge the new stack NOW?
Yes 76%  76%  [ 16 ]
Yes, but.. (specify in post) 14%  14%  [ 3 ]
No 5%  5%  [ 1 ]
I dont care 5%  5%  [ 1 ]
Total votes: 21
Author Message
PostPosted: Thu May 30, 2013 11:09 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
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).

_________________
"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


Top
   
 
PostPosted: Thu May 30, 2013 11:53 pm 
Offline

Joined: Mon Sep 24, 2007 11:11 am
Posts: 2814
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


Top
   
 
PostPosted: Tue Jun 04, 2013 11:46 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5083
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?

_________________
Через тернии к звездам


Top
   
 
PostPosted: Wed Jun 05, 2013 12:00 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
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. :)

_________________
"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


Top
   
 
PostPosted: Wed Jun 05, 2013 12:05 am 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
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?


Top
   
 
PostPosted: Wed Jun 05, 2013 12:09 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
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? :)

_________________
"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


Top
   
 
PostPosted: Wed Jun 05, 2013 12:09 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5083
...or set timeout. For example, if 3 minutes left after zeroconf started, it will close itself.

_________________
Через тернии к звездам


Top
   
 
PostPosted: Wed Jun 05, 2013 12:10 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5083
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? :)

_________________
Через тернии к звездам


Top
   
 
PostPosted: Wed Jun 05, 2013 12:10 am 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
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.


Top
   
 
PostPosted: Fri Jun 07, 2013 10:03 am 
Offline
Kernel Developer

Joined: Sun Feb 10, 2013 12:37 pm
Posts: 2329
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: Show
Attachment:
telnet.png
telnet.png [ 19.86 KiB | Viewed 3390 times ]

Attachment:
BOARDLOG.TXT [8.68 KiB]
Downloaded 159 times

2. Synergy client - simply terminates after startup.
3. HTMLv does not receive data from the downloader.
Spoiler: Show
Attachment:
htmlv.png
htmlv.png [ 24.99 KiB | Viewed 3390 times ]

Code:
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

_________________
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!


Top
   
 
PostPosted: Fri Jun 07, 2013 11:42 am 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
Mario_r4 wrote:
Qemu 0.12.2 and SVN r. 3611
4. CPU load shows 169%


Top
   
 
PostPosted: Fri Jun 07, 2013 12:25 pm 
Offline
Kernel Developer

Joined: Sun Feb 10, 2013 12:37 pm
Posts: 2329
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.

_________________
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!


Top
   
 
PostPosted: Fri Jun 07, 2013 5:23 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
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 :)

_________________
"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


Top
   
 
PostPosted: Fri Jun 07, 2013 5:42 pm 
Offline
Kernel Developer

Joined: Sun Feb 10, 2013 12:37 pm
Posts: 2329
hidnplayr wrote:
To fix the other problems, I need to investigate :)

You complained about the lack of testing? You got it! :lol:

_________________
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!


Top
   
 
PostPosted: Fri Jun 07, 2013 9:20 pm 
Offline
Kernel Developer

Joined: Wed Mar 08, 2006 6:25 pm
Posts: 3952
hidnplayr
My log. Realtek PCIe GBE Family controller PCI\VEN_10EC&DEV_8168&SUBSYS_E0001458&REV_06
Spoiler: Show
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


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 42 posts ]  Go to page Previous 1 2 3 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited