Out of space when compiling kernel

This is a discussion on Out of space when compiling kernel within the Linux Programming forums, part of the Platform Specific Boards category; When I try to compile an additional kernel I am receiving the following Code: INSTALL sound/pci/snd-via82xx-modem.ko INSTALL sound/pci/snd-via82xx.ko INSTALL sound/pci/trident/snd-trident.ko ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    96

    Out of space when compiling kernel

    When I try to compile an additional kernel I am receiving the following

    Code:
      INSTALL sound/pci/snd-via82xx-modem.ko
      INSTALL sound/pci/snd-via82xx.ko
      INSTALL sound/pci/trident/snd-trident.ko
      INSTALL sound/pci/vx222/snd-vx222.ko
      INSTALL sound/pci/ymfpci/snd-ymfpci.ko
      INSTALL sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
      INSTALL sound/pcmcia/vx/snd-vxpocket.ko
      INSTALL sound/soc/snd-soc-core.ko
      INSTALL sound/sound_firmware.ko
      INSTALL sound/soundcore.ko
    cp: writing `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/soundcore.ko': No space left on device
      INSTALL sound/synth/emux/snd-emux-synth.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/synth': No space left on device
    cp: cannot create regular file `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/synth/emux': No such file or directory
      INSTALL sound/synth/snd-util-mem.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/synth': No space left on device
    cp: writing `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/synth': No space left on device
      INSTALL sound/usb/caiaq/snd-usb-caiaq.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': No space left on device
    cp: cannot create regular file `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb/caiaq': No such file or directory
      INSTALL sound/usb/snd-usb-audio.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': No space left on device
    cp: writing `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': No space left on device
      INSTALL sound/usb/snd-usb-lib.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': File exists
    cp: writing `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': No space left on device
      INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb': Not a directory
    cp: accessing `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/modules/2.6.29hacker-central/kernel/sound/usb/usx2y': Not a directory
      MKDIR   debian/linux-image-2.6.29hacker-central/lib/firmware/acenic
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/firmware': No space left on device
    make[2]: *** [/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/firmware/acenic] Error 1
    make[1]: *** [_modinst_post] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.29'
    make: *** [install/linux-image-2.6.29hacker-central] Error 2

    I am not understanding why this is though, I just freed up 2.1gb of files on the hard drive and also removed several previously compiled kernels.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What does df say? Are you sure you freed up space on THAT drive, and not some other drive?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    96
    The output from the console is what I listed above.

    Code:
    mkdir: cannot create directory `/usr/src/linux-2.6.29/debian/linux-image-2.6.29hacker-central/lib/firmware': No space left on devic
    I am pretty sure it was on this drive as it was just some video files which I had stored. is there a way to see if I have alot of temporary files taking up my memory?

    Another question which I have is that I am running linux on a dual boot machine with XP. Is there a way to re-allocate my memory so I appropriate more for linux without having to reinstall?
    Last edited by NuNn; 04-01-2009 at 10:17 AM.

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    395
    is there a way to see if I have alot of temporary files taking up my memory?
    just use the 'df' command like matsp told you, it indicates your disks usage (used and free space), it will probably return 0% on the concerned drive.

    Concerning the partition resizing, you can use 'parted' (gparted/kparted for the frontend).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Kernel bug? (attn matsp)
    By brewbuck in forum Linux Programming
    Replies: 7
    Last Post: 04-13-2009, 11:31 AM
  2. Linux Kernel I/O C programming
    By inferno_gogo in forum C Programming
    Replies: 11
    Last Post: 02-18-2009, 04:44 PM
  3. Can I malloc a space larger than 3G?
    By meili100 in forum C++ Programming
    Replies: 10
    Last Post: 05-19-2008, 10:24 PM
  4. Process memory space
    By barboris in forum C++ Programming
    Replies: 6
    Last Post: 04-26-2008, 12:35 AM
  5. ARGH! (argc and argv too!) HD Space!!!
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 12-05-2001, 04:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21