FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 12:40 PM
"Vishwas Dubey"
 
Default Unable to compile kernel-2.6.19.2 on FC 9

Hi All,

I am trying to build and compile a new kernel.
Currently, I have linux-2.6.25.11-97.fc9.i686 installed on my machine,
which I use to build and compile the new kernel for linux-2.6.19.2. I
follow the standard procedure for building and compiling the kernel,
but still I am unable to boot my machine from the new kernel. I get the
following errors when I try to boot the machine from the new kernel:-



Uncompressing Linux... OK,* booting the kernel

ACPI: Getting cpuindex for acpiid 0x2

ACPI: Getting cpuindex for acpiid 0x3

Red Hat nash version 6.0.52 starting

irq20: nobody cared (try booting with the "irqpoll" option)

handlers:

[<c127ae0f>] (usb-hcd-irq+0x0/0x56)

[<c127ae0f>] (usb-hcd-irq+0x0/0x56)

Disabling IRQ #20

stabilized: open /proc/scsi/scsi : no such file or directory

mount: could not find filesystem '/dev/root'

setuproot: moving /dev failed: no such file or directory

setuproot: error mounting /proc: no such file or directory

setuproot: error mounting /sys: no such file or directory

mount failed for selinux on /selinux: no such file or directory

switch root: mount failed: no such file or directory



-----------------------------------------------------------------------------------



I am copying and pasting grub.conf, fstab and mtab for your reference.



grub.conf looks like:-

# grub.conf generated by anaconda

#

# Note that you do not have to rerun grub after making changes to this file

# NOTICE:* You do not have a /boot partition.* This means that

#********* all kernel and initrd paths are relative to /, eg.

#********* root (hd0,4)

#********* kernel /boot/vmlinuz-version ro root=/dev/sda5

#********* initrd /boot/initrd-version.img

#boot=/dev/sda

*******

default=1

timeout=5

splashimage=(hd0,4)/boot/grub/splash.xpm.gz

hiddenmenu

title Fedora (2.6.19.2)

******* root (hd0,4)

******* kernel /boot/vmlinuz-2.6.19.2 ro root=UUID=3ee35a1d-e3d8-443a-a6cd-810b182c46dd rhgb quiet

******* initrd /boot/initrd-2.6.19.2.img

title Fedora (2.6.25.11-97.fc9.i686)

******* root (hd0,4)

******* kernel /boot/vmlinuz-2.6.25.11-97.fc9.i686 ro root=UUID=3ee35a1d-e3d8-443a-a6cd-810b182c46dd rhgb quiet

******* initrd /boot/initrd-2.6.25.11-97.fc9.i686.img

title Fedora (2.6.25.6-55.fc9.i686)

******* root (hd0,4)

******* kernel /boot/vmlinuz-2.6.25.6-55.fc9.i686 ro root=UUID=3ee35a1d-e3d8-443a-a6cd-810b182c46dd rhgb quiet

******* initrd /boot/initrd-2.6.25.6-55.fc9.i686.img

title Other

******* rootnoverify (hd0,1)

******* chainloader +1

grub.conf (END)



----------------------------------------------------------------------------------------------------------------------



fstab looks like:-



