Page 2 of 5
Re: The new network stack
Posted: Sun Sep 01, 2013 12:03 am
by Leency
why 74.-1 returns -1 when there are exists Active Network Device?
Code and screen attached.
Tested in QEMU.
Re: The new network stack
Posted: Sun Sep 01, 2013 11:04 am
by hidnplayr
I used ebx in kernel instead of bl, like for the rest of the functions. It was illogical so I fixed it.
Re: The new network stack
Posted: Sun Sep 01, 2013 11:45 am
by Leency
Now function returns 1 if there is no device and 2 if one.
Clarify, please, is this behaviour OK?
Re: The new network stack
Posted: Sun Sep 01, 2013 11:53 am
by hidnplayr
To view the status of the stack, please look at netstat program instead
You'll notice that there is always a loopback device when stack is active. It is counted as one device.
Re: The new network stack
Posted: Sun Sep 01, 2013 12:10 pm
by Leency
hidnplayr wrote:To view the status of the stack, please look at netstat program instead
Using netstat program is clear. But I need to check network card status for some programs, like HTMLv and Liza. If there is active network card no need to run downloader in HTMLv and try to connect to server in Liza.
Re: The new network stack
Posted: Sun Sep 01, 2013 12:13 pm
by hidnplayr
If there is active network card no need to run downloader in HTMLv and try to connect to server in Liza.
You should try to connect, and work with the returned error codes instead
Re: The new network stack
Posted: Sun Sep 01, 2013 12:32 pm
by Leency
OK, I'll try. Thanks
Re: The new network stack
Posted: Sun Sep 01, 2013 11:18 pm
by yogev_ezra
On one of my parents' computers, the network card is not always found/initialized:
Code: Select all
10ec 8136 03 00 00 02 02 00 00 0b REALTEK SEMICONDUCTOR CORP. Network - Ethernet
PCIDEV finds the card on resolution 1024x768, but doesn't find it on resolution 1280x1024. Boardlog shows that the card completes initialization on resolution 1024x768. On resolution 1280x1024 the initialization is started, but never completes (NETCFG is stuck with 99% CPU usage, and cannot be killed). Night build r3840, kernel SVN r3837.
Output of boardlog + PCIDEV on 1024x768:
Output of boardlog + PCIDEV on 1280x1024:
Photo of NETCFG stuck with 99% CPU usage:
Spoiler:
-
netcfg_stuck.png (175 KiB)
Viewed 10765 times
Re: The new network stack
Posted: Mon Sep 02, 2013 4:01 pm
by hidnplayr
Leency wrote: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?
The bug is possibly fixed in latest build, I should however take the time to review all code someday...
Re: The new network stack
Posted: Mon Sep 02, 2013 11:59 pm
by Leency
>> The bug is possibly fixed in latest build
Sorry, not fixed.
Kolibri build #3886, Qemu 0.15.1.
Re: The new network stack
Posted: Sun Oct 13, 2013 2:18 pm
by Leency
Not fixed in VirtualBox too #4016
Re: The new network stack
Posted: Sun Oct 13, 2013 2:33 pm
by hidnplayr
Leency, have patience
I'll let you know when it is fixed.
PS: I have gained some insight on what the exact problem could be but have not made any attempt to fix it yet.
PSS: If it annoys you too much while testing, edit SOCKET_process_end in socket.inc, to ret immedately. This way sockets will not be closed, but system will not hang either
Re: The new network stack
Posted: Sun Oct 13, 2013 2:46 pm
by Leency
Sorry, for my molestation.
Re: The new network stack
Posted: Fri Mar 14, 2014 3:05 am
by Leency
Hi, Jeffrey
Some pages are not fully loaded in HTMLv. You can see it at our homepage (see scr).
Please, contact me if you will need additional information or testing.
Another strange thing: I saw pages, where was strlen(bufpointer) > bufsize.
For example,
http://websvn.kolibrios.org/ page. Difference was about 500 byte. Why is it so?
Re: The new network stack
Posted: Thu Apr 03, 2014 2:38 am
by Leency
Netstat program GUI fix, reduce window redraw. Waiting for a new system colors.