Re: Problem in compiling simple module.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had removed the module which gives the error and installed the
kernel.  then i booted the machine.

   It give the following error:

    VFS: connot open root device "LABEL=/" unknown block(0,0)
    Please append correct "root="
    kernel panic - not syncing: VFS: unable mount root fs.......

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  my boot directory looks like as follows:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
drwxr-xr-x    4 root     root         1024 May 12 18:16 .
drwxr-xr-x   21 root     root         4096 May 12 18:16 ..
-rw-r--r--    1 root     root         5824 Jan 25  2003 boot.b
-rw-r--r--    1 root     root      1855090 May 12 17:52 bzImage-2.6.9
-rw-r--r--    1 root     root          612 Jan 25  2003 chain.b
-rw-r--r--    1 root     root        44309 Mar 14  2003 config-2.4.20-8.bak
drwxr-xr-x    2 root     root         1024 May 12 18:19 grub
-rw-r--r--    1 root     root       149561 May 10  2005 initrd-2.4.20-8.img
-rw-r--r--    1 root     root        84491 May 12 10:46 initrd-2.6.16.img
-rw-r--r--    1 root     root        85480 May 12 17:51 initrd-2.6.9y.img
-rw-r--r--    1 root     root          473 May 10  2005 kernel.h
drwx------    2 root     root        12288 May 10  2005 lost+found
-rw-r--r--    1 root     root        23108 Feb 25  2003 message
-rw-r--r--    1 root     root        21282 Feb 25  2003 message.ja
lrwxrwxrwx    1 root     root           20 May 10  2005 module-info ->
module-info-2.4.20-8
-rw-r--r--    1 root     root        15436 Mar 14  2003 module-info-2.4.20-8
-rw-r--r--    1 root     root      1120969 May  5 16:39 mykernel
-rw-r--r--    1 root     root          640 Jan 25  2003 os2_d.b
lrwxrwxrwx    1 root     root           19 May 12 17:57 sys.map.old ->
System.map-2.4.20-8
lrwxrwxrwx    1 root     root           19 May 12 18:16 System.map ->
System.map-2.4.20-8
-rw-r--r--    1 root     root       520129 Mar 14  2003 System.map-2.4.20-8
-rw-r--r--    1 root     root       518018 May 12 10:56
System.map-2.4.20-8custom
-rw-r--r--    1 root     root       653843 May 12 10:46 System.map-2.6.16
-rw-r--r--    1 root     root       783512 May 12 13:51 System.map.2.6.9
-rw-r--r--    1 root     root       956117 May 12 17:51 System.map-2.6.9y
-rw-r--r--    1 root     root      3193503 Mar 14  2003 vmlinux-2.4.20-8
lrwxrwxrwx    1 root     root           14 May 12 17:51 vmlinuz ->
vmlinuz-2.6.9y
-rw-r--r--    1 root     root      1122186 Mar 14  2003 vmlinuz-2.4.20-8
-rw-r--r--    1 root     root      1116607 May 12 10:56 vmlinuz-2.4.20-8custom
-rw-r--r--    1 root     root      1164617 May 12 10:46 vmlinuz-2.6.16
-rw-r--r--    1 root     root      1855090 May 12 17:51 vmlinuz-2.6.9y

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
   my grub.conf file looks as follows
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.6.9y)
       root (hd0,1)
       kernel /vmlinuz-2.6.9y ro root=LABEL=/
       initrd /initrd-2.6.9y.img
title Red Hat Linux (2.6.16)
       root (hd0,1)
       kernel /vmlinuz-2.6.16 ro root=LABEL=/
       initrd /initrd-2.6.16.img
title Red Hat Linux (2.4.20-8)
       root (hd0,1)
       kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
       initrd /initrd-2.4.20-8.img
title DOS
       rootnoverify (hd0,0)
       chainloader +1

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 what is the problem here..........................

 Thanks
Manjunath Naik

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux