Hfsplus On C7

Home » CentOS » Hfsplus On C7
CentOS 11 Comments

I followed the instructions (I thought) for hfsplus on C7. Installed elrepo Then installed hfsplus hfsplus-tools and kmod-hfsplus kmod-hfs rpm -qa | grep hfs clearly shows the items kmod-hfsplus-0.0-2.el7.elrepo.x86_64
hfsplus-tools-540.1.linux3-4.el7.x86_64
kmod-hfs-0.0-2.el7.elrepo.x86_64

When I do my mount command

mount -t hfsplus -o loop Mac.dmg /mnt/mac mount: unknown filesystem type hfsplus

What did I miss? Thanks,

Jerry

11 thoughts on - Hfsplus On C7

  • –kfKHQT9fXCAeQ2sUS0piot0SfltkUCTQK
    Content-Type: text/plain; charset=windows-1252
    Content-Transfer-Encoding: quoted-printable

    modprobe hfsplus

    (maybe)

    –kfKHQT9fXCAeQ2sUS0piot0SfltkUCTQK

  • I get an error doing that:

    modprobe hfsplus

    modprobe: FATAL: module hfsplus not found

    I redid the listing

    rpm -qa | grep hfs kmod-hfs-0.0-2.el7.elrepo.x86_64
    kmod-hfsplus-0.0-2.el7.elrepo.x86_64
    hfsplus-tools-540.1.linux3-4.el7.x86_64

    Thoughts?

    Jerry

  • I dont see anything hfsplus in the modules area???

    rpm -qa | grep hfs kmod-hfs-0.0-2.el7.elrepo.x86_64
    kmod-hfsplus-0.0-2.el7.elrepo.x86_64
    hfsplus-tools-540.1.linux3-4.el7.x86_64

    modprobe hfsplus gives the error: hfsplus not found

    mkfs.hfsplus is present.

    but hfsplus is not available? why not.

    Thanks,

    Jerry

  • rpm -qa | grep hfsplus kmod-hfsplus-0.0-2.el7.elrepo.x86_64
    hfsplus-tools-540.1.linux3-4.el7.x86_64
    [root@nuc5i3 ~]#
    [root@nuc5i3 ~]# find /lib/modules -name hfs*.ko
    /lib/modules/3.10.0-327.el7.x86_64/weak-updates/hfs/hfs.ko
    /lib/modules/3.10.0-327.el7.x86_64/weak-updates/hfsplus/hfsplus.ko
    /lib/modules/3.10.0-327.4.4.el7.x86_64/weak-updates/hfs/hfs.ko
    /lib/modules/3.10.0-327.4.4.el7.x86_64/weak-updates/hfsplus/hfsplus.ko
    /lib/modules/3.10.0-327.22.2.el7.x86_64/weak-updates/hfs/hfs.ko
    /lib/modules/3.10.0-327.22.2.el7.x86_64/weak-updates/hfsplus/hfsplus.ko
    /lib/modules/3.10.0-327.28.2.el7.x86_64/weak-updates/hfs/hfs.ko
    /lib/modules/3.10.0-229.el7.x86_64/extra/hfs/hfs.ko
    /lib/modules/3.10.0-229.el7.x86_64/extra/hfsplus/hfsplus.ko
    [root@nuc5i3 ~]# uname -r
    3.10.0-327.28.2.el7.x86_64
    [root@nuc5i3 ~]# rpm -qa kernel | sort kernel-3.10.0-327.22.2.el7.x86_64
    kernel-3.10.0-327.28.2.el7.x86_64
    kernel-3.10.0-327.4.4.el7.x86_64
    kernel-3.10.0-327.el7.x86_64

    Next step?
    Thanks

    Jerry

  • It would seem kmod-hfsplus does not have a module for my kernel

    uname -r
    3.10.0-327.28.2.el7.x86_64

    yum provides “*/hfsplus.ko”

    Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
    * base: mirror.tzulo.com
    * elrepo: repos.ord.lax-noc.com
    * extras: mirrors.usinternet.com
    * updates: mirror.nexcess.net kmod-hfsplus-0.0-1.el7.elrepo.x86_64 : hfsplus kernel module(s)
    Repo : elrepo Matched from:
    Filename : /lib/modules/3.10.0-123.el7.x86_64/extra/hfsplus/hfsplus.ko

    kmod-hfsplus-0.0-2.el7.elrepo.x86_64 : hfsplus kernel module(s)
    Repo : elrepo Matched from:
    Filename : /lib/modules/3.10.0-229.el7.x86_64/extra/hfsplus/hfsplus.ko

    kmod-hfsplus-0.0-2.el7.elrepo.x86_64 : hfsplus kernel module(s)
    Repo : @elrepo Matched from:
    Filename : /lib/modules/3.10.0-229.el7.x86_64/extra/hfsplus/hfsplus.ko

    Jerry

  • Thank you Jerry.

    It would appear that the hfsplus kernel module does not weak-link against the very latest kernel (3.10.0-327.28.2.el7.x86_64).

    Please would you file a bug report at elrepo.org/bugs against the kmod-hfsplus el7 package and I will do my best to fix it for you.

  • As a temporary workaround Jerry, could you try booting from your previous kernel-3.10.0-327.22.2.el7.x86_64 and see if hfsplus works for you on that kernel.

    As I said in my previous post, once you’ve filed a bug report I’ll see if I can fix the issue so we can get you a working kernel module that supports your latest kernel.

  • Thanks Ned… here it is.

    The following issue has been SUBMITTED.
    =====================================================================https://elrepo.org/bugs/view.php?idf9
    =====================================================================Reported By: Jerry Geis Assigned To:
    =====================================================================Project: channel: elrepo/el7
    Issue ID: 669
    Category: kmod-hfsplus Reproducibility: always Severity: minor Priority: normal Status: new Reported upstream:
    =====================================================================Date Submitted: 2016-08-16 13:16 MDT
    Last Modified: 2016-08-16 13:16 MDT
    =====================================================================Summary: hfsplus does notwork with latest kernel
    3.10.0-327.28.2.el7.x86_64
    Description:

    It would appear that the hfsplus kernel module does not weak-link against the very latest kernel (3.10.0-327.28.2.el7.x86_64).

    =====================================================================
    Issue History Date Modified Username Field Change
    =====================================================================2016-08-16 13:16 Jerry Geis New Issue
    =====================================================================

  • Thanks!

    The latest kernel update (3.10.0-327.28.2.el7.x86_64) broke the ABI of the kernel(blkdev_issue_flush) symbol.

    It’s unusual/rare to get kABI breakage within a kernel series (as opposed to at a point release), but it can occasionally happen for symbols that are not on the kernel whitelist as is the case here.

    I’ve built you an updated package that should hopefully fix the issue and it’s currently syncing to the mirrors.

    hfsplus-kmod-0.0-3.el7.elrepo.src.rpm kmod-hfsplus-0.0-3.el7.elrepo.x86_64.rpm

    Note: this package will only work with kernel-3.10.0-327.28.2.el7.x86_64
    and above.

LEAVE A COMMENT