Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Nov 12, 2019 12:33 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 66 posts ]  Go to page 1 2 3 4 5 Next
Author Message
 Post subject: The new network stack
PostPosted: Sun Apr 12, 2009 6:52 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
As some of you may already know, I am working on a new network stack for KolibriOS.
Since I have been spending a lot of time on it lately, things are starting to come together.

I have created some pages on the wiki to keep you updated about the current status of it.

http://wiki.kolibrios.org/wiki/New_stack
http://wiki.kolibrios.org/wiki/New_network_api

Any comments and/or suggestions about the design would be much appreciated.

_________________
"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 hidnplayr on Thu May 27, 2010 5:04 pm, edited 1 time in total.

Top
   
PostPosted: Sun Apr 12, 2009 11:04 pm 
Wonderful! When are you going to add changes to SVN?


Top
   
PostPosted: Mon Apr 13, 2009 3:27 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
When it fully works. :D
And, because none of the old drivers/applications will still work, I will need to write some new drivers and applications
(mainly as code examples, but also to be able to test the rest of the code..)

_________________
"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 Apr 21, 2010 2:03 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
What is the state of the current Net branch? What else have to be done to sync the changes with the trunc?


Top
   
PostPosted: Fri Apr 30, 2010 4:49 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1621
Asper, I and hidnplayr have currently no time to actively develop something, so this branch is frozen. It is easy to integrate changes from trunk, but I think that it has no sense while no development goes on.


Top
   
PostPosted: Tue May 04, 2010 3:19 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
CleverMouse
Thanks for the info.
Unfortunatelly my motheboard has recently burned and I can't to complete the development of the driver for VIA Rhine and VIA Rhine II network cards. It's also very bad because I almost completed it, I just had to find several bugs in it. :twisted:
After writting the network driver I planned to make support for PPPoE protocol to have net in Kolibri at home, but now I have to buy a new computer.


Top
   
PostPosted: Tue May 04, 2010 4:28 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1621
Asper, I have actually wrote some code for PPPoE, namely first stage - sending PPPoE discover and getting PPPoE offers. I did it to test a driver for a network card in the situation where only PPPoE connection is available, so other network code cannot be used directly, and this stage involves send+receive, which was enough for testing :) BTW I have uploaded binaries to http://ftp.kolibrios.org/users/CleverMouse/ - there are modified kernel and a program which dumps collected offers to console.
I thought that it is natural to write PPPoE support in the net branch, because it is good structured and extendable unlike trunk. However, there are many things that should be added to net branch - even TCP is not supported yet, and it is quite complicated - so now I think that adding PPPoE to trunk has also some advantages :) Anyway, I have almost no time for Kolibri, so I can't do active development.


Top
   
PostPosted: Tue May 04, 2010 4:42 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
As to me PPPoE is one of the most wanted things in KolibriOS. The fact that you've written start code for it is a very good news for me. Can I see the sources (in PM)?
Maybe I could participate in further development of it.


Top
   
PostPosted: Tue May 11, 2010 12:18 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1621
Asper, I think that there is nothing secret in this code, so I've uploaded it to my ftp dir as http://ftp.kolibrios.org/users/CleverMouse/pppoe_src.7z. I apologize for the delay.


Top
   
PostPosted: Tue May 11, 2010 9:58 pm 
Offline
User avatar

Joined: Fri Jun 27, 2008 3:22 pm
Posts: 988
Thanks a lot! :)


Top
   
PostPosted: Mon Oct 11, 2010 9:46 pm 
Offline
User avatar

Joined: Tue Aug 25, 2009 4:45 pm
Posts: 796
Do you need all network card datasheets - both PHY and MAC layers?


Top
   
PostPosted: Tue Mar 26, 2013 11:06 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5064
Hi. I tested the latest version of new stack distro r3424. So my lan card isn't supported? Notebook Acer Aspire 4740G.
Can you add vendor definition from Network Driver Control Center to PciDev?


Attachments:
1.png
1.png [ 18.5 KiB | Viewed 7080 times ]

_________________
Через тернии к звездам
Top
   
PostPosted: Wed Mar 27, 2013 12:32 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Leency wrote:
Hi. I tested the latest version of new stack distro r3424. So my lan card isn't supported? Notebook Acer Aspire 4740G.
Can you add vendor definition from Network Driver Control Center to PciDev?


Your lan card is of the broadcom BCM57xx family. It is not supported yet. But since this is a quite popular card and has good documentation, it's likely that it will be supported in the future.

PCIDEV is normally compiled without full list of vendors, because its quite large. Thats why broadcom and Atheros are not in the list.
Network driver control center has a smaller list of vendors (wich sell network hardware).

_________________
"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: Tue Jul 23, 2013 8:58 am 
Offline
Kernel Developer

Joined: Sun Feb 10, 2013 12:37 pm
Posts: 2329
Qemu 0.12.2 and SVN r. 3831
HTMLv + Downloader - download from the network is very-very slow :(
For example loading http://board.kolibrios.org is 100 times slower than the old network stack.
Ends with the message "No more data" in the BOARD, but the page is still not displayed.

UPD.
Code:
qemu -L . -m 128 -fda kolibri.img -boot a -hda c100.img -hdb c100_2.img -cdrom kolibri.iso -localtime -k ru -vga vmware -net nic,model=ne2k_pci -net user -soundhw ac97

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


Top
   
PostPosted: Sat Aug 31, 2013 1:14 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5064
Kolibri build #3870, Qemu 0.15.1

1. Open /sys/HTMLv
2. Click "Home" button from toolbar
3. Click link "Cтатьи"
Now you can not close any program. You may open a new one, but there is no way to close them.

See PCIDEV.png and Boardlog.png for more information. This is a very serious bug, could you please, fix it?


Attachments:
PCIDEV.png
PCIDEV.png [ 9.83 KiB | Viewed 6334 times ]
Boardlog.png
Boardlog.png [ 10.16 KiB | Viewed 6334 times ]

_________________
Через тернии к звездам
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 66 posts ]  Go to page 1 2 3 4 5 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


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