• 돌아가기
  • 아래로
  • 위로
  • 목록
  • 댓글

RS4021xs+ PSU 에러

Puri Puri 177

1

8

<임시 공지>

질문글 작성시 아래 링크를 참고하시어 작성해주셔야 원활한 답변이 가능합니다.

https://svrforum.com/nas/152290 *질문 전 검색을 생활화해주세요.

 

Dell r720에 Proxmox 설치 후 4021xs+모델을 올려보았는데 서버기기임에도 PSU 경고가 떠서 관련된 코드와 자료부분을 찾아보았습니다.

 

- /var/log/scemd.log 에 문제가 되는 부분이 나와있습니다

 

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: scemd_connector.c:142 scemd connector thread start.

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: manage_services.c:503 sys raid adjust thread 139872253769472 created

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: scemd_status/scemd_set_status.c:23 Scemd is abnormal restart...

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: redundant_power_check.c:359 Initialize the dual power cpld

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: raid_sys_volume_check.c:153 MD0 active disks 1, designed disks 12

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: raid_sys_volume_check.c:153 MD1 active disks 1, designed disks 12

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: system_status.c:274 Hibernation timer:-1 min(s)

2022-08-09T17:26:24+09:00 rs4021_test scemd[13512]: system_status.c:278 Deep sleep timer:-1 min(s)

2022-08-09T17:26:28+09:00 rs4021_test scemd[13512]: led.c:334 Enable power & phy LED

2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: redundant_power_check.c:366 Redundant power 1 fail

2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: sysnotify_send_notification.c:393 SYSNOTIFY: [RedundantPowerStopProvide] was sent to desktop,mobile

2022-08-09T17:26:30+09:00 rs4021_test scemd[13547]: plugin_action.c:319 synoplugin: [13512][POST][notification][synomibclient_event.sh][13547] ExitCode: 0

2022-08-09T17:26:30+09:00 rs4021_test scemd[13547]: plugin_action.c:319 synoplugin: [13512][POST][notification][synomibclient_event.sh][13547] Runtime: 0.047s

2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: plugin_action.c:317 synoplugin: [13512][POST][notification][MAIN] Runtime: 0.051s

2022-08-09T17:26:30+09:00 rs4021_test scemd[13512]: redundant_power_check.c:385 Redundant power 2 fail

2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_update_ds_token.c:52 fgets failed

2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_update_ds_token.c:147 Can't set api key

2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.

2022-08-09T17:26:30+09:00 rs4021_test scemd[13540]: pushservice_utils.c:387 GenerateDsToken Failed

 

 

그래서 저 부분이 뭘까 하고 찾아보니

 

ds.broadwellnk-70.dev/usr/local/include/hwctl/ebox.h 파일 안에

    /**
     * Get the status of redundant power units
     *
     * @param pHandle  [IN] chip handle. Should not be NULL.
     *        pPSUStat [OUT] The bit map of redundant power status,
     *                       bit [n...0] stands for power [(n-1)...1].
     *                       0 is failed, 1 is ok.
     *
     * @return >0: supporting redundants power,
     *             the number of working power units.
     *          0: no redundant power units.
     *         -1: failed
     */
    int (*RedundantPowerStatGet)(struct _tag_EBOX_HANDLE *pHandle, int *pPSUStat);

이런 내용도 있고

 

ds.broadwellnk-70.dev/usr/local/include/synobios/synobios.h 에

typedef enum {
    POWER_STATUS_BAD = 0,
    POWER_STATUS_GOOD,
} SYNO_POWER_STATUS;

.

.

.

typedef struct _tag_POWER_INFO {
    SYNO_POWER_STATUS power_1;
    SYNO_POWER_STATUS power_2;
} POWER_INFO;

 

이런 내용들도 존재하구요.

 

무엇보다 redpill-lkm -> hwmon 부분에 파워관련부분이 미완성인 것 같더라구요

https://github.com/PeterSuh-Q3/redpill-lkm/blob/master/shim/bios/bios_hwmon_shim.c#L298

 

- hwmon 설명

https://github.com/RedPill-TTG/dsm-research/blob/master/quirks/hwmon.md

 

어떤부분이 원인인지는 모르겠지만 전체적으로 관련이 있어보여서 공유해봅니다.

 

신고공유스크랩
8
profile image
Puri 글쓴이 2022.08.09. 21:02
달소

네네 네이티브로 안올리고 Proxmox로 올려서 그런 것 같았지만 코드를 보면 redpill 커널쪽 이슈같습니다.

profile image 2등
화정큐삼 2022.08.12. 13:25

네이티브 / VM 모두 나타나는 현상입니다.

 

듀얼 PSU 를 사용하는 FS2500 도 금일중 릴리즈 하려고 준비하고 있습니다.