UUID=3ee35a1d-e3d8-443a-a6cd-810b182c46dd /********************** ext3*** defaults******* 1 1

#/dev/sda5************** /********************** ext3*** defaults******* 1 1

tmpfs****************** /dev/shm*************** tmpfs** defaults******* 0 0

devpts***************** /dev/pts*************** devpts* gid=5,mode=620* 0 0

sysfs****************** /sys******************* sysfs** defaults******* 0 0

proc******************* /proc****************** proc*** defaults******* 0 0

UUID=4e05aff6-f50e-4e5e-a1a1-b4d1ddf9ea7f swap******************* swap*** defaults******* 0 0

fstab (END)



-----------------------------------------------------------------------------------------------------------------------



mtab looks like:-

/dev/sda5 / ext3 rw 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

devpts /dev/pts devpts rw,gid=5,mode=620 0 0

tmpfs /dev/shm tmpfs rw 0 0

none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0

fusectl /sys/fs/fuse/connections fusectl rw 0 0

gvfs-fuse-daemon /home/vishwas/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=vishwas 0 0

mtab (END)



--------------------------------------------------------------------------------------------------------------------------



I went through a lot of online blogs that list the same errors as mine
and tried the remedies posted there. But so far nothing seemed to have
worked for me. I did make initrd image of my own, but it didn't work
either. I have rebooted grub may be 1000 times by now. By the way I did
try to boot the system from irqpoll option but it was all in vain. I
got the same errors as before. Any help is much appreciated.



Please, let me know if .config file would be of any help.



Thanks in advance........

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-07-2008, 02:02 PM
Chris Jones
 
Default Unable to compile kernel-2.6.19.2 on FC 9

Hi,

I am trying to build and compile a new kernel. Currently, I have
linux-2.6.25.11-97.fc9.i686 installed on my machine, which I use to
build and compile the new kernel for linux-2.6.19.2.


Just out of curiosity, why do you want to jump back to such an old
kernel compared to your current one ? Do you have some problem with 2.6.25 ?


Chris

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-08-2008, 03:27 AM
"Vishwas Dubey"
 
Default Unable to compile kernel-2.6.19.2 on FC 9

Hi Chris,

I want to install Click Modular Router software and before I can compile or use the Click loadable kernel module, I need to install, patch, compile, and boot a compatible Linux kernel. The latest patch available for click is for 2.6.19.2 kernel.


I need Click because I need to run some experiments on roofnet. It would be really great if you can help me boot a compatible Linux kernel. I tried to install click on linux-2.6.25.11-97.fc9.i686 but it was all in vain. I was not able to run and compile my own click scripts.


Is there any work around for this as in can I install and run click on my current 2.6.25.11-97.fc9.i686 kernel by any means?

Thanks in advance,
Vishwas.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-08-2008, 04:06 AM
Roger Heflin
 
Default Unable to compile kernel-2.6.19.2 on FC 9

Vishwas Dubey wrote:

Hi All,

I am trying to build and compile a new kernel. Currently, I have
linux-2.6.25.11-97.fc9.i686 installed on my machine, which I use to
build and compile the new kernel for linux-2.6.19.2. I follow the
standard procedure for building and compiling the kernel, but still I am
unable to boot my machine from the new kernel. I get the following
errors when I try to boot the machine from the new kernel:-


Uncompressing Linux... OK, booting the kernel
ACPI: Getting cpuindex for acpiid 0x2
ACPI: Getting cpuindex for acpiid 0x3
Red Hat nash version 6.0.52 starting
irq20: nobody cared (try booting with the "irqpoll" option)
handlers:
[<c127ae0f>] (usb-hcd-irq+0x0/0x56)
[<c127ae0f>] (usb-hcd-irq+0x0/0x56)
Disabling IRQ #20
stabilized: open /proc/scsi/scsi : no such file or directory
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: no such file or directory
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting /sys: no such file or directory
mount failed for selinux on /selinux: no such file or directory
switch root: mount failed: no such file or directory


There are 3 possibilities.

#1: is you don't have the device driver needed for old kernel in the initrd.

#2: That device driver in 2.6.19 does not work at all for your hardware or does
not exist for your hardware in 2.6.19.


#3: The old kernel won't work for your hardware at all because of other issues.

There are *NO* easy solutions if the problem is #2 or #3, and if your hardware
has a newer chipset than existed when 2.6.19 was released then #2 or #3 are very
possible.


If it is #1 you need to see what the original kernel loads to drive the disk
subsystem and see if that is enabled, and installed in the initrd in 2.6.19, and
any modules that it needs are there with it.


You might try some older recovery CD's, if you find one that works and it is a
kernel from around 2.6.19 then you would be able to find the module names used
in 2.6.19. I believe a number of the disk modules names have been changed
around since 2.6.19 so very likely you don't have the proper module being
included in the initrd.



Roger

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 11:25 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org