当前位置: 首页>数据库>正文

Dmesg output details

1、pci device的相关信息

pci的设备信息,这部分信息非常有用,关键的地方在于可以通过此部分信息查看OS启动过程中是否识别到了相关的pci硬件设备(暂时不涉及驱动),
对于定位是否是硬件故障非常重要。
pci设备信息有几个关键的词语:bus number\device vendor\type/class,均可通过相应的网站进行查询信息。

[    1.187210] pci 0000:06:00.0: [1000:00af] type 00 class 0x010700
[    1.187237] pci 0000:06:00.0: reg 0x10: [mem 0x21ffff00000-0x21fffffffff 64bit pref]
[    1.187256] pci 0000:06:00.0: reg 0x18: [mem 0x21fffe00000-0x21fffefffff 64bit pref]
[    1.187269] pci 0000:06:00.0: reg 0x20: [mem 0xd2d00000-0xd2dfffff]
[    1.187282] pci 0000:06:00.0: reg 0x24: [io  0x4000-0x40ff]
[    1.187296] pci 0000:06:00.0: reg 0x30: [mem 0xd2e00000-0xd2e3ffff pref]
[    1.187345] pci 0000:06:00.0: supports D1 D2

2、内核以及command line的信息

command line在排查一些疑难杂症时,也会起到一定的作用,这部分主要包含了内核的版本、kernel的parameters等。如下:

[    0.000000] Linux version 3.10.0-862.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Wed Mar 21 18:14:51 EDT 2018
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/rhel00-root ro crashkernel=auto noapic rd.lvm.lv=rhel00/root biosdevname=1 rd.lvm.lv=rhel00/swap rhgb quiet

3、BIOS对内存地址段的分配

183fffffff 共这么多B,转换为GB的话就是96GB,这个机器配置了6条16GB的内存。
dmidecode -t memory|grep -iE "size: 16"
Size: 16384 MB
Size: 16384 MB
Size: 16384 MB
Size: 16384 MB
Size: 16384 MB
Size: 16384 MB
当然efi的memory type还需要继续研究,未搞清楚。

[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000a5c03fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000a5c04000-0x00000000a61dffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000a61e0000-0x00000000a6dd5fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000a6dd6000-0x00000000a7e40fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000a7e41000-0x00000000aaf1dfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000aaf1e000-0x00000000afbebfff] usable
[    0.000000] BIOS-e820: [mem 0x00000000afbec000-0x00000000afc1dfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000afc1e000-0x00000000afffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000cfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd000000-0x00000000fe7fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed44fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000183fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] e820: update [mem 0x5f358018-0x5f35f657] usable ==> usable
[    0.000000] e820: update [mem 0x5f34f018-0x5f357057] usable ==> usable
[    0.000000] e820: update [mem 0x5f31f018-0x5f34ec57] usable ==> usable
[    0.000000] e820: update [mem 0x5f2e7018-0x5f31ec57] usable ==> usable
[    0.000000] e820: update [mem 0x5f2af018-0x5f2e6c57] usable ==> usable
[    0.000000] e820: update [mem 0x5f277018-0x5f2aec57] usable ==> usable
[    0.000000] e820: update [mem 0x5f23f018-0x5f276c57] usable ==> usable
[    0.000000] extended physical RAM map:
......
[    0.000000] efi: mem166: type=6, attr=0x800000000000000f, range=[0x00000000a8fd6000-0x00000000aac99000) (28MB)
[    0.000000] efi: mem167: type=5, attr=0x800000000000000f, range=[0x00000000aac99000-0x00000000aaf1e000) (2MB)
[    0.000000] efi: mem168: type=4, attr=0xf, range=[0x00000000aaf1e000-0x00000000ab0a0000) (1MB)
[    0.000000] efi: mem169: type=3, attr=0xf, range=[0x00000000ab0a0000-0x00000000ab0cb000) (0MB)
[    0.000000] efi: mem170: type=4, attr=0xf, range=[0x00000000ab0cb000-0x00000000ab107000) (0MB)
[    0.000000] efi: mem171: type=3, attr=0xf, range=[0x00000000ab107000-0x00000000ab11a000) (0MB)
[    0.000000] efi: mem172: type=4, attr=0xf, range=[0x00000000ab11a000-0x00000000af303000) (65MB)
[    0.000000] efi: mem173: type=3, attr=0xf, range=[0x00000000af303000-0x00000000af30d000) (0MB)
[    0.000000] efi: mem174: type=4, attr=0xf, range=[0x00000000af30d000-0x00000000af563000) (2MB)
[    0.000000] efi: mem175: type=3, attr=0xf, range=[0x00000000af563000-0x00000000af56c000) (0MB)
[    0.000000] efi: mem176: type=4, attr=0xf, range=[0x00000000af56c000-0x00000000afbce000) (6MB)
[    0.000000] efi: mem177: type=3, attr=0xf, range=[0x00000000afbce000-0x00000000afbec000) (0MB)
[    0.000000] efi: mem178: type=6, attr=0x800000000000000f, range=[0x00000000afbec000-0x00000000afc1e000) (0MB)
[    0.000000] efi: mem179: type=3, attr=0xf, range=[0x00000000afc1e000-0x00000000afc42000) (0MB)
[    0.000000] efi: mem180: type=4, attr=0xf, range=[0x00000000afc42000-0x00000000aff42000) (3MB)
[    0.000000] efi: mem181: type=3, attr=0xf, range=[0x00000000aff42000-0x00000000aff62000) (0MB)
[    0.000000] efi: mem182: type=4, attr=0xf, range=[0x00000000aff62000-0x00000000b0000000) (0MB)
[    0.000000] efi: mem183: type=7, attr=0xf, range=[0x0000000100000000-0x0000001840000000) (95232MB)
[    0.000000] efi: mem184: type=0, attr=0x0, range=[0x00000000000a0000-0x0000000000100000) (0MB)
[    0.000000] efi: mem185: type=0, attr=0x0, range=[0x00000000b0000000-0x00000000c0000000) (256MB)
[    0.000000] efi: mem186: type=11, attr=0x8000000000000001, range=[0x00000000c0000000-0x00000000d0000000) (256MB)
[    0.000000] efi: mem187: type=11, attr=0x800000000000100d, range=[0x00000000fd000000-0x00000000fe800000) (24MB)
[    0.000000] efi: mem188: type=11, attr=0x800000000000100d, range=[0x00000000fed20000-0x00000000fed45000) (0MB)
[    0.000000] efi: mem189: type=11, attr=0x800000000000100d, range=[0x00000000ff000000-0x0000000100000000) (16MB)

