| |||
| Kernel Panic/ Error 15 Hi all, I downloaded the latest stable kernel and did the following steps. Please note, the hyphen, dash or dot in the kernel version was completed by hitting tab key during Linux kernel compilation. However, there might be some goof up/typo as I type it below. # tar -jxvf /usr/src/kernels/linux-2.6.25-9.tar.bz2 # cd /usr/src/kernels/linux-2.6.25-9 # make menuconfig (text) # make clean #make bzImage #make modules #make modules_install Until this point, everything went smoothly. #cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-8 Overwrite the file? y #cp /usr/src/kernels/linux-2.6.25-9/System.map /boot/System.map-2.6.18-8 Overwrite the file? y Now from the next command something went wrong. # ln -s /boot/System.map-2.6.25-9 /boot/System.map Got error : File already exists # Checked in /lib/modules/ and found 2.6.25-9 was created. # mkinitrd /boot/initrd-2.6.25-9.img 2.6.25-9 Got error : File already exists #vi /etc/grub.conf default=0 timeout=30 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Enterprise Linux AS (2.6.18-8.EL) root (hd0,0) kernel /vmlinuz-2.6.18-8.EL ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-8.EL.img Obviously, the new kernel failed to show up in grub. May I know what could be possibly wrong? Upon booting I got Kernel Panic error which did NOT show "Attempted to Kill" message. It was something else which I forgot to write. Upon changing grub entry I got Error 15. All help appreciated. Thank you all in advance. Regards, Arty |
| |||
| Re: Kernel Panic/ Error 15 Em Domingo, 29 de Junho de 2008 18:25, Artnut escreveu: > > #cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-8 > > Overwrite the file? y it is a very bad idea to replace a kernel like that, you should had bild the new one to a new image /boot/vmlinuz-2.625-9 and then add the new kernel in the grub configuration... only after the new kernel is tested and running ok, the old kernel may be deleted. you can have has many vmlinuz files as you want it. > > # ln -s /boot/System.map-2.6.25-9 /boot/System.map > > Got error : File already exists delete de old link before create the new one > > #vi /etc/grub.conf > > default=0 > timeout=30 > splashimage=(hd0,0)/grub/splash.xpm.gz > title Red Hat Enterprise Linux AS (2.6.18-8.EL) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.EL ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.18-8.EL.img > > > > Obviously, the new kernel failed to show up in grub. May I know what could > be possibly wrong? ??? if you are manually installing a new kernel, you must add it to grub manually too. > Upon booting I got Kernel Panic error which did NOT show "Attempted to > Kill" message. It was something else which I forgot to write. > > Upon changing grub entry I got Error 15. Course... > > > All help appreciated. Thank you all in advance. i supose you can't boot your system now, so use a live-cd to correct the mess you made. next time, do it without replacing any file in /boot (except the links), instead just create new ones with diferent names and add entries on grub configuration. good luck |
| |||
| Re: Kernel Panic/ Error 15 Artnut wrote: > #make bzImage > > #make modules > > #make modules_install Do instead make && make modules_install It will do the same as the above but slightly faster > Until this point, everything went smoothly. > > #cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18-8 > > Overwrite the file? y You should have answered no, you should never copy it over an previous version, always keep the old one untouched, this way you have something to boot with if you mess things up with your configuration. > Now from the next command something went wrong. > > # ln -s /boot/System.map-2.6.25-9 /boot/System.map > > Got error : File already exists This tells that there is already a 2.5.25.9 kernel > # Checked in /lib/modules/ and found 2.6.25-9 was created. Thats not so strange, as you did a "make modules_install" > # mkinitrd /boot/initrd-2.6.25-9.img 2.6.25-9 > > Got error : File already exists mkinitrd refuses to create a new one, you have to wither rename the old one or pick a new name. > #vi /etc/grub.conf > > default=0 > timeout=30 > splashimage=(hd0,0)/grub/splash.xpm.gz > title Red Hat Enterprise Linux AS (2.6.18-8.EL) > root (hd0,0) > kernel /vmlinuz-2.6.18-8.EL ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.18-8.EL.img > > > > Obviously, the new kernel failed to show up in grub. May I know what could > be possibly wrong? If you don't use the package manager (rpm) to install an kernel rpm, no new entries will be added to grub, you have to do that manually. > Upon booting I got Kernel Panic error which did NOT show "Attempted to Kill" > message. It was something else which I forgot to write. > > Upon changing grub entry I got Error 15. > > > > > All help appreciated. Thank you all in advance. Boot into rescue mode with your RHEL install CD/DVD, chroot to your installation, check for the kernel rpm on the boot media, uninstall the 2.6.18 kernel with the "rpm -e" command and then install the kernel you found on the media with "rpm -ivh", if you still have troubles, then do it again, but reinstall grub first. -- //Aho |
| |||
| Re: Kernel Panic/ Error 15 Artnut wrote: > Hi all, > > I downloaded the latest stable kernel and did the following steps. > > Please note, the hyphen, dash or dot in the kernel version was completed by > hitting tab key during Linux kernel compilation. However, there might be > some goof up/typo as I type it below. what linux distribution are you using? -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.25.9 ^ ^ 12:10:01 up 55 min 2 users load average: 1.00 1.02 1.09 ? ? (CSSA): http://www.swd.gov.hk/tc/index/site_...ub_addressesa/ |
| |||
| Re: Kernel Panic/ Error 15 "Man-wai Chang ToDie (33.6k)" <toylet.toylet******.com> wrote in message news:48685ce7@127.0.0.1... > Artnut wrote: >> Hi all, >> >> I downloaded the latest stable kernel and did the following steps. >> >> Please note, the hyphen, dash or dot in the kernel version was completed >> by hitting tab key during Linux kernel compilation. However, there might >> be some goof up/typo as I type it below. > > what linux distribution are you using? > > -- I wonder how relevant my linux distro's mention here would be but nonetheless it is RHEL5. I appreciate the responses from all of you but honestly I GIVE UP because now am very frustrated with the whole experience of getting back the old kernel or installing grup. Just cannot figure out what wrong I am doing and where I am going. Each step gives some strange error. 15, 13, panic. So finally, have no other option but to reinstall it as we do with Windows! I checked on google.com/linux the steps to install new kernel and some of them are indeed very confusing as each one lists it little differently. Some still assume the user is using Lilo, whereas whatever little I know, the trend is more towards grub. Is there any way I can find a simple step by step process? TIA, Arty |
| |||
| Re: Kernel Panic/ Error 15 > I wonder how relevant my linux distro's mention here would be but > nonetheless it is RHEL5. There may be an easier way to compile your kernel. At least, that's the case for my Ubuntu-8.04. RHEL5? That's really old.... why not use Fedora 9? I think the latest version of RHEL is 8, right? -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.25.9 ^ ^ 18:49:01 up 7:34 1 user load average: 1.03 1.03 1.00 ? ? (CSSA): http://www.swd.gov.hk/tc/index/site_...ub_addressesa/ |
| |||
| Re: Kernel Panic/ Error 15 > I wonder how relevant my linux distro's mention here would be but > nonetheless it is RHEL5. BTW, you don't have to use a distribution that called itself a server to set up a linux server. Any distribution would do. -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 8.04) Linux 2.6.25.9 ^ ^ 18:51:01 up 7:36 1 user load average: 1.02 1.04 1.00 ? ? (CSSA): http://www.swd.gov.hk/tc/index/site_...ub_addressesa/ |
| |||
| Re: Kernel Panic/ Error 15 "Man-wai Chang ToDie (33.6k)" <toylet.toylet******.com> wrote in message news:4868bad6@127.0.0.1... >> I wonder how relevant my linux distro's mention here would be but >> nonetheless it is RHEL5. > > BTW, you don't have to use a distribution that called itself a > server to set up a linux server. Any distribution would do. > Aah..... I have used a bit of Ubuntu, one of the earliest versions, I cant remember which one and also used RH9 and Fedora 6. Then for some time used Suse 10. I merely wanted to try a few distros. To be honest, most of my work is on Windows but I try to use as much Linux as I can. The issue with trying Linux distros is that each time I have to let go of whatever data I have. So far haven't figured out where to get it backed up. The kernel installation was just one of my learning by trial and error methods. Appreciate all help given to me. BTW, a bit OT here. May I know why is your signature so big, large, huge? Regards, Arty |
| |||
| Re: Kernel Panic/ Error 15 "Man-wai Chang ToDie (33.6k)" <toylet.toylet******.com> wrote in message news:4868baa0$1@127.0.0.1... >> I wonder how relevant my linux distro's mention here would be but >> nonetheless it is RHEL5. > > There may be an easier way to compile your kernel. At least, > that's the case for my Ubuntu-8.04. > > RHEL5? That's really old.... why not use Fedora 9? I think > the latest version of RHEL is 8, right? > > -- Fedora 9 maybe right version but RHEL is still at version 5. In some offices RH 7, 8 and 9 are still strong and sturdy WITHOUT major issues. Arty |
| |||
| Re: Kernel Panic/ Error 15 Man-wai Chang ToDie (33.6k) wrote: >> I wonder how relevant my linux distro's mention here would be but >> nonetheless it is RHEL5. > > There may be an easier way to compile your kernel. At least, > that's the case for my Ubuntu-8.04. I say it's as easy to compile a kernel, regardless of version, distribution or architecture and there is always a chance for someone who don't read properly to make a bad mistake. > RHEL5? That's really old.... why not use Fedora 9? I think > the latest version of RHEL is 8, right? No RHEL has a lower version numbering than the Fedora which is the devel version of RHEL, if I remember it right RHEL5=FC8. You are thinking about RH-series, where version 9 was the last one and should be "the same as" RHEL2. -- //Aho |
| |||
| Re: Kernel Panic/ Error 15 Man-wai Chang ToDie (33.6k) wrote: >> I wonder how relevant my linux distro's mention here would be but >> nonetheless it is RHEL5. > > BTW, you don't have to use a distribution that called itself a > server to set up a linux server. Any distribution would do. > Sure you can use which ever distro to setup a server, but a distribution dedicated for server environment won't install a lot of crap and has better intrusion setup by default than a desktop installation. -- //Aho |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kernel Module Compile Error | Czouch | Linux | 1 | 03-21-2008 10:50 PM |
| Kernel data inpage error | Williap | Windows Vista | 0 | 01-06-2008 01:50 AM |
| kernel panic : unable to mount root fs on unknown-block(0,0) | B Thomas | Linux | 4 | 12-08-2007 08:40 PM |
| kernel data inpage error | Doug | Windows XP | 1 | 10-28-2007 06:30 AM |
| Kernel dll error | FireandSpades | Windows XP | 0 | 09-04-2007 05:00 PM |