Re: latest kernel compile-- system panic

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

 



On Thu, Jan 28, 2010 at 5:05 PM, waqar afridi <afridi.waqar@xxxxxxxxx> wrote:
> I used to get these errors when I started with kernel compilation and by
> this I mean a few weeks back.
>
> Where do u put the kernel source when you compile it, I used to download it
> and extract it to my home Directory and then the list of commands above, but
> it never worked.
>
> The Solution to this problem is to Extract the Kernel source to /usr/src/
> and then do the above process (make etc), may be this will help...

Where you put the kernel sources to build is not at all related to
these panics (Otherwise you don't need a build symlink in your
/lib/modules/<version>). Did you build the same config ?

Thanks -
Manish

>
>
> On Thu, Jan 28, 2010 at 3:25 PM, nidhi mittal hada <nidhimittal19@xxxxxxxxx>
> wrote:
>>
>> Hello
>> This time also . i just copied the .config of my running kernel to the
>> downloaded new kernel's directory
>> and
>> did make and further steps.
>> and it executed successfully.
>> no kernel panic.
>>
>> is it the right way .?
>> But i helplessly do it as last resort everytime
>> when after my all efforts new kernel panics on boot everytime.
>>
>>
>> Nidhi
>>
>> On Thu, Jan 28, 2010 at 2:53 PM, nidhi mittal hada
>> <nidhimittal19@xxxxxxxxx> wrote:
>>>
>>> hi all
>>> i compiled latest kernel linux2.6.32.6
>>>
>>> after 4 steps of
>>>  make menuconfig
>>> make
>>> make modules
>>> make modules_install
>>> make install
>>>
>>> when i rebooted these error messages came
>>>
>>>
>>>
>>> Unable to access resume device (/dev/sda3)
>>> 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
>>>
>>> switchroot: mount failed No such file or directory
>>>
>>>
>>> earlier also whenever i compiled new kernel .. i used to copy the .config
>>> of old running kernel into new liinux folder
>>> as everytime if i create .config file with make menuconfig .. some
>>> unknown mistake gives kernel panic
>>>
>>> i need to know how to set proper .config so that it caters to all
>>> requirement of my present machine hardware
>>> i got to know
>>> make cloneconfig but it gives error as
>>> make[1]: *** No rule to make target `cloneconfig'.  Stop.
>>> make: *** [cloneconfig] Error 2
>>>
>>> will make oldconfig work ??
>>> what to do
>>>
>>> Nidhi
>>> --
>>> Thanks & Regards
>>> Nidhi Mittal Hada
>>
>>
>>
>> --
>> Thanks & Regards
>> Nidhi Mittal Hada
>
>
>
> --
> Waqar Afridi
>
> Android Developer
> SERG IM|Sciences
>



-- 
Thanks -
Manish
==================================
[$\*.^ -- I miss being one of them
==================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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