Comments (5)
This issue was fixed in the latest versions and will be fixed in the 0.5.0 which I hope to make soon. Can you pull the latest version from github and try again.
from zfs.
commit 7dfe24e94d3b7ecfb02ae8707404ec33937a6a7d Merge: 12e83b7 641f300 Author: Brian Behlendorf Date: Fri Jul 23 11:47:10 2010 -0700
gives me this error
/home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:532: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:533: warning: ‘struct xuio’ declared inside parameter list CC [M] /home/domdorn/tmp/zfs/zfs/module/zcommon/zpool_prop.o In file included from /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/spa.h:402, from /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/zio.h:30, from /home/domdorn/tmp/zfs/zfs/module/zcommon/zpool_prop.c:26: /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:527: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:527: warning: its scope is only this definition or declaration, which is probably not what you want /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:528: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:530: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:531: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:532: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:533: warning: ‘struct xuio’ declared inside parameter list LD [M] /home/domdorn/tmp/zfs/zfs/module/zcommon/zcommon.o CC [M] /home/domdorn/tmp/zfs/zfs/module/zfs/arc.o In file included from /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/spa.h:402, from /home/domdorn/tmp/zfs/zfs/module/zfs/arc.c:119: /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:527: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:527: warning: its scope is only this definition or declaration, which is probably not what you want /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:528: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:530: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:531: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:532: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/include/sys/dmu.h:533: warning: ‘struct xuio’ declared inside parameter list /home/domdorn/tmp/zfs/zfs/module/zfs/arc.c: In function ‘arc_evict’: /home/domdorn/tmp/zfs/zfs/module/zfs/arc.c:1654: error: implicit declaration of function ‘ddi_get_lbolt’ make[5]: *** [/home/domdorn/tmp/zfs/zfs/module/zfs/arc.o] Error 1 make[4]: *** [/home/domdorn/tmp/zfs/zfs/module/zfs] Error 2 make[3]: *** [_module_/home/domdorn/tmp/zfs/zfs/module] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/home/domdorn/tmp/zfs/zfs/module' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/domdorn/tmp/zfs/zfs' make: *** [all] Error 2
from zfs.
This failure looks like it was causing by building with an old version of the SPL. You will need to update both the spl and zfs and run a make distclean (or just rm and reclone the repos). Finally, make sure you don't have an old spl-devel package installed.
./configure && make distclean
from zfs.
works now.. wasn't sure how stable the master branch is.
test results:
root@domdorn-laptop:/home/domdorn/tmp/zfs/zfs# ./scripts/zconfig.sh test 1 - persistent zpool.cache: PASS test 2 - scan disks for pools to import: PASS test 3 - ZVOL sanity: PASS test 4 - zpool import/export: PASS root@domdorn-laptop:/home/domdorn/tmp/zfs/zfs# ./scripts/zpios-sanity.sh status name id wr-data wr-ch wr-bw rd-data rd-ch rd-bw ------------------------------------------------------------------------------- PASS: file-raid0 0 64m 64 8.85m 64m 64 3.13g PASS: file-raid10 0 64m 64 8.75m 64m 64 3.57g PASS: file-raidz 0 64m 64 5.12m 64m 64 2.78g PASS: file-raidz2 0 64m 64 2.60m 64m 64 1.47g PASS: lo-raid0 0 64m 64 29.73m 64m 64 3.13g PASS: lo-raid10 0 64m 64 5.37m 64m 64 1.93g PASS: lo-raidz 0 64m 64 5.44m 64m 64 1.47g PASS: lo-raidz2 0 64m 64 5.71m 64m 64 2.08g
Note: make install didn't install to /usr/libexec/zfs/zpios-sanity.sh, so I used the scripts in the ./scripts folder.
simply typing zfs gives the following error
root@domdorn-laptop:/home/domdorn/tmp/zfs/zfs# zfs
zfs: error while loading shared libraries: libspl.so.0: cannot open shared object file: No such file or directory
I had to run ldconfig as root to fix this. Maybe you can add this to an FAQ
thanks for this great driver/software.
from zfs.
Glad to hear it worked for you this time. Yes, the latest master I try and keep as stable as I can... but no promises! As for the other install issues there some work under way to add support to build proper .deb packages for folks to use. With luck that will show up in the next few months.
from zfs.
Related Issues (20)
- Possible regression when unmounting encrypted datasets. HOT 2
- Add EL8.10 repo HOT 3
- use-after-free in dsl_dataset_promote_sync() HOT 5
- Kernel oops (null pointer dereference) when renaming a zvol, if snapdev=visible AND the zvol has at least one snapshot HOT 14
- zfs send -p is not allowed for encrypted datasets, without -w HOT 2
- ZFS kernel panic VERIFY3(sa.sa_magic == SA_MAGIC) in zpl_get_file_info() on Ubuntu 22.04 HOT 6
- Various errors from UBSAN HOT 19
- Disk corruption without zfs_vdev_disk_classic=1 for a single virtual machine. HOT 6
- DXATTR getting lost when sa re-layout happens by setting “projid” on old file/dir after upgrade to SPA_FEATURE_PROJECT_QUOTA HOT 1
- ubuntu 20.04 - custom package instructions fail with an initramfs based installation
- ZDB not dumpping "projid" in dump_znode() even for projectquota enabled
- `zpool attach` ignores `-o ashift=13` HOT 1
- Incorrect test for file existence in vdev_id
- ZTS: FreeBSD 13 panics on cp_stress.ksh (reproducable) HOT 3
- Linux 6.9 compat: UBSAN: array-index-out-of-bounds HOT 1
- FreeBSD: zdb "Memory fault" in ZTS HOT 2
- Package error rpm devel package on Fedora
- recv_fix_encryption_hierarchy does horrifically inefficient lookups that could be either cached or refactored, and it bottlenecks super badly HOT 1
- zpool <TAB> completion only works after running zfs <TAB> HOT 1
- Scrub never completes after rsyncing from .zfs/snapshot dir
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfs.