debug_kernel
I need help to build a debug kernel on my CentOS 5.
I have downloaded the kernel 2.6.18 source in my /dev/sda3 mounted on /home. It has 20gb with it. When i try to compile the kernel i am getting the following errors. ----------------------------------------------------------------------------------------------------------------------------- {standard input}: Assembler messages: {standard input}:36117: Fatal error: can't close drivers/ide/pci/.tmp_pdc202xx_old.o: No space left on device make[5]: *** [drivers/ide/pci/pdc202xx_old.o] Error 1 make[4]: *** [drivers/ide/pci] Error 2 make[3]: *** [drivers/ide] Error 2 make[2]: *** [drivers] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.89909 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.89909 (%build) make[1]: *** [rpm] Error 1 make: *** [rpm] Error 2 -------------------------------------------------------------------------------------------------- *But i observe that i do have space in disk. [root@localhost linux-2.6.18]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 3960348 3960244 0 100% / /dev/sda3 19405620 546748 17857220 3% /home /dev/sda1 46633 10831 33394 25% /boot tmpfs 513396 0 513396 0% /dev/shm -------------------------------------------------------------------------------------------------- Please help. -Nakul |
Code:
/dev/sda2 3960348 3960244 0 100% / As you can see in Code:
error: Bad exit status from /var/tmp/rpm-tmp.89909 (%build) |
Hi rodrifra,
I am using CentOS 5 on VmWare and partitions are done by vmware itself. I am compiling the new kernel on dev/sda3 mounted on /home. It has space of 20gb. What to do for this /var/temp ?? why is it bieng used? How to solve this issue?? Before i satrted compiling the new kernel the space in /dev/sda2 was around 850mb. I started compiling and it got exit in between with the above error. And now free space on /sda2 is 0bytes. But i do have lots of space in /sda3 mounted on /home. How do i fix it? Am i got to do anything with the Makefile??? |
I guess you are using gcc to compile. You can set your TMPDIR variable to a directory inside your /home directory so that temp files go there. But you have to free space on your / partition, otherwise your system may stop sooner than later.
|
If you need more virtual hard drive space, should be able to go into vmware edit virtual machine settings and increase the size of your virtual harddrive then use gedit or something similar to increase the size of your partiitons. Myy have to use a live cd for partiton editing
|
1 Attachment(s)
@ rodrifra:The Makefile is too large 1500 lines. And not finding TMPDIR variable bieng used. What else may be the name of the variable it will be using?? Can you please help me. I am attaching the makefile here.
|
Ok, in the Makefile it was #ifdef 0 for the 'Change target directory code'. Changed it and its compiled awesomely. Thanks for your help rodrifra.
|
Glad you made it, I've been too busy these last couple of days, sorry:(
|
All times are GMT -5. The time now is 03:39 AM. |