lkml.org 
[lkml]   [2001]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: loop Device doesn't work in kernel 2.4.14
At 09:57 12/11/2001 +0100, you wrote:
>Hello,
>
>I have detected that the loop device mechanism can't be
>used any longer in kernel version 2.4.14. I have compiled
>the kernel with minimum features (ext2, initrd, ramdisk) compiled
>into the kernel. The rest is all modules.
>
># cat /proc/version
>Linux version 2.4.14 (root@pcls03) (gcc version 2.95.3 20010315 (SuSE)) #2
>Wed Nov 7 11:34:01 CET 2001
>
># mount -o loop /tmp/DISK /mnt -v
>mount: Could not find any loop device, and, according to /proc/devices,
> this kernel does not know about the loop device.
> (If so, then recompile or `insmod loop.o'.)
>
># modprobe -v loop
>/sbin/insmod /lib/modules/2.4.14/kernel/drivers/block/loop.o
>Using /lib/modules/2.4.14/kernel/drivers/block/loop.o
>Symbol version prefix ''
>/lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
>deactivate_page
>/lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
>/lib/modules/2.4.14/kernel/drivers/block/loop.o failed
>/lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
>
># find /usr/src/linux-2.4.14 -type f -name '*.[ch]' |xargs grep
>deactivate_page
>/usr/src/linux-2.4.14/drivers/block/loop.c: deactivate_page(page);
>/usr/src/linux-2.4.14/drivers/block/loop.c: deactivate_page(page);
>
># depmod -ae
>depmod: *** Unresolved symbols in
>/lib/modules/2.4.14/kernel/drivers/block/loop.o
>depmod: deactivate_page
>depmod: *** Unresolved symbols in
>/lib/modules/2.4.14/kernel/drivers/net/wan/comx.o
>depmod: proc_get_inode
>depmod: *** Unresolved symbols in
>/lib/modules/2.4.14/kernel/drivers/telephony/ixj_pcmcia.o
>depmod: register_pccard_driver
>depmod: unregister_pccard_driver
>depmod: CardServices
>
>There seems to be a problem with the routine deactivate_page, which is no
>longer present
>in the 2.4.14 kernel but is used somehow in the loop device code.
>
>Hans

This is a known problem, and is fixed starting 2.4.15-pre1. Otherwise you
can also manually remove the deactivate_page calls from loop.c and compile
again.

DK

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.086 / U:8.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site