ARPL의 fabio님의 도움으로 FS2500 도 릴리즈 가능하게 되었는데요.

이 두 모델이 지적하신대로 redpill-lkm -> hwmon 에 PSU 구분이 구현이 안되어 있는 관계로 파워 경고메시지를 제어하는게 안되는것 같습니다.

fabio님께도 이 내용을 공유드리고 코딩을 해주실수 있는지 모르겠는데요.

일단 번역해서 공유부터 드려보겠습니다.^^

profile image
Puri 글쓴이 2022.08.12. 13:45
화정큐삼

답변 및 번역 공유 감사드립니다!!

저는 정말로 저부분이 문제일지 찾아보기위해

RS3618xs 1PSU 모델 빌드해보려고 준비하고 있습니다

잘 될지는 모르겠지만 추가적으로 공유드릴 사항 있으면 다시 올리겠습니다!

언제나 xpenology 관련해서 작업해주셔서 감사드립니다.

profile image
화정큐삼 2022.08.13. 23:00
Puri

RS3618xs 가 1 PSU 로 파워 경고 없이 사용할 수 있는지가 궁금하신것 같군요.

3일전에 config 까지만 준비하고 중단하셨던데요.

제가 작업 마져 마쳐드리겠습니다.

rp-ext 도 손봐야 하고 custom_config.json 두개, rploader.sh 까지 손볼곳이 좀 많습니다.

마지막으로 이 모델이 포함되도록 platform.h 에 모델 추가하고 redpill.ko 파일 컴파일도 해야 합니다.

커스텀 redpill.ko 파일을 사용하게 하려면 rploader.sh을 손보던지 제 m shell 을 수정도 해야 합니다.

처음해보시면 작업이 만만치 않으실거에요.

일단 이 모델은 제가 완성시키겠습니다.

 

profile image
화정큐삼 2022.08.14. 01:00
화정큐삼

RS3618xs 완성했습니다. Jot / Jun 둘다 한방에 성공했네요.^^

예상하신대로 싱글 PSU 인 경우에 해당되서 파워 경고 메시지가 없습니다.

깃헙에 사용가능하시도록 자동배포는 준비해두겠습니다.

릴리즈 공지는 내일 아침에 해야 겠습니다.

profile image
Puri 글쓴이 2022.08.14. 10:27
화정큐삼

작업 마무리 해주셔서 감사드립니다!

아직 조금 어렵더라구요.

작업하신 내용 기반으로 참고해서 공부해봐야겠네요 :D

댓글 쓰기 권한이 없습니다. 로그인

취소 댓글 등록

cmt alert

신고

"님의 댓글"

이 댓글을 신고하시겠습니까?

댓글 삭제

"님의 댓글"

삭제하시겠습니까?


목록

공유

facebooktwitterpinterestbandkakao story
번호 분류 제목 글쓴이 날짜 조회 추천
공지 정보 DSM 7.2v) Mshell로 헤놀로지 부트로더 빌드하기. 61 달소 23.05.29.01:57 24687 +24
공지 정보 DSM 7.2v) ARPL-i18n(rr)으로 헤놀로지 부트로더 빌드하기. 72 달소 23.05.23.23:58 26234 +23
후기 asustor에서 나온 nas에 dsm 올렸습니다... 4 링츠링링 21시간 전18:45 261 +2
질문 Wireguard 관련해서 질문 드립니다! 2 리준 2일 전12:25 152 +1
가이드 bitwarden 라이센스적용하기. 6 블랙앤해적 3일 전20:01 393 +2
5096 질문
normal
툭툭이 1시간 전14:32 29 0
5095 질문
normal
zip 2시간 전13:40 27 0
5094 질문
normal
jinsol2 5시간 전11:13 213 0
5093 질문
normal
M-M-M 7시간 전09:15 48 0
5092 후기
image
링츠링링 21시간 전18:45 261 +2
5091 질문
normal
nadomola 22시간 전17:30 82 0
5090 질문
normal
Venzamin 1일 전11:40 159 0
5089 잡담
normal
서맹 1일 전09:42 376 0
5088 질문
image
초보나스 1일 전03:44 126 0
5087 질문
image
Noil 1일 전23:22 80 0
5086 질문
image
서브어린이 1일 전20:16 76 0
5085 질문
image
서브어린이 1일 전17:50 107 0
5084 질문
image
리준 2일 전12:25 152 +1
5083 질문
image
인터찹 3일 전16:22 339 0
5082 질문
normal
지나가는_문과생 3일 전16:16 106 0
5081 질문
image
yholics 3일 전12:39 144 0
5080 질문
normal
서브어린이 3일 전09:11 186 0
5079 질문
image
사쿨쨩 3일 전23:14 105 0
5078 가이드
normal
블랙앤해적 3일 전20:01 394 +2
5077 잡담
image
초보나스 4일 전12:21 201 0