openbmc / phosphor-net-ipmid

Network IPMI server
Apache License 2.0
9 stars 11 forks source link

phosphor-ipmi-net@eth0.service: Main process exited, code=killed, status=11/SEGV #6

Open gkeishin opened 5 years ago

gkeishin commented 5 years ago

@rthomaiy

Jul 26 11:19:09 xx.xx.xx.xx phosphor-user-manager[1268]: User enabled/disabled state updated successfully
Jul 26 11:19:11 xx.xx.xx.xx usermod[3034]: add 'jJEYkQWs' to group 'priv-admin'
Jul 26 11:19:11 xx.xx.xx.xx usermod[3034]: add 'jJEYkQWs' to shadow group 'priv-admin'
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitored file `/etc/passwd` was written to
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitored file `/etc/group` was written to
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitored file `/etc/group` was moved into place, adding watch
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring file `/etc/passwd` (15)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring directory `/etc` (2)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring file `/etc/group` (17)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring directory `/etc` (2)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring file `/etc/passwd` (15)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring directory `/etc` (2)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring file `/etc/group` (17)
Jul 26 11:19:11 xx.xx.xx.xx nscd[1306]: 1306 monitoring directory `/etc` (2)
Jul 26 11:19:11 xx.xx.xx.xx phosphor-user-manager[1268]: User groups / privilege updated successfully
Jul 26 11:19:43 xx.xx.xx.xx systemd[1]: phosphor-ipmi-net@eth0.service: Main process exited, code=killed, status=11/SEGV
Jul 26 11:19:43 xx.xx.xx.xx systemd[1]: phosphor-ipmi-net@eth0.service: Failed with result 'signal'.
Jul 26 11:19:44 xx.xx.xx.xx systemd[1]: phosphor-ipmi-net@eth0.service: Service RestartSec=1s expired, scheduling restart.
Jul 26 11:19:44 xx.xx.xx.xx systemd[1]: phosphor-ipmi-net@eth0.service: Scheduled restart job, restart counter is at 1.
Jul 26 11:19:44 xx.xx.xx.xx systemd[1]: Stopped Network IPMI daemon.
Jul 26 11:19:44 xx.xx.xx.xx systemd[1]: Started Network IPMI daemon.
7:43:31 PM - gkeishin1: rthomaiy123 Kind of weird to see ipmi network service on chrasing out during IPMI create/delete/channels testing stuff from the code
7:43:31 PM - gkeishin1: https://pastebin.com/raw/xKmSqTF6
7:43:31 PM - gkeishin1: see if u can make sense of it there ?
7:45:33 PM - rthomaiy123: is this happening in latest build only or even in older code ? (just trying to get a clue whether anything which went recently caused this) ?
7:59:53 PM - gkeishin1: rthomaiy123: recently i see this.. may be I was not paying attention earlier..
8:03:45 PM - rthomaiy123: @gkeishin1, will do a clean build by pulling latest tip for host & netipmid and do few testing in my system, and get back to you with data. For tracking purpose file an issue, will keep updating it there
rthomaiy commented 5 years ago

tested with latest image repo of phosphor-ipmi-host & phosphor-ipmi-net (tip) and don't find this issues tried creating new user, set password and enabled the user and set access on for channel 1 from RMCP+ without any issues

ipmitool -I lanplus -H -U root -P 0penBmc user set name 2 jJEYkQWs ipmitool -I lanplus -H -U root -P 0penBmc user set password 2 0penBmc1 ipmitool -I lanplus -H -U root -P 0penBmc user enable 2 ipmitool -I lanplus -H -U root -P 0penBmc channel setaccess 1 2 ipmi=on privilege=4 ipmitool -I lanplus -H -U root -P 0penBmc user priv 2 4 ipmitool -I lanplus -H -U jJEYkQWs -P 0penBmc1 raw 6 1 ipmitool -I lanplus -H -U root -P 0penBmc lan set 1 access on

@gkeishin is it possible to access the system remotely for debug else @tomjoseph83 need your help in debugging the same.