4、kdump的预留

查看command line可看到大小设置的为自动:
Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/rhel00-root ro crashkernel=auto noapic rd.lvm.lv=rhel00/root biosdevname=1 rd.lvm.lv=rhel00/swap rhgb quiet

[    0.000000] Reserving 166MB of memory at 720MB for crashkernel (System RAM: 97980MB)

5、smp的输出

--smp通常在排查OS下cpu数量时比较关键。
--redhat的一个kb:https://access.redhat.com/solutions/4712931
Issue
The following message appears in the dmesg output:
Raw
[ 0.000000] smpboot: Allowing XXX CPUs, YYY hotplug CPUs
Resolution
XXX means the maximum amount of CPUs that is supported by the platform. This value can be discovered, for example, using MADT ACPI table.
YYY means how many CPUs more can be hotplugged. In case no CPU hotplug is possible, the value might be seen as 0.

--同样smp也是linux的一个kernel参数,nosmp解释如下:
[SMP] Tells an SMP kernel to act as a UP kernel,
and disable the IO APIC. legacy for "maxcpus=0".

--hpe关于此的一些说明:
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00678329
Note: When using the "noapic" boot parameters, an SMP kernel does not use some of the advanced features of the interrupt controller on multi processor machines.
When using the "maxcpus=0" or "nosmp" parameters, an SMP kernel on a SMP server will operate in single processor mode.

[    0.000000] smpboot: Allowing 448 CPUs, 384 hotplug CPUs
[    0.181152] smpboot: CPU0: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz (fam: 06, model: 55, stepping: 04)
[    0.181160] TSC deadline timer enabled
[    0.181210] Performance Events: PEBS fmt3+, 32-deep LBR, Skylake events, full-width counters, Intel PMU driver.
[    0.181237] ... version:                4
[    0.181238] ... bit width:              48
[    0.181238] ... generic registers:      4
[    0.181239] ... value mask:             0000ffffffffffff
[    0.181240] ... max period:             00007fffffffffff
[    0.181241] ... fixed-purpose events:   3
[    0.181241] ... event mask:             000000070000000f
[    0.201371] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.189451] smpboot: Booting Node   0, Processors  #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 OK
[    0.248060] smpboot: Booting Node   1, Processors  #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 OK
[    0.379942] smpboot: Booting Node   0, Processors  #32 #33 #34 #35 #36 #37 #38 #39 #40 #41 #42 #43 #44 #45 #46 #47 OK
[    0.433584] smpboot: Booting Node   1, Processors  #48 #49 #50 #51 #52 #53 #54 #55 #56 #57 #58 #59 #60 #61 #62 #63
[    0.486129] Brought up 64 CPUs
[    0.486131] smpboot: Max logical packages: 14
[    0.486136] smpboot: Total of 64 processors activated (268942.52 BogoMIPS)

6、cpu的时钟

这个应该是CPU的标准时钟频率
[root@localhost ~]# cat /proc/cpuinfo|more
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
stepping : 4
microcode : 0x2006e05
cpu MHz : 2100.000

[    0.000000] tsc: Detected 2100.000 MHz processor

7、SELinux的设置

[    0.002403] Security Framework initialized
[    0.002411] SELinux:  Initializing.
[    0.002548] SELinux:  Starting in permissive mode

8、RTC的时间vs 系统的时间

reboot system boot 3.10.0-862.el7.x Wed Nov 9 16:43 - 16:22 (34+23:38)
[ 0.950082] RTC time: 8:43:12, date: 11/09/22
[ 2.871732] rtc_cmos 00:00: RTC can wake from S4
[ 2.871732] rtc_cmos 00:00: RTC can wake from S4
[ 2.871963] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 2.871963] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 2.871963] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 2.871963] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 2.872013] rtc_cmos 00:00: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 2.920366] rtc_cmos 00:00: setting system clock to 2022-11-09 08:43:14 UTC (1667983394)

[    0.950082] RTC time:  8:43:12, date: 11/09/22

9、NX

? NX/XD is a hardware cpu feature which is provided in almost all the hardware. Some BIOS has advanced option of enabling or disabling it.
? NX stands for No eXecute and XD stands for eXecute Disable. Both are same and is a technology used in processors to prevent execution of certain types of code.
参考tips:https://access.redhat.com/solutions/2936741

[    0.000000] NX (Execute Disable) protection: active

10、vga

--https://docs.kernel.org/gpu/vgaarbiter.html
--一个redhat kb:
https://access.redhat.com/solutions/1370793

