我目前運行的是最新的 Ubuntu 版本(使用 3.11 核心)
https://help.ubuntu.com/community/RocketRaid是我使用的,但是在製作文件時出現以下錯誤...
root@michael-server:/tmp/rr62x-linux-src-v1.2/product/rr62x/linux# make
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-15-generic'
CC [M] /tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/os_linux.o
CC [M] /tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.o
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c: In function ‘s csicmd_buf_put’:
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:482:55: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1
kunmap_atomic((char *)buf - sg->offset, HPT_KMAP_TYPE);
^
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:482:2: error: ‘ kunmap_atomic’ undeclared (first use in this function)
kunmap_atomic((char *)buf - sg->offset, HPT_KMAP_TYPE);
^
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:482:2: note: ea ch undeclared identifier is reported only once for each function it appears in
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c: At top level:
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:2111:2: error: unknown field ‘proc_info’ specified in initializer
proc_info: hpt_proc_info26,
^
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:2111:2: warning : initialization from incompatible pointer type [enabled by default]
/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.c:2111:2: warning : (near initialization for ‘driver_template.proc_dir’) [enabled by default]
make[2]: *** [/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build/osm_linux.o] Error 1
make[1]: *** [_module_/tmp/rr62x-linux-src-v1.2/product/rr62x/linux/.build] Erro r 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-15-generic'
make: *** [rr62x.ko] Error 2
root@michael-server:/tmp/rr62x-linux-src-v1.2/product/rr62x/linux# cd /tmp
有人會好心幫我解決這件事嗎?這是否也允許我將 SATA 連接埠用作 SATA 擴展器? (我有一個 fantec (e)-sata 擴展器,因此問題...)
也許有人可以根據需要提供文件? (所以我基本上要做的就是將文件放在正確的資料夾中(我確信它是我可以處理的:))並完成/w它...