Re: difference between driver and services?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"msnews.microsoft.com" <wuzh1230@xxxxxxx> schrieb im Newsbeitrag
news:%23139x6VHIHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
the difference really puzzle me.

teach me some kownledge about the OS design.

best_regards!



Hi Stranger,

first at all: Please use your real name here!

The main difference is, that windows services run in
user mode (ring3) and drivers run in kernel-mode(ring0).
Exception here are some sort of user mode drivers like
printer/spooler drivers and some other user mode drivers.
vista has some (major) changes on drivers architecture, so see
some external references on main differences e.g between
windows vista est par example windows xp...

Also important to know: Drivers in Kernel Mode can execute
any instruction the cpu has, with no limitation, where user mode
drivers can only execute instructions that can be executed in
ring3 and/or instructions only the operating system allows. A
kernel mode river can access the complete systems memory
and has unlimited access to the hardware (if bios does not
protect some hardware for any reason) or another driver has
exclusive access to it. If a kernel mode driver fails, it will render
in most of the cases your complete operating envornment for the
running session useless und you will get the well know famous
blue screen of death (seen in windows) or anther screen, e.g
red in Linux (in a early version of windows the bluse screen was red!)
A user mode driver runs inside a protected environment and if it fails
it just will affect the process itself and its running threads and
environment.So the process will be terminated. But sometimes the
faliure of a usermode process also affects the complete os. If someone
here says impossible i want tell that much, that years ago i found a way
to make the complete os crash (BSOD) with manipulating a windows
message procedure and something with its hook chain from inside of
Visual Basic!!! Code and it will raise a BSOD. Also you will get a
BSOD when important services or processes for the os fail for
whatever reason. The list is long, but not regarding your question!



See here:
[Windows Services]
http://msdn2.microsoft.com/en-us/library/ms685141.aspx

[Generic Driver Description]
http://en.wikipedia.org/wiki/Device_driver

The most Complete Reference and Information about Windows
Drivers: http://www.microsoft.com/whdc/default.mspx

There are TONS of information on drivers out there in the www.
Just do a google search or if you want a nice guidance with charming
appearance try this: http://www.msdewey.com/



Hope this will be a guide for you,...


Cheers,...

Kerem



--


Beste Grüsse / Best regards / Votre bien devoue

Kerem Gümrükcü
kerem.g@xxxxxxxx

Best Quote: "Ain't nobody a badass with a double dose
of rock salt...", Kill Bill Vol.2

Latest Open-Source Projects: http://entwicklung.junetz.de
Sign my guestbook: http://entwicklung.junetz.de/guestbook/

-----------------------
"This reply is provided as is, without warranty express or implied."






.



Relevant Pages

  • Re: Computer Freezing
    ... There are some known unresolved issues with Catalyst 7.7 with Windows ... does seem like everytime my computer freezes I get this atimtag CRT ... one connected via USB but I never installed the drivers or used it. ... to install all my programming applications (VS, DirectX SDK, V ...
    (microsoft.public.windowsxp.hardware)
  • Re: Obsoleteness of X concept
    ... What if we go more further and embed second layer into new kernel ... be exchanged that easily as user mode ... Compare this to the old printer driver model of windows which also had ... kernel mode drivers. ...
    (comp.os.linux.x)
  • Re: MediaCenter freezes / hangs for one and a half minute
    ... not in Windows. ... And the freeze comes when clicking on pic to view it in fullscreen, ... Today's 5 megapixels cameras can easily take pictures creating 20 mb ... And, yes, I have read that, not officially supported drivers. ...
    (microsoft.public.windows.mediacenter)
  • Re: This from the NETThe MULTIPLE_IRP_COMPLETE_REQUESTS error (0x44) means that a
    ... Could you please let me know what this means and what I can do to get rid of this problem, as I had not backed up the Windows 7 operating system or any of my data on the computer, and therefore can not format the computer. ... Disable BIOS memory options such as caching or shadowing. ... If you need to use safe mode to remove or disable components, ... Two separate drivers each believe that they own the packet, ...
    (microsoft.public.windows.vista.general)
  • Re: RUN TIME ERROR!!!
    ... Second suggestion - figure out what is needing to write there.. ... using Windows XP "prettifications". ... Why you should use a computer firewall.. ... You also have hardware on your machine that requires drivers to interface ...
    (microsoft.public.windowsxp.setup_deployment)