Board.KolibriOS.org

Official KolibriOS board
It is currently Sat Apr 20, 2019 3:38 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Realtek RTL8167
PostPosted: Sat Feb 28, 2015 2:23 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4976
On my home I got a PC with the next adapter:

Vendor 10EC
Device 8167
Bus 02
Dev 04
IRQ 0B
Company Realtek Semiconductor Corp.
Description Ethernet
Driver none

Is it possible to provide driver for this device?

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


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Sat Feb 28, 2015 3:10 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4976
#5490 by hidnplayr in /programs/network/netcfg: Added RTL8167 to network device list. (uses RTL8169 driver)

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


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 3:20 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4976
Hello, Jefrey!

You told be one thing I can do to help you is to try latest rtl8169 driver on my girl's PC and see if chip version is detected correctly.
So yes, chip is detected correctly. Internet works from the box.

1. Another point: it hung very often and too quickly.
2. There are also an errors that socket could not find the thread. It spam to board. Could you detect this case and prevent spamming to debug board?
3. After connecting to internet, Zeroconf doesn't close. It still exist in processes. Why? Is this okey?

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


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 3:13 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
1. Still trying to find the cause
2. When does this happen?
3. I already told you before, zeroconfig keeps monitoring for network cable changes, so IP can be assigned automatically at all times.
(This does not work with all drivers yet)

_________________
"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
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 3:19 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4976
2. I will try to find a way to reproduce the issue.
3. So you need to rename it to @zeroconfig, because it is system process and should not be visible in CPU as a common application. Could you do it please?

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


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 3:42 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
Leency wrote:
Could you do it please?

Done. #5495

_________________
"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
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 3:50 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 4976
Thank you!
Now is my hint for the point #2. :)

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


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 4:36 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1619
Quote:
1. Still trying to find the cause

Hadn't I said long ago that the cause is KernelFree inside IRQ handler? This is still not fixed, if I am not mistaken.

_________________
Сделаем мир лучше!


Top
   
 Post subject: Re: Realtek 8167
PostPosted: Thu Mar 05, 2015 4:51 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
CleverMouse wrote:
Hadn't I said long ago that the cause is KernelFree inside IRQ handler? This is still not fixed, if I am not mistaken.


Yes, I'm working on a fix for that. Lets hope you are right (as usual) and this will fix the problems.
I am however not convinced that this is the only problem.

_________________
"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
   
 Post subject: Re: Realtek 8167
PostPosted: Sun Mar 08, 2015 3:32 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
CleverMouse wrote:
Hadn't I said long ago that the cause is KernelFree inside IRQ handler? This is still not fixed, if I am not mistaken.


BTW, I did move KernelFree procedure from IRQ handler to transmit procedure in i8254x driver, as means of experiment. (secretly snuck in SVN #5140)
In virtualbox, I do note much less frequent crashes (none so far) compared to PCnet driver.

So thank you for the information.

_________________
"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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 0 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited