answersLogoWhite

Top Answer
User Avatar
Wiki User
Answered 2013-11-07 15:42:11

The loading of modules dynamically in monolithic kernel is done at the binary level as opposed to the architectural level. Dynamically loading modules is a more flexible way of handling the operating system image at runtime - as opposed to rebooting with a different operating system image.

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

Related Questions

Difference between monolithic and microlithic kernel?

Main classification of kernel: Monolithic & microlithic Monolithic kernel is a large program ,which contains different modules and they can interact each other . New modules can be dynamically linked or inserted in it.Ie at run time, and we do not want to reboot the system. Microlithic kernel contains different modules .They may be linked together .These modules can communicate with those modules ,which are linked with it.We can only statically insert a new module in it.And when inserting a new module ,we have to link it with other modules to whom with which it has to communicate. Retheesh Soman & Saneeth P R Vadakara,Calicut Ph:9947874780


What type of kernel does Ubuntu use?

Ubuntu uses the Linux kernel, which is a monolithic kernel with loadable modules.


Give an example of modular monolithic kernel?

Modular monolithic kernel example is Linux.don't need to confuse on monolithic and modular kernel. if we need to divide a single module of kernel in separate module to make handle easy we can do at the configure time of kernel but these kernel module having only in kernel space.Monolithic Kernel- single binary file- all drivers include in kernel itself.Modular kernel- Multiple files for kernel- Drivers can be loaded or unloaded into kernel using modprob command, see man page of lsmod, modprob etc when- Almost all drivers are build and linked against kernelactual mean of modular kernel in linux :some part of the system core will be located in independent files called modules that can be added to the system at run time. Depending on the content of those modules as1. only loading drivers if a device is actually found2. only load a filesystem if it gets actually requested3. only load the code for a specific (scheduling/security/whatever) policy when it should be evaluatedThose modules are still running in the kernel space and not in user space, so the kernel architecture is still monolithic.


What are the primary goals of the conflict reduction mechanism used by the Linux kernel for loading kernel modules?

um...7?


What are different types of kernel?

Basically, there are three types of kernel: - Monolithic Kernel- Micro Kernel- ExoKernel Monolithic:As the name itself suggests, the kernel has every services like, FS Management, MM, Process Management, etc. in the kernel space. It does not run as a separate process. So, as you guess, there is no context switching, when you ask for a service. But, the probability of a monolithic kernel getting struck is more. Because, if there is a bug in the kernel itself, nothing can rescue it. Linux and Windows are good examples of Monolithic kernel. Linux, being a monolithic kernel, you can insert modules into the kernel dynamically using insmod command. Micro Kernel:Micro kernel runs all the services as a daemon in the user space. So, if a problem occurs in any of the service, the kernel will be able to decide what to do next. But, you pay-off the time to switch to a service in this type of kernel. Micro kernels are some what difficult to design and build than the monolithic kernel. There are always a discussion over the internet, talking about the advantage and disadvantages of monolithic and micro kernel. Exo Kernel:Exo kernel is not yet stabilized. It's under design and research. The user mode processes running in this type of kernel has the ability to access kernel resources like process tables, etc directly.


What is macro kernel?

Monolithic Kernel is also known as "Macro Kernel" A monolithic kernel (Macro Kernel) is an operating system architecture where the entire operating system is working in the kernel space and alone as supervisor mode. The monolithic differs from other operating system architectures (such as the microkernel architecture) in that it defines alone a high-level virtual interface over computer hardware, with a set of primitives or system calls to implement all operating system services such as process management, concurrency, and memory management itself and one or more device drivers as modules.


What type of kernel is Linux?

Monolithic


Is monolithic kernel are macro kernels?

nope. they are different.


Is the Windows NT based kernel better than the UNIX based monolithic kernel?

Yes.


What are benefits of adopting kernel modules in the modern Linux kernel?

Efficiency. Thanks to modules, the kernel doesn't have to have every last driver loaded and running, nor does the user have to recompile the kernel every time they need to load or unload or update a driver. Before the Linux kernel adopted modules, one had to recompile and reconfigure the kernel any time they wanted to change drivers. Today it's as simple as unloading and reloading modules. Some people, however, like to disable modules and build everything into their kernel when they create a custom Linux kernel. This is done largely because when someone makes a custom kernel there is no question what drivers and pieces of the kernel will be needed, and modules would be unneeded.


What is the Architecture of microkernel for solaris?

None. Solaris has a monolithic kernel.


Differences between monolithic and micro kernel architecture?

chutita site....


Is it better to keep as many support modules in the kernel as possible?

It depends. Obviously the more you have in the kernel the less you will have for resident memory. This may improve performance if these modules are in use, or it might just take up memory if they are not active. With dynamic loadable modules the idea was to install the module in the resident kernel if it were required at run time rather than compiling them into the kernel. This way an admin can load and unload the modules at will, assuming they know when the modules will be in use.


What are the advantages of using loadable kernel modules?

Without loadable kernel modules, an operating system would have to include all possible anticipated functionality already compiled directly into the base kernel. Much of that functionality would reside in memory without being used, wasting memory, and would require that users rebuild and reboot the base kernel every time they require new functionality. Most operating systems supporting loadable kernel modules will include modules to support most desired functionality.(wikipedia)


What is the difference between unixkernal and linuxkernal?

Linux kernel is an operating system that is distributed by open source software. It is based on Unix, but has some differences, some of which are in adding and removing features of the kernel, kernel threading, application support, and monolithic kernel approach.


What is the difference between a monolithic kernel and a microkernel?

Monolithic kernel has simple design. Monolithic kernel is a single large processes running entirely in a single address space. It is a single static binariy file. All kernel services exist and execute in kernel address space. The kernel can invoke functions directly. The examples of monolithic kernel based OSs are Linux, Unix.In Microkernels, the kernel is broken down into separate processes, known as servers. Some of the servers run in kernel space and some run in user-space. All servers are kept separate and run in different address spaces.The communication in microkernels is done via message passing. The servers communicate through IPC (Interprocess Communication). Servers invoke "services" from each other by sending messages. The separation has advantage that if one server fails other server can still work efficiently. The example of microkernel based OS are Mac OS X and Windows NT.regards,saurav ghosh


What are modules in Linux?

Modules are pieces of binary data that can be loaded into the Linux kernel at run time. These are typically drivers for devices or file systems.


What command can you use to change the current working directory to the directory where the modules for the running kernel are stored?

cd /lib/modules/$(uname -r)


How do you convert a C program into a Linux kernel module?

Quick Answer: You don't. Long Answer: It will need a fundamental change before you can have a module that does anything similar. Kernel modules don't have the same purpose as programs. Kernel Modules are meant for device support and similar things. More than likely you don't actually want to move the program to kernel space.


What is the library name in which the semaphore.h header file is present in Linux?

semaphore.h is in the kernel source. If you're looking for it for your particular distribution (such as for compiling modules), look in the kernel source package or install the kernel headers.


What is a .ko file in Linux?

The .ko extension is placed on kernel modules (loadable drivers) in Linux. Further, '.ko' extension is called 'kernel Object', and is implemented from kernel 2.6 onwards, this is perhaps the biggest change as far as loadable kernel modules are concerend. For example, the serial device driver that in Linux 2.4 lived in the file 'serial.o' in Linux 2.6 lives in the file 'serial.ko' .


What are Linux licensing issues?

Linux is licensed under the GPL. This means that if you use the kernel in one of your products, you must release any changes that you made. You can use proprietary modules, but these are restricted in what they are allowed to do. Only freely licensed modules can access all features of the kernel.


What is kernel and shell and what is the difference between these two?

A kernel is the heart of the operating system and acts as a middle ground between hardware and software. Some (if not all) device drivers are kernel-level drivers as kernelmodules. A shell is a command terminal that allows the user to interact with the user.


What part of the dos command structure is responsible for loading msdossys during a dos boot?

MSDOS.SYS is the kernel file so it gets executed as the system boots. It is related to kernel..


Difference between approaches modular kernel and layered approach?

The modular kernel approach requires subsystems to interact with each other through carefully constructed interfaces that are typically narrow (in terms of the functionality that is exposed to external modules). The layered kernel approach is similar in that respect. How- ever, the layered kernel imposes a strict ordering of subsystems such that subsystems at the lower layers are not allowed to invoke operations corresponding to the upper-layer subsystems. There are no such restrictions in the modular-kernel approach, wherein modules are free to invoke each other without any constraints.


Still have questions?