PowerFlex: 커널 모듈 빌드 오류로 Debian에서 SDC 설치 실패 dirname: 피연산자 누락
Summary: Debian 기반 시스템에 PowerFlex SDC(Storage Data Client)를 설치하는 동안 build_driver.sh 스크립트에 진행 상태가 잘못 표시될 수 있지만 궁극적으로 "dirname: missing operand" 오류와 함께 scini 드라이버를 컴파일하지 못할 수 있습니다.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
- 다음 Dell KB에 설명된 대로 PowerFlex SDC 드라이버의 온디맨드 컴파일을 수행합니다. PowerFlex: PowerFlex SDC 드라이버의 온디맨드 컴파일
- 실행 시 Debian 기반 시스템에서 SDC 설치 실패
build_driver.sh각본. 진행 상황을 암시하는 정보 메시지를 출력하는 스크립트에도 불구하고 실제 빌드 프로세스는 성공하지 못합니다.root@debian-venus:/tmp/build# ./build_driver.sh 12-May-2025 12:03:38 INFO: Started. .... 12-May-2025 12:03:39 INFO: Checking /usr/src/linux-headers-6.1.0-34-amd64/include/generated/utsrelease.h ... 12-May-2025 12:03:39 INFO: Found fitting utsrelease.h in /usr/src/linux-headers-6.1.0-34-amd64 12-May-2025 12:03:39 INFO: Found include /usr/src/linux-headers-6.1.0-34-common/Makefile in /usr/src/linux-headers-6.1.0-34-amd64/Makefile realpath: /usr/src/linux-headers-6.1.0-34-amd64//usr/src/linux-headers-6.1.0-34-common/Makefile: No such file or directory dirname: missing operand Try 'dirname --help' for more information. 12-May-2025 12:03:39 INFO: Kernel source dir is determined as 12-May-2025 12:03:39 WARNING: Didn't find /Kconfig .... make: Entering directory '/usr/src/linux-headers-6.1.0-34-amd64' grep: ./include/linux/net.h: No such file or directory .. make[1]: *** [/usr/src/linux-headers-6.1.0-34-common/scripts/Makefile.build:255: /tmp/build/ini/./linux/api/api_mos.o] Error 1 make: *** [/usr/src/linux-headers-6.1.0-34-common/Makefile:2038: /tmp/build/ini] Error 2 make: Leaving directory '/usr/src/linux-headers-6.1.0-34-amd64' 12-May-2025 12:03:43 INFO: Success.
영향
이 scini 헤더 상관 관계가 누락되어 커널 모듈이 컴파일되지 않아 SDC 설치가 불완전하거나 중단됩니다. 따라서 시스템이 SDC로 작동할 수 없습니다.
Cause
SDC 설치 스크립트(build_driver.sh)는 다음을 사용하여 커널 소스 및 헤더를 자동 감지하려고 시도합니다. realpath 및 dirname하지만 데비안이 분할 디렉토리 구조에서 커널 헤더를 제공하면 실패합니다.
-
/usr/src/linux-headers-version-amd64<>/
-
/usr/src/linux-headers-version-common<>/
Resolution
다음의 build_driver.sh 명시적인 -o 및 -s 플래그를 사용하여 오브젝트 및 소스 디렉토리를 올바르게 설정하기 위한 스크립트:
./build_driver.sh -o /usr/src/linux-headers-<version>-amd64 -s /usr/src/linux-headers-<version>-common
예:
./build_driver.sh -o /usr/src/linux-headers-6.1.0-34-amd64 -s /usr/src/linux-headers-6.1.0-34-common
영향을 받는 버전
PowerFlex SDC 3.x.x
PowerFlex SDC 4.x.x
수정된 버전
PowerFlex SDC 3.6.6
PowerFlex SDC 4.5.5
PowerFlex SDC 5.0
Affected Products
PowerFlex rack, ScaleIOArticle Properties
Article Number: 000351002
Article Type: Solution
Last Modified: 31 Jul 2025
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.