[root@localhost ~]# lsmod |grep mgag
mgag200 41138 2
i2c_algo_bit 13413 1 mgag200
drm_kms_helper 176920 1 mgag200
ttm 99555 1 mgag200
drm 397988 5 ttm,drm_kms_helper,mgag200
i2c_core 63151 5 drm,i2c_i801,drm_kms_helper,mgag200,i2c_algo_bit
[root@localhost ~]# dmesg|grep -i command
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/rhel00-root ro crashkernel=auto noapic rd.lvm.lv=rhel00/root biosdevname=1 rd.lvm.lv=rhel00/swap rhgb quiet
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/rhel00-root ro crashkernel=auto noapic rd.lvm.lv=rhel00/root biosdevname=1 rd.lvm.lv=rhel00/swap rhgb quiet

[root@localhost ~]# lspci |grep -i 02:00
02:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 42)

[    1.209416] vgaarb: device added: PCI:0000:02:00.0,decodes=io+mem,owns=none,locks=none
[    1.209460] vgaarb: loaded
[    1.209461] vgaarb: bridge control possible 0000:02:00.0
[    1.777615] fb0: EFI VGA frame buffer device
[    3.426393] fb: conflicting fb hw usage mgag200drmfb vs EFI VGA - removing generic driver

对于efifb,查看如下信息
https://docs.kernel.org/fb/efifb.html

[    1.717015] efifb: probing for efifb
[    1.717036] efifb: framebuffer at 0xd0000000, mapped to 0xffffb14ecdc00000, using 3072k, total 3072k
[    1.717037] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    1.717038] efifb: scrolling: redraw
[    1.717039] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0

11、scsi信息

scsi设备的id解读:

第一列 : SCSI设备id:host, channel,id,lun。
第二列 : 设备类型。
第3,4、5、6,7列 : 设备厂商,型号,版本信息。
最后一列 : 设备主节点名。

下面这个是扫描到的scsi host设备,其中ahci14个,还有一个sas 卡。

[    1.209822] SCSI subsystem initialized
[    1.714149] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    3.409213] scsi host1: ahci
[    3.409336] scsi host2: ahci
[    3.409496] scsi host3: ahci
[    3.409603] scsi host4: ahci
[    3.409737] scsi host5: ahci
[    3.409880] scsi host6: ahci
[    3.426535] scsi host7: ahci
[    3.426727] scsi host8: ahci
[    3.426865] scsi host9: ahci
[    3.427015] scsi host10: ahci
[    3.427184] scsi host11: ahci
[    3.427365] scsi host12: ahci
[    3.427569] scsi host13: ahci
[    3.427765] scsi host14: ahci
[    3.878434] scsi host0: Fusion MPT SAS Host

下面从host0即 sas 卡上扫描到的设备

[    3.892624] scsi 0:0:0:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.892723] scsi 0:0:0:0: SSP: handle(0x0010), sas_addr(0x50000398a8a01dd6), phy(5), device_name(0x50000398a8a01dd4)
[    3.892726] scsi 0:0:0:0: enclosure logical id(0x300605b00d099510), slot(2) 
[    3.892727] scsi 0:0:0:0: enclosure level(0x0000), connector name( C0  )
[    3.892729] scsi 0:0:0:0: serial_number(58U0A1AWFHSF)
[    3.892732] scsi 0:0:0:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.892732] scsi 0:0:0:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.912546] scsi 0:0:1:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.912639] scsi 0:0:1:0: SSP: handle(0x000f), sas_addr(0x50000398a8a010aa), phy(7), device_name(0x50000398a8a010a8)
[    3.912641] scsi 0:0:1:0: enclosure logical id(0x300605b00d099510), slot(3) 
[    3.912643] scsi 0:0:1:0: enclosure level(0x0000), connector name( C0  )
[    3.912645] scsi 0:0:1:0: serial_number(58U0A19PFHSF)
[    3.912647] scsi 0:0:1:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.912647] scsi 0:0:1:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.932587] scsi 0:0:2:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.932677] scsi 0:0:2:0: SSP: handle(0x000d), sas_addr(0x50000398a8a0e242), phy(0), device_name(0x50000398a8a0e240)
[    3.932679] scsi 0:0:2:0: enclosure logical id(0x300605b00d099510), slot(4) 
[    3.932681] scsi 0:0:2:0: enclosure level(0x0000), connector name( C1  )
[    3.932683] scsi 0:0:2:0: serial_number(58U0A1K5FHSF)
[    3.932685] scsi 0:0:2:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.932685] scsi 0:0:2:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.952577] scsi 0:0:3:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.952668] scsi 0:0:3:0: SSP: handle(0x0011), sas_addr(0x50000398a8a01b42), phy(2), device_name(0x50000398a8a01b40)
[    3.952670] scsi 0:0:3:0: enclosure logical id(0x300605b00d099510), slot(5) 
[    3.952671] scsi 0:0:3:0: enclosure level(0x0000), connector name( C1  )
[    3.952673] scsi 0:0:3:0: serial_number(58U0A1ACFHSF)
[    3.952676] scsi 0:0:3:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.952676] scsi 0:0:3:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.972455] scsi 0:0:4:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.972546] scsi 0:0:4:0: SSP: handle(0x0012), sas_addr(0x50000398a8a0205e), phy(4), device_name(0x50000398a8a0205c)
[    3.972548] scsi 0:0:4:0: enclosure logical id(0x300605b00d099510), slot(6) 
[    3.972549] scsi 0:0:4:0: enclosure level(0x0000), connector name( C1  )
[    3.972551] scsi 0:0:4:0: serial_number(58U0A1BKFHSF)
[    3.972553] scsi 0:0:4:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.972553] scsi 0:0:4:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.992363] scsi 0:0:5:0: Direct-Access     LENOVO   AL15SEB060N      TB55 PQ: 0 ANSI: 6
[    3.992453] scsi 0:0:5:0: SSP: handle(0x000e), sas_addr(0x50000398a8a0e276), phy(6), device_name(0x50000398a8a0e274)
[    3.992455] scsi 0:0:5:0: enclosure logical id(0x300605b00d099510), slot(7) 
[    3.992457] scsi 0:0:5:0: enclosure level(0x0000), connector name( C1  )
[    3.992458] scsi 0:0:5:0: serial_number(58U0A1KAFHSF)
[    3.992461] scsi 0:0:5:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    3.992461] scsi 0:0:5:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[    4.012131] scsi 0:0:6:0: Enclosure         BROADCOM VirtualSES       03   PQ: 0 ANSI: 7
[    4.012153] scsi 0:0:6:0: set ignore_delay_remove for handle(0x0009)
[    4.012155] scsi 0:0:6:0: SES: handle(0x0009), sas_addr(0x300705b00d4f9510), phy(8), device_name(0x300705b00d4f9510)
[    4.012157] scsi 0:0:6:0: enclosure logical id(0x300605b00d099510), slot(8) 
[    4.012159] scsi 0:0:6:0: enclosure level(0x0000), connector name( C1  )
[    4.012161] scsi 0:0:6:0: serial_number(300605B00D099510)
[    4.012163] scsi 0:0:6:0: qdepth(1), tagged(0), simple(0), ordered(0), scsi_level(8), cmd_que(0)
[    4.012163] scsi 0:0:6:0: qdepth(1), tagged(0), simple(0), ordered(0), scsi_level(8), cmd_que(0)

