-
ramdisk boot problem
Hi,
I try to remastering Knoppix 4.0.2 with my own custom kernel on a 32-bit host.
I used the 'Remaster From Hd Install HowTo' method.
I've gotten the sources for kernel 2.6.15 from kernel.org and compiled it fine.
I used apt-get install for cloop-src (version 2.01.5-4) and unionfs-source (version 1.0.11-1) and make-mpkg modules_image to build cloop.ko and unionfs.ko
I modified the minirt.gz to integrate the new kernel and modules
when I boot the cd with qemu, I have this message :
...
Creating /ramdisk .... Done.
ERROR: CANNOT UNITE READ-ONLY MEDIA AND INITIAL RAMDISK!
Can anyone help me with this?
thank
antoine
-
Senior Member
registered user
Re: ramdisk boot problem

Originally Posted by
antoine.boutet
Creating /ramdisk .... Done.
ERROR: CANNOT UNITE READ-ONLY MEDIA AND INITIAL RAMDISK!
I think that either your unionfs.ko is not working or your minirt.gz file is corrupted. Try to pack minirt.gz again and see what happens.
If you don't get that working, perhaps you would like to use my kernel http://tapsa.terae.net/linux/knoppix....6.16-archck1/
My kernel is compiled with archck1 patchset and unionfs is compiled with the kernel as a module by default. Just install linux-image and cloop .deb packages and copy unionfs.ko and cloop.ko (and scsi modules if you need them) to the /modules directory inside minirt.gz. Also make sure you linux is copied under isolinux directory from an installed .deb package and renamed to linux.
Tip:
I don't rename my installed linux kernel to linux but to vmlinuz as in Debian DVD. That kernel I put under some subdirectory and copy vmlinuz and minirt.gz there. Then just making path in isolinux.cfg finds that kernel. By this way I can have many different kernels installed and booted from my DVD. Here's a part from my isolinux.cfg for an example:
Code:
LABEL linux
KERNEL default/vmlinuz
# linux-2.6.16-archck1 kernel
APPEND ramdisk_size=100000 init=/etc/init lang=fi apm=power-off vga=791 initrd=default/minirt.gz nomce quiet BOOT_IMAGE=knoppix dma
-
I read your last posts and I have a similar problem when I test modules by modprobe
modprobe cloop is ok but not modprobe unionfs
# modprobe unionfs
unionfs: Unknown symbol __rcuref_hash
FATAL: Error inserting unionfs (/lib/modules/2.6.15/kernel/fs/unionfs/unionfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
# dmesg
unionfs: Unknown symbol __rcuref_hash
-
If you don't get that working, perhaps you would like to use my kernel
http://tapsa.terae.net/linux/knoppix....6.16-archck1/
My kernel is compiled with archck1 patchset and unionfs is compiled with the kernel as a module by default. Just install linux-image and cloop .deb packages and copy unionfs.ko and cloop.ko (and scsi modules if you need them) to the /modules directory inside minirt.gz. Also make sure you linux is copied under isolinux directory from an installed .deb package and renamed to linux.
I can't use your kernel because I want realized a knoppix with the ipv6 mobility support (http://www.mobile-ipv6.org/)
So, I applied on my kernel the patch of the mipl which is only kernel 2.6.15.
-
So, I take a look on the HOWTO : Upgrading the kernel from firnsy present on this forum
I followed all steps
for cloop, I use apt-get install and make_kpkg modules_image to build cloop.ko.
The test with modprobe is fine
for unionfs, I use the 1.0.14 like in the howto
in the step #make unionfs2.6 I have a warning :
Code:
__rcuref_hash undefined!
in the step #make install it stop with an error
this error is mentioned in the INSTALL file of the 1.1.1 version :
Code:
if you get an error like this :
unionimap.h:9:23 uuid/uuid.h: No such file or directory
Followed, by more parse errors, then you need to make sure you have e2fsprogs-devel installed (or your distribution's equivalent)
Under Debian, it is e2fslibs-dev and I have this package
however this error, the unionfs.ko is present in the directory. Without the -g debug option, I get an unionfs.ko of 2.0MB
To place the new kernel and modules under the minirt.gz I must delete scsi directory.
And, when I boot from the iso with qemu I have the same error ....
ERROR: CANNOT UNITE READ-ONLY MEDIA AND INITIAL RAMDISK!
-
Senior Member
registered user

Originally Posted by
antoine.boutet
modprobe cloop is ok but not modprobe unionfs
# modprobe unionfs
unionfs: Unknown symbol __rcuref_hash
FATAL: Error inserting unionfs (/lib/modules/2.6.15/kernel/fs/unionfs/unionfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
# dmesg
unionfs: Unknown symbol __rcuref_hash
See tread HOWTO: Upgrading the kernel
You are not alone with unionfs compiling problem.
I'm not sure but it seems to be impossible to compile unionfs with some kernel patches. I could not compile unionfs with realtime preemption patch. My solution was to use two different kernels - one with unionfs and the other one with rt patch without unionfs, using Kanotix's linuxrc.
-tapsa-
-
Hi,
I take a look on your site http://tapsa.terae.net/linux/knoppix...inux-2.6.15.1/
I must use a 2.6.15 kernel from kernel.org and just apply a special patch for my work and I have lot of problems with unionfs.
Has your kernel 2.6.15.1 been patched ?
So, is it possible I use your configuration like base and your unionfs-modules-2.6.15.1_1.1.1....deb ???
-
Senior Member
registered user

Originally Posted by
antoine.boutet
Has your kernel 2.6.15.1 been patched ?
So, is it possible I use your configuration like base and your unionfs-modules-2.6.15.1_1.1.1....deb ???
That kernel is the only single processor kernel in my site that is not patched. The following version 2.6.15.2 is patched wiht reiser4 and suspend2 patches.
You can use my configuration (based in Knoppix 4.0.2's configuration but including many new modules that were not available when that Knoppix version was released), but to apply your own patches you must use that same 2.6.15.1 vanilla kernel from kernel.org when compiling. Somethings it is impossible to apply any patches to an other kernel than basic kernel version - I mean 2.6.15 and not 2.6.15.1 etc.
I have just compiled a new 2.6.16 single processor kernel with new beyond1 patches and with initrd:
http://tapsa.terae.net/linux/knoppix....6.16-beyond1/
-tapsa-
-
Hi,
I restarted all the manips and it is fine now ...
My iso doesn't fit in a cd, so I just tested with qemu and I have some strange messages :
ACPI: Unable to locate RSDP
PCI: PIIX3: Enabling Passive Release on 0000:00:01
The Autoconfig devices bar is very long and after I have :
mount: /dev/pts already mounted on /dev/pts
mount point 0 does not exist
INIT:
Entery run level: 5
/etc/init.d/alsa: Warning: The start method is deprecated and will be removed
Use the alsa-utils initscript instead
I think the mount problem is here because I boot the iso with qemu but the others I don't know ???
thanks
-
An another question :
By default, knoppix activate network interfaces with dhcp. Where I can change it and other network configurations ???
I don't find in linuxrc ...
thanks
Similar Threads
-
By TimHudson in forum Hardware & Booting
Replies: 3
Last Post: 08-28-2005, 04:43 AM
-
By joshuabok in forum General Support
Replies: 4
Last Post: 10-01-2004, 05:55 PM
-
By TyphoonMentat in forum Customising & Remastering
Replies: 0
Last Post: 02-27-2004, 08:12 AM
-
By ckassab in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-07-2004, 03:47 PM
-
By glukorizon in forum General Support
Replies: 2
Last Post: 05-05-2003, 08:48 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

Intel Core i7-3770K 3.5 GHz Processor
$39.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99