Bug 117363 - hfsplus kernel module can't be added
hfsplus kernel module can't be added
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Stephen Tweedie
Depends On:
  Show dependency treegraph
Reported: 2004-03-03 04:34 EST by Richard Gill
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-03-11 09:47:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard Gill 2004-03-03 04:34:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
rv:1.6) Gecko/20040206 Firefox/0.8

Description of problem:
I rebuilt the kernel with fs/hfsplus added as module. 
"make modules" did not succeed: it produced error messages
while compiling the hfsplus code.

I also tried with  fs/hfsplus built-in, 
instead of as a module.
The rebuilding failed at the "make bzImage" stage, 
while busy in the directory

I append the error messages below.
It did not help to ignore all errors and proceed anyway.
The hfsplus module got built but could not be loaded.

I also tried using the latest hfs and hfsplus code together
with kernel patches from roman at ardistech:
This did change anything.

Also I built and installed some later kernels (2.4.22, 2.4.25)
from kernel.org. This time I succeeded except that the X window
manager would not start, so the system is not much use.

Previously I was able easily to add hfsplus support to Redhat 9.

If anyone is interested I can supply the error messages from
"make modules" when hfsplus support is asked for, as module.

Error messages from "make bzImage" with fs/hfsplus 
support built-in:

In file included from xfrm_algo.c:16:
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h: In function
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h:26: warning: implicit
declaration of function `crypto_hmac_init'
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h:27: `crypto_hmac_update'
undeclared (first use in this function)
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h:27: (Each undeclared
identifier is reported only once
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h:27: for each function it
appears in.)
/root/linux-2.4.21-9.0.1.EL/include/net/ah.h:28: warning: implicit
declaration of function `crypto_hmac_final'
In file included from xfrm_algo.c:19:
/root/linux-2.4.21-9.0.1.EL/include/net/esp.h: In function
/root/linux-2.4.21-9.0.1.EL/include/net/esp.h:49: `crypto_hmac_update'
undeclared (first use in this function)
make[3]: *** [xfrm_algo.o] Error 1
make[3]: Leaving directory `/root/linux-2.4.21-9.0.1.EL/net/xfrm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/linux-2.4.21-9.0.1.EL/net/xfrm'
make[1]: *** [_subdir_xfrm] Error 2
make[1]: Leaving directory `/root/linux-2.4.21-9.0.1.EL/net'
make: *** [_dir_net] Error 2

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.add hfsplus file support (module) to the kernel with (eg) make xconfig
2.make dep; make clean; make bzImage; make modules


Actual Results:  Error messages during compilation of hfsplus module.
Not able to add support for hfsplus fs as kernel module.

Expected Results:  I should have been able to add support for hfsplus
to the kernel. This is easy to do in redhat linux 9.
I suppose that some of the backporting of 2.6 features is
incompatible with the hfsplus code.

I can well understand that this is not a supported feature of
rh el ws 3 but still it seems to me that it is a bug.

Additional info:
Comment 2 Stephen Tweedie 2004-03-11 09:47:59 EST
If you can't build the kernel at all, after a "make mrproper", then
that's a bug.  But if it's just the HFS modules, then sorry, for
modules we don't configure in there's simply no support.
Comment 3 Richard Gill 2004-03-11 12:57:21 EST
Indeed it was just the hfsplus modules (not the hfs modules!)
If you don't want to call it a bug, fine by me. I guess I should
forget RHEL and live on the bleeding edge with Fedora (where I can
mount hfsplus disks, and I don't even need to recompile the kernel
to do it).
Comment 4 Richard Gill 2004-03-11 13:35:51 EST
PS. the module does compile in 2.4.21; but it doesn't compile 
in rhel modified 2.4.21 kernel. So apparently some changes to the
kernel by redhat are incompatible with this existing module.
I hope you will check that this problem does not persist in
future versions of rhel.
Comment 5 David Lawrence 2004-03-15 13:52:36 EST
Changing product and version.

Note You need to log in before you can comment on or make changes to this bug.