LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-31-2014, 12:27 PM   #1
ls_milkyway
LQ Newbie
 
Registered: Aug 2013
Distribution: BT5R2
Posts: 28

Rep: Reputation: Disabled
Make error while compiling kernel


Hi !,

I was following instructions at:

http://www.insanitybit.com/2012/05/3...nd-grsecurity/

everything went butter smooth till

The command to compile kernel:
"# make-kpkg --initrd --append-to-version "grsec1.0" kernel_image"

ran for about 25 minutes and gave error:

{standard input}: Assembler messages:
{standard input}: Fatal error: can't write drivers/gpu/drm/radeon/.tmp_r600_cs.o: No space left on device
{standard input}: Fatal error: can't close drivers/gpu/drm/radeon/.tmp_r600_cs.o: No space left on device
make[5]: *** [drivers/gpu/drm/radeon/r600_cs.o] Error 1
make[4]: *** [drivers/gpu/drm/radeon] Error 2
make[3]: *** [drivers/gpu/drm] Error 2
make[2]: *** [drivers/gpu] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-3.2.55'
make: *** [debian/stamp/build/kernel] Error 2

I have already 8 gb space, but is the WORKING DIRECTORY filesystem>usr>src>linux LOCATED IN RAM and hence resulting in less space or what???

Thanx in advance.
 
Old 03-31-2014, 01:00 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,806
Blog Entries: 2

Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
If you don't have manually copied the source directory to a directory that resides in RAM then no, it is not in RAM. Since you have already checked that you have enough space you are possibly running out of inodes. Check that with
Code:
df -i
 
1 members found this post helpful.
Old 04-01-2014, 10:25 AM   #3
ls_milkyway
LQ Newbie
 
Registered: Aug 2013
Distribution: BT5R2
Posts: 28

Original Poster
Rep: Reputation: Disabled
Hi,
I was wrong rootfs is showing 100% used.

Since, I was using VMWARE so I reverted back to a snapahot, but would like to know the FILE SYSTEM in linux
which dynamically allots inodes (I have heard XFS & JFS are capable of doing so)??
Is BTRFS is also capable of it??

I have also guessed that since I had activated SELinux to boot and also used GRsecurity & PAX so the folder size on compilation was near 2GB
 
Old 04-02-2014, 03:15 AM   #4
ls_milkyway
LQ Newbie
 
Registered: Aug 2013
Distribution: BT5R2
Posts: 28

Original Poster
Rep: Reputation: Disabled
Same error encountered, Here is the command df and df -i results before compiling the kernel:

root@debian:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 4652424 2946520 1469568 67% /
udev 10240 0 10240 0% /dev
tmpfs 103420 288 103132 1% /run
/dev/mapper/debian-root 4652424 2946520 1469568 67% /
tmpfs 5120 0 5120 0% /run/lock
tmpfs 206820 0 206820 0% /run/shm
/dev/sda1 233191 10225 210525 5% /boot
---------------------------------------------------------------------------
root@debian:~# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 296000 149477 146523 51% /
udev 128763 412 128351 1% /dev
tmpfs 129272 325 128947 1% /run
/dev/mapper/debian-root 296000 149477 146523 51% /
tmpfs 129272 2 129270 1% /run/lock
tmpfs 129272 2 129270 1% /run/shm
/dev/sda1 124496 240 124256 1% /boot

Is space & inodes sufficient??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when running make config as I'm busy compiling my kernel on Slackware 12.1.0 Linux Duke Slackware 11 02-09-2012 09:49 AM
kernel compiling with make=0 error jamesbon Linux - General 2 09-12-2010 01:04 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 07:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 07:49 AM
Compiling Kernel for Dazuko - make error timmywo Linux - General 2 03-28-2005 04:55 PM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration