The goal of this assignment is to be able to compile and boot the kernel of User-Mode Linux. If you have never built or installed a kernel before THEN START THIS ASSIGNMENT EARLY. It can take a long...


The goal of this assignment is to be able to compile and boot the kernel of User-Mode Linux. If you have never built or installed a kernel before THEN START THIS ASSIGNMENT EARLY. It can take a long time.


Download the latest Linux kernel release fromkernel.org. Configure and build the kernel with no modules. Boot the kernel in User-Mode Linux. Create the root disk however you want, but make sure you can mount a disk-resident file system, and get the network to initialize properly.


Boot the Kernel, and run dmesg to capture the kernel output from the boot. In your writeup, for each device, quote the parts of the dmesg output that show the kernel discovering that device, and then report what kind of device it is, and how you made your determination.


Figure out some way to time the boot.


Now, reconfigure your kernel to use as many modules as you can. Try to support each device by a module. You get a bit of extra credit if you can make the driver for your boot disk a module. Run dmesg and report if the discovery of any devices have changed. Describe which modules you used in your report.


Finally, report the performance of the module-heavy boot versus the original boot. Report any other metric you think indicates how much more "complicated" was the module-heavy boot. /proc/meminfo might be useful.

Jan 03, 2020
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here