然后看另一台机器扫描到的一个M.2上的设备,如下所示:

[root@localhost ~]# dmesg|grep -i "15:0:0:0"     
[    6.277900] scsi 15:0:0:0: Direct-Access     ATA      ThinkSystem M.2  00-0 PQ: 0 ANSI: 5
[    6.303912] sd 15:0:0:0: [sde] 499877120 512-byte logical blocks: (255 GB/238 GiB)
[    6.303949] sd 15:0:0:0: [sde] Write Protect is off
[    6.303952] sd 15:0:0:0: [sde] Mode Sense: 00 3a 00 00
[    6.303978] sd 15:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.305981] sd 15:0:0:0: [sde] Attached SCSI disk
[   14.189492] sd 15:0:0:0: Attached scsi generic sg5 type 0
[    4.078508] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.078676] sd 0:0:5:0: [sdf] Attached SCSI disk
[    4.082465] sd 0:0:1:0: [sdb] Attached SCSI disk
[    4.096874] sd 0:0:3:0: [sdd] Attached SCSI disk
[    4.097148] sd 0:0:4:0: [sde] Attached SCSI disk
[    4.112336] sd 0:0:2:0: [sdc] Attached SCSI disk
[   11.346595] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.346777] sd 0:0:1:0: Attached scsi generic sg1 type 0
[   11.346976] sd 0:0:2:0: Attached scsi generic sg2 type 0
[   11.347168] sd 0:0:3:0: Attached scsi generic sg3 type 0
[   11.347348] sd 0:0:4:0: Attached scsi generic sg4 type 0
[   11.347521] sd 0:0:5:0: Attached scsi generic sg5 type 0
[   11.347739] scsi 0:0:6:0: Attached scsi generic sg6 type 13
[   11.347739] scsi 0:0:6:0: Attached scsi generic sg6 type 13
[   13.710384] Loading iSCSI transport class v2.0
[   13.720173] iscsi: registered transport (iser)

12、intel cpu 的idle驱动

首先查看没有启动idle驱动的系统。

[    1.777620] intel_idle: does not run on family 6 model 85
[    2.872058] cpuidle: using governor menu

[root@localhost ~]# cpupower idle-info
CPUidle driver: none
CPUidle governor: menu
analyzing CPU 0:

CPU 0: No idle states

[root@localhost ~]# lsmod |grep idle
[root@localhost ~]# 

然后查看启动了intel_idle驱动的系统。

[root@localhost  ~]# cpupower idle-info
CPUidle driver: intel_idle
CPUidle governor: menu
analyzing CPU 0:

Number of idle states: 4
Available idle states: POLL C1 C1E C6
POLL:
Flags/Description: CPUIDLE CORE POLL IDLE
Latency: 0
Usage: 24
Duration: 76951
C1:
Flags/Description: MWAIT 0x00
Latency: 2
Usage: 1820
Duration: 5863472
C1E:
Flags/Description: MWAIT 0x01
Latency: 10
Usage: 12396
Duration: 17786652
C6:
Flags/Description: MWAIT 0x20
Latency: 133
Usage: 533186
Duration: 116208497336

[root@localhost ~]# 
[root@sr850-1147-9147 ~]# dmesg|grep idle
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
[    0.130587] process: using mwait in idle threads
[    0.625110] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.631034] cpuidle: using governor menu
[    1.085127] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.800509] intel_idle: MWAIT substates: 0x2020
[    1.800510] intel_idle: v0.4.1 model 0x55
[    1.807083] intel_idle: lapic_timer_reliable_states 0xffffffff
[    2.653578] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x228375ba3e9, max_idle_ns: 440795226324 ns

12、休眠模式

跟休眠模式相关的一条日志。

[    2.912974] PM: Hibernation image not present or could not be loaded.

13、TPM芯片

[    2.918187] IMA: No TPM chip found, activating TPM-bypass! (rc=-19)

