-
FATAL: Error inserting cloop : Invalid argument
Hi all,
Before remastering my own knoppix, I am trying to extract the KNOPPIX file through the use of cloop.ko.
I am using Debian with kernel 2.6.16 patched with beyond3 patch set:
1. download the 2.6.16 source from http://www.kernel.org
2. patch it with the beyond3 patch from http://iphitus.loudas.com/archck.php
3. make-kpkg provided in Debian with gcc 4.1
Code:
gcc (GCC) 4.1.0 (Debian 4.1.0-1+b1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4. install the generated deb file
Then I downloaded the cloop 2.02.1 source file from the debian's package page:
http://ftp.debian.org/debian/pool/ma...1+eb.10.tar.gz
The cloop module was compiled without problems:
Code:
# make module
make modules -C /lib/modules/2.6.16-beyond3-1-686/build M=/cvs3/cvs/modules/cloop-2.02.1+eb.10 KERNELRELEASE=2.6.16-beyond3-1-686
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
CC [M] /cvs3/cvs/modules/cloop-2.02.1+eb.10/compressed_loop.o
/cvs3/cvs/modules/cloop-2.02.1+eb.10/compressed_loop.c: In function 'uncompress':
/cvs3/cvs/modules/cloop-2.02.1+eb.10/compressed_loop.c:166: warning: pointer targets in assignment differ in signedness
/cvs3/cvs/modules/cloop-2.02.1+eb.10/compressed_loop.c:168: warning: pointer targets in assignment differ in signedness
LD [M] /cvs3/cvs/modules/cloop-2.02.1+eb.10/cloop.o
Building modules, stage 2.
MODPOST
CC /cvs3/cvs/modules/cloop-2.02.1+eb.10/cloop.mod.o
LD [M] /cvs3/cvs/modules/cloop-2.02.1+eb.10/cloop.ko
make[1]: Leaving directory `/usr/src/linux-2.6.16-beyond3'
and install without problem as well:
Code:
# make install-module
/usr/bin/make modules -C /lib/modules/2.6.16-beyond3-1-686/build M=/cvs3/cvs/modules/cloop-2.02.1+eb.10 KERNELRELEASE=2.6.16-beyond3-1-686
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.16-beyond3'
/usr/bin/make modules_install -C /lib/modules/2.6.16-beyond3-1-686/build M=/cvs3/cvs/modules/cloop-2.02.1+eb.10 KERNELRELEASE=2.6.16-beyond3-1-686
make[1]: Entering directory `/usr/src/linux-2.6.16-beyond3'
INSTALL /cvs3/cvs/modules/cloop-2.02.1+eb.10/cloop.ko
make[1]: Leaving directory `/usr/src/linux-2.6.16-beyond3'
#depmod -a
However, when I tried to modprobe the module, it gave me a FATAL error:
Code:
# modprobe cloop
FATAL: Error inserting cloop (/lib/modules/2.6.16-beyond3-1-686/extra/cloop.ko): Invalid argument
From the dmesg:
Code:
"cloop": falsely claims to have parameter file
I thought that the argument ``file`` became optional long time ago. And I am wondering what is the cause of it ?
- Could it be the compiler ? Maybe gcc 4.1 is too new...but other modules (ndiswrapper, cdemu, cdfs, madwifi all ok...)
- Could it be the beyond patch ? The last 2.6.16 kernel I patched with beyond2 worked well with the cloop module
Thanks in advanced.
Similar Threads
-
By Fog_Watch in forum Hardware & Booting
Replies: 5
Last Post: 11-14-2007, 02:08 PM
-
By Reks in forum Networking
Replies: 7
Last Post: 10-25-2006, 05:22 PM
-
By syruice in forum General Support
Replies: 9
Last Post: 01-08-2006, 03:19 PM
-
By Droide in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-08-2005, 04:11 PM
-
By hamatoma in forum Networking
Replies: 0
Last Post: 11-03-2003, 10:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Intel SPTSLP2SLCDE 100G-DR1 QSFP28 500m 1311nm Transceivers - Lot of 10 - New
$200.00

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

10Gtek ASF-10G-T 10GBase-T SFP+ to RJ45 Copper Transceiver Module
$19.98

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00