Page 1 of 3

Merge new network stack with trunk?

Posted: Tue May 28, 2013 2:57 pm
by hidnplayr
Some people have repeatedly asked me to merge new network stack with trunk. I think it's too soon, but it may speed up development.

Here are some of the pro's and cons:

con:
- Some drivers, such as forcedeth do not work yet. (RTL8139 doesnt work in QEMU yet either)
- Inevitably, there are bugs.
- Current network applications will not work, unless some of the code is rewritten (not so hard to do).
- ...

pro:
- New drivers such as dec21x4x for virtualPC, VIA rhine, mtd803 and intel i8254x are present.
- The use of multiple network cards is possible (although not finished).
- If you want to use only one card, you may select which one to use.
- There are some new applications.
- There is a new, better API.
- Currently developed network applications (browser etc) dont have to choose between new or legacy API.
- Newer stack should be faster.
- ...

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 3:00 pm
by yogev_ezra
I voted YES as I am unable to find the "cons". The only real con is lack of forthedeth driver. All other cons are not cons:
1) There are bugs in trunk as well.
2) Trunk network applications are useless without normal network support.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 4:39 pm
by Mario_r4
hidnplayr wrote: - Some drivers, such as forcedeth do not work yet. (RTL8139 doesnt work in QEMU yet either)
- Inevitably, there are bugs.
- Current network applications will not work, unless some of the code is rewritten (not so hard to do).
1. Qemu it is necessary - other emulators currently time are not suitable for development.
2. Not fatal.
3. The primary goal Downloader, which is used to HTMLv.
I chose option 2 in the voting.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 4:47 pm
by SoUrcerer
QEMU supports wide range of ethernet cards.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 5:48 pm
by Leency
RTL8139 is a very popular driver as I know. I use it too in QEMU.
I support this idea, but ask you to add RTL8139 support as fast as you can. Thanks.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 5:49 pm
by hidnplayr
Leency wrote:RTL8139 is a very popular driver as I know. I use it too in QEMU.
I support this idea, but ask you to add RTL8139 support as fast as you can. Thanks.
RTL8139 works, but not in qemu.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 6:01 pm
by Leency
Hmm... It's a QEMU bug? Can you solve it?

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 6:03 pm
by hidnplayr
Leency wrote:Hmm... It's a QEMU bug? Can you solve it?
I will try to :mrgreen:

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 6:04 pm
by Mario_r4
hidnplayr

Code: Select all

Detected card: 802910EC
This RTL8139 or other card in Qemu?

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 6:08 pm
by Leency
hidnplayr wrote:
Leency wrote:Hmm... It's a QEMU bug? Can you solve it?
I will try to :mrgreen:
It would be great. Thanks.

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 6:49 pm
by hidnplayr
Mario_r4 wrote:hidnplayr

Code: Select all

Detected card: 802910EC
This RTL8139 or other card in Qemu?
This is called ne2000 PCI in qemu, it works with rtl8029 driver. (8029 = device, type, 10ec means realtek :) )

Re: Merge new network stack with trunk?

Posted: Tue May 28, 2013 9:35 pm
by Mario_r4
hidnplayr wrote:This is called ne2000 PCI in qemu, it works with rtl8029 driver. (8029 = device, type, 10ec means realtek :) )
Qemu 0.12.2 and SVN r. 3552 - PING is not working.
BOARDLOG.TXT (21.6 KiB)
Downloaded 384 times

Re: Merge new network stack with trunk?

Posted: Thu May 30, 2013 2:32 pm
by hidnplayr
Mario_r4 wrote:
hidnplayr wrote:This is called ne2000 PCI in qemu, it works with rtl8029 driver. (8029 = device, type, 10ec means realtek :) )
Qemu 0.12.2 and SVN r. 3552 - PING is not working.
BOARDLOG.TXT
It's a shortcoming of QEMU i'm afraid, on real machines, and some other emulators, it works fine.

Re: Merge new network stack with trunk?

Posted: Thu May 30, 2013 11:04 pm
by G@К
Hi
Description of the stack will be??

Re: Merge new network stack with trunk?

Posted: Thu May 30, 2013 11:07 pm
by yogev_ezra
G@К wrote:Hi
Description of the stack will be??
http://wiki.kolibrios.org/wiki/New_stack

P.S. Ты не смог сделать "reset password" на своего прошлого юзера, потому что на "mail.ru" невозможно отослать мыло. Скажи CleverMouse другой мэйл, если хочешь, и она восстановит твоего прошлого юзера.