14、systemd开始启动

[    3.005796] random: systemd: uninitialized urandom read (16 bytes read)
[    3.008153] random: systemd: uninitialized urandom read (16 bytes read)
[    3.008167] random: systemd: uninitialized urandom read (16 bytes read)
[    3.009601] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    3.009601] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    3.011180] systemd[1]: Detected architecture x86-64.
[    3.011184] systemd[1]: Running in initial RAM disk.
[    3.011208] systemd[1]: Set hostname to <sr570-1102-9102>.
[    3.041744] random: systemd: uninitialized urandom read (16 bytes read)
[    3.041774] random: systemd: uninitialized urandom read (16 bytes read)
[    3.041824] random: systemd: uninitialized urandom read (16 bytes read)
[    3.041914] random: systemd: uninitialized urandom read (16 bytes read)
[    3.042607] random: systemd: uninitialized urandom read (16 bytes read)
[    3.042766] random: systemd: uninitialized urandom read (16 bytes read)
[    3.043115] random: systemd: uninitialized urandom read (16 bytes read)
[    3.047440] systemd[1]: Reached target Swap.
[    3.047451] systemd[1]: Starting Swap.
[    3.047673] systemd[1]: Created slice Root Slice.
[    3.047682] systemd[1]: Starting Root Slice.
[    3.047723] systemd[1]: Listening on udev Control Socket.
[    3.047732] systemd[1]: Starting udev Control Socket.
[    3.047812] systemd[1]: Created slice System Slice.
[    3.047822] systemd[1]: Starting System Slice.
[    3.047848] systemd[1]: Listening on udev Kernel Socket.
[    3.047857] systemd[1]: Starting udev Kernel Socket.
[    3.047911] systemd[1]: Listening on Journal Socket.
[    3.047921] systemd[1]: Starting Journal Socket.
[    3.047932] systemd[1]: Reached target Sockets.
[    3.047941] systemd[1]: Starting Sockets.
[    3.048507] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    3.049080] systemd[1]: Starting Journal Service...
[    3.049097] systemd[1]: Reached target Slices.
[    3.049112] systemd[1]: Starting Slices.
[    3.049549] systemd[1]: Starting Apply Kernel Variables...
[    3.049566] systemd[1]: Reached target Local File Systems.
[    3.049579] systemd[1]: Starting Local File Systems.
[    3.050013] systemd[1]: Starting Setup Virtual Console...
[    3.050585] systemd[1]: Starting dracut cmdline hook...
[    3.050602] systemd[1]: Reached target Timers.
[    3.050614] systemd[1]: Starting Timers.
[    3.052993] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    3.053644] systemd[1]: Starting Create Static Device Nodes in /dev...
[    3.056789] systemd[1]: Started Apply Kernel Variables.
[    3.058792] systemd[1]: Started Create Static Device Nodes in /dev.
[    3.105775] systemd[1]: Started Journal Service.
[    5.509285] systemd-journald[415]: Received SIGTERM from PID 1 (systemd).
[    5.509285] systemd-journald[415]: Received SIGTERM from PID 1 (systemd).
[    6.088781] systemd[1]: Successfully loaded SELinux policy in 169.165ms.
[    6.396214] systemd[1]: Inserted module 'ip_tables'
[    6.427376] systemd[1]: Relabelled /dev and /run in 29.688ms.
[    6.835985] systemd-sysv-generator[1089]: Configuration file /etc/systemd/system/tsbdrvd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    6.835985] systemd-sysv-generator[1089]: Configuration file /etc/systemd/system/tsbdrvd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    8.473991] systemd-journald[1100]: Received request to flush runtime journal from PID 1

15、一些驱动模块即设备的发现

15.1 USB

[    3.123818] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    3.196602] device-mapper: uevent: version 1.0.3
[    3.196696] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    3.288655] usb 1-1: New USB device found, idVendor=2a4b, idProduct=0400
[    3.288659] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.288662] usb 1-1: Product: Emulex Pilot4 HighSpeed HUB
[    3.288665] usb 1-1: Manufacturer: Emulex Communications
[    3.288667] usb 1-1: SerialNumber: 0xBABEFACE
[    3.289370] hub 1-1:1.0: USB hub found
[    3.289548] hub 1-1:1.0: 7 ports detected

15.2 sas 卡

[    3.369440] mpt3sas: loading out-of-tree module taints kernel.
[    3.384299] mpt3sas version 33.00.01.00 loaded
[    3.384555] mpt3sas_cm0: 63 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (98447504 kB)
[    3.461007] mpt3sas_cm0: IOC Number : 0
[    3.461054] mpt3sas 0000:06:00.0: irq 125 for MSI/MSI-X
[    3.461075] mpt3sas 0000:06:00.0: irq 126 for MSI/MSI-X
[    3.461096] mpt3sas 0000:06:00.0: irq 127 for MSI/MSI-X
[    3.461116] mpt3sas 0000:06:00.0: irq 128 for MSI/MSI-X
[    3.461136] mpt3sas 0000:06:00.0: irq 129 for MSI/MSI-X
[    3.461158] mpt3sas 0000:06:00.0: irq 130 for MSI/MSI-X
[    3.461178] mpt3sas 0000:06:00.0: irq 131 for MSI/MSI-X
[    3.461200] mpt3sas 0000:06:00.0: irq 132 for MSI/MSI-X
[    3.461220] mpt3sas 0000:06:00.0: irq 133 for MSI/MSI-X
[    3.461240] mpt3sas 0000:06:00.0: irq 134 for MSI/MSI-X
[    3.461261] mpt3sas 0000:06:00.0: irq 135 for MSI/MSI-X
[    3.461282] mpt3sas 0000:06:00.0: irq 136 for MSI/MSI-X
[    3.461302] mpt3sas 0000:06:00.0: irq 137 for MSI/MSI-X
[    3.461323] mpt3sas 0000:06:00.0: irq 138 for MSI/MSI-X
[    3.461343] mpt3sas 0000:06:00.0: irq 139 for MSI/MSI-X
[    3.461364] mpt3sas 0000:06:00.0: irq 140 for MSI/MSI-X
[    3.461509] mpt3sas0-msix0: PCI-MSI-X enabled: IRQ 125
[    3.461510] mpt3sas0-msix1: PCI-MSI-X enabled: IRQ 126
[    3.461511] mpt3sas0-msix2: PCI-MSI-X enabled: IRQ 127
[    3.461512] mpt3sas0-msix3: PCI-MSI-X enabled: IRQ 128
[    3.461513] mpt3sas0-msix4: PCI-MSI-X enabled: IRQ 129
[    3.461514] mpt3sas0-msix5: PCI-MSI-X enabled: IRQ 130
[    3.461515] mpt3sas0-msix6: PCI-MSI-X enabled: IRQ 131
[    3.461516] mpt3sas0-msix7: PCI-MSI-X enabled: IRQ 132
[    3.461518] mpt3sas0-msix8: PCI-MSI-X enabled: IRQ 133
[    3.461519] mpt3sas0-msix9: PCI-MSI-X enabled: IRQ 134
[    3.461520] mpt3sas0-msix10: PCI-MSI-X enabled: IRQ 135
[    3.461521] mpt3sas0-msix11: PCI-MSI-X enabled: IRQ 136
[    3.461522] mpt3sas0-msix12: PCI-MSI-X enabled: IRQ 137
[    3.461523] mpt3sas0-msix13: PCI-MSI-X enabled: IRQ 138
[    3.461524] mpt3sas0-msix14: PCI-MSI-X enabled: IRQ 139
[    3.461525] mpt3sas0-msix15: PCI-MSI-X enabled: IRQ 140
[    3.461527] mpt3sas_cm0: iomem(0x0000021ffff00000), mapped(0xffffb14ece800000), size(1048576)
[    3.461529] mpt3sas_cm0: ioport(0x0000000000004000), size(256)
[    3.537824] mpt3sas_cm0: IOC Number : 0
[    3.537826] mpt3sas_cm0: sending message unit reset !!
[    3.539821] mpt3sas_cm0: message unit reset: SUCCESS
[    3.573806] mpt3sas_cm0: scatter gather: sge_in_main_msg(0), sge_per_chain(7), sge_per_io(128), chains_per_io(19)
[    3.574262] mpt3sas_cm0: request pool(0xffff8a5fc6a00000) - dma(0xc06a00000): depth(10368), frame_size(128), pool_size(1296 kB)
[    3.815655] mpt3sas_cm0: sense pool(0xffff8a5fbfb00000) - dma(0xbffb00000): depth(10107), element_size(96), pool_size (947 kB)
[    3.816070] mpt3sas_cm0: reply pool(0xffff8a5fbf400000) - dma(0xbff400000): depth(10432), frame_size(128), pool_size(1304 kB)
[    3.817030] mpt3sas_cm0: config page(0xffff8a5fbfaa0000) - dma(0xbffaa0000): size(512)
[    3.817031] mpt3sas_cm0: Allocated physical memory: size(46618 kB)
[    3.817032] mpt3sas_cm0: Current Controller Queue Depth(10104), Max Controller Queue Depth(10240)
[    3.878087] mpt3sas_cm0: FW Package Version(16.07.00.00)
[    3.878322] mpt3sas_cm0: SAS3408: FWVersion(16.00.11.00), ChipRevision(0x01), BiosVersion(09.31.00.00)
[    3.878323] mpt3sas_cm0: Protocol=(Initiator,Target,NVMe), Capabilities=(TLR,EEDP,Diag Trace Buffer,Task Set Full,NCQ)
[    3.878390] mpt3sas 0000:06:00.0: Enabled Extended Tags as Controller Supports
[    3.878404] mpt3sas_cm0: : host protection capabilities enabled  DIF1 DIF2 DIF3
[    3.878712] mpt3sas_cm0: registering trace buffer support
[    3.881702] mpt3sas_cm0: Trace buffer memory 2048 KB allocated
[    3.881704] mpt3sas_cm0: sending port enable !!
[    3.882040] mpt3sas_cm0: hba_port entry: ffff8a5f457f8b40, port: 255 is added to hba_port list
[    3.883346] mpt3sas_cm0: host_add: handle(0x0001), sas_addr(0x500605b00d4f9510), phys(11)
[    3.891993] mpt3sas_cm0: port enable: SUCCESS
[    3.912022]  end_device-0:0: mpt3sas_transport_port_add: added: handle(0x0010), sas_addr(0x50000398a8a01dd6)
[    3.931974]  end_device-0:1: mpt3sas_transport_port_add: added: handle(0x000f), sas_addr(0x50000398a8a010aa)
[    3.951927]  end_device-0:2: mpt3sas_transport_port_add: added: handle(0x000d), sas_addr(0x50000398a8a0e242)
[    3.971879]  end_device-0:3: mpt3sas_transport_port_add: added: handle(0x0011), sas_addr(0x50000398a8a01b42)
[    3.991832]  end_device-0:4: mpt3sas_transport_port_add: added: handle(0x0012), sas_addr(0x50000398a8a0205e)
[    4.011785]  end_device-0:5: mpt3sas_transport_port_add: added: handle(0x000e), sas_addr(0x50000398a8a0e276)
[    4.012183] mpt3sas_cm0: log_info(0x31200206): originator(PL), code(0x20), sub_code(0x0206)
[    4.027693]  end_device-0:6: mpt3sas_transport_port_add: added: handle(0x0009), sas_addr(0x300705b00d4f9510)

