사전 컴파일된 ath9k 드라이버를 설치하는 방법은 무엇입니까?

사전 컴파일된 ath9k 드라이버를 설치하는 방법은 무엇입니까?

저는 Ubuntu를 가지고 있으며 ARM 아키텍처용 ath9k 드라이버를 크로스 컴파일했습니다. 문제는 내가 원하는 대로 설치되지 않는다는 것이다. Readme 파일의 내용은 다음과 같습니다.

외부 커널 빌드

아직 설치되지 않은 커널이 있지만 이에 대한 compat-wireless-2.6 드라이버를 빌드하려는 경우 다음 구문을 사용할 수 있습니다.

KLIB=/home/mcgrof/kernels/linux-2.6.23.9로 설정 KLIB_BUILD=/home/mcgrof/kernels/linux->2.6.23.9

커널이 설치되어 있지만 현재 실행 중인 커널이 아닌 경우(예: 배포 업데이트 및 해당 kernel-dev 패키지를 통해) 다음 구문을 사용할 수 있습니다.

KLIB=/lib/modules/2.6.30.6-53.fc11.x86_64로 만듭니다.

그리고 실행되지 않는 커널을 시스템의 루트 경로에 설치합니다.

KLIB=/lib/modules/2.6.30.6-53.fc11.x86_64 KMODPATH_ARG='INSTALL_MOD_PATH='로 설치합니다.

내 빌드 명령은 다음과 같습니다.

make ARCH=arm CROSS_COMPILE=/home/roncsak/building/toolchain-arm-linux-gnueabihf/gcc-lw-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- KLIB=/home/roncsak/building/linux/linux-3.0.35-boundary KLIB_BUILD=/home/roncsak/building/linux/linux-3.0.35-boundary

(성공적으로 빌드되었습니다.)

README에 따르면 다음과 같이 설치해야 합니다.

make ARCH=arm CROSS_COMPILE=/home/roncsak/building/toolchain-arm-linux-gnueabihf/gcc-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- KLIB=/home/roncsak/building/linux/linux-3.0.35-boundary KLIB_BUILD=/home/roncsak/building/linux/linux-3.0.35-boundary KMODPATH_ARG='INSTALL_MOD_PATH=/home/roncsak/building/targetfs/rfs/lib/modules/3.0.35' install

불행히도 내 설치가 작동하지 않습니다. 결과는 다음과 같습니다.

make -C /home/roncsak/building/linux/linux-3.0.35-boundary M=/home/roncsak/building/ath9/compat-wireless-3.1.1-1 modules
make[1]: Entering directory `/home/roncsak/building/linux/linux-3.0.35-boundary'
  Building modules, stage 2.
  MODPOST 9 modules
WARNING: "ewma_init" [/home/roncsak/building/ath9/compat-wireless-3.1.1-1/net/mac80211/mac80211.ko] undefined!
WARNING: "ewma_add" [/home/roncsak/building/ath9/compat-wireless-3.1.1-1/net/mac80211/mac80211.ko] undefined!
make[1]: Leaving directory `/home/roncsak/building/linux/linux-3.0.35-boundary'
make -C /home/roncsak/building/linux/linux-3.0.35-boundary M=/home/roncsak/building/ath9/compat-wireless-3.1.1-1 "INSTALL_MOD_DIR=updates" INSTALL_MOD_PATH=/home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35/ \
        modules_install
make[1]: Entering directory `/home/roncsak/building/linux/linux-3.0.35-boundary'
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/compat/compat.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/ath9k.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/ath9k_common.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/net/mac80211/mac80211.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/net/rfkill/rfkill-regulator.ko
  INSTALL /home/roncsak/building/ath9/compat-wireless-3.1.1-1/net/wireless/cfg80211.ko
  DEPMOD  3.0.35
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_unregister
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_blocked
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_destroy
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_resume_polling
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_pause_polling
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_set_hw_state
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_alloc
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_register
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/wireless/cfg80211.ko needs unknown symbol rfkill_set_sw_state
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/mac80211/mac80211.ko needs unknown symbol ewma_add
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/mac80211/mac80211.ko needs unknown symbol ewma_init
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/rfkill/rfkill-regulator.ko needs unknown symbol rfkill_unregister
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/rfkill/rfkill-regulator.ko needs unknown symbol rfkill_destroy
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/rfkill/rfkill-regulator.ko needs unknown symbol rfkill_alloc
WARNING: /home/roncsak/building/buildDir/targetfs/rfs/lib/modules/3.0.35//lib/modules/3.0.35/updates/net/rfkill/rfkill-regulator.ko needs unknown symbol rfkill_register
make[1]: Leaving directory `/home/roncsak/building/linux/linux-3.0.35-boundary'
mkdir: cannot create directory `/usr/lib/compat-wireless/': Permission denied
make: *** [install-scripts] Error 1

어떻게 해야 하나요?

관련 정보