Welcome! Log In Create A New Profile

Advanced

Pogoplug v3 PIP and PIP3 segementation fault

Posted by schnee 
Pogoplug v3 PIP and PIP3 segementation fault
June 03, 2021 08:14PM
Hi,

I have the latest kernel running on my Pogoplug V3 box. I tried both pip and pip3, but both generates segfault.
root@scht:~# uname -r
5.4.101-oxnas-tld-1
root@sch:~# cat /etc/debian_version 
9.13
root@sch:~# pip3
Segmentation fault
root@sch:~# python --version
Python 3.5.3

Here is the segmentation fault trace from the logs:
[  373.945011] 8<--- cut here ---
[  373.948761] Unhandled fault: page domain fault (0x81b) at 0xb6f09000
[  373.955781] pgd = 0d85d787
[  373.959165] [b6f09000] *pgd=63ee7831, *pte=61b0355f, *ppte=61b03c7e
[  373.966103] Internal error: : 81b [#2] PREEMPT SMP ARM
[  373.971906] Modules linked in: dwmac_generic
[  373.976857] CPU: 0 PID: 4051 Comm: pip3 Tainted: G      D           5.4.101-oxnas-tld-1 #1.0
[  373.985937] Hardware name: Generic DT based system
[  373.991413] PC is at v6_coherent_kern_range+0x4/0x2c
[  373.997050] LR is at arm_syscall+0x274/0x354
[  374.001989] pc : [<c010e550>]    lr : [<c010647c>]    psr: 80000013
[  374.008913] sp : c6ae5f88  ip : b6f09008  fp : b673a458
[  374.014801] r10: 00000000  r9 : c6ae4000  r8 : c01011e4
[  374.020692] r7 : 000f0002  r6 : b6f0901b  r5 : c6ae4000  r4 : b6f0901b
[  374.027875] r3 : 00000013  r2 : c6e74560  r1 : b6f0901b  r0 : b6f09000
[  374.035061] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  374.042854] Control: 00c5787d  Table: 63cac00a  DAC: 00000051
[  374.049259] Process pip3 (pid: 4051, stack limit = 0xb2ab1d3b)
[  374.055751] Stack: (0xc6ae5f88 to 0xc6ae6000)
[  374.060782] 5f80:                   ffffffff 00000000 bec13654 000000c0 b6f09008 b62af894
[  374.069619] 5fa0: b63a98cc c0101000 b6f09008 b62af894 b6f09008 b6f0901b 00000000 b6f09008
[  374.078453] 5fc0: b6f09008 b62af894 b63a98cc 000f0002 b62af880 b63c8000 b62ab5b8 b673a458
[  374.087288] 5fe0: 00000014 bec136dc b63b4f30 b63b5b24 40000010 b6f09008 00000000 00000000
[  374.096130] [<c010e550>] (v6_coherent_kern_range) from [<c010647c>] (arm_syscall+0x274/0x354)
[  374.105318] [<c010647c>] (arm_syscall) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[  374.113715] Exception stack(0xc6ae5fa8 to 0xc6ae5ff0)
[  374.119434] 5fa0:                   b6f09008 b62af894 b6f09008 b6f0901b 00000000 b6f09008
[  374.128271] 5fc0: b6f09008 b62af894 b63a98cc 000f0002 b62af880 b63c8000 b62ab5b8 b673a458
[  374.137100] 5fe0: 00000014 bec136dc b63b4f30 b63b5b24
[  374.142824] Code: ee070f15 e12fff1e e12fff1e e3c0001f (ee070f3a) 
[  374.149583] ---[ end trace caf5373235870c77 ]---

With previous kernels (last i used was 4.4.176) it worked just fine. Any ideas what can cause this issue with the current kernel?

Thanks

Schnee
Re: Pogoplug v3 PIP and PIP3 segementation fault
June 03, 2021 10:40PM
Hey schnee!

> root@sch:~# cat /etc/debian_version
> 9.13

No idea why. Perhaps upgrading Debian to the latest 10.x will help.

====

Other topic, could you post the link to the post for your Pogo V3 SATA-boot script (I kept losing it when I close browser tabs!). I wanted to add your post to the Wiki thread.

Also, there seems to be some problem running the script with the latest kernel. Some user has reported it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug v3 PIP and PIP3 segementation fault
June 04, 2021 04:50PM
I did some test on another box and it seems to be kernel related. I moved to 5.4.101 and i started the get the segmentation faults. Upgraded to debian 10 and it did not help.

oot@schcamus:~# cat /etc/debian_version 
10.9
root@schcamus:~# pip
Segmentation fault
root@schcamus:~# uname -r
5.4.101-oxnas-tld-1
root@schcamus:~#
Going back to kernel 4.14.198 fixes the issue
root@schcamus:~# uname -r
4.14.198-oxnas-tld-1
root@schcamus:~# pip

Usage:   
  pip <command> [options]

Commands:
  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  check                       Verify installed packages have compatible dependencies.
  config                      Manage local and global configuration.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion.
  debug                       Show information useful for debugging.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
  --log <path>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection should attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
  --trusted-host <hostname>   Mark this host as trusted, even though it does not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.
  --no-color                  Suppress colored output
root@schcamus:~#


PS: i will look for the SATA script, i have it somewhere, but did not use it for some time.

Schnee
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: