GerardvW

Zfs_upgrade_to_0.6.5.2_kmod_errors

Oct 6th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 82.18 KB | None | 0 0
  1. [root@romulus zfs]# dkms remove zfs -v 0.6.5.2
  2. Error! Invalid number of parameters passed.
  3. Usage: remove <module>/<module-version> --all
  4.    or: remove <module>/<module-version> -k <kernel-version>
  5. [root@romulus zfs]# dkms remove zfs -v 0.6.5.2 --all
  6.  
  7. -------- Uninstall Beginning --------
  8. Module:  zfs
  9. Version: 0.6.5.2
  10. Kernel:  2.6.32-573.7.1.el6.x86_64 (x86_64)
  11. -------------------------------------
  12.  
  13. Status: Before uninstall, this module version was ACTIVE on this kernel.
  14. Removing any linked weak-modules
  15. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_wait_interruptible
  16. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_timedwait_interruptible
  17. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/splat.ko: No such file or directory
  18. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zpios.ko: No such file or directory
  19. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/spl.ko: No such file or directory
  20. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zavl.ko: No such file or directory
  21. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/splat.ko: No such file or directory
  22. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/zpios.ko: No such file or directory
  23. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/spl.ko: No such file or directory
  24. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/zavl.ko: No such file or directory
  25.  
  26. zavl.ko:
  27.  - Uninstallation
  28.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  29.  - Original module
  30.    - No original module was found for this module on this kernel.
  31.    - Use the dkms install command to reinstall any previous module version.
  32.  
  33.  
  34. znvpair.ko:
  35.  - Uninstallation
  36.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/
  37. rmdir: failed to remove `': No such file or directory
  38. - Original module
  39.   - No original module was found for this module on this kernel.
  40.   - Use the dkms install command to reinstall any previous module version.
  41.  
  42.  
  43. zunicode.ko:
  44. - Uninstallation
  45.   - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/
  46. rmdir: failed to remove `': No such file or directory
  47.  - Original module
  48.    - No original module was found for this module on this kernel.
  49.    - Use the dkms install command to reinstall any previous module version.
  50.  
  51.  
  52. zcommon.ko:
  53.  - Uninstallation
  54.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  55.  - Original module
  56.    - No original module was found for this module on this kernel.
  57.    - Use the dkms install command to reinstall any previous module version.
  58.  
  59.  
  60. zfs.ko:
  61.  - Uninstallation
  62.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  63.  - Original module
  64.    - No original module was found for this module on this kernel.
  65.    - Use the dkms install command to reinstall any previous module version.
  66.  
  67.  
  68. zpios.ko:
  69.  - Uninstallation
  70.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/
  71. rmdir: failed to remove `': No such file or directory
  72. - Original module
  73.   - No original module was found for this module on this kernel.
  74.   - Use the dkms install command to reinstall any previous module version.
  75.  
  76. depmod...
  77.  
  78. DKMS: uninstall completed.
  79.  
  80. ------------------------------
  81. Deleting module version: 0.6.5.2
  82. completely from the DKMS tree.
  83. ------------------------------
  84. Done.
  85. [root@romulus zfs]# dkms remove spl -v 0.6.5.2 --all
  86.  
  87. -------- Uninstall Beginning --------
  88. Module:  spl
  89. Version: 0.6.5.2
  90. Kernel:  2.6.32-573.7.1.el6.x86_64 (x86_64)
  91. -------------------------------------
  92.  
  93. Status: Before uninstall, this module version was ACTIVE on this kernel.
  94. Removing any linked weak-modules
  95. WARNING: Can't read module /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zavl.ko: No such file or directory
  96. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_add
  97. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_walk
  98. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_find
  99. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_first
  100. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy_nodes
  101. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_create
  102. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert
  103. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_wait_interruptible
  104. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_numnodes
  105. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy
  106. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_remove
  107. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert_here
  108. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_last
  109. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_nearest
  110. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_timedwait_interruptible
  111. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/splat.ko: No such file or directory
  112. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zpios.ko: No such file or directory
  113. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/spl.ko: No such file or directory
  114. WARNING: Can't read module /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zavl.ko: No such file or directory
  115. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_add
  116. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_walk
  117. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_find
  118. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_first
  119. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy_nodes
  120. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_create
  121. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert
  122. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_wait_interruptible
  123. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_numnodes
  124. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy
  125. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_remove
  126. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert_here
  127. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_last
  128. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_nearest
  129. WARNING: /lib/modules/2.6.32-573.7.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_timedwait_interruptible
  130. grep: /lib/modules/2.6.32-573.3.1.el6.x86_64//weak-updates/zavl.ko: No such file or directory
  131. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/splat.ko: No such file or directory
  132. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/zpios.ko: No such file or directory
  133. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/spl.ko: No such file or directory
  134. grep: /lib/modules/2.6.32-573.7.1.el6.x86_64//weak-updates/zavl.ko: No such file or directory
  135.  
  136. spl.ko:
  137.  - Uninstallation
  138.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  139.  - Original module
  140.    - No original module was found for this module on this kernel.
  141.    - Use the dkms install command to reinstall any previous module version.
  142.  
  143.  
  144. splat.ko:
  145.  - Uninstallation
  146.    - Deleting from: /lib/modules/2.6.32-573.7.1.el6.x86_64/
  147. rmdir: failed to remove `': No such file or directory
  148. - Original module
  149.   - No original module was found for this module on this kernel.
  150.   - Use the dkms install command to reinstall any previous module version.
  151.  
  152. depmod...
  153.  
  154. DKMS: uninstall completed.
  155.  
  156. ------------------------------
  157. Deleting module version: 0.6.5.2
  158. completely from the DKMS tree.
  159. ------------------------------
  160. Done.
  161. [root@romulus zfs]# yum remove zfs
  162. Failed to set locale, defaulting to C
  163. Loaded plugins: fastestmirror
  164. Setting up Remove Process
  165. Resolving Dependencies
  166. --> Running transaction check
  167. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be erased
  168. --> Finished Dependency Resolution
  169.  
  170. Dependencies Resolved
  171.  
  172. ===============================================================================================================
  173. Package               Arch                     Version                           Repository              Size
  174. ===============================================================================================================
  175. Removing:
  176. zfs                   x86_64                   0.6.5.2-1.el6                     @zfs                   807 k
  177.  
  178. Transaction Summary
  179. ===============================================================================================================
  180. Remove        1 Package(s)
  181.  
  182. Installed size: 807 k
  183. Is this ok [y/N]: y
  184. Downloading Packages:
  185. Running rpm_check_debug
  186. Running Transaction Test
  187. Transaction Test Succeeded
  188. Running Transaction
  189.  Erasing    : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  190.  Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  191.  
  192. Removed:
  193.  zfs.x86_64 0:0.6.5.2-1.el6                                                                                  
  194.  
  195. Complete!
  196. [root@romulus zfs]# yum remove spl
  197. Failed to set locale, defaulting to C
  198. Loaded plugins: fastestmirror
  199. Setting up Remove Process
  200. Resolving Dependencies
  201. --> Running transaction check
  202. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be erased
  203. --> Finished Dependency Resolution
  204.  
  205. Dependencies Resolved
  206.  
  207. ===============================================================================================================
  208. Package               Arch                     Version                           Repository              Size
  209. ===============================================================================================================
  210. Removing:
  211. spl                   x86_64                   0.6.5.2-1.el6                     @zfs                    44 k
  212.  
  213. Transaction Summary
  214. ===============================================================================================================
  215. Remove        1 Package(s)
  216.  
  217. Installed size: 44 k
  218. Is this ok [y/N]: y
  219. Downloading Packages:
  220. Running rpm_check_debug
  221. Running Transaction Test
  222. Transaction Test Succeeded
  223. Running Transaction
  224.  Erasing    : spl-0.6.5.2-1.el6.x86_64                                                                    1/1
  225.  Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/1
  226.  
  227. Removed:
  228.  spl.x86_64 0:0.6.5.2-1.el6                                                                                  
  229.  
  230. Complete!
  231. [root@romulus zfs]# find /lib/modules/$(uname -r)/extra -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f
  232. [root@romulus zfs]# find /lib/modules/$(uname -r)/weak-updates/ -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f
  233. [root@romulus zfs]#
  234. [root@romulus zfs]# dkms remove --all zfs/0.6.5.2
  235. Error! There are no instances of module: zfs
  236. 0.6.5.2 located in the DKMS tree.
  237. [root@romulus zfs]# dkms remove --all spl/0.6.5.2
  238. Error! There are no instances of module: spl
  239. 0.6.5.2 located in the DKMS tree.
  240. [root@romulus zfs]# cd /
  241. [root@romulus /]# yum install zfs
  242. Failed to set locale, defaulting to C
  243. Loaded plugins: fastestmirror
  244. Setting up Install Process
  245. Loading mirror speeds from cached hostfile
  246. * base: ftp.nluug.nl
  247. * elrepo: ftp.nluug.nl
  248. * epel: ftp.nluug.nl
  249. * extras: ftp.nluug.nl
  250. * updates: ftp.nluug.nl
  251. Resolving Dependencies
  252. --> Running transaction check
  253. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be installed
  254. --> Processing Dependency: spl = 0.6.5.2 for package: zfs-0.6.5.2-1.el6.x86_64
  255. --> Running transaction check
  256. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be installed
  257. --> Finished Dependency Resolution
  258.  
  259. Dependencies Resolved
  260.  
  261. ===============================================================================================================
  262. Package               Arch                     Version                            Repository             Size
  263. ===============================================================================================================
  264. Installing:
  265. zfs                   x86_64                   0.6.5.2-1.el6                      zfs                   323 k
  266. Installing for dependencies:
  267. spl                   x86_64                   0.6.5.2-1.el6                      zfs                    25 k
  268.  
  269. Transaction Summary
  270. ===============================================================================================================
  271. Install       2 Package(s)
  272.  
  273. Total download size: 348 k
  274. Installed size: 852 k
  275. Is this ok [y/N]: y
  276. Downloading Packages:
  277. (1/2): spl-0.6.5.2-1.el6.x86_64.rpm                                                     |  25 kB     00:00    
  278. (2/2): zfs-0.6.5.2-1.el6.x86_64.rpm                                                     | 323 kB     00:00    
  279. ---------------------------------------------------------------------------------------------------------------
  280. Total                                                                          276 kB/s | 348 kB     00:01    
  281. Running rpm_check_debug
  282. Running Transaction Test
  283. Transaction Test Succeeded
  284. Running Transaction
  285.  Installing : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  286.  Installing : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  287.  Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  288.  Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  289.  
  290. Installed:
  291.  zfs.x86_64 0:0.6.5.2-1.el6                                                                                  
  292.  
  293. Dependency Installed:
  294.  spl.x86_64 0:0.6.5.2-1.el6                                                                                  
  295.  
  296. Complete!
  297. [root@romulus /]# zpool status
  298. The ZFS modules are not loaded.
  299. Try running '/sbin/modprobe zfs' as root to load them.
  300. [root@romulus /]# dkms
  301. Usage: /usr/sbin/dkms [action] [options]
  302.  [action]  = { add | remove | build | install | uninstall | match | autoinstall
  303.               | mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp | mkdeb | status }
  304.  [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
  305.              [-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
  306.              [--templatekernel=kernel] [--directive='cli-directive=cli-value']
  307.              [--config=kernel-.config-location] [--archive=tarball-location]
  308.              [--kernelsourcedir=source-location] [--no-prepare-kernel] [--no-initrd]
  309.              [--binaries-only] [--source-only] [-r release (SuSE)] [--verbose]
  310.              [--size] [--spec=specfile] [--media=floppy|iso|tar] [--legacy-postinst=0|1]
  311.              [--no-depmod]
  312. Error! No action was specified.
  313. [root@romulus /]# dkms status
  314. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  315. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  316. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  317. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  318. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  319. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  320. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  321. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  322. [root@romulus /]# dkms add -m spl -v 0.6.5.2
  323.  
  324. Creating symlink /var/lib/dkms/spl/0.6.5.2/source ->
  325.                 /usr/src/spl-0.6.5.2
  326.  
  327. DKMS: add completed.
  328. [root@romulus /]# dkms add -m zfs -v 0.6.5.2
  329.  
  330. Creating symlink /var/lib/dkms/zfs/0.6.5.2/source ->
  331.                 /usr/src/zfs-0.6.5.2
  332.  
  333. DKMS: add completed.
  334. [root@romulus /]# dkms install --force -m spl -v 0.6.5.2
  335.  
  336. Kernel preparation unnecessary for this kernel.  Skipping...
  337.  
  338. Running the pre_build script:
  339. checking for gawk... gawk
  340. checking metadata... META file
  341. checking build system type... x86_64-unknown-linux-gnu
  342. checking host system type... x86_64-unknown-linux-gnu
  343. checking target system type... x86_64-unknown-linux-gnu
  344. checking whether to enable maintainer-specific portions of Makefiles... no
  345. checking for a BSD-compatible install... /usr/bin/install -c
  346. checking whether build environment is sane... yes
  347. checking for a thread-safe mkdir -p... /bin/mkdir -p
  348. checking whether make sets $(MAKE)... yes
  349. checking for a BSD-compatible install... /usr/bin/install -c
  350. checking for gcc... gcc
  351. checking for C compiler default output file name... a.out
  352. checking whether the C compiler works... yes
  353. checking whether we are cross compiling... no
  354. checking for suffix of executables...
  355. checking for suffix of object files... o
  356. checking whether we are using the GNU C compiler... yes
  357. checking whether gcc accepts -g... yes
  358. checking for gcc option to accept ISO C89... none needed
  359. checking for style of include used by make... GNU
  360. checking dependency style of gcc... gcc3
  361. checking for a sed that does not truncate output... /bin/sed
  362. checking for grep that handles long lines and -e... /bin/grep
  363. checking for egrep... /bin/grep -E
  364. checking for fgrep... /bin/grep -F
  365. checking for ld used by gcc... /usr/bin/ld
  366. checking if the linker (/usr/bin/ld) is GNU ld... yes
  367. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  368. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  369. checking whether ln -s works... yes
  370. checking the maximum length of command line arguments... 1966080
  371. checking whether the shell understands some XSI constructs... yes
  372. checking whether the shell understands "+="... yes
  373. checking for /usr/bin/ld option to reload object files... -r
  374. checking for objdump... objdump
  375. checking how to recognize dependent libraries... pass_all
  376. checking for ar... ar
  377. checking for strip... strip
  378. checking for ranlib... ranlib
  379. checking command to parse /usr/bin/nm -B output from gcc object... ok
  380. checking how to run the C preprocessor... gcc -E
  381. checking for ANSI C header files... yes
  382. checking for sys/types.h... yes
  383. checking for sys/stat.h... yes
  384. checking for stdlib.h... yes
  385. checking for string.h... yes
  386. checking for memory.h... yes
  387. checking for strings.h... yes
  388. checking for inttypes.h... yes
  389. checking for stdint.h... yes
  390. checking for unistd.h... yes
  391. checking for dlfcn.h... yes
  392. checking for objdir... .libs
  393. checking if gcc supports -fno-rtti -fno-exceptions... no
  394. checking for gcc option to produce PIC... -fPIC -DPIC
  395. checking if gcc PIC flag -fPIC -DPIC works... yes
  396. checking if gcc static flag -static works... no
  397. checking if gcc supports -c -o file.o... yes
  398. checking if gcc supports -c -o file.o... (cached) yes
  399. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  400. checking whether -lc should be explicitly linked in... no
  401. checking dynamic linker characteristics... GNU/Linux ld.so
  402. checking how to hardcode library paths into programs... immediate
  403. checking whether stripping libraries is possible... yes
  404. checking if libtool supports shared libraries... yes
  405. checking whether to build shared libraries... yes
  406. checking whether to build static libraries... yes
  407. checking spl author... OpenZFS on Linux
  408. checking spl license... GPL
  409. checking linux distribution... redhat
  410. checking default package type... rpm
  411. checking whether rpm is available... yes (4.8.0)
  412. checking whether rpmbuild is available... yes (4.8.0)
  413. checking whether spec files are available... yes (rpm/generic/*.spec.in)
  414. checking whether dpkg is available... no
  415. checking whether dpkg-buildpackage is available... no
  416. checking whether alien is available... no
  417. checking spl config... kernel
  418. checking kernel source directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  419. checking kernel build directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  420. checking kernel source version... 2.6.32-573.7.1.el6.x86_64
  421. checking kernel file name for module symbols... Module.symvers
  422. checking whether debugging is enabled... no
  423. checking whether basic kmem accounting is enabled... no
  424. checking whether detailed kmem tracking is enabled... no
  425. checking whether modules can be built... yes
  426. checking whether atomic types use spinlocks... no
  427. checking whether kernel defines atomic64_t... yes
  428. checking whether old 2-argument shrinker exists... no
  429. checking whether old 3-argument shrinker exists... yes
  430. checking whether struct ctl_table has ctl_name... yes
  431. checking whether PDE_DATA() is available... no
  432. checking whether set_fs_pwd() requires const struct path *... no
  433. checking whether vfs_unlink() wants 2 args... yes
  434. checking whether vfs_rename() wants 4 args... yes
  435. checking whether vfs_fsync() wants 2 args... no
  436. checking whether truncate_range() inode operation is available... yes
  437. checking whether struct fs_struct uses spinlock_t... no
  438. checking whether kuid_t/kgid_t is available... no
  439. checking whether __put_task_struct() is available... yes
  440. checking whether fops->fallocate() exists... no
  441. checking whether iops->fallocate() exists... yes
  442. checking whether fops->fallocate() exists... no
  443. checking whether CONFIG_ZLIB_INFLATE is defined... yes
  444. checking whether CONFIG_ZLIB_DEFLATE is defined... yes
  445. checking whether zlib_deflate_workspacesize() wants 2 args... no
  446. checking whether struct shrink_control exists... no
  447. checking whether struct rw_semaphore member wait_lock is raw... no
  448. checking whether header linux/sched/rt.h exists... no
  449. checking whether vfs_getattr() wants... 3 args
  450. checking whether usleep_range() is available... yes
  451. checking whether struct kmem_cache has allocflags... no
  452. checking whether struct kmem_cache has gfpflags... yes
  453. checking whether wait_on_bit() takes an action... yes
  454. configure: creating ./config.status
  455. config.status: creating Makefile
  456. config.status: creating man/Makefile
  457. config.status: creating man/man1/Makefile
  458. config.status: creating man/man5/Makefile
  459. config.status: creating lib/Makefile
  460. config.status: creating cmd/Makefile
  461. config.status: creating module/Makefile
  462. config.status: creating module/spl/Makefile
  463. config.status: creating module/splat/Makefile
  464. config.status: creating include/Makefile
  465. config.status: creating include/fs/Makefile
  466. config.status: creating include/linux/Makefile
  467. config.status: creating include/rpc/Makefile
  468. config.status: creating include/sharefs/Makefile
  469. config.status: creating include/sys/Makefile
  470. config.status: creating include/sys/fm/Makefile
  471. config.status: creating include/sys/fs/Makefile
  472. config.status: creating include/sys/sysevent/Makefile
  473. config.status: creating include/util/Makefile
  474. config.status: creating include/vm/Makefile
  475. config.status: creating scripts/Makefile
  476. config.status: creating rpm/Makefile
  477. config.status: creating rpm/redhat/Makefile
  478. config.status: creating rpm/redhat/spl.spec
  479. config.status: creating rpm/redhat/spl-kmod.spec
  480. config.status: creating rpm/redhat/spl-dkms.spec
  481. config.status: creating rpm/generic/Makefile
  482. config.status: creating rpm/generic/spl.spec
  483. config.status: creating rpm/generic/spl-kmod.spec
  484. config.status: creating rpm/generic/spl-dkms.spec
  485. config.status: creating spl.release
  486. config.status: creating spl_config.h
  487. config.status: executing depfiles commands
  488. config.status: executing libtool commands
  489.  
  490. Building module:
  491. cleaning build area...
  492. make KERNELRELEASE=2.6.32-573.7.1.el6.x86_64........
  493.  
  494. Running the post_build script:
  495. cleaning build area...
  496.  
  497. DKMS: build completed.
  498.  
  499. spl.ko:
  500. Running module version sanity check.
  501. - Original module
  502.   - No original module exists within this kernel
  503. - Installation
  504.   - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  505.  
  506. splat.ko:
  507. Running module version sanity check.
  508. - Original module
  509.   - No original module exists within this kernel
  510. - Installation
  511.   - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  512. Adding any weak-modules
  513. WARNING: Can't read module /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zavl.ko: No such file or directory
  514. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_add
  515. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_walk
  516. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_find
  517. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_first
  518. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy_nodes
  519. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_create
  520. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert
  521. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_wait_interruptible
  522. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_numnodes
  523. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_destroy
  524. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_remove
  525. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_insert_here
  526. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_last
  527. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol avl_nearest
  528. WARNING: /lib/modules/2.6.32-573.3.1.el6.x86_64/weak-updates/zfs.ko needs unknown symbol __cv_timedwait_interruptible
  529. grep: /lib/modules/2.6.32-573.3.1.el6.x86_64//weak-updates/zavl.ko: No such file or directory
  530.  
  531. depmod...
  532.  
  533. DKMS: install completed.
  534. [root@romulus /]# dkms install --force -m zfs -v 0.6.5.2
  535.  
  536. Kernel preparation unnecessary for this kernel.  Skipping...
  537.  
  538. Running the pre_build script:
  539. checking for gawk... gawk
  540. checking metadata... META file
  541. checking build system type... x86_64-unknown-linux-gnu
  542. checking host system type... x86_64-unknown-linux-gnu
  543. checking target system type... x86_64-unknown-linux-gnu
  544. checking whether to enable maintainer-specific portions of Makefiles... no
  545. checking for a BSD-compatible install... /usr/bin/install -c
  546. checking whether build environment is sane... yes
  547. checking for a thread-safe mkdir -p... /bin/mkdir -p
  548. checking whether make sets $(MAKE)... yes
  549. checking for a BSD-compatible install... /usr/bin/install -c
  550. checking for gcc... gcc
  551. checking for C compiler default output file name... a.out
  552. checking whether the C compiler works... yes
  553. checking whether we are cross compiling... no
  554. checking for suffix of executables...
  555. checking for suffix of object files... o
  556. checking whether we are using the GNU C compiler... yes
  557. checking whether gcc accepts -g... yes
  558. checking for gcc option to accept ISO C89... none needed
  559. checking for style of include used by make... GNU
  560. checking dependency style of gcc... gcc3
  561. checking for a sed that does not truncate output... /bin/sed
  562. checking for grep that handles long lines and -e... /bin/grep
  563. checking for egrep... /bin/grep -E
  564. checking for fgrep... /bin/grep -F
  565. checking for ld used by gcc... /usr/bin/ld
  566. checking if the linker (/usr/bin/ld) is GNU ld... yes
  567. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  568. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  569. checking whether ln -s works... yes
  570. checking the maximum length of command line arguments... 1966080
  571. checking whether the shell understands some XSI constructs... yes
  572. checking whether the shell understands "+="... yes
  573. checking for /usr/bin/ld option to reload object files... -r
  574. checking for objdump... objdump
  575. checking how to recognize dependent libraries... pass_all
  576. checking for ar... ar
  577. checking for strip... strip
  578. checking for ranlib... ranlib
  579. checking command to parse /usr/bin/nm -B output from gcc object... ok
  580. checking how to run the C preprocessor... gcc -E
  581. checking for ANSI C header files... yes
  582. checking for sys/types.h... yes
  583. checking for sys/stat.h... yes
  584. checking for stdlib.h... yes
  585. checking for string.h... yes
  586. checking for memory.h... yes
  587. checking for strings.h... yes
  588. checking for inttypes.h... yes
  589. checking for stdint.h... yes
  590. checking for unistd.h... yes
  591. checking for dlfcn.h... yes
  592. checking for objdir... .libs
  593. checking if gcc supports -fno-rtti -fno-exceptions... no
  594. checking for gcc option to produce PIC... -fPIC -DPIC
  595. checking if gcc PIC flag -fPIC -DPIC works... yes
  596. checking if gcc static flag -static works... no
  597. checking if gcc supports -c -o file.o... yes
  598. checking if gcc supports -c -o file.o... (cached) yes
  599. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  600. checking whether -lc should be explicitly linked in... no
  601. checking dynamic linker characteristics... GNU/Linux ld.so
  602. checking how to hardcode library paths into programs... immediate
  603. checking whether stripping libraries is possible... yes
  604. checking if libtool supports shared libraries... yes
  605. checking whether to build shared libraries... yes
  606. checking whether to build static libraries... yes
  607. checking dependency style of gcc... gcc3
  608. checking zfs author... OpenZFS on Linux
  609. checking zfs license... CDDL
  610. checking linux distribution... redhat
  611. checking default package type... rpm
  612. checking default init directory... ${prefix}/etc/init.d
  613. checking default init script type... redhat
  614. checking default init config direectory... /etc/sysconfig
  615. checking whether initramfs-tools is available... no
  616. checking whether rpm is available... yes (4.8.0)
  617. checking whether rpmbuild is available... yes (4.8.0)
  618. checking whether spec files are available... yes (rpm/generic/*.spec.in)
  619. checking whether dpkg is available... no
  620. checking whether dpkg-buildpackage is available... no
  621. checking whether alien is available... no
  622. checking zfs config... kernel
  623. checking for -Wno-unused-but-set-variable support... yes
  624. checking for -Wno-bool-compare support... no
  625. checking kernel source directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  626. checking kernel build directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  627. checking kernel source version... 2.6.32-573.7.1.el6.x86_64
  628. checking kernel file name for module symbols... Module.symvers
  629. checking spl source directory... /usr/src/spl-0.6.5.2
  630. checking spl build directory... /var/lib/dkms/spl/0.6.5.2/2.6.32-573.7.1.el6.x86_64/x86_64
  631. checking spl source version... 0.6.5.2-1
  632. checking spl file name for module symbols... Module.symvers
  633. checking whether modules can be built... yes
  634. checking whether Linux was built with CONFIG_DEBUG_LOCK_ALLOC... no
  635. checking whether DECLARE_EVENT_CLASS() is available... no
  636. checking whether current->bio_tail exists... yes
  637. checking block device operation prototypes... struct block_device
  638. checking whether block_device_operations.release is void... int
  639. checking whether kernel defines fmode_t... yes
  640. checking whether kernel defines KOBJ_NAME_LEN... no
  641. checking whether blkdev_get() wants 3 args... no
  642. checking whether blkdev_get_by_path() is available... no
  643. checking whether open_bdev_exclusive() is available... yes
  644. checking whether lookup_bdev() is available... yes
  645. checking whether invalidate_bdev() wants 1 arg... yes
  646. checking whether bdev_logical_block_size() is available... yes
  647. checking whether bdev_physical_block_size() is available... yes
  648. checking whether bio has bi_iter... no
  649. checking whether BIO_RW_FAILFAST_* are defined... yes
  650. checking whether REQ_FAILFAST_MASK is defined... yes
  651. checking whether bio_end_io_t wants 1 arg... no
  652. checking whether BIO_RW_BARRIER is defined... yes
  653. checking whether BIO_RW_DISCARD is defined... yes
  654. checking whether blk_queue_flush() is available... yes
  655. checking whether blk_queue_flush() is GPL-only... yes
  656. checking whether blk_queue_max_hw_sectors() is available... yes
  657. checking whether blk_queue_max_segments() is available... yes
  658. checking whether get_disk_ro() is available... yes
  659. checking whether get_gendisk() is available... no
  660. checking whether ql->discard_granularity is available... yes
  661. checking whether super_block uses const struct xattr_hander... no
  662. checking whether xattr_handler->get() wants dentry... no
  663. checking whether xattr_handler->set() wants dentry... no
  664. checking whether xattr_handler->list() wants dentry... no
  665. checking whether inode_owner_or_capable() exists... no
  666. checking whether is_owner_or_cap() exists... yes
  667. checking whether posix_acl_from_xattr() needs user_ns... no
  668. checking whether posix_acl_release() is available... yes
  669. checking whether posix_acl_release() is GPL-only... yes
  670. checking whether posix_acl_chmod exists... no
  671. checking whether __posix_acl_chmod exists... no
  672. checking whether inode has i_acl and i_default_acl... yes
  673. checking whether posix_acl_equiv_mode() wants umode_t... no
  674. checking whether iops->permission() exists... yes
  675. checking whether iops->permission() wants nameidata... no
  676. checking whether iops->check_acl() exists... yes
  677. checking whether iops->check_acl() wants flags... no
  678. checking whether iops->get_acl() exists... no
  679. checking whether current_umask exists... yes
  680. checking whether sops->show_options() wants dentry... no
  681. checking whether file_inode() is available... no
  682. checking whether fops->fsync() wants... dentry
  683. checking whether sops->evict_inode() exists... no
  684. checking whether sops->dirty_inode() wants flags... no
  685. checking whether sops->nr_cached_objects() exists... no
  686. checking whether sops->free_cached_objects() exists... no
  687. checking whether fops->fallocate() exists... no
  688. checking whether iops->fallocate() exists... yes
  689. checking whether iops->create()/mkdir()/mknod() take umode_t... no
  690. checking whether iops->lookup() passes nameidata... yes
  691. checking whether iops->create() passes nameidata... yes
  692. checking whether iops->follow_link() passes nameidata... yes
  693. checking whether iops->put_link() passes nameidata... yes
  694. checking whether iops->truncate_range() exists... yes
  695. checking whether dops->d_automount() exists... yes
  696. checking whether eops->encode_fh() wants inode... no
  697. checking whether eops->commit_metadata() exists... yes
  698. checking whether clear_inode() is available... yes
  699. checking whether insert_inode_locked() is available... yes
  700. checking whether d_make_root() is available... no
  701. checking whether d_obtain_alias() is available... yes
  702. checking whether d_prune_aliases() is available... yes
  703. checking whether d_set_d_op() is available... no
  704. checking whether dops->d_revalidate() takes struct nameidata... yes
  705. checking whether dentry uses const struct dentry_operations... yes
  706. checking whether check_disk_size_change() is available... yes
  707. checking whether truncate_setsize() is available... yes
  708. checking whether security_inode_init_security wants 6 args... no
  709. checking whether security_inode_init_security wants callback... no
  710. checking whether mount_nodev() is available... no
  711. checking whether super_block has s_shrink... no
  712. checking whether shrink_control has nid... no
  713. checking whether super_block has s_instances list_head... yes
  714. checking whether super_block has s_d_op... no
  715. checking whether bdi_setup_and_register() wants 2 args... no
  716. checking whether bdi_setup_and_register() wants 3 args... no
  717. checking whether set_nlink() is available... no
  718. checking whether elevator_change() is available... yes
  719. checking whether sget() wants 5 args... no
  720. checking whether lseek_execute() is available... no
  721. checking whether fops->iterate() is available... no
  722. checking whether fops->readdir() is available... yes
  723. checking whether fops->read/write_iter() are available... no
  724. checking whether kmap_atomic wants 1 args... no
  725. checking whether follow_down_one() is available... no
  726. checking whether make_request_fn() returns int... yes
  727. checking whether generic IO accounting symbols are avaliable... no
  728. checking whether debugging is enabled... no
  729. checking whether dmu tx validation is enabled... no
  730. configure: creating ./config.status
  731. config.status: creating Makefile
  732. config.status: creating udev/Makefile
  733. config.status: creating udev/rules.d/Makefile
  734. config.status: creating etc/Makefile
  735. config.status: creating etc/init.d/Makefile
  736. config.status: creating etc/zfs/Makefile
  737. config.status: creating etc/systemd/Makefile
  738. config.status: creating etc/systemd/system/Makefile
  739. config.status: creating etc/modules-load.d/Makefile
  740. config.status: creating man/Makefile
  741. config.status: creating man/man1/Makefile
  742. config.status: creating man/man5/Makefile
  743. config.status: creating man/man8/Makefile
  744. config.status: creating lib/Makefile
  745. config.status: creating lib/libspl/Makefile
  746. config.status: creating lib/libspl/asm-generic/Makefile
  747. config.status: creating lib/libspl/asm-i386/Makefile
  748. config.status: creating lib/libspl/asm-x86_64/Makefile
  749. config.status: creating lib/libspl/include/Makefile
  750. config.status: creating lib/libspl/include/ia32/Makefile
  751. config.status: creating lib/libspl/include/ia32/sys/Makefile
  752. config.status: creating lib/libspl/include/rpc/Makefile
  753. config.status: creating lib/libspl/include/sys/Makefile
  754. config.status: creating lib/libspl/include/sys/sysevent/Makefile
  755. config.status: creating lib/libspl/include/sys/dktp/Makefile
  756. config.status: creating lib/libspl/include/util/Makefile
  757. config.status: creating lib/libavl/Makefile
  758. config.status: creating lib/libefi/Makefile
  759. config.status: creating lib/libnvpair/Makefile
  760. config.status: creating lib/libunicode/Makefile
  761. config.status: creating lib/libuutil/Makefile
  762. config.status: creating lib/libzpool/Makefile
  763. config.status: creating lib/libzfs/libzfs.pc
  764. config.status: creating lib/libzfs/libzfs_core.pc
  765. config.status: creating lib/libzfs/Makefile
  766. config.status: creating lib/libzfs_core/Makefile
  767. config.status: creating lib/libshare/Makefile
  768. config.status: creating cmd/Makefile
  769. config.status: creating cmd/zdb/Makefile
  770. config.status: creating cmd/zhack/Makefile
  771. config.status: creating cmd/zfs/Makefile
  772. config.status: creating cmd/zinject/Makefile
  773. config.status: creating cmd/zpool/Makefile
  774. config.status: creating cmd/zstreamdump/Makefile
  775. config.status: creating cmd/ztest/Makefile
  776. config.status: creating cmd/zpios/Makefile
  777. config.status: creating cmd/mount_zfs/Makefile
  778. config.status: creating cmd/fsck_zfs/Makefile
  779. config.status: creating cmd/zvol_id/Makefile
  780. config.status: creating cmd/vdev_id/Makefile
  781. config.status: creating cmd/arcstat/Makefile
  782. config.status: creating cmd/dbufstat/Makefile
  783. config.status: creating cmd/arc_summary/Makefile
  784. config.status: creating cmd/zed/Makefile
  785. config.status: creating contrib/Makefile
  786. config.status: creating contrib/bash_completion.d/Makefile
  787. config.status: creating contrib/dracut/Makefile
  788. config.status: creating contrib/dracut/90zfs/Makefile
  789. config.status: creating contrib/initramfs/Makefile
  790. config.status: creating module/Makefile
  791. config.status: creating module/avl/Makefile
  792. config.status: creating module/nvpair/Makefile
  793. config.status: creating module/unicode/Makefile
  794. config.status: creating module/zcommon/Makefile
  795. config.status: creating module/zfs/Makefile
  796. config.status: creating module/zpios/Makefile
  797. config.status: creating include/Makefile
  798. config.status: creating include/linux/Makefile
  799. config.status: creating include/sys/Makefile
  800. config.status: creating include/sys/fs/Makefile
  801. config.status: creating include/sys/fm/Makefile
  802. config.status: creating include/sys/fm/fs/Makefile
  803. config.status: creating scripts/Makefile
  804. config.status: creating scripts/zpios-profile/Makefile
  805. config.status: creating scripts/zpios-test/Makefile
  806. config.status: creating scripts/zpool-config/Makefile
  807. config.status: creating scripts/common.sh
  808. config.status: creating rpm/Makefile
  809. config.status: creating rpm/redhat/Makefile
  810. config.status: creating rpm/redhat/zfs.spec
  811. config.status: creating rpm/redhat/zfs-kmod.spec
  812. config.status: creating rpm/redhat/zfs-dkms.spec
  813. config.status: creating rpm/generic/Makefile
  814. config.status: creating rpm/generic/zfs.spec
  815. config.status: creating rpm/generic/zfs-kmod.spec
  816. config.status: creating rpm/generic/zfs-dkms.spec
  817. config.status: creating zfs-script-config.sh
  818. config.status: creating zfs.release
  819. config.status: creating zfs_config.h
  820. config.status: executing depfiles commands
  821. config.status: executing libtool commands
  822.  
  823. Building module:
  824. cleaning build area...
  825. make KERNELRELEASE=2.6.32-573.7.1.el6.x86_64..........................
  826.  
  827. Running the post_build script:
  828. cleaning build area...
  829.  
  830. DKMS: build completed.
  831.  
  832. zavl.ko:
  833. Running module version sanity check.
  834.  - Original module
  835.    - No original module exists within this kernel
  836.  - Installation
  837.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  838.  
  839. znvpair.ko:
  840. Running module version sanity check.
  841.  - Original module
  842.    - No original module exists within this kernel
  843.  - Installation
  844.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  845.  
  846. zunicode.ko:
  847. Running module version sanity check.
  848.  - Original module
  849.    - No original module exists within this kernel
  850.  - Installation
  851.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  852.  
  853. zcommon.ko:
  854. Running module version sanity check.
  855.  - Original module
  856.    - No original module exists within this kernel
  857.  - Installation
  858.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  859.  
  860. zfs.ko:
  861. Running module version sanity check.
  862.  - Original module
  863.    - No original module exists within this kernel
  864.  - Installation
  865.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  866.  
  867. zpios.ko:
  868. Running module version sanity check.
  869.  - Original module
  870.    - No original module exists within this kernel
  871.  - Installation
  872.    - Installing to /lib/modules/2.6.32-573.7.1.el6.x86_64/extra/
  873. Adding any weak-modules
  874.  
  875. depmod...
  876.  
  877. DKMS: install completed.
  878.  
  879.  
  880.  
  881.  
  882. ----------------------------
  883. #from here things went ok...
  884. ----------------------------
  885.  
  886.  
  887.  
  888.  
  889. [root@romulus /]# yum remove spl zfs
  890. Failed to set locale, defaulting to C
  891. Loaded plugins: fastestmirror
  892. Setting up Remove Process
  893. Resolving Dependencies
  894. --> Running transaction check
  895. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be erased
  896. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be erased
  897. --> Finished Dependency Resolution
  898.  
  899. Dependencies Resolved
  900.  
  901. ===============================================================================================================
  902.  Package               Arch                     Version                           Repository              Size
  903. ===============================================================================================================
  904. Removing:
  905.  spl                   x86_64                   0.6.5.2-1.el6                     @zfs                    44 k
  906.  zfs                   x86_64                   0.6.5.2-1.el6                     @zfs                   807 k
  907.  
  908. Transaction Summary
  909. ===============================================================================================================
  910. Remove        2 Package(s)
  911.  
  912. Installed size: 852 k
  913. Is this ok [y/N]: y
  914. Downloading Packages:
  915. Running rpm_check_debug
  916. Running Transaction Test
  917. Transaction Test Succeeded
  918. Running Transaction
  919.   Erasing    : zfs-0.6.5.2-1.el6.x86_64                                                                    1/2
  920.   Erasing    : spl-0.6.5.2-1.el6.x86_64                                                                    2/2
  921.   Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  922.   Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  923.  
  924. Removed:
  925.   spl.x86_64 0:0.6.5.2-1.el6                             zfs.x86_64 0:0.6.5.2-1.el6                            
  926.  
  927. Complete!
  928. [root@romulus /]# cd /var/lib/dkms/
  929. [root@romulus dkms]# ls
  930. dkms_dbversion  nvidia  nvidia-uvm  spl  zfs
  931. [root@romulus dkms]# cd spl/
  932. [root@romulus spl]# ls
  933. 0.6.3    kernel-2.6.32-504.12.2.el6.x86_64-x86_64  kernel-2.6.32-573.7.1.el6.x86_64-x86_64
  934. 0.6.5.2  kernel-2.6.32-504.23.4.el6.x86_64-x86_64
  935. [root@romulus spl]# cd ..
  936. [root@romulus dkms]# rm -rf /var/lib/dkms/spl/ /var/lib/dkms/zfs/
  937. [root@romulus dkms]# ls
  938. dkms_dbversion  nvidia  nvidia-uvm
  939. [root@romulus dkms]# dkms status
  940. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  941. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  942. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  943. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  944. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  945. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  946. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  947. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  948. [root@romulus dkms]# yum install zfs
  949. Failed to set locale, defaulting to C
  950. Loaded plugins: fastestmirror
  951. Setting up Install Process
  952. Loading mirror speeds from cached hostfile
  953.  * base: ftp.nluug.nl
  954.  * elrepo: ftp.nluug.nl
  955.  * epel: ftp.nluug.nl
  956.  * extras: ftp.nluug.nl
  957.  * updates: ftp.nluug.nl
  958. Resolving Dependencies
  959. --> Running transaction check
  960. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be installed
  961. --> Processing Dependency: spl = 0.6.5.2 for package: zfs-0.6.5.2-1.el6.x86_64
  962. --> Running transaction check
  963. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be installed
  964. --> Finished Dependency Resolution
  965.  
  966. Dependencies Resolved
  967.  
  968. ===============================================================================================================
  969.  Package               Arch                     Version                            Repository             Size
  970. ===============================================================================================================
  971. Installing:
  972.  zfs                   x86_64                   0.6.5.2-1.el6                      zfs                   323 k
  973. Installing for dependencies:
  974.  spl                   x86_64                   0.6.5.2-1.el6                      zfs                    25 k
  975.  
  976. Transaction Summary
  977. ===============================================================================================================
  978. Install       2 Package(s)
  979.  
  980. Total download size: 348 k
  981. Installed size: 852 k
  982. Is this ok [y/N]: y
  983. Downloading Packages:
  984. (1/2): spl-0.6.5.2-1.el6.x86_64.rpm                                                     |  25 kB     00:00    
  985. (2/2): zfs-0.6.5.2-1.el6.x86_64.rpm                                                     | 323 kB     00:00    
  986. ---------------------------------------------------------------------------------------------------------------
  987. Total                                                                          266 kB/s | 348 kB     00:01    
  988. Running rpm_check_debug
  989. Running Transaction Test
  990. Transaction Test Succeeded
  991. Running Transaction
  992.   Installing : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  993.   Installing : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  994.   Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  995.   Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  996.  
  997. Installed:
  998.   zfs.x86_64 0:0.6.5.2-1.el6                                                                                  
  999.  
  1000. Dependency Installed:
  1001.   spl.x86_64 0:0.6.5.2-1.el6                                                                                  
  1002.  
  1003. Complete!
  1004. [root@romulus dkms]# dkms
  1005. Usage: /usr/sbin/dkms [action] [options]
  1006.   [action]  = { add | remove | build | install | uninstall | match | autoinstall
  1007.                | mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp | mkdeb | status }
  1008.   [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
  1009.               [-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
  1010.               [--templatekernel=kernel] [--directive='cli-directive=cli-value']
  1011.               [--config=kernel-.config-location] [--archive=tarball-location]
  1012.               [--kernelsourcedir=source-location] [--no-prepare-kernel] [--no-initrd]
  1013.               [--binaries-only] [--source-only] [-r release (SuSE)] [--verbose]
  1014.               [--size] [--spec=specfile] [--media=floppy|iso|tar] [--legacy-postinst=0|1]
  1015.               [--no-depmod]
  1016. Error! No action was specified.
  1017. [root@romulus dkms]# dkms status
  1018. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  1019. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  1020. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  1021. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  1022. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  1023. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  1024. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  1025. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  1026. [root@romulus dkms]# cd /var/lib/dkms/
  1027. [root@romulus dkms]# ls
  1028. dkms_dbversion  nvidia  nvidia-uvm
  1029. [root@romulus dkms]# yum reinstall zfs
  1030. Failed to set locale, defaulting to C
  1031. Loaded plugins: fastestmirror
  1032. Setting up Reinstall Process
  1033. Loading mirror speeds from cached hostfile
  1034.  * base: ftp.nluug.nl
  1035.  * elrepo: ftp.nluug.nl
  1036.  * epel: ftp.nluug.nl
  1037.  * extras: ftp.nluug.nl
  1038.  * updates: ftp.nluug.nl
  1039. Resolving Dependencies
  1040. --> Running transaction check
  1041. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be reinstalled
  1042. --> Finished Dependency Resolution
  1043.  
  1044. Dependencies Resolved
  1045.  
  1046. ===============================================================================================================
  1047.  Package               Arch                     Version                            Repository             Size
  1048. ===============================================================================================================
  1049. Reinstalling:
  1050.  zfs                   x86_64                   0.6.5.2-1.el6                      zfs                   323 k
  1051.  
  1052. Transaction Summary
  1053. ===============================================================================================================
  1054. Reinstall     1 Package(s)
  1055.  
  1056. Total download size: 323 k
  1057. Installed size: 807 k
  1058. Is this ok [y/N]: y
  1059. Downloading Packages:
  1060. zfs-0.6.5.2-1.el6.x86_64.rpm                                                            | 323 kB     00:00    
  1061. Running rpm_check_debug
  1062. Running Transaction Test
  1063. Transaction Test Succeeded
  1064. Running Transaction
  1065.   Installing : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  1066.   Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  1067.  
  1068. Installed:
  1069.   zfs.x86_64 0:0.6.5.2-1.el6                                                                                  
  1070.  
  1071. Complete!
  1072. [root@romulus dkms]# yum remove zfs
  1073. Failed to set locale, defaulting to C
  1074. Loaded plugins: fastestmirror
  1075. Setting up Remove Process
  1076. Resolving Dependencies
  1077. --> Running transaction check
  1078. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be erased
  1079. --> Finished Dependency Resolution
  1080.  
  1081. Dependencies Resolved
  1082.  
  1083. ===============================================================================================================
  1084.  Package               Arch                     Version                           Repository              Size
  1085. ===============================================================================================================
  1086. Removing:
  1087.  zfs                   x86_64                   0.6.5.2-1.el6                     @zfs                   807 k
  1088.  
  1089. Transaction Summary
  1090. ===============================================================================================================
  1091. Remove        1 Package(s)
  1092.  
  1093. Installed size: 807 k
  1094. Is this ok [y/N]: y
  1095. Downloading Packages:
  1096. Running rpm_check_debug
  1097. Running Transaction Test
  1098. Transaction Test Succeeded
  1099. Running Transaction
  1100.   Erasing    : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  1101.   Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    1/1
  1102.  
  1103. Removed:
  1104.   zfs.x86_64 0:0.6.5.2-1.el6                                                                                  
  1105.  
  1106. Complete!
  1107. [root@romulus dkms]# yum remove spl
  1108. Failed to set locale, defaulting to C
  1109. Loaded plugins: fastestmirror
  1110. Setting up Remove Process
  1111. Resolving Dependencies
  1112. --> Running transaction check
  1113. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be erased
  1114. --> Finished Dependency Resolution
  1115.  
  1116. Dependencies Resolved
  1117.  
  1118. ===============================================================================================================
  1119.  Package               Arch                     Version                           Repository              Size
  1120. ===============================================================================================================
  1121. Removing:
  1122.  spl                   x86_64                   0.6.5.2-1.el6                     @zfs                    44 k
  1123.  
  1124. Transaction Summary
  1125. ===============================================================================================================
  1126. Remove        1 Package(s)
  1127.  
  1128. Installed size: 44 k
  1129. Is this ok [y/N]: y
  1130. Downloading Packages:
  1131. Running rpm_check_debug
  1132. Running Transaction Test
  1133. Transaction Test Succeeded
  1134. Running Transaction
  1135.   Erasing    : spl-0.6.5.2-1.el6.x86_64                                                                    1/1
  1136.   Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/1
  1137.  
  1138. Removed:
  1139.   spl.x86_64 0:0.6.5.2-1.el6                                                                                  
  1140.  
  1141. Complete!
  1142. [root@romulus dkms]# ls
  1143. dkms_dbversion  nvidia  nvidia-uvm
  1144. [root@romulus dkms]# dkms status
  1145. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  1146. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  1147. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed
  1148. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed
  1149. nvidia, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  1150. nvidia-uvm, 352.39, 2.6.32-573.3.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.7.1.el6.x86_64
  1151. nvidia, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  1152. nvidia-uvm, 352.39, 2.6.32-573.7.1.el6.x86_64, x86_64: installed-weak from 2.6.32-573.3.1.el6.x86_64
  1153. [root@romulus dkms]# yum install zfs spl
  1154. Failed to set locale, defaulting to C
  1155. Loaded plugins: fastestmirror
  1156. Setting up Install Process
  1157. Loading mirror speeds from cached hostfile
  1158.  * base: ftp.nluug.nl
  1159.  * elrepo: ftp.nluug.nl
  1160.  * epel: ftp.nluug.nl
  1161.  * extras: centos.mirror.triple-it.nl
  1162.  * updates: mirror.prolocation.net
  1163. Resolving Dependencies
  1164. --> Running transaction check
  1165. ---> Package spl.x86_64 0:0.6.5.2-1.el6 will be installed
  1166. ---> Package zfs.x86_64 0:0.6.5.2-1.el6 will be installed
  1167. --> Finished Dependency Resolution
  1168.  
  1169. Dependencies Resolved
  1170.  
  1171. ===============================================================================================================
  1172.  Package               Arch                     Version                            Repository             Size
  1173. ===============================================================================================================
  1174. Installing:
  1175.  spl                   x86_64                   0.6.5.2-1.el6                      zfs                    25 k
  1176.  zfs                   x86_64                   0.6.5.2-1.el6                      zfs                   323 k
  1177.  
  1178. Transaction Summary
  1179. ===============================================================================================================
  1180. Install       2 Package(s)
  1181.  
  1182. Total download size: 348 k
  1183. Installed size: 852 k
  1184. Is this ok [y/N]: y
  1185. Downloading Packages:
  1186. (1/2): spl-0.6.5.2-1.el6.x86_64.rpm                                                     |  25 kB     00:00    
  1187. (2/2): zfs-0.6.5.2-1.el6.x86_64.rpm                                                     | 323 kB     00:00    
  1188. ---------------------------------------------------------------------------------------------------------------
  1189. Total                                                                          232 kB/s | 348 kB     00:01    
  1190. Running rpm_check_debug
  1191. Running Transaction Test
  1192. Transaction Test Succeeded
  1193. Running Transaction
  1194.   Installing : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  1195.   Installing : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  1196.   Verifying  : spl-0.6.5.2-1.el6.x86_64                                                                    1/2
  1197.   Verifying  : zfs-0.6.5.2-1.el6.x86_64                                                                    2/2
  1198.  
  1199. Installed:
  1200.   spl.x86_64 0:0.6.5.2-1.el6                             zfs.x86_64 0:0.6.5.2-1.el6                            
  1201.  
  1202. Complete!
  1203. [root@romulus dkms]# dkms add -m spl -v 0.6.5.2
  1204.  
  1205. Creating symlink /var/lib/dkms/spl/0.6.5.2/source ->
  1206.                  /usr/src/spl-0.6.5.2
  1207.  
  1208. DKMS: add completed.
  1209. [root@romulus dkms]# dkms add -m zfs -v 0.6.5.2
  1210.  
  1211. Creating symlink /var/lib/dkms/zfs/0.6.5.2/source ->
  1212.                  /usr/src/zfs-0.6.5.2
  1213.  
  1214. DKMS: add completed.
  1215. [root@romulus dkms]# dkms install -m spl -v 0.6.5.2
  1216.  
  1217. Kernel preparation unnecessary for this kernel.  Skipping...
  1218.  
  1219. Running the pre_build script:
  1220. checking for gawk... gawk
  1221. checking metadata... META file
  1222. checking build system type... x86_64-unknown-linux-gnu
  1223. checking host system type... x86_64-unknown-linux-gnu
  1224. checking target system type... x86_64-unknown-linux-gnu
  1225. checking whether to enable maintainer-specific portions of Makefiles... no
  1226. checking for a BSD-compatible install... /usr/bin/install -c
  1227. checking whether build environment is sane... yes
  1228. checking for a thread-safe mkdir -p... /bin/mkdir -p
  1229. checking whether make sets $(MAKE)... yes
  1230. checking for a BSD-compatible install... /usr/bin/install -c
  1231. checking for gcc... gcc
  1232. checking for C compiler default output file name... a.out
  1233. checking whether the C compiler works... yes
  1234. checking whether we are cross compiling... no
  1235. checking for suffix of executables...
  1236. checking for suffix of object files... o
  1237. checking whether we are using the GNU C compiler... yes
  1238. checking whether gcc accepts -g... yes
  1239. checking for gcc option to accept ISO C89... none needed
  1240. checking for style of include used by make... GNU
  1241. checking dependency style of gcc... gcc3
  1242. checking for a sed that does not truncate output... /bin/sed
  1243. checking for grep that handles long lines and -e... /bin/grep
  1244. checking for egrep... /bin/grep -E
  1245. checking for fgrep... /bin/grep -F
  1246. checking for ld used by gcc... /usr/bin/ld
  1247. checking if the linker (/usr/bin/ld) is GNU ld... yes
  1248. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  1249. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  1250. checking whether ln -s works... yes
  1251. checking the maximum length of command line arguments... 1966080
  1252. checking whether the shell understands some XSI constructs... yes
  1253. checking whether the shell understands "+="... yes
  1254. checking for /usr/bin/ld option to reload object files... -r
  1255. checking for objdump... objdump
  1256. checking how to recognize dependent libraries... pass_all
  1257. checking for ar... ar
  1258. checking for strip... strip
  1259. checking for ranlib... ranlib
  1260. checking command to parse /usr/bin/nm -B output from gcc object... ok
  1261. checking how to run the C preprocessor... gcc -E
  1262. checking for ANSI C header files... yes
  1263. checking for sys/types.h... yes
  1264. checking for sys/stat.h... yes
  1265. checking for stdlib.h... yes
  1266. checking for string.h... yes
  1267. checking for memory.h... yes
  1268. checking for strings.h... yes
  1269. checking for inttypes.h... yes
  1270. checking for stdint.h... yes
  1271. checking for unistd.h... yes
  1272. checking for dlfcn.h... yes
  1273. checking for objdir... .libs
  1274. checking if gcc supports -fno-rtti -fno-exceptions... no
  1275. checking for gcc option to produce PIC... -fPIC -DPIC
  1276. checking if gcc PIC flag -fPIC -DPIC works... yes
  1277. checking if gcc static flag -static works... no
  1278. checking if gcc supports -c -o file.o... yes
  1279. checking if gcc supports -c -o file.o... (cached) yes
  1280. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  1281. checking whether -lc should be explicitly linked in... no
  1282. checking dynamic linker characteristics... GNU/Linux ld.so
  1283. checking how to hardcode library paths into programs... immediate
  1284. checking whether stripping libraries is possible... yes
  1285. checking if libtool supports shared libraries... yes
  1286. checking whether to build shared libraries... yes
  1287. checking whether to build static libraries... yes
  1288. checking spl author... OpenZFS on Linux
  1289. checking spl license... GPL
  1290. checking linux distribution... redhat
  1291. checking default package type... rpm
  1292. checking whether rpm is available... yes (4.8.0)
  1293. checking whether rpmbuild is available... yes (4.8.0)
  1294. checking whether spec files are available... yes (rpm/generic/*.spec.in)
  1295. checking whether dpkg is available... no
  1296. checking whether dpkg-buildpackage is available... no
  1297. checking whether alien is available... no
  1298. checking spl config... kernel
  1299. checking kernel source directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  1300. checking kernel build directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  1301. checking kernel source version... 2.6.32-573.7.1.el6.x86_64
  1302. checking kernel file name for module symbols... Module.symvers
  1303. checking whether debugging is enabled... no
  1304. checking whether basic kmem accounting is enabled... no
  1305. checking whether detailed kmem tracking is enabled... no
  1306. checking whether modules can be built... yes
  1307. checking whether atomic types use spinlocks... no
  1308. checking whether kernel defines atomic64_t... yes
  1309. checking whether old 2-argument shrinker exists... no
  1310. checking whether old 3-argument shrinker exists... yes
  1311. checking whether struct ctl_table has ctl_name... yes
  1312. checking whether PDE_DATA() is available... no
  1313. checking whether set_fs_pwd() requires const struct path *... no
  1314. checking whether vfs_unlink() wants 2 args... yes
  1315. checking whether vfs_rename() wants 4 args... yes
  1316. checking whether vfs_fsync() wants 2 args... no
  1317. checking whether truncate_range() inode operation is available... yes
  1318. checking whether struct fs_struct uses spinlock_t... no
  1319. checking whether kuid_t/kgid_t is available... no
  1320. checking whether __put_task_struct() is available... yes
  1321. checking whether fops->fallocate() exists... no
  1322. checking whether iops->fallocate() exists... yes
  1323. checking whether fops->fallocate() exists... no
  1324. checking whether CONFIG_ZLIB_INFLATE is defined... yes
  1325. checking whether CONFIG_ZLIB_DEFLATE is defined... yes
  1326. checking whether zlib_deflate_workspacesize() wants 2 args... no
  1327. checking whether struct shrink_control exists... no
  1328. checking whether struct rw_semaphore member wait_lock is raw... no
  1329. checking whether header linux/sched/rt.h exists... no
  1330. checking whether vfs_getattr() wants... 3 args
  1331. checking whether usleep_range() is available... yes
  1332. checking whether struct kmem_cache has allocflags... no
  1333. checking whether struct kmem_cache has gfpflags... yes
  1334. checking whether wait_on_bit() takes an action... yes
  1335. configure: creating ./config.status
  1336. config.status: creating Makefile
  1337. config.status: creating man/Makefile
  1338. config.status: creating man/man1/Makefile
  1339. config.status: creating man/man5/Makefile
  1340. config.status: creating lib/Makefile
  1341. config.status: creating cmd/Makefile
  1342. config.status: creating module/Makefile
  1343. config.status: creating module/spl/Makefile
  1344. config.status: creating module/splat/Makefile
  1345. config.status: creating include/Makefile
  1346. config.status: creating include/fs/Makefile
  1347. config.status: creating include/linux/Makefile
  1348. config.status: creating include/rpc/Makefile
  1349. config.status: creating include/sharefs/Makefile
  1350. config.status: creating include/sys/Makefile
  1351. config.status: creating include/sys/fm/Makefile
  1352. config.status: creating include/sys/fs/Makefile
  1353. config.status: creating include/sys/sysevent/Makefile
  1354. config.status: creating include/util/Makefile
  1355. config.status: creating include/vm/Makefile
  1356. config.status: creating scripts/Makefile
  1357. config.status: creating rpm/Makefile
  1358. config.status: creating rpm/redhat/Makefile
  1359. config.status: creating rpm/redhat/spl.spec
  1360. config.status: creating rpm/redhat/spl-kmod.spec
  1361. config.status: creating rpm/redhat/spl-dkms.spec
  1362. config.status: creating rpm/generic/Makefile
  1363. config.status: creating rpm/generic/spl.spec
  1364. config.status: creating rpm/generic/spl-kmod.spec
  1365. config.status: creating rpm/generic/spl-dkms.spec
  1366. config.status: creating spl.release
  1367. config.status: creating spl_config.h
  1368. config.status: executing depfiles commands
  1369. config.status: executing libtool commands
  1370.  
  1371. Building module:
  1372. cleaning build area...
  1373. make KERNELRELEASE=2.6.32-573.7.1.el6.x86_64........
  1374.  
  1375. Running the post_build script:
  1376. cleaning build area...
  1377.  
  1378. DKMS: build completed.
  1379.  
  1380. spl.ko:
  1381. Running module version sanity check.
  1382.  
  1383. Good news! Module version 0.6.5.2-1 for spl.ko
  1384. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1385. DKMS will not replace this module.
  1386. You may override by specifying --force.
  1387.  
  1388. splat.ko:
  1389. Running module version sanity check.
  1390.  
  1391. Good news! Module version 0.6.5.2-1 for splat.ko
  1392. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1393. DKMS will not replace this module.
  1394. You may override by specifying --force.
  1395. Adding any weak-modules
  1396.  
  1397. depmod...
  1398.  
  1399. DKMS: install completed.
  1400. [root@romulus dkms]# dkms install -m zfs -v 0.6.5.2
  1401.  
  1402. Kernel preparation unnecessary for this kernel.  Skipping...
  1403.  
  1404. Running the pre_build script:
  1405. checking for gawk... gawk
  1406. checking metadata... META file
  1407. checking build system type... x86_64-unknown-linux-gnu
  1408. checking host system type... x86_64-unknown-linux-gnu
  1409. checking target system type... x86_64-unknown-linux-gnu
  1410. checking whether to enable maintainer-specific portions of Makefiles... no
  1411. checking for a BSD-compatible install... /usr/bin/install -c
  1412. checking whether build environment is sane... yes
  1413. checking for a thread-safe mkdir -p... /bin/mkdir -p
  1414. checking whether make sets $(MAKE)... yes
  1415. checking for a BSD-compatible install... /usr/bin/install -c
  1416. checking for gcc... gcc
  1417. checking for C compiler default output file name... a.out
  1418. checking whether the C compiler works... yes
  1419. checking whether we are cross compiling... no
  1420. checking for suffix of executables...
  1421. checking for suffix of object files... o
  1422. checking whether we are using the GNU C compiler... yes
  1423. checking whether gcc accepts -g... yes
  1424. checking for gcc option to accept ISO C89... none needed
  1425. checking for style of include used by make... GNU
  1426. checking dependency style of gcc... gcc3
  1427. checking for a sed that does not truncate output... /bin/sed
  1428. checking for grep that handles long lines and -e... /bin/grep
  1429. checking for egrep... /bin/grep -E
  1430. checking for fgrep... /bin/grep -F
  1431. checking for ld used by gcc... /usr/bin/ld
  1432. checking if the linker (/usr/bin/ld) is GNU ld... yes
  1433. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  1434. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  1435. checking whether ln -s works... yes
  1436. checking the maximum length of command line arguments... 1966080
  1437. checking whether the shell understands some XSI constructs... yes
  1438. checking whether the shell understands "+="... yes
  1439. checking for /usr/bin/ld option to reload object files... -r
  1440. checking for objdump... objdump
  1441. checking how to recognize dependent libraries... pass_all
  1442. checking for ar... ar
  1443. checking for strip... strip
  1444. checking for ranlib... ranlib
  1445. checking command to parse /usr/bin/nm -B output from gcc object... ok
  1446. checking how to run the C preprocessor... gcc -E
  1447. checking for ANSI C header files... yes
  1448. checking for sys/types.h... yes
  1449. checking for sys/stat.h... yes
  1450. checking for stdlib.h... yes
  1451. checking for string.h... yes
  1452. checking for memory.h... yes
  1453. checking for strings.h... yes
  1454. checking for inttypes.h... yes
  1455. checking for stdint.h... yes
  1456. checking for unistd.h... yes
  1457. checking for dlfcn.h... yes
  1458. checking for objdir... .libs
  1459. checking if gcc supports -fno-rtti -fno-exceptions... no
  1460. checking for gcc option to produce PIC... -fPIC -DPIC
  1461. checking if gcc PIC flag -fPIC -DPIC works... yes
  1462. checking if gcc static flag -static works... no
  1463. checking if gcc supports -c -o file.o... yes
  1464. checking if gcc supports -c -o file.o... (cached) yes
  1465. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  1466. checking whether -lc should be explicitly linked in... no
  1467. checking dynamic linker characteristics... GNU/Linux ld.so
  1468. checking how to hardcode library paths into programs... immediate
  1469. checking whether stripping libraries is possible... yes
  1470. checking if libtool supports shared libraries... yes
  1471. checking whether to build shared libraries... yes
  1472. checking whether to build static libraries... yes
  1473. checking dependency style of gcc... gcc3
  1474. checking zfs author... OpenZFS on Linux
  1475. checking zfs license... CDDL
  1476. checking linux distribution... redhat
  1477. checking default package type... rpm
  1478. checking default init directory... ${prefix}/etc/init.d
  1479. checking default init script type... redhat
  1480. checking default init config direectory... /etc/sysconfig
  1481. checking whether initramfs-tools is available... no
  1482. checking whether rpm is available... yes (4.8.0)
  1483. checking whether rpmbuild is available... yes (4.8.0)
  1484. checking whether spec files are available... yes (rpm/generic/*.spec.in)
  1485. checking whether dpkg is available... no
  1486. checking whether dpkg-buildpackage is available... no
  1487. checking whether alien is available... no
  1488. checking zfs config... kernel
  1489. checking for -Wno-unused-but-set-variable support... yes
  1490. checking for -Wno-bool-compare support... no
  1491. checking kernel source directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  1492. checking kernel build directory... /lib/modules/2.6.32-573.7.1.el6.x86_64/build
  1493. checking kernel source version... 2.6.32-573.7.1.el6.x86_64
  1494. checking kernel file name for module symbols... Module.symvers
  1495. checking spl source directory... /usr/src/spl-0.6.5.2
  1496. checking spl build directory... /var/lib/dkms/spl/0.6.5.2/2.6.32-573.7.1.el6.x86_64/x86_64
  1497. checking spl source version... 0.6.5.2-1
  1498. checking spl file name for module symbols... Module.symvers
  1499. checking whether modules can be built... yes
  1500. checking whether Linux was built with CONFIG_DEBUG_LOCK_ALLOC... no
  1501. checking whether DECLARE_EVENT_CLASS() is available... no
  1502. checking whether current->bio_tail exists... yes
  1503. checking block device operation prototypes... struct block_device
  1504. checking whether block_device_operations.release is void... int
  1505. checking whether kernel defines fmode_t... yes
  1506. checking whether kernel defines KOBJ_NAME_LEN... no
  1507. checking whether blkdev_get() wants 3 args... no
  1508. checking whether blkdev_get_by_path() is available... no
  1509. checking whether open_bdev_exclusive() is available... yes
  1510. checking whether lookup_bdev() is available... yes
  1511. checking whether invalidate_bdev() wants 1 arg... yes
  1512. checking whether bdev_logical_block_size() is available... yes
  1513. checking whether bdev_physical_block_size() is available... yes
  1514. checking whether bio has bi_iter... no
  1515. checking whether BIO_RW_FAILFAST_* are defined... yes
  1516. checking whether REQ_FAILFAST_MASK is defined... yes
  1517. checking whether bio_end_io_t wants 1 arg... no
  1518. checking whether BIO_RW_BARRIER is defined... yes
  1519. checking whether BIO_RW_DISCARD is defined... yes
  1520. checking whether blk_queue_flush() is available... yes
  1521. checking whether blk_queue_flush() is GPL-only... yes
  1522. checking whether blk_queue_max_hw_sectors() is available... yes
  1523. checking whether blk_queue_max_segments() is available... yes
  1524. checking whether get_disk_ro() is available... yes
  1525. checking whether get_gendisk() is available... no
  1526. checking whether ql->discard_granularity is available... yes
  1527. checking whether super_block uses const struct xattr_hander... no
  1528. checking whether xattr_handler->get() wants dentry... no
  1529. checking whether xattr_handler->set() wants dentry... no
  1530. checking whether xattr_handler->list() wants dentry... no
  1531. checking whether inode_owner_or_capable() exists... no
  1532. checking whether is_owner_or_cap() exists... yes
  1533. checking whether posix_acl_from_xattr() needs user_ns... no
  1534. checking whether posix_acl_release() is available... yes
  1535. checking whether posix_acl_release() is GPL-only... yes
  1536. checking whether posix_acl_chmod exists... no
  1537. checking whether __posix_acl_chmod exists... no
  1538. checking whether inode has i_acl and i_default_acl... yes
  1539. checking whether posix_acl_equiv_mode() wants umode_t... no
  1540. checking whether iops->permission() exists... yes
  1541. checking whether iops->permission() wants nameidata... no
  1542. checking whether iops->check_acl() exists... yes
  1543. checking whether iops->check_acl() wants flags... no
  1544. checking whether iops->get_acl() exists... no
  1545. checking whether current_umask exists... yes
  1546. checking whether sops->show_options() wants dentry... no
  1547. checking whether file_inode() is available... no
  1548. checking whether fops->fsync() wants... dentry
  1549. checking whether sops->evict_inode() exists... no
  1550. checking whether sops->dirty_inode() wants flags... no
  1551. checking whether sops->nr_cached_objects() exists... no
  1552. checking whether sops->free_cached_objects() exists... no
  1553. checking whether fops->fallocate() exists... no
  1554. checking whether iops->fallocate() exists... yes
  1555. checking whether iops->create()/mkdir()/mknod() take umode_t... no
  1556. checking whether iops->lookup() passes nameidata... yes
  1557. checking whether iops->create() passes nameidata... yes
  1558. checking whether iops->follow_link() passes nameidata... yes
  1559. checking whether iops->put_link() passes nameidata... yes
  1560. checking whether iops->truncate_range() exists... yes
  1561. checking whether dops->d_automount() exists... yes
  1562. checking whether eops->encode_fh() wants inode... no
  1563. checking whether eops->commit_metadata() exists... yes
  1564. checking whether clear_inode() is available... yes
  1565. checking whether insert_inode_locked() is available... yes
  1566. checking whether d_make_root() is available... no
  1567. checking whether d_obtain_alias() is available... yes
  1568. checking whether d_prune_aliases() is available... yes
  1569. checking whether d_set_d_op() is available... no
  1570. checking whether dops->d_revalidate() takes struct nameidata... yes
  1571. checking whether dentry uses const struct dentry_operations... yes
  1572. checking whether check_disk_size_change() is available... yes
  1573. checking whether truncate_setsize() is available... yes
  1574. checking whether security_inode_init_security wants 6 args... no
  1575. checking whether security_inode_init_security wants callback... no
  1576. checking whether mount_nodev() is available... no
  1577. checking whether super_block has s_shrink... no
  1578. checking whether shrink_control has nid... no
  1579. checking whether super_block has s_instances list_head... yes
  1580. checking whether super_block has s_d_op... no
  1581. checking whether bdi_setup_and_register() wants 2 args... no
  1582. checking whether bdi_setup_and_register() wants 3 args... no
  1583. checking whether set_nlink() is available... no
  1584. checking whether elevator_change() is available... yes
  1585. checking whether sget() wants 5 args... no
  1586. checking whether lseek_execute() is available... no
  1587. checking whether fops->iterate() is available... no
  1588. checking whether fops->readdir() is available... yes
  1589. checking whether fops->read/write_iter() are available... no
  1590. checking whether kmap_atomic wants 1 args... no
  1591. checking whether follow_down_one() is available... no
  1592. checking whether make_request_fn() returns int... yes
  1593. checking whether generic IO accounting symbols are avaliable... no
  1594. checking whether debugging is enabled... no
  1595. checking whether dmu tx validation is enabled... no
  1596. configure: creating ./config.status
  1597. config.status: creating Makefile
  1598. config.status: creating udev/Makefile
  1599. config.status: creating udev/rules.d/Makefile
  1600. config.status: creating etc/Makefile
  1601. config.status: creating etc/init.d/Makefile
  1602. config.status: creating etc/zfs/Makefile
  1603. config.status: creating etc/systemd/Makefile
  1604. config.status: creating etc/systemd/system/Makefile
  1605. config.status: creating etc/modules-load.d/Makefile
  1606. config.status: creating man/Makefile
  1607. config.status: creating man/man1/Makefile
  1608. config.status: creating man/man5/Makefile
  1609. config.status: creating man/man8/Makefile
  1610. config.status: creating lib/Makefile
  1611. config.status: creating lib/libspl/Makefile
  1612. config.status: creating lib/libspl/asm-generic/Makefile
  1613. config.status: creating lib/libspl/asm-i386/Makefile
  1614. config.status: creating lib/libspl/asm-x86_64/Makefile
  1615. config.status: creating lib/libspl/include/Makefile
  1616. config.status: creating lib/libspl/include/ia32/Makefile
  1617. config.status: creating lib/libspl/include/ia32/sys/Makefile
  1618. config.status: creating lib/libspl/include/rpc/Makefile
  1619. config.status: creating lib/libspl/include/sys/Makefile
  1620. config.status: creating lib/libspl/include/sys/sysevent/Makefile
  1621. config.status: creating lib/libspl/include/sys/dktp/Makefile
  1622. config.status: creating lib/libspl/include/util/Makefile
  1623. config.status: creating lib/libavl/Makefile
  1624. config.status: creating lib/libefi/Makefile
  1625. config.status: creating lib/libnvpair/Makefile
  1626. config.status: creating lib/libunicode/Makefile
  1627. config.status: creating lib/libuutil/Makefile
  1628. config.status: creating lib/libzpool/Makefile
  1629. config.status: creating lib/libzfs/libzfs.pc
  1630. config.status: creating lib/libzfs/libzfs_core.pc
  1631. config.status: creating lib/libzfs/Makefile
  1632. config.status: creating lib/libzfs_core/Makefile
  1633. config.status: creating lib/libshare/Makefile
  1634. config.status: creating cmd/Makefile
  1635. config.status: creating cmd/zdb/Makefile
  1636. config.status: creating cmd/zhack/Makefile
  1637. config.status: creating cmd/zfs/Makefile
  1638. config.status: creating cmd/zinject/Makefile
  1639. config.status: creating cmd/zpool/Makefile
  1640. config.status: creating cmd/zstreamdump/Makefile
  1641. config.status: creating cmd/ztest/Makefile
  1642. config.status: creating cmd/zpios/Makefile
  1643. config.status: creating cmd/mount_zfs/Makefile
  1644. config.status: creating cmd/fsck_zfs/Makefile
  1645. config.status: creating cmd/zvol_id/Makefile
  1646. config.status: creating cmd/vdev_id/Makefile
  1647. config.status: creating cmd/arcstat/Makefile
  1648. config.status: creating cmd/dbufstat/Makefile
  1649. config.status: creating cmd/arc_summary/Makefile
  1650. config.status: creating cmd/zed/Makefile
  1651. config.status: creating contrib/Makefile
  1652. config.status: creating contrib/bash_completion.d/Makefile
  1653. config.status: creating contrib/dracut/Makefile
  1654. config.status: creating contrib/dracut/90zfs/Makefile
  1655. config.status: creating contrib/initramfs/Makefile
  1656. config.status: creating module/Makefile
  1657. config.status: creating module/avl/Makefile
  1658. config.status: creating module/nvpair/Makefile
  1659. config.status: creating module/unicode/Makefile
  1660. config.status: creating module/zcommon/Makefile
  1661. config.status: creating module/zfs/Makefile
  1662. config.status: creating module/zpios/Makefile
  1663. config.status: creating include/Makefile
  1664. config.status: creating include/linux/Makefile
  1665. config.status: creating include/sys/Makefile
  1666. config.status: creating include/sys/fs/Makefile
  1667. config.status: creating include/sys/fm/Makefile
  1668. config.status: creating include/sys/fm/fs/Makefile
  1669. config.status: creating scripts/Makefile
  1670. config.status: creating scripts/zpios-profile/Makefile
  1671. config.status: creating scripts/zpios-test/Makefile
  1672. config.status: creating scripts/zpool-config/Makefile
  1673. config.status: creating scripts/common.sh
  1674. config.status: creating rpm/Makefile
  1675. config.status: creating rpm/redhat/Makefile
  1676. config.status: creating rpm/redhat/zfs.spec
  1677. config.status: creating rpm/redhat/zfs-kmod.spec
  1678. config.status: creating rpm/redhat/zfs-dkms.spec
  1679. config.status: creating rpm/generic/Makefile
  1680. config.status: creating rpm/generic/zfs.spec
  1681. config.status: creating rpm/generic/zfs-kmod.spec
  1682. config.status: creating rpm/generic/zfs-dkms.spec
  1683. config.status: creating zfs-script-config.sh
  1684. config.status: creating zfs.release
  1685. config.status: creating zfs_config.h
  1686. config.status: executing depfiles commands
  1687. config.status: executing libtool commands
  1688.  
  1689. Building module:
  1690. cleaning build area...
  1691. make KERNELRELEASE=2.6.32-573.7.1.el6.x86_64..........................
  1692.  
  1693. Running the post_build script:
  1694. cleaning build area...
  1695.  
  1696. DKMS: build completed.
  1697.  
  1698. zavl.ko:
  1699. Running module version sanity check.
  1700.  
  1701. Good news! Module version 0.6.5.2-1 for zavl.ko
  1702. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1703. DKMS will not replace this module.
  1704. You may override by specifying --force.
  1705.  
  1706. znvpair.ko:
  1707. Running module version sanity check.
  1708.  
  1709. Good news! Module version 0.6.5.2-1 for znvpair.ko
  1710. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1711. DKMS will not replace this module.
  1712. You may override by specifying --force.
  1713.  
  1714. zunicode.ko:
  1715. Running module version sanity check.
  1716.  
  1717. Good news! Module version 0.6.5.2-1 for zunicode.ko
  1718. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1719. DKMS will not replace this module.
  1720. You may override by specifying --force.
  1721.  
  1722. zcommon.ko:
  1723. Running module version sanity check.
  1724.  
  1725. Good news! Module version 0.6.5.2-1 for zcommon.ko
  1726. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1727. DKMS will not replace this module.
  1728. You may override by specifying --force.
  1729.  
  1730. zfs.ko:
  1731. Running module version sanity check.
  1732.  
  1733. Good news! Module version 0.6.5.2-1 for zfs.ko
  1734. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1735. DKMS will not replace this module.
  1736. You may override by specifying --force.
  1737.  
  1738. zpios.ko:
  1739. Running module version sanity check.
  1740.  
  1741. Good news! Module version 0.6.5.2-1 for zpios.ko
  1742. exactly matches what is already found in kernel 2.6.32-573.7.1.el6.x86_64.
  1743. DKMS will not replace this module.
  1744. You may override by specifying --force.
  1745. Adding any weak-modules
  1746.  
  1747. depmod...
  1748.  
  1749. DKMS: install completed.
  1750.  
  1751.  
  1752. [root@romulus dkms]# zfs list
  1753. The ZFS modules are not loaded.
  1754. Try running '/sbin/modprobe zfs' as root to load them.
  1755. [root@romulus dkms]# sudo reboot
  1756.  
  1757. Broadcast message from romulus
  1758.   (/dev/pts/0) at 20:32 ...
  1759.  
  1760. The system is going down for reboot NOW!
Advertisement
Add Comment
Please, Sign In to add comment