I am compiling linux kernel 3.0.1

My operating system is Ubuntu 11.04

The source is in /usr/src/linux-3.0.1

Though there is no free space remain in / the compilation is still going on .. !

What is happening exactly ?? Should I stop it ?


Are you compiling as root? I don't know if the free space reported by df takes into account the typical 5% superuser reservation.

Also it could be the kernel hasn't flushed the disk cache yet.

It is also possible your /usr is mounted on a separate partition. This is quite likely if you took the defaults during your Ubuntu install (unless something has changed since the last time I used Ubuntu...)

If you run out of disk space and the compilation fails, free up some disk space and resume the compilation by issuing the make command again.

Bad idea to let / run out of space. I would try to address that ASAP.

  • Ubuntu has always defaulted to a single partition install. It is not recommended to have a separate /usr. – psusi Mar 21 '12 at 0:28
  • I usually use Debian, thanks for the correction. – LawrenceC Mar 21 '12 at 0:56
  • df reports 100% used blocks when the reserved blocks are still available to the super-user, by experiment with df (GNU coreutils) 8.15 on Gentoo. – Eroen Mar 21 '12 at 1:00
  • Quote from the Ubuntu 8.04 LTS Installation Guide: "For multi-user systems or systems with lots of disk space, it's best to put /usr, /var, /tmp, and /home each on their own partitions separate from the / partition." I guess it's reasonable to suspect separate /usrs still linger. – Eroen Mar 21 '12 at 1:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.