Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Apr 13, 2021 4:18 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 22 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Wed May 27, 2015 2:46 pm 
Offline
Kernel Developer
User avatar

Joined: Thu Sep 03, 2009 1:52 pm
Posts: 1625
hidnplayr: network irq handler calls KernelAlloc, KernelAlloc fails and returns zero, network irq handler tries to write to zero address, in context of the system process it leads to #PF.
1. The handler should not crash in situations with low memory - if KernelAlloc returns zero, it probably isn't possible to do much, but at least fail politely.
2. Something is leaking memory allocated with KernelAlloc - KernelFree calls are missing or have invalid arguments. While theoretically it could be due to some other system components, I suspect the network layer.

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


Top
   
PostPosted: Wed May 27, 2015 8:35 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1279
CleverMouse: Yes, what you say is what I was thinking as well.
I did not make any comments yet because I need to review code. I should not even be using KernelAlloc, but NetAlloc instead.

_________________
"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 28, 2015 1:49 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1279
Since #5561 i8255x driver should no longer leak memory, and fail graciously when out of resources.
Correct handling of "out of resources" situation remains to be done.

_________________
"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 28, 2015 6:20 pm 
Offline
Moderator

Joined: Thu Apr 08, 2010 8:11 pm
Posts: 269
I8255X: Out of resources!


Attachments:
BOARDLOG.TXT [26.5 KiB]
Downloaded 132 times
Top
   
PostPosted: Fri May 29, 2015 3:01 pm 
Offline
Moderator

Joined: Thu Apr 08, 2010 8:11 pm
Posts: 269
Everything is fine! Freezing disappeared, as puddles mushroom from the rain under the bright summer sun.


Top
   
PostPosted: Fri May 29, 2015 8:55 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1279
popovpa: Currently, chain reaction of problems occurs when network card says it's out of resources.
I must figure out how to handle this situation properly, and write this code in the driver.

_________________
"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: Sun Feb 28, 2021 9:59 pm 
Offline

Joined: Sun Feb 28, 2021 8:53 pm
Posts: 1
I'm in the process of setting out Kolibrios on my PC. Downloaded it yesterday and have it running - dual booting without any issue between mxlinux and kolibrios.

I cannot get networking to work. Have tried a number of different nics.

The PC currently has a I82559 based intel nic and a 3com 3c905B.

The debug says the following:

I8255X: Out of resources!
3C59X: This device is not auto-negotiation capable.

Both nics work without any issue when I boot mxlinux.

When booting Kolibrios, I've tried each nic individually, to rule out any resource conflicts, and get the same results as I mentioned above.

This is an older Supermicro S2DGR motherboard.

Machine:
Type: Desktop Mobo: Supermicro model: Intel 440GX v: Rev. 1

CPU:
Topology: Single Core model: Pentium III (Cascades) bits: 32 type: MT
arch: P6 III Xeon rev: 1 L2 cache: 2048 KiB
flags: pae sse bogomips: 2405
Speed: 601 MHz min/max: N/A Core speeds (MHz): 1: 601 2: 601
Graphics:
Device-1: NVIDIA NV5 [Riva TNT2 / TNT2 Pro] vendor: Diamond Systems Audio:
Device-1: Creative Labs EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster
Audigy Series]
driver: snd_emu10k1 v: kernel bus ID: 00:12.0
Sound Server: ALSA v: k4.15.0-1-686-pae


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 22 posts ]  Go to page Previous 1 2

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:  
cron
Powered by phpBB® Forum Software © phpBB Limited