nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   why does linux work this way ?!! (http://www.nvnews.net/vbulletin/showthread.php?t=42959)

newlinuxguy 12-25-04 04:02 AM

why does linux work this way ?!!
 
why sound card, usb, network drivers are all put into kernel. uncompressed size of kernel source has grown to 200 MB !!! it will be a nightmware to maintian.

(snowman)

why not have a standard interface for each of these functionality and keep the drivers out of kernel ..like windows ?

carlosm 12-26-04 02:33 PM

Re: why does linux work this way ?!!
 
Quote:

Originally Posted by newlinuxguy
why sound card, usb, network drivers are all put into kernel. uncompressed size of kernel source has grown to 200 MB !!! it will be a nightmware to maintian.

(snowman)

why not have a standard interface for each of these functionality and keep the drivers out of kernel ..like windows ?

there is as is because: first, most of the companys doesnt have any kind of official support for its hardware for linux. Second, it is easier (i mean for me) selecting the module I want or the one I need, if it is a MODULE it means it is outside of the kernel, it doesnt metter if it is distributed at the same gzipped tarball.

and even you can install your driver (module) if you need at the same way you install the nvidia drivers.

btw, Windows has grown and with no drivers its size is like 1gb for xp thats a lot of difference from the 200mb you can have of a working linux system or 2 gb but with a lot of apps preinstalled (xmasgrin)

mrn 12-29-04 07:32 PM

Re: why does linux work this way ?!!
 
Quote:

Originally Posted by newlinuxguy
why not have a standard interface for each of these functionality and keep the drivers out of kernel ..like windows ?

my kernel compiled is 2.1mb, and I have quite a lot of stuff in it... yes you have a ton of kernel source, for drivers and such, but who the hell would compile all that stuff into the kernel? (and dont say stuff that needs auto detect, because every distro will load stuff as modules and use hotplug to load only what's needed).

Rakeesh 12-29-04 10:12 PM

Re: why does linux work this way ?!!
 
Quote:

Originally Posted by newlinuxguy
why sound card, usb, network drivers are all put into kernel. uncompressed size of kernel source has grown to 200 MB !!! it will be a nightmware to maintian.

(snowman)

why not have a standard interface for each of these functionality and keep the drivers out of kernel ..like windows ?

All OS's do it the same way. All device drivers are loaded into the kernel space. In the case of linux you have the option of compiling the drivers right into the kernel which streamlines it better rather than loading them as a separate module. With windows that is your only option.

Fortean 01-07-05 05:22 AM

Re: why does linux work this way ?!!
 
Quote:

Originally Posted by AlphaWolf_HK
All OS's do it the same way. All device drivers are loaded into the kernel space. In the case of linux you have the option of compiling the drivers right into the kernel which streamlines it better rather than loading them as a separate module. With windows that is your only option.

That is simply not true for Windows. In Windows there is something called the HAL, the hardware abstraction layer, which separates the kernel from most drivers. Most meaning everything but graphics drivers.

The general instability of the Windows 95/98 "kernels" was due to their being let's say Linux-like in giving all drivers access to the kernel and thus letting a driver bringing down the machine. NT kernels don't do that - NT4 especially does not even have the graphics drivers exception and thus is pretty stable kernel-wise.

alsuren 02-05-05 10:13 PM

Re: why does linux work this way ?!!
 
The general instability of win 9x was more due to co-operative multi-tasking which meant that any program which crashed and hogged the processor left you with absolutely no way of taking control back and ending the process. Linux uses pre-emptive multi-tasking which means that no one process can take up 100% CPU time and give you a blue screen of death(unless the OS itself develops memory errors and gets corrupted).


All times are GMT -5. The time now is 06:08 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.