-
recompile kernel
Hello everybody
I have a little problem (as every one does). I need write support for QNX4FS. I found a Kernel Patch for this on http://qnxfs.narod.ru/ . I've installed Knoppix (c't 3.4 version) on the hdd.
I've tried the http://www.knoppix.net/forum/viewtopic.php?t=3029 , but it didn't work to compile and so on. I got a lot of problems with this. It gives me errors for making "make xconfig" or once later in "make-kpkg --initrd --revision=custom.1.0 kernel_image modules". Then i've tried to download a kernel from kernel.org (2.4.25) and install this one. but this finally didn't work. i changed lilo and made up everything i think and i got a "unable to mount root fs" error.
I forgot to mention, that i always use the old config from /boot/config-.....
Maybe can someone tell me short how i have to recompile a kernel with the old config?
thx a lot.
greetings
BoopaMagal
-
Senior Member
registered user
Re: recompile kernel
![Quote](images/misc/quote_icon.png)
Originally Posted by
BoopaMagal
Hello everybody
I have a little problem (as every one does). I need write support for QNX4FS. I found a Kernel Patch for this on
http://qnxfs.narod.ru/ . I've installed Knoppix (c't 3.4 version) on the hdd.
I've tried the
http://www.knoppix.net/forum/viewtopic.php?t=3029 , but it didn't work to compile and so on. I got a lot of problems with this. It gives me errors for making "make xconfig" or once later in "make-kpkg --initrd --revision=custom.1.0 kernel_image modules". Then i've tried to download a kernel from kernel.org (2.4.25) and install this one. but this finally didn't work. i changed lilo and made up everything i think and i got a "unable to mount root fs" error.
I forgot to mention, that i always use the old config from /boot/config-.....
Maybe can someone tell me short how i have to recompile a kernel with the old config?
thx a lot.
greetings
BoopaMagal
That sounds like the initrd did not get made or not made properly (most likely the module you are compiling for now not included in the config somewhere if it is your root file system can't be of much help here never use initrd) for the new kernel, you either have to track down the error or compile with the module included in the kernel (selected yes instead of module) a couple of guides below. BTW it would be modules_image in the kernel compile command line and that would only be needed if you were compiling additional modules (not kernel modules) that you have extracted to the /usr/src/modules directory this option is not necessary if you are only compiling a kernel itself all its modules selected will be built with the kernel_image switch and installed when you install the kernel image package.
http://ftp.sun.ac.za/ftp/linux/docs/...ianKernel.html
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
-
Thx for your help
Now i started over with knoppix 3.3 and tried the following:
wget http://developer.linuxtag.net/knoppi...Custom_all.deb
dpkg -i kernel-source-2.4.24-xfs_10.00.Custom_all.deb
cd /usr/src
tar xvfj kernel-source-2.4.24-xfs
cd kernel-source-2.4.24-xfs
cp /boot/config-2.4.22-xfs .config
make xconfig
// here i didn't change anything (jzust looking) and saved the config
make-kpkg clean
make-kpkg clean --initrd --revision=custom.1.0 kernel_image
cd ..
dpkg -i kernel-image<tab> // there is only one (the new one)
// answered the question with inittab with no to continue
then this went without problems
i added a new image to lilo:
image=/boot/vmlinuz-2.4.24-xfs
label=Linux2.4.24
initrd=/boot/initrd.img-2.4.24-xfs
read-only
then i run "lilo" with no errors
when i boot this kernel:
Kernel Panic: VFS: Unable to mount root fs on 03:03
anyone knows why this happens?
thx for your help.
greetings
Patrick Boos
Similar Threads
-
By chris-ukl in forum Customising & Remastering
Replies: 0
Last Post: 03-30-2005, 11:04 AM
-
By samwhich in forum General Support
Replies: 0
Last Post: 06-18-2004, 06:12 PM
-
By keyvisuals in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-17-2004, 04:38 PM
-
By tmp001 in forum General Support
Replies: 0
Last Post: 04-28-2004, 11:48 AM
-
By Worm in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-03-2004, 06:36 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
![Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture](/store/img/g/jHUAAOSwQ5RmYLmZ/s-l225/Intel-Core-i7-13700KF-13th-Gen-Raptor-Lake-16-Core.jpg)
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...
$269.99
![AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads picture](/store/img/g/lUEAAOSw4exmMBDH/s-l225/AMD-Ryzen-9-7900X3D-Gaming-Processor-12-Core-And-2.jpg)
AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads
$309.99
![Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture](/store/img/g/7-YAAOSwHaFjXQ2k/s-l225/Intel-Core-i7-12700K-Desktop-Processor-12-8P-4E-Co.jpg)
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$214.99
![Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture](/store/img/g/snwAAOSwhWZhsOrI/s-l225/Intel-Core-i9-12900K-Desktop-Processor-16-8P-8E-Co.jpg)
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$309.99
![Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture](/store/img/g/0eYAAOSwcHZlMDWu/s-l225/Intel-Core-i7-14700K-14th-Gen-20-Core-28-Thread-4-.jpg)
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
![AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray picture](/store/img/g/TPkAAOSwvv5mT7XN/s-l225/AMD-Ryzen-5-7600x-Processor-5-3-GHz-6-Cores-LGA-17.jpg)
AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray
$179.99
![Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc... picture](/store/img/g/l40AAOSwi61hsOsH/s-l225/Intel-Core-i5-12600K-Desktop-Processor-10-6P-4E-Co.jpg)
Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc...
$174.99
![AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450 picture](/store/img/g/IaIAAOSwmQxfUdRR/s-l225/AMD-Ryzen-5-3600-3-6GHz-6-Core-12T-PROCESSOR-Socke.jpg)
AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450
$59.00
![LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5 picture](/store/img/g/NLUAAOSwSoBkpZ7y/s-l225/LOT-QTY-2-of-INTEL-XEON-10-CORE-E5-2690-V2-25MB-3-.jpg)
LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5
$139.99
![Wholesale AMD Ryzen r5-2600x CPU Processor lot picture](/store/img/g/d8IAAOSwXy9mhOs1/s-l225/Wholesale-AMD-Ryzen-r5-2600x-CPU-Processor-lot.jpg)
Wholesale AMD Ryzen r5-2600x CPU Processor lot
$382.77