Re: Adaptec RAID 2020SA raid status

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Tue, 28 Mar 2023 20:13:05 UTC
On Tue, Mar 28, 2023 at 10:10 PM mike tancsa wrote:
> for testing, you could try
>
> touch /var/log/fsaapi.txt
> chmod a+w /var/log/fsaapi.txt

No change:

root@octagon:/usr/ports/security/pcsc-tools# touch /var/log/fsaapi.txt
root@octagon:/usr/ports/security/pcsc-tools# chmod a+w /var/log/fsaapi.txt

root@octagon:/usr/ports/security/pcsc-tools# arcconf getconfig 1
Controllers found: 1
Segmentation fault (core dumped)

root@octagon:/usr/ports/security/pcsc-tools# lldb arcconf getconfig 1
(lldb) target create "arcconf"
Current executable set to 'arcconf' (x86_64).
(lldb) settings set -- target.run-args  "getconfig" "1"
(lldb) run
Process 57593 launched: '/usr/local/sbin/arcconf' (x86_64)
Controllers found: 1
Process 57593 stopped
* thread #1, name = 'arcconf', stop reason = signal SIGSEGV: invalid
address (fault address: 0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
(lldb) bt
* thread #1, name = 'arcconf', stop reason = signal SIGSEGV: invalid
address (fault address: 0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x00000000005c6a64
arcconf`ArcPhysicalDeviceAttach::setFsaInfo(FSA_STORAGE_DEVICE_INFO
const*, FSA_SMART_DATA const*) + 3124
    frame #2: 0x00000000005c782d
arcconf`ArcPhysicalDeviceAttach::ArcPhysicalDeviceAttach(Channel*,
PhysicalDevice*, FSA_STORAGE_DEVICE_INFO const*, FSA_SMART_DATA
const*) + 797
    frame #3: 0x00000000005a0c79 arcconf`ArcAdapter::buildChildren(Ret&) + 4457
    frame #4: 0x00000000005d000c
arcconf`ArcSystem::buildChildrenForSingleAdapter(StorLib*, unsigned
long, Ret&, EnumGetSystemConfigType) + 892
    frame #5: 0x00000000004f1d70
arcconf`StorLib::getSystemConfigForSingleAdapter(unsigned long,
EnumGetSystemConfigType) + 112
    frame #6: 0x00000000004072fe arcconf`main + 2190
    frame #7: 0x00000000004094df arcconf`_start + 383



-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info