Lab 9-Lesson 6-Managing Kernel Modules (Activity 6-6)(1)-1

.docx

School

Community College of Baltimore County *

*We aren’t endorsed by this school

Course

224

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

4

Uploaded by ColonelStraw994

Report
Lab # 9 DCOM 224 Advanced Linux Administration Lesson 6 Activity 6-6 Name ___Maurice Littlejohn_____________________________ Monitoring Kernel Modules BEFORE YOU BEGIN You are logged in to the CLI as your student account. Previously, you installed a USB Bluetooth driver module in the kernel. SCENARIO Now that you installed the USB Bluetooth module, you want to make sure it was successfully loaded by the kernel and that there are no errors. You also want to identify your kernel version details in case you need to reference it during troubleshooting. 1. Enter cat /proc/version and use the result to answer the following questions. SHOW A SCREENSHOT What is your Linux version? Ans : __ 3.10.0-1160.11.1.el7.x86_64 _________________________________ When was the kernel last compiled? Ans : __ Fri Dec 18 16:34:56 UTC 2020 _________________________________ What version of the GCC is your kernel running? Ans : __ 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) _________________ The above information will be useful by validating the kernel version and related information can help diagnose issues that apply to specific versions, such as incompatible software. 2. Examine the kernel message buffer. a) The dmesg command is used to print or control the kernel ring buffer. To get additional information about the command enter dmesg -h Note the different log facilities and supported log levels available. Examples include warn , err , notice , etc. What 8 supported log facilities are available: kern - kernel messages user - random user-level messages 1
Lab # 9 DCOM 224 Advanced Linux Administration Lesson 6 Activity 6-6 mail - mail system daemon - system daemons auth - security/authorization messages syslog - messages generated internally by syslogd lpr - line printer subsystem news - network news subsystem b) Enter dmesg -H c) Verify that you can navigate through many pages of kernel messages. Note that you can search for strings using /string. d) Answer the following questions: What is the Linux version listed in dmesg (/Linux version)? __ 3.10.0-1160.11.1.el7.x86_64 _____________ How many cpus are allowed (/smpboot: Allowing)? 1 CPU ___________________________________ What mode is SELinux in (/SELinux)? _permissive mode __________________________________________ What kind of cpu is cpu0 (/smpboot: CPU0)? _ Intel(R) Pentium(R) CPU 6405U @ 2.40GHz _______________________________________ Not all of the information here will be useful to you, so you'll need to filter what you're looking for. e) Press q . 3. Filter the kernel message buffer for more useful messages. a) To display the kernel messages in human readable form for all log entries of log level “warn” enter dmesg -H -l warn Note: use lowercase L for l… not a 1! SHOW A SCREENSHOT 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help