Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fetching firmwares returns: no space left on device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 12:09 am    Post subject: fetching firmwares returns: no space left on device Reply with quote

So I made it trough the kernel compilation:

no I am off to installing firmwares
and I am getting no space left on device. so it`s probably to boot partition, anyine have an idea how I can fix this? Here`s the emerge output:


Code:

emerge --ask sys-kernel/linux-firmware

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-kernel/linux-firmware-20160331  USE="-savedconfig"

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/linux-firmware-20160331::gentoo
>>> Downloading 'http://distfiles.gentoo.org/distfiles/linux-firmware-20160331.tar.xz'
--2016-12-15 13:44:09--  http://distfiles.gentoo.org/distfiles/linux-firmware-20160331.tar.xz
Resolving distfiles.gentoo.org... 64.50.233.100, 216.165.129.135, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35957140 (34M) [application/x-xz]
Saving to: ���/usr/portage/distfiles/linux-firmware-20160331.tar.xz���

/usr/portage/distfi 100%[===================>]  34.29M   426KB/s    in 1m 59s

2016-12-15 13:46:09 (295 KB/s) - ���/usr/portage/distfiles/linux-firmware-20160331.tar.xz��� saved [35957140/35957140]

 * linux-firmware-20160331.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...           [ ok ]
/usr/bin/install: cannot change permissions of ���/var/tmp/portage/sys-kernel/linux-firmware-20160331/work���: No such file or directory
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * ERROR: sys-kernel/linux-firmware-20160331::gentoo failed (unpack phase):
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   Failed to create dir '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * Call stack:
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *            ebuild.sh, line  762:  Called __ebuild_main 'unpack'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   phase-functions.sh, line 1005:  Called __dyn_unpack
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   phase-functions.sh, line  240:  Called die
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The specific snippet of code:
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *              install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20160331::gentoo'`,
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20160331::gentoo'`.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/build.log'.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/environment'.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * Working directory: '/usr/lib/python3.4/site-packages'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * S: '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work/linux-firmware-20160331'

>>> Failed to emerge sys-kernel/linux-firmware-20160331, Log file:

>>>  '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/build.log'


Here`s the build.log
Code:

 * Package:    sys-kernel/linux-firmware-20160331
 * Repository: gentoo
 * Maintainer: chithanh@gentoo.org zerochaos@gentoo.org,kernel@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
/usr/bin/install: cannot change permissions of ���/var/tmp/portage/sys-kernel/linux-firmware-20160331/work���: No such file or directory
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * ERROR: sys-kernel/linux-firmware-20160331::gentoo failed (unpack phase):
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   Failed to create dir '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * Call stack:
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *            ebuild.sh, line  762:  Called __ebuild_main 'unpack'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   phase-functions.sh, line 1005:  Called __dyn_unpack
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *   phase-functions.sh, line  240:  Called die
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The specific snippet of code:
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *              install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 *
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20160331::gentoo'`,
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20160331::gentoo'`.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/build.log'.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/environment'.
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * Working directory: '/usr/lib/python3.4/site-packages'
/usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
 * S: '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work/linux-firmware-20160331'

2016-12-15 23:51 GMT+00:00 Zephyre pro <z3phyre1@gmail.com>:

    emerge --ask sys-kernel/linux-firmware

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild  N     ] sys-kernel/linux-firmware-20160331  USE="-savedconfig"

    Would you like to merge these packages? [Yes/No] yes

    >>> Verifying ebuild manifests

    >>> Emerging (1 of 1) sys-kernel/linux-firmware-20160331::gentoo
    >>> Downloading 'http://distfiles.gentoo.org/distfiles/linux-firmware-20160331.tar.xz'
    --2016-12-15 13:44:09--  http://distfiles.gentoo.org/distfiles/linux-firmware-20160331.tar.xz
    Resolving distfiles.gentoo.org... 64.50.233.100, 216.165.129.135, 64.50.236.52, ...
    Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 35957140 (34M) [application/x-xz]
    Saving to: ���/usr/portage/distfiles/linux-firmware-20160331.tar.xz���

    /usr/portage/distfi 100%[===================>]  34.29M   426KB/s    in 1m 59s

    2016-12-15 13:46:09 (295 KB/s) - ���/usr/portage/distfiles/linux-firmware-20160331.tar.xz��� saved [35957140/35957140]

     * linux-firmware-20160331.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...           [ ok ]
    /usr/bin/install: cannot change permissions of ���/var/tmp/portage/sys-kernel/linux-firmware-20160331/work���: No such file or directory
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * ERROR: sys-kernel/linux-firmware-20160331::gentoo failed (unpack phase):
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *   Failed to create dir '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work'
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * Call stack:
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *            ebuild.sh, line  762:  Called __ebuild_main 'unpack'
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *   phase-functions.sh, line 1005:  Called __dyn_unpack
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *   phase-functions.sh, line  240:  Called die
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * The specific snippet of code:
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *              install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     *
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20160331::gentoo'`,
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20160331::gentoo'`.
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/build.log'.
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/environment'.
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * Working directory: '/usr/lib/python3.4/site-packages'
    /usr/lib/portage/python3.4/isolated-functions.sh: line 264: echo: write error: No space left on device
     * S: '/var/tmp/portage/sys-kernel/linux-firmware-20160331/work/linux-firmware-20160331'

    >>> Failed to emerge sys-kernel/linux-firmware-20160331, Log file:

    >>>  '/var/tmp/portage/sys-kernel/linux-firmware-20160331/temp/build.log'
    (chroot) livecd / #

