Giter Site home page Giter Site logo

hfsplusdkms's People

Contributors

reporter123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hfsplusdkms's Issues

Wrong sector number: 0 or buffer size: 0

I did an Arch Linux install with the 3.12 kernel and current git of this repo on a case-sensitve, journaled, hfs+ partition. While it's been stable and everything works, I've been getting this message showing up in TTYs and in dmesg.

Looking at the source, it seems to be an issue with the journal.

Let me know if there is any additional information you need or tests you would like to be done.

Hardware: Macbook Pro 11,1

PPA repository

Could it be possible to publish this kernel module on a PPA to make it easier to get integrated and updated with new kernel versions? My intention is to use a hfsx partition for $HOME both for MacOS X Yosemite and (mainly) Ubuntu Mate 15.04. Also, is this intended to be integrated in upstream Linux kernel code?

Any chance of updating this for more recent kernels?

This is what happens on 4.11.x:

  CC [M]  /var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/ioctl.o
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_releasepage’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:90:25: error: ‘PAGE_CACHE_SIZE’ undeclared (first use in this function)
  if (tree->node_size >= PAGE_CACHE_SIZE) {
                         ^~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:90:25: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:92:29: error: ‘PAGE_CACHE_SHIFT’ undeclared (first use in this function)
    (tree->node_size_shift - PAGE_CACHE_SHIFT);
                             ^~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_journaled_writepage’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:131:38: error: ‘PAGE_CACHE_SHIFT’ undeclared (first use in this function)
  const pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT;
                                      ^~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_direct_IO’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:155:17: error: implicit declaration of function ‘iov_iter_count’ [-Werror=implicit-function-declaration]
  size_t count = iov_iter_count(iter);
                 ^~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:158:27: warning: passing argument 1 of ‘blockdev_direct_IO’ makes pointer from integer without a cast [-Wint-conversion]
  ret = blockdev_direct_IO(rw, iocb, inode, iter, offset,
                           ^~
In file included from ./include/linux/seq_file.h:10:0,
                 from ./include/linux/pinctrl/consumer.h:17,
                 from ./include/linux/pinctrl/devinfo.h:21,
                 from ./include/linux/device.h:24,
                 from ./include/linux/genhd.h:64,
                 from ./include/linux/blkdev.h:10,
                 from /var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:11:
./include/linux/fs.h:2850:23: note: expected ‘struct kiocb *’ but argument is of type ‘int’
 static inline ssize_t blockdev_direct_IO(struct kiocb *iocb,
                       ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:158:31: error: passing argument 2 of ‘blockdev_direct_IO’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = blockdev_direct_IO(rw, iocb, inode, iter, offset,
                               ^~~~
In file included from ./include/linux/seq_file.h:10:0,
                                                                32,1           0%

Support for newer kernels?

The kernels in Ubuntu Trusty and Utopic (3.14 and 3.16 respectively) are too new for this driver, it seems. It doesn't want to compile on either. Is there any chance we could get this updated?

Extended attributes and bsdtar

I see this message several times when compiling PKGBUILDs and compressing them with bsdtar:

bsdtar: Couldn't list extended attributes: No data available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.