15.3 网卡的驱动,这部分显示了网卡的一些微码和驱动信息、网卡功能特性、链路状态等。

[    3.375341] i40e: module verification failed: signature and/or required key missing - tainting kernel
[    3.379043] i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.12.6
[    3.379045] i40e: Copyright(c) 2013 - 2020 Intel Corporation.
[    3.393016] i40e 0000:5a:00.0: fw 5.1.65037 api 1.11 nvm 5.10 0x80002c06 1.2890.0
[    3.393019] i40e 0000:5a:00.0: The driver for the device detected a newer version of the NVM image v1.11 than expected v1.10. Please install the most recent version of the network driver.
[    3.396659] i40e 0000:5a:00.0: MAC address: 08:94:ef:6d:3b:d4
[    3.396903] i40e 0000:5a:00.0: FW LLDP is disabled
[    3.396959] i40e 0000:5a:00.0: DCB is not supported or FW LLDP is disabled
[    3.396961] i40e 0000:5a:00.0: DCB init failed -64, disabled
[    3.430915] i40e 0000:5a:00.0 eth0: NIC Link is Up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None
[    3.482844] i40e 0000:5a:00.0: Added LAN device PF0 bus=0x5a dev=0x00 func=0x00
[    3.510325] i40e 0000:5a:00.0: Features: PF-id[0] VFs: 32 VSIs: 2 QP: 64 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
[    3.523418] i40e 0000:5a:00.1: fw 5.1.65037 api 1.11 nvm 5.10 0x80002c06 1.2890.0
[    3.523420] i40e 0000:5a:00.1: The driver for the device detected a newer version of the NVM image v1.11 than expected v1.10. Please install the most recent version of the network driver.
[    3.526698] i40e 0000:5a:00.1: MAC address: 08:94:ef:6d:3b:d5
[    3.526940] i40e 0000:5a:00.1: FW LLDP is disabled
[    3.526996] i40e 0000:5a:00.1: DCB is not supported or FW LLDP is disabled
[    3.526997] i40e 0000:5a:00.1: DCB init failed -64, disabled
[    3.534154] i40e 0000:5a:00.1: Added LAN device PF1 bus=0x5a dev=0x00 func=0x01
[    3.534831] i40e 0000:5a:00.1: Features: PF-id[1] VFs: 32 VSIs: 2 QP: 64 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
[    3.547961] i40e 0000:5a:00.2: fw 5.1.65037 api 1.11 nvm 5.10 0x80002c06 1.2890.0
[    3.547963] i40e 0000:5a:00.2: The driver for the device detected a newer version of the NVM image v1.11 than expected v1.10. Please install the most recent version of the network driver.
[    3.551242] i40e 0000:5a:00.2: MAC address: 08:94:ef:6d:3b:d6
[    3.551485] i40e 0000:5a:00.2: FW LLDP is disabled
[    3.551540] i40e 0000:5a:00.2: DCB is not supported or FW LLDP is disabled
[    3.551541] i40e 0000:5a:00.2: DCB init failed -64, disabled
[    3.561518] i40e 0000:5a:00.2: Added LAN device PF2 bus=0x5a dev=0x00 func=0x02
[    3.562291] i40e 0000:5a:00.2: Features: PF-id[2] VFs: 32 VSIs: 2 QP: 64 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
[    3.575419] i40e 0000:5a:00.3: fw 5.1.65037 api 1.11 nvm 5.10 0x80002c06 1.2890.0
[    3.575421] i40e 0000:5a:00.3: The driver for the device detected a newer version of the NVM image v1.11 than expected v1.10. Please install the most recent version of the network driver.
[    3.578701] i40e 0000:5a:00.3: MAC address: 08:94:ef:6d:3b:d7
[    3.578944] i40e 0000:5a:00.3: FW LLDP is disabled
[    3.578999] i40e 0000:5a:00.3: DCB is not supported or FW LLDP is disabled
[    3.579000] i40e 0000:5a:00.3: DCB init failed -64, disabled
[    3.587234] i40e 0000:5a:00.3: Added LAN device PF3 bus=0x5a dev=0x00 func=0x03
[    3.588006] i40e 0000:5a:00.3: Features: PF-id[3] VFs: 32 VSIs: 2 QP: 64 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA

15.4 SATA

[    3.396251] ahci 0000:00:11.5: version 3.0
[    3.396460] ahci 0000:00:11.5: irq 24 for MSI/MSI-X
[    3.396504] ahci 0000:00:11.5: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0x3c impl SATA mode
[    3.396504] ahci 0000:00:11.5: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0x3c impl SATA mode
[    3.396506] ahci 0000:00:11.5: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst 
[    3.409213] scsi host1: ahci
[    3.409336] scsi host2: ahci
[    3.409496] scsi host3: ahci
[    3.409603] scsi host4: ahci
[    3.409737] scsi host5: ahci
[    3.409880] scsi host6: ahci
[    3.410216] ahci 0000:00:17.0: irq 124 for MSI/MSI-X
[    3.410278] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0xff impl SATA mode
[    3.410278] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0xff impl SATA mode
[    3.410281] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst 

