All of lore.kernel.org
 help / color / mirror / Atom feed
* [ Kernel not booting up ]
@ 2011-08-20 10:18 ashish raste
  2011-08-20 10:57 ` Anuz Pratap Singh Tomar
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: ashish raste @ 2011-08-20 10:18 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

Recently I compiled and tried installing kernel (2.6.39.3), which I
downloaded from kernel.org
All the activity that I did was to copy the .config file of my distro
(Ubuntu 10.10), then the following commands :

- make menuconfig ( I exited, keeping the default configuration )
- make modules
- make install_modules
- make install
- update grub

All of the above commands got executed without any errors, and the new
kernel version was also shown in the grub menu. But it showed some
errors and didn't login.

When I tried logging to my Ubuntu distro, a blue login box(which is
normally violet in color) appeared. After giving password, it came
back again to the same screen without going inside.

Only thing I was able to do was to dropping in root mode (from
Ubuntu's recovery mode u\in the grub menu) and looking at all of my
data through terminal without a GUI.

Can anyone tell how can I recover my compiled kernel and distro's kernel?

Thankyou.


-- 
~Cheers!!
Ashish Raste

Anyone who has never made a mistake has never tried anything new.
-Sir Albert Einstein

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 10:18 [ Kernel not booting up ] ashish raste
@ 2011-08-20 10:57 ` Anuz Pratap Singh Tomar
  2011-08-20 11:33 ` Srivatsa Bhat
  2011-08-21 13:54 ` Kaustubh Ashtekar
  2 siblings, 0 replies; 10+ messages in thread
From: Anuz Pratap Singh Tomar @ 2011-08-20 10:57 UTC (permalink / raw)
  To: kernelnewbies

On Sat, Aug 20, 2011 at 11:18 AM, ashish raste <rasteashish@gmail.com>wrote:

> Hi all,
>
> Recently I compiled and tried installing kernel (2.6.39.3), which I
> downloaded from kernel.org
> All the activity that I did was to copy the .config file of my distro
> (Ubuntu 10.10), then the following commands :
>
> - make menuconfig ( I exited, keeping the default configuration )
> - make modules
> - make install_modules
> - make install
> - update grub
>
> All of the above commands got executed without any errors, and the new
> kernel version was also shown in the grub menu. But it showed some
> errors and didn't login.
>
> When I tried logging to my Ubuntu distro, a blue login box(which is
> normally violet in color) appeared. After giving password, it came
> back again to the same screen without going inside.
>
> Only thing I was able to do was to dropping in root mode (from
> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
> data through terminal without a GUI.
>
> Can anyone tell how can I recover my compiled kernel and distro's kernel?
>
> I think you should rather ask this question on ubuntu mailing list. it
hardly seems a kernel issue. its mostly an X related problem.
secondly, try to look into log messages e.g. dmesg and /var/log/message(not
sure about the location on ubuntu though)
thirdly, its possible that .config is incorrect.
with this info, one can hardly tell what is going on.


> Thankyou.
>
>
> --
> ~Cheers!!
> Ashish Raste
>
> Anyone who has never made a mistake has never tried anything new.
> -Sir Albert Einstein
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110820/b009907b/attachment.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 10:18 [ Kernel not booting up ] ashish raste
  2011-08-20 10:57 ` Anuz Pratap Singh Tomar
@ 2011-08-20 11:33 ` Srivatsa Bhat
  2011-08-20 20:15   ` ashish raste
  2011-08-21 13:54 ` Kaustubh Ashtekar
  2 siblings, 1 reply; 10+ messages in thread
From: Srivatsa Bhat @ 2011-08-20 11:33 UTC (permalink / raw)
  To: kernelnewbies

Hi Ashish,

On Sat, Aug 20, 2011 at 3:48 PM, ashish raste <rasteashish@gmail.com> wrote:

> Hi all,
>
> Recently I compiled and tried installing kernel (2.6.39.3), which I
> downloaded from kernel.org
> All the activity that I did was to copy the .config file of my distro
> (Ubuntu 10.10), then the following commands :
>
> - make menuconfig ( I exited, keeping the default configuration )
>

You can execute 'make localmodconfig' after this, to ensure that you have
all the necessary
components enabled in the .config file. It also strips off all the
unnecessary ones, which will speed up
your compilation.

Did you forget to run 'make' after this stage?

- make modules
> - make install_modules
>

I run 'make modules_install' here...

- make install
> - update grub
>
> All of the above commands got executed without any errors, and the new
> kernel version was also shown in the grub menu. But it showed some
> errors and didn't login.
>
> When I tried logging to my Ubuntu distro, a blue login box(which is
> normally violet in color) appeared. After giving password, it came
> back again to the same screen without going inside.
>
> Only thing I was able to do was to dropping in root mode (from
> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
> data through terminal without a GUI.
>
> Do you see a prompt like this ?:
grub>

If yes, you can try to boot your kernel by manually specifying the
path to your kernel image, initrd etc.
Eg:
grub> kernel /path/to/vmlinuz root=/dev/sda1
grub> root (hd0,0)
grub> initrd /path/to/initramfs_image
grub> boot

Note that you'll have to replace /dev/sda1 with path to your root partition.
And similarly
replace hd0,0 with the value appropriate in your computer's configuration.
[ hd0,0 refers to Hard-disk 0, partition 0, that is, the first partition on
your first hard disk. ]

Once you are able to boot into your OS fully, check your grub entries to see
if anything seems
to be wrong and fix them. The relevant file would be /boot/grub/menu.lst if
you are using the
old version of Grub (and not Grub2).

Can anyone tell how can I recover my compiled kernel and distro's kernel?
>
>
Regards,
Srivatsa S. Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110820/283b0f1d/attachment.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 11:33 ` Srivatsa Bhat
@ 2011-08-20 20:15   ` ashish raste
  2011-08-21  8:30     ` Srivatsa Bhat
  2011-08-21  9:56     ` Vladimir Murzin
  0 siblings, 2 replies; 10+ messages in thread
From: ashish raste @ 2011-08-20 20:15 UTC (permalink / raw)
  To: kernelnewbies

Hi Srivatsa,

On 8/20/11, Srivatsa Bhat <bhat.srivatsa@gmail.com> wrote:
> Hi Ashish,
>
> On Sat, Aug 20, 2011 at 3:48 PM, ashish raste <rasteashish@gmail.com> wrote:
>
>> Hi all,
>>
>> Recently I compiled and tried installing kernel (2.6.39.3), which I
>> downloaded from kernel.org
>> All the activity that I did was to copy the .config file of my distro
>> (Ubuntu 10.10), then the following commands :
>>
>> - make menuconfig ( I exited, keeping the default configuration )
>>
>
> You can execute 'make localmodconfig' after this, to ensure that you have
> all the necessary
> components enabled in the .config file. It also strips off all the
> unnecessary ones, which will speed up
> your compilation.

I didn't do a 'make localmodconfig' after this.

>
> Did you forget to run 'make' after this stage?
>
> - make modules
>> - make install_modules
>>

Yes, I ran make and make install_modules after this stage. Forgot
writing it in my previous mail.

>
> I run 'make modules_install' here...
>
> - make install
>> - update grub
>>
>> All of the above commands got executed without any errors, and the new
>> kernel version was also shown in the grub menu. But it showed some
>> errors and didn't login.
>>
>> When I tried logging to my Ubuntu distro, a blue login box(which is
>> normally violet in color) appeared. After giving password, it came
>> back again to the same screen without going inside.
>>
>> Only thing I was able to do was to dropping in root mode (from
>> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
>> data through terminal without a GUI.
>>
>> Do you see a prompt like this ?:
> grub>

I didn't see a prompt of grub> Instead the following errors were
listed on the black screen :

[  2.4331....] Error: Driver 'mdio-gpio' is already registered. aborting...
[  2.8364... ] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(0,0)
[ .........     ] Pid: 1. comm: swapper Not tainted 2.6.39.3 #1
[ ......        ] Call Trace:

and list of errors in this trace.


-- 
~Cheers!!
Ashish Raste

Anyone who has never made a mistake has never tried anything new.
-Sir Albert Einstein

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 20:15   ` ashish raste
@ 2011-08-21  8:30     ` Srivatsa Bhat
  2011-08-23  6:34       ` ashish raste
  2011-08-21  9:56     ` Vladimir Murzin
  1 sibling, 1 reply; 10+ messages in thread
From: Srivatsa Bhat @ 2011-08-21  8:30 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Aug 21, 2011 at 1:45 AM, ashish raste <rasteashish@gmail.com> wrote:

> Hi Srivatsa,
>
> On 8/20/11, Srivatsa Bhat <bhat.srivatsa@gmail.com> wrote:
> > Hi Ashish,
> >
> > On Sat, Aug 20, 2011 at 3:48 PM, ashish raste <rasteashish@gmail.com>
> wrote:
> >
> >> Hi all,
> >>
> >> Recently I compiled and tried installing kernel (2.6.39.3), which I
> >> downloaded from kernel.org
> >> All the activity that I did was to copy the .config file of my distro
> >> (Ubuntu 10.10), then the following commands :
> >>
> >> - make menuconfig ( I exited, keeping the default configuration )
> >>
> >
> > You can execute 'make localmodconfig' after this, to ensure that you have
> > all the necessary
> > components enabled in the .config file. It also strips off all the
> > unnecessary ones, which will speed up
> > your compilation.
>
> I didn't do a 'make localmodconfig' after this.
>
> >
> > Did you forget to run 'make' after this stage?
> >
> > - make modules
> >> - make install_modules
> >>
>
> Yes, I ran make and make install_modules after this stage. Forgot
> writing it in my previous mail.
>
> >
> > I run 'make modules_install' here...
> >
> > - make install
> >> - update grub
> >>
> >> All of the above commands got executed without any errors, and the new
> >> kernel version was also shown in the grub menu. But it showed some
> >> errors and didn't login.
> >>
> >> When I tried logging to my Ubuntu distro, a blue login box(which is
> >> normally violet in color) appeared. After giving password, it came
> >> back again to the same screen without going inside.
> >>
> >> Only thing I was able to do was to dropping in root mode (from
> >> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
> >> data through terminal without a GUI.
> >>
> >> Do you see a prompt like this ?:
> > grub>
>
> I didn't see a prompt of grub> Instead the following errors were
> listed on the black screen :
>
> [  2.4331....] Error: Driver 'mdio-gpio' is already registered. aborting...
> [  2.8364... ] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)
> [ .........     ] Pid: 1. comm: swapper Not tainted 2.6.39.3 #1
> [ ......        ] Call Trace:
>
> and list of errors in this trace.
>
>
Hi Ashish,

 I am not sure if this will help but you can try burning a system rescue CD
and
using it to fix the issue. I believe you will be able to get back atleast
your original
Ubuntu with full GUI..

Here is the link:
http://www.sysresccd.org/Download

Regards,
Srivatsa S. Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110821/2ffcd390/attachment.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 20:15   ` ashish raste
  2011-08-21  8:30     ` Srivatsa Bhat
@ 2011-08-21  9:56     ` Vladimir Murzin
  1 sibling, 0 replies; 10+ messages in thread
From: Vladimir Murzin @ 2011-08-21  9:56 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Aug 21, 2011 at 12:15 AM, ashish raste <rasteashish@gmail.com> wrote:
> Hi Srivatsa,
>
> On 8/20/11, Srivatsa Bhat <bhat.srivatsa@gmail.com> wrote:
>> Hi Ashish,
>>
>> On Sat, Aug 20, 2011 at 3:48 PM, ashish raste <rasteashish@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Recently I compiled and tried installing kernel (2.6.39.3), which I
>>> downloaded from kernel.org
>>> All the activity that I did was to copy the .config file of my distro
>>> (Ubuntu 10.10), then the following commands :
>>>
>>> - make menuconfig ( I exited, keeping the default configuration )
>>>
>>
>> You can execute 'make localmodconfig' after this, to ensure that you have
>> all the necessary
>> components enabled in the .config file. It also strips off all the
>> unnecessary ones, which will speed up
>> your compilation.
>
> I didn't do a 'make localmodconfig' after this.
>
>>
>> Did you forget to run 'make' after this stage?
>>
>> - make modules
>>> - make install_modules
>>>
>
> Yes, I ran make and make install_modules after this stage. Forgot
> writing it in my previous mail.
>
>>
>> I run 'make modules_install' here...
>>
>> - make install
>>> - update grub
>>>
>>> All of the above commands got executed without any errors, and the new
>>> kernel version was also shown in the grub menu. But it showed some
>>> errors and didn't login.
>>>
>>> When I tried logging to my Ubuntu distro, a blue login box(which is
>>> normally violet in color) appeared. After giving password, it came
>>> back again to the same screen without going inside.
>>>
>>> Only thing I was able to do was to dropping in root mode (from
>>> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
>>> data through terminal without a GUI.
>>>
>>> Do you see a prompt like this ?:
>> grub>
>
> I didn't see a prompt of grub> Instead the following errors were
> listed on the black screen :
>
> [ ?2.4331....] Error: Driver 'mdio-gpio' is already registered. aborting...
> [ ?2.8364... ] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)
> [ ......... ? ? ] Pid: 1. comm: swapper Not tainted 2.6.39.3 #1
> [ ...... ? ? ? ?] Call Trace:
>
> and list of errors in this trace.
>
>
> --
> ~Cheers!!
> Ashish Raste
>
> Anyone who has never made a mistake has never tried anything new.
> -Sir Albert Einstein
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
Hi Arshish!

Looks like you forgot to add support for your ATA/SATA controller.

I suppose you should boot up with any working kernel (maybe provided
with LiveCD) and use this config as starting point for your custom
building:

zcat /proc/config.gz > .config
make
and so on...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-20 10:18 [ Kernel not booting up ] ashish raste
  2011-08-20 10:57 ` Anuz Pratap Singh Tomar
  2011-08-20 11:33 ` Srivatsa Bhat
@ 2011-08-21 13:54 ` Kaustubh Ashtekar
  2011-08-22  7:37   ` Prashant Shah
  2 siblings, 1 reply; 10+ messages in thread
From: Kaustubh Ashtekar @ 2011-08-21 13:54 UTC (permalink / raw)
  To: kernelnewbies

On Saturday, August 20, 2011, ashish raste <rasteashish@gmail.com> wrote:
> Hi all,
>
> Recently I compiled and tried installing kernel (2.6.39.3), which I
> downloaded from kernel.org
> All the activity that I did was to copy the .config file of my distro
> (Ubuntu 10.10), then the following commands :
>
> - make menuconfig ( I exited, keeping the default configuration )
> - make modules
> - make install_modules
> - make install
> - update grub
>
> All of the above commands got executed without any errors, and the new
> kernel version was also shown in the grub menu. But it showed some
> errors and didn't login.
>
> When I tried logging to my Ubuntu distro, a blue login box(which is
> normally violet in color) appeared. After giving password, it came
> back again to the same screen without going inside.
>
> Only thing I was able to do was to dropping in root mode (from
> Ubuntu's recovery mode u\in the grub menu) and looking at all of my
> data through terminal without a GUI.
>
> Can anyone tell how can I recover my compiled kernel and distro's kernel?

Any mistake in the configuration of your new kernel should not stop you from
booting from old kernel.
It seems from your mail that even your old kernel has stopped working !!! ..
If this is correct then this could be a problem of grub configuration.

>
> Thankyou.
>
>
> --
> ~Cheers!!
> Ashish Raste
>
> Anyone who has never made a mistake has never tried anything new.
> -Sir Albert Einstein
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110821/df910e24/attachment-0001.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-21 13:54 ` Kaustubh Ashtekar
@ 2011-08-22  7:37   ` Prashant Shah
  2011-08-23  6:37     ` ashish raste
  0 siblings, 1 reply; 10+ messages in thread
From: Prashant Shah @ 2011-08-22  7:37 UTC (permalink / raw)
  To: kernelnewbies

Hi Ashish,

On Sun, Aug 21, 2011 at 7:24 PM, Kaustubh Ashtekar <ksashtekar@gmail.com> wrote:
>
>
> On Saturday, August 20, 2011, ashish raste <rasteashish@gmail.com> wrote:
>> Hi all,
>>
>> Recently I compiled and tried installing kernel (2.6.39.3), which I
>> downloaded from kernel.org
>> All the activity that I did was to copy the .config file of my distro
>> (Ubuntu 10.10), then the following commands :
>>
>> - make menuconfig ( I exited, keeping the default configuration )
>> - make modules
>> - make install_modules
>> - make install
>> - update grub
>>
>> All of the above commands got executed without any errors, and the new
>> kernel version was also shown in the grub menu. But it showed some
>> errors and didn't login.

Please try this method:

http://www.howtoforge.com/kernel_compilation_ubuntu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-21  8:30     ` Srivatsa Bhat
@ 2011-08-23  6:34       ` ashish raste
  0 siblings, 0 replies; 10+ messages in thread
From: ashish raste @ 2011-08-23  6:34 UTC (permalink / raw)
  To: kernelnewbies

Hi Srivatsa,

>  I am not sure if this will help but you can try burning a system rescue CD
> and
> using it to fix the issue. I believe you will be able to get back atleast
> your original
> Ubuntu with full GUI..
>
> Here is the link:
> http://www.sysresccd.org/Download

I have tried rescuing, with sysrescue cd by burning it to a flash
drive and making it bootable.
But it showed at boot that "no kernel image found"
Anyways I have installed Ubuntu on the same partition and will try
compiling the kernel again!

Thankyou.

-- 
~Cheers!!
Ashish Raste

Anyone who has never made a mistake has never tried anything new.
-Sir Albert Einstein

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ Kernel not booting up ]
  2011-08-22  7:37   ` Prashant Shah
@ 2011-08-23  6:37     ` ashish raste
  0 siblings, 0 replies; 10+ messages in thread
From: ashish raste @ 2011-08-23  6:37 UTC (permalink / raw)
  To: kernelnewbies

Hi Prashant,
>
> Please try this method:
>
> http://www.howtoforge.com/kernel_compilation_ubuntu
>

I have installed Ubuntu again and try the method posted on this link!

Thankyou.
-- 
~Cheers!!
Ashish Raste

Anyone who has never made a mistake has never tried anything new.
-Sir Albert Einstein

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-08-23  6:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-20 10:18 [ Kernel not booting up ] ashish raste
2011-08-20 10:57 ` Anuz Pratap Singh Tomar
2011-08-20 11:33 ` Srivatsa Bhat
2011-08-20 20:15   ` ashish raste
2011-08-21  8:30     ` Srivatsa Bhat
2011-08-23  6:34       ` ashish raste
2011-08-21  9:56     ` Vladimir Murzin
2011-08-21 13:54 ` Kaustubh Ashtekar
2011-08-22  7:37   ` Prashant Shah
2011-08-23  6:37     ` ashish raste

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.