fc2-test2 module reiserfs.ko broken in kernels 2.6.5-1.308, 309 and 315

Phil Schaffner P.R.Schaffner at IEEE.org
Sun Apr 11 15:46:45 UTC 2004


On Sun, 2004-04-11 at 14:10 +0200, Roland Wolters wrote:
> Once upon a time Jim Cornette wrote:
> > I was getting this error when installing the kernel and did not have
> > reiserfs to cause this error. (vmware with ext3 on the virtual drive.)
> 
> The Eroor is about an unknown symbol "sleep_on" - its an error about a driver, 
> not about the working with the file system, I think.
Got the same error, and I do need reiserfs.  Tried a kernel rebuild from
kernel-source-2.6.5-1.315.  Relevant errors seem to be:

  CC [M]  fs/reiserfs/journal.o
fs/reiserfs/journal.c: In function `queue_log_writer':
fs/reiserfs/journal.c:2466: warning: `sleep_on' is deprecated (declared at include/linux/wait.h:228)
...
WARNING: /lib/modules/2.6.5-1.315custom/kernel/fs/reiserfs/reiserfs.ko needs unknown symbol sleep_on
WARNING: /lib/modules/2.6.5-1.315custom/kernel/fs/reiserfs/reiserfs.ko needs unknown symbol sleep_on

(Also, a bit worrying that a "make oldconfig" using
configs/kernel-2.6.5-i686.config prompted for new items.)

Noted that sleep_on was only used by reiserfs whereas there were a lot
of warnings along the lines of:

fs/autofs/waitq.c:166: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:231)

Despite not being in the same league with "real" kernel hackers, I
changed "sleep_on" to "interruptible_sleep_on" on line 2466 of
fs/reiserfs/journal.c, did

  make && make modules_install && make install

noted apparent success, and boldly rebooted.  Unsurprisingly, still get
the "mm/memory.c:102: bad pmd 0c4000e3" errors described in "kernel bug
in .315" thread, but reiserfs now seems to be working again.

Will consider filing a Bugzilla report if a new kernel doesn't hit the
mirrors before I finish searching the history.  ;^)

Phil






More information about the fedora-test-list mailing list