-
Building cloop for kernel 2.6.x
Hi all;...
...just saw that Knoppix 3.6 also features kenel 2.6.7, so cloop seems to be working with 2.6, after all. Anyhow, I am constantly failing to get cloop 2.01 to work with any of the 2.6 kernels by now. Basically, it fails in a reproducible way:
cloop: Initializing cloop v2.01
Unable to handle kernel NULL pointer dereference at virtual address 0000003e
printing eip:
c022bde0
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: cloop snd_mixer_oss msr cpuid sd_mod ds parport_pc lp parport thermal fan button battery ac snd_via82xx snd_ac97_codec snd_pcm snd_timer snd_ page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore usbhid eth13 94 ehci_hcd uhci_hcd usbcore ohci1394 ieee1394 yenta_socket pcmcia_core via_agp agpgart evdev dm_mod via_rhine powernow_k7 freq_table processor
CPU: 0
EIP: 0060:[<c022bde0>] Not tainted
EFLAGS: 00010246 (2.6.7)
EIP is at strlcpy+0x20/0x80
eax: 00000000 ebx: 00000010 ecx: ffffffff edx: 0000003e
esi: c13ae2a8 edi: 0000003e ebp: c13ae2b0 esp: ca12bf0c
ds: 007b es: 007b ss: 0068
Process insmod (pid: 2418, threadinfo=ca12a000 task=caf2e2d0)
Stack: 00000000 cec601dc c13ae2a8 00000000 ca12bfa0 c0274809 00000000 c042c1e0
00000246 0000003e 000007c0 00000000 00000001 ca12bfa0 cec3108f 000000f0
cec601dc cec601dc 00000000 00000000 00000000 00000008 cec61c88 0000000e
Call Trace:
[<c0274809>] register_blkdev+0x79/0x150
[<cec3108f>] cloop_init+0x8f/0x333 [cloop]
[<c0128e23>] sys_init_module+0xf3/0x1c0
[<c0145bcf>] filp_close+0x4f/0x80
[<c0103cfb>] syscall_call+0x7/0xb
Code: f2 ae f7 d1 49 85 db 89 0c 24 74 2e 39 d9 8d 43 ff 89 cb 0f
Any ideas?
Thanks and bye,
Kris
-
kawazu,
Apply these two patches (in same order) to your kernel source before compilation:-
http://users.tpg.com.au/sigm/2.6.8-filemap.patch
http://users.tpg.com.au/sigm/2.6.8-cloop.patch
Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.
I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.
The patches will be there for a couple of days only.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kelmo
...
Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.
...
I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.
...
Okay, thanks for your hint.
Actually, I am also into getting Knoppix sort of "remastered" based on squashedfs because I prefer its way of handling file systems, but I needed to access a cloop-compressed image, first. ![Smile](images/smilies/icon_smile.gif)
Thanks and bye,
Kris
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kawazu
![Quote](images/misc/quote_icon.png)
Originally Posted by
kelmo
...
Cloop is now in your kernel, so no need to compile it externally. Just enable it as a module in your config.
...
I use squashfs instead of cloop now. It has much better compression, but involves some miniroot modifications.
...
Okay, thanks for your hint.
![Smile](images/smilies/icon_smile.gif)
Actually, I am also into getting Knoppix sort of "remastered" based on squashedfs because I prefer its way of handling file systems, but I needed to access a cloop-compressed image, first.
Thanks and bye,
Kris
I'm trying to update the kernel of my knoppix based router and pbx PC to 2.6.8 in order to get my webcam connected - but I experienced the same troubles with cloop...
In short: I'd like to get those patches as well, but I can't find them anywhere on the net. Would you please give me an url where I can get the patch?
Bye,
Daniel
Similar Threads
-
By jrp in forum Customising & Remastering
Replies: 0
Last Post: 09-12-2004, 12:13 PM
-
By garyng in forum General Support
Replies: 2
Last Post: 04-21-2003, 09:54 PM
-
By garyng in forum Customising & Remastering
Replies: 1
Last Post: 04-11-2003, 03:27 PM
-
By sergiornunes in forum Customising & Remastering
Replies: 1
Last Post: 04-09-2003, 03:01 PM
-
By zamoose in forum Customising & Remastering
Replies: 5
Last Post: 01-24-2003, 04:32 PM
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
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/g/TIMAAOSw969gDuvf/s-l225/HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/g/xy8AAOSwuMhl8Y7x/s-l225/Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.34
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/g/tFMAAOSwjDVmceFV/s-l225/Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/g/de0AAOSwcJJlDe~2/s-l225/Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/g/buwAAOSwDghlwalj/s-l225/HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture](/store/img/g/qqcAAOSw~xVgcyGX/s-l225/CISCO-A03-D1TBSATA-1TB-7-2K-6G-2-5INCH-SATA-HDD.jpg)
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
![Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5](/store/img/g/ZyMAAOSw4ullEigP/s-l225/Seagate-ST12000NM0127-12TB-256MB-7200RPM-3-5-SATA-.jpg)
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$93.99
![WD Ultrastar DC HC530 14TB SATA 6G 3.5](/store/img/g/gggAAOSwwB5mL~fg/s-l225/WD-Ultrastar-DC-HC530-14TB-SATA-6G-3-5-7200RPM-Ent.jpg)
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$110.00
![Western Digital 4TB Internal 7.2KRPM 3.5](/store/img/g/QHQAAOSwCPxl~ZwC/s-l225/Western-Digital-4TB-Internal-7-2KRPM-3-5-WD4000FYY.jpg)
Western Digital 4TB Internal 7.2KRPM 3.5" (WD4000FYYZ) SATA Hard Drive ZERO HOUR
$69.99
![Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404 picture](/store/img/g/d8UAAOSwPR1mEBue/s-l225/Western-Digital-DC-HC320-Ultrastar-8TB-7200RPM-SAT.jpg)
Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404
$99.00