[HELP] ipmi-kcs didn't work
xiuzhi
1450335857 at qq.com
Tue Nov 20 14:28:44 AEDT 2018
Hi Jae,
The kcsbridged worked after patching the clk-aspeed.c on AST2500.
But the host OS can't load ipmi_si module successfully.
The dmesg is :
[ 11.159333] ipmi message handler version 39.2
[ 11.165176] ipmi device interface
[ 11.172619] ipmi_si IPI0001:00: ipmi_si: probing via ACPI
[ 11.172671] ipmi_si IPI0001:00: [io 0x0ca2] regsize 1 spacing 1 irq 0
[ 11.172673] ipmi_si: Adding ACPI-specified kcs state machine
[ 11.172711] IPMI System Interface driver.
[ 11.172868] ipmi_si: probing via SMBIOS
[ 11.172870] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0
[ 11.172872] ipmi_si: Adding SMBIOS-specified kcs state machine duplicate interface
[ 11.172875] ipmi_si: probing via SPMI
[ 11.172876] ipmi_si: SPMI: io 0xca2 regsize 1 spacing 1 irq 0
[ 11.172877] ipmi_si: Adding SPMI-specified kcs state machine duplicate interface
[ 11.172879] ipmi_si: Trying ACPI-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0
[ 11.254413] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 11.296418] ipmi_si IPI0001:00: Invalid return from get global enables command: 3 1c 2f c1
[ 11.296428] ipmi_si IPI0001:00: Cannot check clearing the rcv irq: -22
[ 11.309406] ipmi_si: Invalid return from get global enables command, cannot enable the event buffer.
[ 11.316024] ipmi_si IPI0001:00: Error clearing flags: c1
[ 11.332135] input: PC Speaker as /devices/platform/pcspkr/input/input6
[ 11.650285] IPMI message handler: Event queue full, discarding incoming events
[ 12.265576] Adding 4194300k swap on /dev/sda3. Priority:-1 extents:1 across:4194300k FS
[ 12.284487] kvm: Nested Paging enabled
[ 12.322469] XFS (sda2): Mounting V5 Filesystem
[ 12.347240] XFS (sda5): Mounting V5 Filesystem
[ 12.496054] XFS (sda5): Ending clean mount
[ 12.498949] XFS (sda2): Ending clean mount
[ 12.551556] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 131.129339] device-mapper: uevent: version 1.0.3
[ 131.129586] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel at redhat.com
[ 131.680537] type=1305 audit(1456919386.071:4): audit_pid=1874 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[ 138.115462] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 138.398982] Ebtables v2.0 registered
[ 138.570772] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[ 138.669165] IPv6: ADDRCONF(NETDEV_UP): enp33s0f0: link is not ready
[ 138.938272] ixgbe 0000:21:00.0: registered PHC device on enp33s0f0
[ 139.074743] IPv6: ADDRCONF(NETDEV_UP): enp33s0f0: link is not ready
[ 139.080203] IPv6: ADDRCONF(NETDEV_UP): enp33s0f1: link is not ready
[ 139.348674] ixgbe 0000:21:00.1: registered PHC device on enp33s0f1
[ 139.484414] IPv6: ADDRCONF(NETDEV_UP): enp33s0f1: link is not ready
[ 139.512963] IPv6: ADDRCONF(NETDEV_UP): enp33s0f0: link is not ready
[ 139.513933] IPv6: ADDRCONF(NETDEV_UP): enp33s0f1: link is not ready
[ 139.595445] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 139.670876] Netfilter messages via NETLINK v0.30.
[ 139.687523] ip_set: protocol 6
[ 150.808121] tun: Universal TUN/TAP device driver, 1.6
[ 150.808126] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[ 150.810506] virbr0: port 1(virbr0-nic) entered blocking state
[ 150.810513] virbr0: port 1(virbr0-nic) entered disabled state
[ 150.810730] device virbr0-nic entered promiscuous mode
[ 151.204086] virbr0: port 1(virbr0-nic) entered blocking state
[ 151.204093] virbr0: port 1(virbr0-nic) entered listening state
[ 151.204295] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[ 151.265599] virbr0: port 1(virbr0-nic) entered disabled state
[ 172.800320] fuse init (API version 7.22)
[ 242.268425] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 242.268431] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 242.268433] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 242.268438] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 242.268440] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 242.268441] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 242.268443] Call Trace:
[ 242.268457] [<ffffffff816ad539>] schedule+0x29/0x70
[ 242.268482] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 242.268489] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 242.268493] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 242.268499] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 242.268503] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 242.268507] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 242.268511] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 242.268516] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 242.268523] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 242.268529] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 242.268533] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 242.268538] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 330.528610] usb 1-1: USB disconnect, device number 2
[ 330.778557] usb 1-1: new low-speed USB device number 3 using xhci_hcd
[ 330.928526] usb 1-1: New USB device found, idVendor=1c4f, idProduct=0002
[ 330.928528] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 330.928530] usb 1-1: Product: USB Keyboard
[ 330.928531] usb 1-1: Manufacturer: SIGMACHIP
[ 330.945814] input: SIGMACHIP USB Keyboard as /devices/pci0000:00/0000:00:07.1/0000:01:00.3/usb1/1-1/1-1:1.0/input/input7
[ 330.996745] hid-generic 0003:1C4F:0002.0005: input,hidraw0: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-0000:01:00.3-1/input0
[ 331.005744] input: SIGMACHIP USB Keyboard as /devices/pci0000:00/0000:00:07.1/0000:01:00.3/usb1/1-1/1-1:1.1/input/input8
[ 331.056718] hid-generic 0003:1C4F:0002.0006: input,hidraw1: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-0000:01:00.3-1/input1
[ 333.097491] ixgbe 0000:21:00.0 enp33s0f0: NIC Link is Up 1 Gbps, Flow Control: RX/TX
[ 333.097918] IPv6: ADDRCONF(NETDEV_CHANGE): enp33s0f0: link becomes ready
[ 362.257981] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 362.257989] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 362.257991] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 362.257996] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 362.257999] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 362.258000] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 362.258003] Call Trace:
[ 362.258017] [<ffffffff816ad539>] schedule+0x29/0x70
[ 362.258043] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 362.258050] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 362.258054] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 362.258060] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 362.258064] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 362.258068] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 362.258072] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 362.258077] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 362.258084] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 362.258090] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 362.258094] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 362.258098] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 482.247536] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 482.247541] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 482.247543] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 482.247548] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 482.247550] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 482.247551] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 482.247554] Call Trace:
[ 482.247567] [<ffffffff816ad539>] schedule+0x29/0x70
[ 482.247593] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 482.247600] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 482.247603] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 482.247609] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 482.247613] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 482.247617] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 482.247621] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 482.247627] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 482.247633] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 482.247640] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 482.247643] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 482.247648] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 602.237057] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 602.237062] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 602.237064] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 602.237069] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 602.237071] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 602.237072] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 602.237074] Call Trace:
[ 602.237088] [<ffffffff816ad539>] schedule+0x29/0x70
[ 602.237112] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 602.237120] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 602.237124] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 602.237129] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 602.237133] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 602.237137] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 602.237141] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 602.237146] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 602.237153] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 602.237160] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 602.237164] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 602.237169] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 722.226627] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 722.226633] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 722.226635] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 722.226640] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 722.226642] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 722.226644] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 722.226646] Call Trace:
[ 722.226659] [<ffffffff816ad539>] schedule+0x29/0x70
[ 722.226682] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 722.226690] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 722.226693] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 722.226700] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 722.226703] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 722.226708] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 722.226711] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 722.226717] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 722.226724] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 722.226730] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 722.226733] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 722.226738] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 842.216154] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 842.216160] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 842.216162] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 842.216167] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 842.216169] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 842.216170] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 842.216172] Call Trace:
[ 842.216186] [<ffffffff816ad539>] schedule+0x29/0x70
[ 842.216211] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 842.216219] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 842.216224] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 842.216230] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 842.216234] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 842.216238] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 842.216242] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 842.216248] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 842.216254] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 842.216260] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 842.216263] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 842.216269] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 962.205707] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 962.205714] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 962.205716] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 962.205721] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 962.205723] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 962.205724] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 962.205726] Call Trace:
[ 962.205740] [<ffffffff816ad539>] schedule+0x29/0x70
[ 962.205766] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 962.205773] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 962.205777] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 962.205784] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 962.205788] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 962.205792] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 962.205796] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 962.205802] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 962.205808] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 962.205814] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 962.205817] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 962.205822] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 1082.195253] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 1082.195260] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1082.195262] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 1082.195267] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 1082.195269] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 1082.195271] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 1082.195274] Call Trace:
[ 1082.195287] [<ffffffff816ad539>] schedule+0x29/0x70
[ 1082.195312] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 1082.195320] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 1082.195324] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 1082.195329] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 1082.195333] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 1082.195337] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 1082.195341] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 1082.195347] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 1082.195354] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 1082.195361] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 1082.195365] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 1082.195370] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 1202.184791] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 1202.184797] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1202.184799] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 1202.184804] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 1202.184806] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 1202.184807] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 1202.184809] Call Trace:
[ 1202.184822] [<ffffffff816ad539>] schedule+0x29/0x70
[ 1202.184847] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 1202.184854] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 1202.184858] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 1202.184864] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 1202.184868] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 1202.184872] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 1202.184876] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 1202.184882] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 1202.184889] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 1202.184895] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 1202.184899] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 1202.184904] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 1322.174342] INFO: task systemd-udevd:1351 blocked for more than 120 seconds.
[ 1322.174348] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1322.174350] systemd-udevd D ffff88a7ff52c038 0 1351 1306 0x00000004
[ 1322.174355] ffff8887fbb4fb90 0000000000000086 ffff8887fca8af70 ffff8887fbb4ffd8
[ 1322.174357] ffff8887fbb4ffd8 ffff8887fbb4ffd8 ffff8887fca8af70 ffff88a7ff52c000
[ 1322.174358] ffff88a7ff52c038 ffff88a7fef0c000 ffff88a7ff52c000 ffff88a7ff52c038
[ 1322.174360] Call Trace:
[ 1322.174373] [<ffffffff816ad539>] schedule+0x29/0x70
[ 1322.174399] [<ffffffffc039b95d>] get_guid+0x13d/0x180 [ipmi_msghandler]
[ 1322.174406] [<ffffffff810b6130>] ? wake_up_atomic_t+0x30/0x30
[ 1322.174409] [<ffffffffc039bfa9>] ipmi_register_smi+0x429/0x97f [ipmi_msghandler]
[ 1322.174415] [<ffffffffc03b2667>] ? start_kcs_transaction+0x67/0x100 [ipmi_si]
[ 1322.174419] [<ffffffffc03afb38>] try_smi_init+0x568/0x9e0 [ipmi_si]
[ 1322.174424] [<ffffffffc03b1f8e>] init_ipmi_si+0x56e/0xa70 [ipmi_si]
[ 1322.174428] [<ffffffffc03b1a20>] ? cleanup_ipmi_si+0xc0/0xc0 [ipmi_si]
[ 1322.174433] [<ffffffff810020e8>] do_one_initcall+0xb8/0x230
[ 1322.174440] [<ffffffff81104f54>] load_module+0x1f64/0x29e0
[ 1322.174446] [<ffffffff81350620>] ? ddebug_proc_write+0xf0/0xf0
[ 1322.174450] [<ffffffff81105a95>] SyS_init_module+0xc5/0x110
[ 1322.174454] [<ffffffff816b90c9>] system_call_fastpath+0x16/0x1b
[ 1416.459420] ixgbe 0000:21:00.0 enp33s0f0: NIC Link is Down
[ 2659.747664] ixgbe 0000:21:00.1 enp33s0f1: NIC Link is Up 1 Gbps, Flow Control: RX/TX
[ 2659.748077] IPv6: ADDRCONF(NETDEV_CHANGE): enp33s0f1: link becomes ready
Why?
Best,
Xiuzhi
On 11/14/2018 5:49 PM, qianlihu wrote:
> Hi,Jae
>
>>
>> Hi,
>>
>> On 11/14/2018 2:38 AM, qianlihu wrote:
>>> Hi,
>>>
>>> I add ipmi kcs node,but it didn't work
>>>
>>> here is the patch for dts.
>>>
>>> lpc_bmc: lpc-bmc at 0 {
>>> - compatible = "aspeed,ast2500-lpc-bmc";
>>> + compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";
>>> +
>>> reg = <0x0 0x80>;
>>> + reg-io-width = <4>;
>>> +
>>> + #address-cells = <1>;
>>> + #size-cells = <1>;
>>> + ranges = <0x0 0x0 0x80>;
>>> +
>>> + kcs3: kcs3 at 0 {
>>> + compatible = "aspeed,ast2500-kcs-bmc";
>>> + reg = <0x0 0x80>;
>>> + interrupts = <8>;
>>> + kcs_chan = <3>;
>>> + kcs_addr = <0xca2>;
>>
>> Probably, you should add a clock setting for KCS H/W block into here.
>>
>> clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
>>
> I tried ,but it didn't work?
>
>> Cheers,
>>
>> Jae
>>
>>> + status = "disabled";
>>> +
>>> + };
>>> };
>>>
>>> +&kcs3 {
>>> + status = "okay";
>>> +};
>>>
>>>
>>> The device node /dev/ipmi-kcs3 is created.
>>>
>>>
>>> root at sanjose:/tmp# ./kcsbridged --vv --d /dev/ipmi-kcs3
>>> Debug logging
>>> Starting
>>> Registering dbus methods/signals
>>> Requesting dbus name: org.openbmc.HostIpmi
>>> Getting dbus file descriptors
>>> Opening /dev/ipmi-kcs3
>>> Creating timer fd
>>> Entering polling loop
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>> Processed 1 dbus events
>>>
>>> but there is nothing output.
>>>
>
> this is the dmesg info
>
> root at sanjose:~# dmesg |grep kcs
> [ 2.052340] aspeed-kcs-bmc: channel=3 addr=0xca2 idr=0x2c odr=0x38 str=0x44
>
> I also checked the hardtrap:
> 0x1e6e2070[bit25] enabled the lpc mode
>
> I'm sure the IO port is 0xca2.
>
>
> should I config the pin for LPC,I checked the ibt node,it didn't.
>
>
> thank you
>
> --qianlihu
>
Try below fix on
diff --git a/drivers/clk/clk-aspeed.c b/drivers/clk/clk-aspeed.c
index 596136793fc4..b55d35e3eb5e 100644
--- a/drivers/clk/clk-aspeed.c
+++ b/drivers/clk/clk-aspeed.c
@@ -95,7 +95,7 @@ static const struct aspeed_gate_data aspeed_gates[] = {
[ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate",
NULL, CLK_IS_CRITICAL }, /* DAC */
[ASPEED_CLK_GATE_REFCLK] = { 6, -1, "refclk-gate",
"clkin", CLK_IS_CRITICAL },
[ASPEED_CLK_GATE_USBPORT2CLK] = { 7, 3, "usb-port2-gate",
NULL, 0 }, /* USB2.0 Host port 2 */
- [ASPEED_CLK_GATE_LCLK] = { 8, 5, "lclk-gate",
NULL, 0 }, /* LPC */
+ [ASPEED_CLK_GATE_LCLK] = { 8, 5, "lclk-gate",
NULL, CLK_IS_CRITICAL }, /* LPC */
[ASPEED_CLK_GATE_USBUHCICLK] = { 9, 15, "usb-uhci-gate",
NULL, 0 }, /* USB1.1 (requires port 2 enabled) */
[ASPEED_CLK_GATE_D1CLK] = { 10, 13, "d1clk-gate",
NULL, 0 }, /* GFX CRT */
[ASPEED_CLK_GATE_YCLK] = { 13, 4, "yclk-gate",
NULL, 0 }, /* HAC */
In my experiments on my system, LCLK was not enabled due to the null
parent dependency so I added CLK_IS_CRITICAL flag to enable the clk.
LPC interface is default pin pad setting of AST2500 so you might not
need a pinctrl setting on it if you didn't change it's pin pads to GPIO
or eSPI.
Cheers,
Jae
End of openbmc Digest, Vol 39, Issue 53
***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181120/bacbb75c/attachment-0001.html>
More information about the openbmc
mailing list