I have followed every steps in the Handbook about the size of the partitions anyone knows how I get this fixed without having to recompile the whole thing :P? or help me trough that?
_________________
''People like tv, I like stories, ''
-Z3phyre-
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 16, 2016 12:16 am    Post subject: Reply with quote

Code:
df -h ; df -ih

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 12:18 am    Post subject: Reply with quote

Hi and thank Jaglover for your quick response can you explain what the command does before I execute it? :?: :D 8O
EDIT: Okay give me one sec I will paste the results.


Jaglover wrote:
Code:
df -h ; df -ih

_________________
''People like tv, I like stories, ''
-Z3phyre-
Back to top
View user's profile Send private message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 12:24 am    Post subject: Reply with quote

Here`s the results for the command you asked me to run:
EDIT: how in the world could I used 9 GB yet on sda4? O.o
Anyone know how I can fix that XD? or at least help identify what might have been the problem leading to that?
Code:

Filesystem      Size   Used  Avail     Use% Mounted on
/dev/sda4       9.1G   9.0G    0         100% /
/dev/sda2       124M  3.6M   114M    4% /boot
cgroup_root     10M     0     10M       0% /sys/fs/cgroup
udev             10M  4.0K    10M         1% /dev
shm             1.5G     0      1.5G        0% /dev/shm
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda4        600K  338K  263K   57% /
/dev/sda2         32K    12   32K    1% /boot
cgroup_root      212K     6  212K    1% /sys/fs/cgroup
udev             211K   468  210K    1% /dev
shm              212K     1  212K    1% /dev/shm

_________________
''People like tv, I like stories, ''
-Z3phyre-


Last edited by Z3phyre on Fri Dec 16, 2016 12:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 16, 2016 12:37 am    Post subject: Reply with quote

Check /var/tmp/portage, failed compilations leave everything there for you to inspect.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 12:42 am    Post subject: Reply with quote

Checked out, only a few KB were there any other ideas? I could add more storage to my VM with no problem I just never have seen a Linux distrib having 9 GB before even having something to run on lol

Jaglover wrote:
Check /var/tmp/portage, failed compilations leave everything there for you to inspect.

_________________
''People like tv, I like stories, ''
-Z3phyre-
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 16, 2016 12:49 am    Post subject: Reply with quote

There is portage and distfiles. I keep them on NFS, but if you want it locally it needs some space. Kernel sources take some space too, unpacked.

There were times when replies went to the bottom of post, one day Microsoft made an email client, called Outlook Express. It placed the cursor on top when user hit the reply button. Top-posting was born. This is first time I see someone doing Outlook Express style postings on these forums ...
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 1:00 am    Post subject: Reply with quote

Jaglover wrote:
There is portage and distfiles. I keep them on NFS, but if you want it locally it needs some space. Kernel sources take some space too, unpacked.

There were times when replies went to the bottom of post, one day Microsoft made an email client, called Outlook Express. It placed the cursor on top when user hit the reply button. Top-posting was born. This is first time I see someone doing Outlook Express style postings on these forums ...

Sorry about that top-posting stuff in other forum I was in previously, everybody was doing it.. So I guess I learned it that way. I did not know this was a no go ahah!

Concerning that : " I keep them on NFS, but if you want it locally " I am relatively new to Gentoo so what is the difference between those two things? there's probably no reason I would like to keep the Kernel sources ( none I am aware of yet though) How can one remove those , after having verified it is indeed at his right place( the kernel)
EDIT: Concerning "There is portage and distfiles."
isn't there a way to just fetch whatever program I need then compile it? I don't totally get what are these? Portage I know it is the equivalent to Apt ( sort of )
Just did a little search for my kernel sources and turns out that folder alone is 4.7 GB ?? I don't think that is normal right?
_________________
''People like tv, I like stories, ''
-Z3phyre-
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Fri Dec 16, 2016 1:54 am    Post subject: Reply with quote

4.7GB for a kernel tree isn't right, no. Mine's only 2.7GB including the entire git repo.
Back to top
View user's profile Send private message
Z3phyre
n00b
n00b


Joined: 13 Dec 2016
Posts: 12

PostPosted: Fri Dec 16, 2016 2:02 am    Post subject: Reply with quote

Ant P. wrote:
4.7GB for a kernel tree isn't right, no. Mine's only 2.7GB including the entire git repo.

okay.. so how would I verify what is not suposed to be there?
EDIT: I just saw that basically I got a shit load of Arch in the Arch folder... sooo I guess all the kernel got compiled to fit all these arch. anyway to "remove" any unwanted arch from all over the Kernel?
_________________
''People like tv, I like stories, ''
-Z3phyre-
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Fri Dec 16, 2016 2:18 am    Post subject: Reply with quote

`make mrproper`?
Back to top
View user's profile Send private message
brendlefly62
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2009
Posts: 93

PostPosted: Fri Dec 16, 2016 2:34 am    Post subject: Reply with quote

Z3phyre -- I've had this sort of thing happen occasionally. fwiw, after checking df -h and df -ih, my normal next step is to cd to the filesystem showing the problem (high % irt df), and then run
Code:
du -bchx -d2 | sort -h
This is a quick estimate of file space usage (du) in totalled bytes (the -bc), confined to the current filesystem (the -hx), sorted so the bigger contributors to the problem are at the end of the list. I aliased this as "dusort" which is easier to remember and type

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum