Re: latest kernel compile-- system panic

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

 



yes
when i get unhinting errors -- i guessed something , changed a few params in .config and did make make modules so on
but again same errors .
finally
i copied earlier running kernel's .config into this ...didnot do make menuconfig at all
and in .config changed my required parameter of ext4 to be build as module.
that's all
now make , make modules , make modules_install , make install and
it worked well

now my ques is ...is it right what i am doing ...
if not how to know correct parameter of .config
isnt there some
make <some>config   instead of menuconfig
which prepares correct .config file seeing hardware requirement on my pc or working kernel's .config file ...

Please CMIIW anywhere.
Nidhi




On Thu, Jan 28, 2010 at 5:13 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
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
==================================



--
Thanks & Regards
Nidhi Mittal Hada

[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