[root@localhost ~]# lspci |grep 00:11.5
00:11.5 SATA controller: Intel Corporation Lewisburg SSATA Controller [AHCI mode] (rev 09)
[root@localhost ~]# lspci |grep 00:17.0
00:17.0 SATA controller: Intel Corporation Lewisburg SATA Controller [AHCI mode] (rev 09)

15.5 sd 驱动

[    4.039794] sd 0:0:3:0: [sdd] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.039840] sd 0:0:4:0: [sde] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.039870] sd 0:0:5:0: [sdf] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.039997] sd 0:0:1:0: [sdb] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.040080] sd 0:0:0:0: [sda] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.041810] sd 0:0:3:0: [sdd] Write Protect is off
[    4.041812] sd 0:0:3:0: [sdd] Mode Sense: e5 00 10 08
[    4.041849] sd 0:0:4:0: [sde] Write Protect is off
[    4.041852] sd 0:0:4:0: [sde] Mode Sense: e5 00 10 08
[    4.041885] sd 0:0:5:0: [sdf] Write Protect is off
[    4.041887] sd 0:0:5:0: [sdf] Mode Sense: e5 00 10 08
[    4.041990] sd 0:0:1:0: [sdb] Write Protect is off
[    4.041992] sd 0:0:1:0: [sdb] Mode Sense: e5 00 10 08
[    4.042091] sd 0:0:0:0: [sda] Write Protect is off
[    4.042093] sd 0:0:0:0: [sda] Mode Sense: e5 00 10 08
[    4.044932] sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
[    4.044971] sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
[    4.044994] sd 0:0:5:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
[    4.045112] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    4.045214] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    4.046719] sd 0:0:2:0: [sdc] 1172123568 512-byte logical blocks: (600 GB/558 GiB)
[    4.048729] sd 0:0:2:0: [sdc] Write Protect is off
[    4.048731] sd 0:0:2:0: [sdc] Mode Sense: e5 00 10 08
[    4.051851] sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
[    4.078508] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.078676] sd 0:0:5:0: [sdf] Attached SCSI disk
[    4.082465] sd 0:0:1:0: [sdb] Attached SCSI disk
[    4.096874] sd 0:0:3:0: [sdd] Attached SCSI disk
[    4.097148] sd 0:0:4:0: [sde] Attached SCSI disk
[    4.112336] sd 0:0:2:0: [sdc] Attached SCSI disk
[   11.346595] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.346777] sd 0:0:1:0: Attached scsi generic sg1 type 0
[   11.346976] sd 0:0:2:0: Attached scsi generic sg2 type 0
[   11.347168] sd 0:0:3:0: Attached scsi generic sg3 type 0
[   11.347348] sd 0:0:4:0: Attached scsi generic sg4 type 0
[   11.347521] sd 0:0:5:0: Attached scsi generic sg5 type 0
[11472.224482] sd 0:0:5:0: [sdf] Write cache: enabled, read cache: enabled, supports DPO and FUA
[11486.978157] sd 0:0:5:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA

15.6 ipmi的driver

[   11.154385] ipmi message handler version 39.2
[   11.171011] ipmi device interface
[   11.182447] IPMI System Interface driver.
[   11.182662] ipmi_si: probing via SMBIOS
[   11.182664] ipmi_si: SMBIOS: io 0xcc0 regsize 1 spacing 1 irq 0
[   11.182666] ipmi_si: Adding SMBIOS-specified kcs state machine
[   11.182668] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xcc0, slave address 0x20, irq 0
[   13.443820] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x004a66, prod_id: 0x04ab, dev_id: 0x20)
[   13.443820] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x004a66, prod_id: 0x04ab, dev_id: 0x20)
[   13.443931] ipmi_si ipmi_si.0: IPMI kcs interface initialized
[   13.443931] ipmi_si ipmi_si.0: IPMI kcs interface initialized
[   13.443931] ipmi_si ipmi_si.0: IPMI kcs interface initialized
[root@localhost ~]# lsmod |grep ipmi
ipmi_si                57587  0 
ipmi_devintf           17603  0 
ipmi_msghandler        46608  2 ipmi_devintf,ipmi_si

15.7 EDAC模块

[    1.211138] EDAC MC: Ver: 3.0.0
[   12.270143] EDAC MC0: Giving out device to 'skx_edac.c' 'Skylake Socket#0 IMC#0': DEV 0000:2e:0a.0
[   12.270143] EDAC MC0: Giving out device to 'skx_edac.c' 'Skylake Socket#0 IMC#0': DEV 0000:2e:0a.0
[   12.270301] EDAC MC1: Giving out device to 'skx_edac.c' 'Skylake Socket#0 IMC#1': DEV 0000:2e:0c.0
[   12.270301] EDAC MC1: Giving out device to 'skx_edac.c' 'Skylake Socket#0 IMC#1': DEV 0000:2e:0c.0
[   12.270455] EDAC MC2: Giving out device to 'skx_edac.c' 'Skylake Socket#1 IMC#0': DEV 0000:ae:0a.0
[   12.270455] EDAC MC2: Giving out device to 'skx_edac.c' 'Skylake Socket#1 IMC#0': DEV 0000:ae:0a.0
[   12.270718] EDAC MC3: Giving out device to 'skx_edac.c' 'Skylake Socket#1 IMC#1': DEV 0000:ae:0c.0
[   12.270718] EDAC MC3: Giving out device to 'skx_edac.c' 'Skylake Socket#1 IMC#1': DEV 0000:ae:0c.0
[root@localhost ~]# lsmod |grep edac
skx_edac               13270  0


https://www.xamrdz.com/database/6c51994507.html

相关文章: