Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdbg -a probe is throwing Segmentation fault (core dumped) #38

Open
PavamanSubramaniyam opened this issue Jul 3, 2018 · 1 comment
Open

Comments

@PavamanSubramaniyam
Copy link

I have followed the steps mentioned in Cross compiling for BMC (ARM) of the README for Building on a x86 server and then did rsync of the binary to the Witherspoon BMC.

Then executed the ./pdbg -a probe command in the Witherspoon BMC shell.

root@witherspoon:~# pwd
/home/root
root@witherspoon:~# ls
pdbg
root@witherspoon:~# ls -l
total 396
-rwxr-xr-x    1 root     root        403226 Jul  3 05:48 pdbg
root@witherspoon:~# ./pdbg -a probe
p0: POWER FSI2PIB
    POWER9 ADU
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
    POWER9 Chiplet
        c1: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c2: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c3: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c4: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c5: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c6: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c7: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c8: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c10: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c11: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c12: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c13: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c14: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c15: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c16: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c17: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c18: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c19: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c20: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c21: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c22: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
    POWER9 Chiplet
        c23: POWER9 Core
            t0: POWER9 Thread
            t1: POWER9 Thread
            t2: POWER9 Thread
            t3: POWER9 Thread
Segmentation fault (core dumped)
@PavamanSubramaniyam
Copy link
Author

The pdbg version build using the git tree is as follows:

root@witherspoon:~# pdbg --version
pdbg 1.0 (commit 139ba07-dirty)

Then seeing the following core dump messages in the journalctl logs.

root@witherspoon:~# journalctl -f
-- Logs begin at Tue 2018-07-03 04:44:17 UTC. --
Jul 03 06:02:09 witherspoon kernel: ftgmac100 1e660000.ethernet eth0: NCSI: host driver not running on channel 0
Jul 03 06:02:09 witherspoon kernel[1079]: [591976.124775] ftgmac100 1e660000.ethernet eth0: NCSI: host driver not running on channel 0
Jul 03 06:04:05 witherspoon dbus[1040]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Jul 03 06:04:05 witherspoon systemd[1]: Starting Time & Date Service...
Jul 03 06:04:05 witherspoon dbus[1040]: [system] Successfully activated service 'org.freedesktop.timedate1'
Jul 03 06:04:05 witherspoon systemd-timedated[19910]: /etc/localtime should be a symbolic link to a time zone data file in /usr/share/zoneinfo/.
Jul 03 06:04:05 witherspoon systemd[1]: Started Time & Date Service.
Jul 03 06:04:06 witherspoon systemd-timedated[19910]: Changed local time to Tue Jul  3 06:04:06 2018
Jul 03 06:04:06 witherspoon phosphor-timemanager[1328]: BMC system time is changed
Jul 03 06:09:48 witherspoon systemd[1]: Started Process Core Dump (PID 19918/UID 0).
Jul 03 06:09:53 witherspoon systemd-coredump[19919]: Process 19917 (pdbg) of user 0 dumped core.
Jul 03 06:09:58 witherspoon dbus[1040]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jul 03 06:09:58 witherspoon systemd[1]: Starting Hostname Service...
Jul 03 06:09:58 witherspoon dbus[1040]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jul 03 06:09:58 witherspoon systemd[1]: Started Hostname Service.
Jul 03 06:09:59 witherspoon phosphor-dump-manager[1083]: Tue Jul 3 06:09:59 UTC 2018 Report is available in /var/lib/phosphor-debug-collector/dumps/2
Jul 03 06:10:00 witherspoon phosphor-dump-manager[1083]: Tue Jul 3 06:10:00 UTC 2018 Successfully completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant