------- Comment From <email address hidden> 2015-09-03 11:56 EDT-------
Okay, using a custom libchecktur.so built without -fexceptions..
It works fine in the installer environment, for its purposes.
This should be OK as there's no multipathd (which exercises the path checkers more) running in the installer.
I'll formalize/support this in another comment.
~ # ls /lib/powerpc64le-linux-gnu/libgcc_s.so.1
ls: /lib/powerpc64le-linux-gnu/libgcc_s.so.1: No such file or directory
------- Comment From <email address hidden> 2015-09-03 11:56 EDT-------
Okay, using a custom libchecktur.so built without -fexceptions..
It works fine in the installer environment, for its purposes.
This should be OK as there's no multipathd (which exercises the path checkers more) running in the installer.
I'll formalize/support this in another comment.
~ # ls /lib/powerpc64l e-linux- gnu/libgcc_ s.so.1 e-linux- gnu/libgcc_ s.so.1: No such file or directory
ls: /lib/powerpc64l
~ # grep libgcc_s /lib/multipath/ libchecktur. so
~ #
~ # grep libgcc_s /lib/multipath/ libchecktur. so.orig
libgcc_s.so.1
~ #
~ # multipath -v3 libchecktur. so checker HARDDISK_ helloworld 0:0:1:0 sda 8:0 1 undef ready QEMU,QEMU HA HARDDISK_ helloworld 0:0:2:0 sdb 8:16 1 undef ready QEMU,QEMU HA QEMU_HARDDISK_ helloworld) undef QEMU,QEMU HARDDISK
...
<...> | sda: get_state
<...> | loading /lib/multipath/
<...> | sda: path checker = tur (config file default)
...
<...> | sdb: get_state
<...> | sdb: path checker = tur (config file default)
...
===== paths list =====
uuid hcil dev dev_t pri dm_st chk_st vend/prod/re
0QEMU_QEMU_
0QEMU_QEMU_
...
create: mpatha (0QEMU_
size=128G features='0' hwhandler='0' wp=undef
|-+- policy='round-robin 0' prio=1 status=undef
| `- 0:0:1:0 sda 8:0 undef ready running
`-+- policy='round-robin 0' prio=1 status=undef
`- 0:0:2:0 sdb 8:16 undef ready running
<...> | tur checker refcount 2
<...> | const prioritizer refcount 2
<...> | tur checker refcount 1
<...> | const prioritizer refcount 1
<...> | unloading const prioritizer
<...> | unloading tur checker
<...> | unloading directio checker
~ # echo $?
0