Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
@ 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.