Latest Default Kernel RPM from apt-get for SuSE 8
After many attempts, I am not able to install latest Kernel for SuSE 8 Kernel Panic occurs on boot-up. Have NOT been able to run < MK_INITRD > & get message "Unable Mount Image" { believe this may be related to loop-back device?} Surely, it must be possible to install new DEFAULT Kernel ? Any ideas what might be wrong, please ? { my present kernel is compiled from Source } thanks. best wishes ____________ sent on Linux ____________
* tabanna (tabanna@aig.forthnet.gr) [020802 12:05]:
Any ideas what might be wrong, please ? { my present kernel is compiled from Source }
Did you leave out loopback support in your current kernel? You can check with zcat /proc/config.gz | grep -i blk_dev_loop -- -ckm
On Friday 02 August 2002 07:58 pm, Christopher Mahmood wrote:
Did you leave out loopback support in your current kernel? You can check with zcat /proc/config.gz | grep -i blk_dev_loop
Gee, thanks, Christopher ~ seems OK ~ done < zcat /proc/config.gz | grep -i blk_dev_loop > result : CONFIG_BLK_DEV_LOOP = m and, < lsmod > shows : loop 5856 0 (autoclean) ......................... any other ideas, please, as to 'why' MK_INITRD fails to load Image ? thanks a ton :) -- best wishes, rh ____________ sent on Linux ____________
* tabanna (tabanna@aig.forthnet.gr) [020802 13:57]:
any other ideas, please, as to 'why' MK_INITRD fails to load Image ?
Not really. Try adding '-x' to the '#!/bin/bash' in the mk_initrd script so you can at least see where it's failing. -- -ckm
On Friday 02 August 2002 09:05 pm, Christopher Mahmood wrote:
Try adding '-x' to the '#!/bin/bash' in the mk_initrd script so you can at least see where it's failing.
Thank you, Christopher ~ I'll give it a swing :) -- best wishes, rh ____________ sent on Linux ____________
* tabanna (tabanna@aig.forthnet.gr) [020802 14:50]:
+ mke2fs -q -F -b 1024 -m 0 -N 2000 ///tmp/initrd4752 mke2fs 1.26 (3-Feb-2002) + tune2fs -i 0 ///tmp/initrd4752 tune2fs 1.26 (3-Feb-2002) Setting interval between check 0 seconds + mount -oloop ///tmp/initrd4752 /tmp/mnt4752 ioctl: LOOP_SET_FD: Invalid argument
Very strange. You don't have /tmp mounted as tmpfs, do you? -- -ckm
On Friday 02 August 2002 10:04 pm, Christopher Mahmood wrote:
You don't have /tmp mounted as tmpfs, do you?
THAT was it ! . . . Absolutely "Brill" {iant} Thank you so much Christopher ~ MK-INITRD now works ! Strike me Pink ! . . . my /tmp was a symbolic link to /dev/shm -- best wishes, rh ____________ sent on Linux ____________
* tabanna (tabanna@aig.forthnet.gr) [020802 16:12]:
Have now re-compiled Kernel, with Loop-Back device into kernal { not as Module }
I did see, that, "Initial RAM disk (initrd) support" was NOT in my kernel ! . . . I have now compiled that, too, into kernel.
BUT, Murphy still Rules ~ MK_INITRD still can NOT load Image.
All you need for this to work is the loop device but it doesn't work over things like tmpfs, nfs, etc. OK, does this work? su - mkdir /tmpmount zcat /boot/initrd > /tmp/foo && mount -oloop /tmp/foo /tmpmount If it doesn't then there's something strange with your /tmp (like tmpfs). If it does, then check to see what other loop devices are mounted with 'mount'. -- -ckm
* tabanna (tabanna@aig.forthnet.gr) [020803 09:10]:
When I re-run lilo to install NEW DEFAULT SuSE Kernel < vmlinuz > ,fetched via apt-get, I have :-
"Kernel Panic : VFS : Unable to mount root fs on 03:07"
What, please, may be the next step, to trouble-shoot, and Boot VMLINUZ of new SuSE 8 Default Kernel on Reiser fs ?
That's probably because a module needed to boot (reiserfs, a scsi controller) isn't included in the initrd. Check /etc/sysconfig:kernel:INITRD_MODULES and make sure it has all of the need modules listed. -- -ckm
On Saturday 03 August 2002 06:39 pm, Christopher Mahmood wrote:
Check /etc/sysconfig:kernel:INITRD_MODULES and make sure it has all of the needed modules listed.
re: "Kernel Panic: VFS : unable to mount fs on 03:07" Thank you, Christopher. my /etc/sysconfig/kernel contains just one line : INITRD_MODULES="reiserfs" is this sufficient ? . . . my stand-alone 'puter has a CDrom, 2x IDE HDs, a floppy { think that's all} ~ my /boot partition is ext2 , and everything else is on my /root partition which is Reiser thanks best wishes, rh ____________ sent on Linux ____________
* tabanna (tabanna@aig.forthnet.gr) [020803 12:54]:
my /etc/sysconfig/kernel contains just one line :
INITRD_MODULES="reiserfs"
It should be if you aren't using a disk controller that requires a module. Your lilo stanza for this new kernel contains an initrd line, right? E.g. image = /boot/vmlinuz label = whatever initrd = /boot/initrd root = /dev/XXXX -- -ckm
Yes. i have been having similar problems with a host of attemps to both patch, install updated "default" kernels, and also with re-installation with the same = original kernal versions. I have gotten the same messages. I have a pdc 20276 IDE/promise controller on my board and after applying either a patch, an rpm ( both a default and a mantel "next" version) and subsequently the original (default CD suppied) kernel I have the same issues - cant unable to mount image or /dev/hdX is not a valid device. I found an incomplete work around by disable said Promise features in the bios but something screwy about the way the modules linking is happening. I have had the loopback in and out of the config/complie and the results are the same. At one point I thought I had it stable but then the module config/links weren't right as stated earlier. I wonder if one or more scripts/calls aren't being made or made right. Cheers, Curtis On Friday 02 August 2002 14:01, tabanna wrote:
After many attempts, I am not able to install latest Kernel for SuSE 8
Kernel Panic occurs on boot-up.
Have NOT been able to run < MK_INITRD > & get message "Unable Mount Image" { believe this may be related to loop-back device?}
Surely, it must be possible to install new DEFAULT Kernel ?
Any ideas what might be wrong, please ? { my present kernel is compiled from Source }
thanks.
best wishes
____________
sent on Linux
____________
participants (3)
-
Christopher Mahmood
-
Curtis Rey
-
tabanna