Experiment 3
Experiment 3
Experiment 3
CODE:
ayusha@Ayusha:~$ make
ayusha@Ayusha:~$ cd Desktop/
ayusha@Ayusha:~/Desktop$ make
ayusha@Ayusha:~/Desktop$ dmesg
kernel.dmesg_restrict = 0
ayusha@Ayusha:~/Desktop$ dmesg
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using
'standard' format.
[ 0.007605] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.007615] Built 1 zonelists, mobility grouping on. Total pages: 515824
[ 0.011754] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.011803] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.070036] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.070042] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.207215] smpboot: CPU0: 11th Gen Intel(R) Core(TM) i3-1125G4 @ 2.00GHz (family:
0x6, model: 0x8c, stepping: 0x1)
[ 0.207638] Performance Events: unsupported p6 CPU model 140 no PMU driver, software
events only.
[ 0.210037] #2
[ 0.212511] #3
[ 0.214614] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.214614] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.214614] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.218036] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.234014] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and
report a bug
[ 0.238704] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.238711] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI EDR HPX-
Type3]
[ 0.239216] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended
PCI configuration space under this bridge.
[ 0.242370] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.242372] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.242373] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.242375] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.254418] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-
0x000dffff]
[ 0.345062] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.366650] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.367229] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.367243] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.367283] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.367357] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 0.367372] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.367380] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.378557] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.392375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.404332] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
[ 0.404334] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
[ 0.405369] ehci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 1
[ 0.419709] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.424355] ohci-pci 0000:00:06.0: new USB bus registered, assigned bus number 2
[ 0.486768] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.956526] usb 2-1: new full-speed USB device number 2 using ohci-pci
[ 1.014776] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2017):
242ade75ac4a15e50d50c84b0d45ff3eae707a03'
[ 1.014795] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM 2018):
365188c1d374d6b07c3c8f240f8ef722433d6a8b'
[ 1.014810] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2019):
c0746fd6c5da3ae827864651ad66ae47fe24b3e8'
[ 1.014825] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v1):
a8d54bbb3825cfb94fa13c9f8a594a195c107b8d'
[ 1.014842] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v2):
4cf046892d6fd3c9a5b03f98d845f90851dc6a8c'
[ 1.014858] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v3):
100437bb6de6e469b581e61cd66bce3ef4ed53af'
[ 1.014875] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (Ubuntu Core 2019):
c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9'
[ 1.122354] /init
[ 1.122355] splash
[ 1.122356] HOME=/
[ 1.122357] TERM=linux
[ 1.122357] BOOT_IMAGE=/boot/vmlinuz-5.15.0-60-generic
[ 1.217715] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 1.217792] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled
[ 1.217960] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA
mode
[ 1.225975] ata3: SATA max UDMA/133 abar m8192@0xf0806000 port 0xf0806100 irq 21
[ 1.301707] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021, bcdDevice=
1.00
[ 1.301713] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 1.538439] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.538657] ata3.00: 52428800 sectors, multi 128: LBA48 NCQ (depth 32)
[ 1.538989] scsi 2:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
[ 1.539310] sd 2:0:0:0: [sda] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB)
[ 1.539380] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
[ 2.498132] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null).
Quota mode: none.
[ 3.009296] systemd[1]: Set up automount Arbitrary Executable File Formats File System
Automount Point.
[ 3.032696] systemd[1]: Condition check resulted in File System Check on Root Device
being skipped.
[ 3.061390] systemd[1]: Condition check resulted in VMware vmblock fuse mount being
skipped.
[ 3.088309] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[ 3.173746] vmwgfx 0000:00:02.0: [drm] DMA map mode: Caching DMA mappings.
[ 3.173800] vmwgfx 0000:00:02.0: [drm] Legacy memory limits: VRAM = 16384 kB, FIFO =
2048 kB, surface = 507904 kB
[ 3.173803] vmwgfx 0000:00:02.0: [drm] MOB limits: max mob size = 0 kB, max mob pages
=0
[ 3.173806] vmwgfx 0000:00:02.0: [drm] Capabilities: rect copy, cursor, cursor bypass,
cursor bypass 2, alpha cursor, extended fifo, pitchlock, irq mask, gmr, traces, gmr2, screen
object 2, command buffers,
[ 3.173812] vmwgfx 0000:00:02.0: [drm] Maximum display memory size is 16384 kiB
[ 3.176757] vmwgfx 0000:00:02.0: [drm] Screen Object display unit initialized
[ 3.177025] vmwgfx 0000:00:02.0: [drm] Fifo max 0x00200000 min 0x00001000 cap
0x00000355
[ 3.177143] vmwgfx 0000:00:02.0: [drm] Using command buffers with DMA pool.
[ 3.387363] vboxguest: module verification failed: signature and/or required key missing -
tainting kernel
[ 3.400876] Host supports full mouse state reporting, switching to extended mouse
integration protocol
[ 4.686722] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 5.522374] 00:50:23.527986 main OS Version: #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC
2023
[ 151.961861] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
ayusha@Ayusha:~/Desktop$
OUTPUT:
CONCLUSION:
Thus we have studied Kernel Modules and how to delete and insert modules.