all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem No space left on device
@ 2014-09-07  0:41 Luis Souto Graña
  2014-09-07  6:27 ` Jason Self
  2014-09-08  6:59 ` Ludovic Courtès
  0 siblings, 2 replies; 11+ messages in thread
From: Luis Souto Graña @ 2014-09-07  0:41 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

Hello, could you help me? I have tried to install several times GNU guix
using QEMU, but I always end up with the following error: "No space left on
device".

My latest attempt, step by step:

$ qemu-img create -f raw gnuguix.img 30G
$ qemu-img create -f raw swap.img 10G
$ qemu-system-i386 -hda gnuguix.img -hdb swap.img -m 2048 -net
nic,model=e1000 -net user -vga std -usb -usbdevice
disk:format=raw:gnuusbinstall07.raw -boot menu=on


# dhclient eth0
e1000 eth0 is up
# fdisk -l
Disk /dev/sda 32.2 GB
Disk /dev/sdb 10.7 GB
Disk /dev/sdc 786 MB
# mkfs.ext4 /dev/sda
# cd /mnt
# mkdir gnuguix
# mount /dev/sda /mnt/gnuguix
# mkswap /dev/sdb
# swapon /dev/sdb
# free -m
    total    used    free
Men    2019    115    1904
swap    10239    0    10239
# deco start cow-store /mnt/gnuguix
service cow-store has been started
fuse: bad mount point '/.rw-store': No such file or directory
# cp /etc/configuration-template.scm /mnt/gnuguix/config.scm
# nano /mnt/gnuguix/config.scm

I changed only:  (bootloader (grub-configuration (device "/dev/sda")))

#guix system init /mnt/gnuguix/config.scm /mnt/gnuguix --no-substitutes

After 30 hours:
libbackend.a: No space left on device
Makefile:1776:recipe for target 'libbackend.a' failed
Leaving directory 'tmp/nix-build-gcc-cross-boot0-4.8.3.drv-0/build/gcc
Recipe for target all-gcc failed

[-- Attachment #2: Type: text/html, Size: 1560 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-07  0:41 Problem No space left on device Luis Souto Graña
@ 2014-09-07  6:27 ` Jason Self
  2014-09-08  6:59 ` Ludovic Courtès
  1 sibling, 0 replies; 11+ messages in thread
From: Jason Self @ 2014-09-07  6:27 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 76 bytes --]

Authorized binary substitutes from Hydra might help. Otherwise, more
space?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
@ 2014-09-07 10:49 Luis Souto Graña
  2014-09-07 17:47 ` Manolis Ragkousis
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Souto Graña @ 2014-09-07 10:49 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

If I try using authorized binary substitutes from Hydra it always says
"Unresponsive. Try --no-substitutes".

My computer hasn't more RAM. How do I get more space?

[-- Attachment #2: Type: text/html, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-07 10:49 Luis Souto Graña
@ 2014-09-07 17:47 ` Manolis Ragkousis
  2014-09-07 18:54   ` Luis Souto Graña
  0 siblings, 1 reply; 11+ messages in thread
From: Manolis Ragkousis @ 2014-09-07 17:47 UTC (permalink / raw)
  To: Luis Souto Graña, Guix-devel

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

The builds take place in the /tmp folder ,so try increasing the size of
that folder.

[-- Attachment #2: Type: text/html, Size: 102 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-07 17:47 ` Manolis Ragkousis
@ 2014-09-07 18:54   ` Luis Souto Graña
  2014-09-08  6:20     ` Adam Pribyl
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Souto Graña @ 2014-09-07 18:54 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

How can I do that?
I also already tried:
$ qemu-img create -f raw temporal.img 10G
# TMPDIR=/mnt/temporal guix system init /mnt/gnuguix/config.scm
/mnt/gnuguix --no-substitutes
I ended up with the same error: "No space left on device"

2014-09-07 19:47 GMT+02:00 Manolis Ragkousis <manolis837@gmail.com>:

> The builds take place in the /tmp folder ,so try increasing the size of
> that folder.
>

[-- Attachment #2: Type: text/html, Size: 778 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-07 18:54   ` Luis Souto Graña
@ 2014-09-08  6:20     ` Adam Pribyl
  0 siblings, 0 replies; 11+ messages in thread
From: Adam Pribyl @ 2014-09-08  6:20 UTC (permalink / raw)
  Cc: Guix-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 843 bytes --]

On Sun, 7 Sep 2014, Luis Souto Graña wrote:

> How can I do that?
> I also already tried:
> $ qemu-img create -f raw temporal.img 10G
> # TMPDIR=/mnt/temporal guix system init /mnt/gnuguix/config.scm
> /mnt/gnuguix --no-substitutes
> I ended up with the same error: "No space left on device"

What does the "df" says about a real space? The partition size is 
irrelevant - important is what the filesystem size on the partition is.

What version of guix are you using?

If you want to use substitutes from hydra, you have to authorize it
guix archive --authorize < \
/gnu/store/<long-hash>-guix-0.<somebuild>/share/guix/hydra.gnu.org.pub


> 2014-09-07 19:47 GMT+02:00 Manolis Ragkousis <manolis837@gmail.com>:
>
>> The builds take place in the /tmp folder ,so try increasing the size of
>> that folder.


Adam Pribyl

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-07  0:41 Problem No space left on device Luis Souto Graña
  2014-09-07  6:27 ` Jason Self
@ 2014-09-08  6:59 ` Ludovic Courtès
  2014-09-12  8:30   ` Luis Souto Graña
  1 sibling, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2014-09-08  6:59 UTC (permalink / raw)
  To: Luis Souto Graña; +Cc: guix-devel

Hello,

Luis Souto Graña <luissoutobueu@gmail.com> skribis:

> Hello, could you help me? I have tried to install several times GNU guix
> using QEMU, but I always end up with the following error: "No space left on
> device".
>
> My latest attempt, step by step:
>
> $ qemu-img create -f raw gnuguix.img 30G
> $ qemu-img create -f raw swap.img 10G
> $ qemu-system-i386 -hda gnuguix.img -hdb swap.img -m 2048 -net
> nic,model=e1000 -net user -vga std -usb -usbdevice
> disk:format=raw:gnuusbinstall07.raw -boot menu=on

[...]

> # deco start cow-store /mnt/gnuguix
> service cow-store has been started
> fuse: bad mount point '/.rw-store': No such file or directory

It seems like the mount failed, which is fishy.  Does /.rw-store exist
after that?  Normally ‘deco start cow-store’ creates it, and then
immediately mounts a unionfs on it, and moves it to /gnu/store.

> #guix system init /mnt/gnuguix/config.scm /mnt/gnuguix --no-substitutes
>
> After 30 hours:
> libbackend.a: No space left on device
> Makefile:1776:recipe for target 'libbackend.a' failed
> Leaving directory 'tmp/nix-build-gcc-cross-boot0-4.8.3.drv-0/build/gcc

Using ‘--no-substitutes’ means that everything will be built locally,
which may take a lot of time.

Did you try without ‘--no-substitutes’?  You may get a message about
hydra.gnu.org being unresponsive, which means that the server is a bit
slow, which is unfortunately often the case currently.  This is an
annoyance, but should not prevent installation.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-08  6:59 ` Ludovic Courtès
@ 2014-09-12  8:30   ` Luis Souto Graña
  2014-09-12 12:04     ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Souto Graña @ 2014-09-12  8:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2471 bytes --]

>> It seems like the mount failed, which is fishy. Does /.rw-store exist >>
after that? Normally ‘deco start cow-store’ creates it, and then >>
immediately mounts a unionfs on it, and moves it to /gnu/store.

>> Did you try without ‘--no-substitutes’?  You may get a message about
>> hydra.gnu.org being unresponsive, which means that the server is a bit
>> slow, which is unfortunately often the case currently.  This is an
>> annoyance, but should not prevent installation.

Sorry for the delay in replying. Effectively, I was wrong: hydra
substitutes work well, but it issues other error now:

My new attempt, step by step:

$ qemu-img create -f raw gnuguix.img 30G
$ qemu-img create -f raw swap.img 10G
$ qemu-system-i386 -hda gnuguix.img -hdb swap.img -m 2048 -net
nic,model=e1000 -net user -vga std -usb -usbdevice
disk:format=raw:gnu-usb-install-07.i686 -boot menu=on


# dhclient eth0
e1000 eth0 is up
# fdisk -l
Disk /dev/sda 32.2 GB
Disk /dev/sdb 10.7 GB
Disk /dev/sdc 786 MB
# mkfs.ext4 /dev/sda
# mount /dev/sda /mnt
# mkswap /dev/sdb
# swapon /dev/sdb
# free -m
            total    used    free
Men    2019    115    1904
swap    10239    0    10239
# deco start cow-store /mnt/gnuguix
service cow-store has been started
fuse: bad mount point '/.rw-store': No such file or directory

# df -h
df: '/real-root':No such file or directory
df: '/rw-root': No such file or directory
df: '/root//dev': No such file or directory
df: '/.rw-store': No such file or directory
Filesystem   Size       Used    Avail      Use%  Mounted on
rootfs            1.7G     717M   1010M   42%     /
tmpfs            1010M   0         1010M   0%       /dev/shm
/dev/sda       30G       44M     28G      1%       /mnt
/.rw-store      32G       1.8G    28G      6%      /gnu/store


# cp /etc/configuration-template.scm /mnt/config.scm
# nano /mnt/config.scm

I changed only:  (bootloader (grub-configuration (device "/dev/sda")))

#guix system init /mnt/config.scm /mnt

After 2 hours it issues the following error:

/gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:File system 'ext2'
doesn't support embedding.
/gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:Embedding is not
possible. GRUB can only be installedin this setup by using blocklists.
However, blocklists are UNRELIABLE and their use is discouraged.
guix system:error: failed to install GRUB on device '/dev/sda'
1814 operations.

[-- Attachment #2: Type: text/html, Size: 3107 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-12  8:30   ` Luis Souto Graña
@ 2014-09-12 12:04     ` Ludovic Courtès
  2014-09-18  8:31       ` Luis Souto Graña
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2014-09-12 12:04 UTC (permalink / raw)
  To: Luis Souto Graña; +Cc: guix-devel

Luis Souto Graña <luissoutobueu@gmail.com> skribis:

> Sorry for the delay in replying. Effectively, I was wrong: hydra
> substitutes work well, but it issues other error now:

OK.

> My new attempt, step by step:

[...]

> # mkfs.ext4 /dev/sda

/dev/sda is the raw disk, so you should first make a partition table on
it, using ‘parted’ for instance.

After that, you can run, say, ‘mkfs.ext4 /dev/sda1’.

> # mount /dev/sda /mnt

Here it’s /mnt, so...

> # mkswap /dev/sdb
> # swapon /dev/sdb
> # free -m
>             total    used    free
> Men    2019    115    1904
> swap    10239    0    10239
> # deco start cow-store /mnt/gnuguix

... it should be /mnt as well here, not /mnt/gnuguix.

> service cow-store has been started
> fuse: bad mount point '/.rw-store': No such file or directory

This error could be related, although I don’t quite understand how it
can happen.

> I changed only:  (bootloader (grub-configuration (device "/dev/sda")))
>
> #guix system init /mnt/config.scm /mnt
>
> After 2 hours it issues the following error:
>
> /gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:File system 'ext2'
> doesn't support embedding.
> /gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:Embedding is not
> possible. GRUB can only be installedin this setup by using blocklists.
> However, blocklists are UNRELIABLE and their use is discouraged.
> guix system:error: failed to install GRUB on device '/dev/sda'

This is due to the fact that /dev/sda was made a raw partition, whereas
it should actually contain the partition table and boot record.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-12 12:04     ` Ludovic Courtès
@ 2014-09-18  8:31       ` Luis Souto Graña
  2014-09-18  9:24         ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Luis Souto Graña @ 2014-09-18  8:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3005 bytes --]

>>>  it should be /mnt as well here, not /mnt/gnuguix.
>>> This error could be related, although I don’t quite understand how it
can happen.

Sorry, I had written really /mnt, not /mnt/gnuguix.


>>> This is due to the fact that /dev/sda was made a raw partition, whereas
it should actually contain the partition table and boot record.

I created the partition table and GNU Guix successfully installed.

Now, I have a problem with Skribilo:

root@antelope# guix package --list-installed
hello 2.9
ghostscript 9.06.0
openssl 1.0.1h
imagemagick 6.8.9-0
guile-reader-for-guile_2.0.11 0.6
skribilo 0.9.2

root@antelope# skribilo -version
In ice-9/boot-9.scm:
2951: 3 [define-module* (skribilo utils syntax) #:filename ...]
2926: 2 [resolve-imports ((#) (#) (#))]
2867: 1 [resolve-interface (system reader library) #:select ...]
In unknown file:
    ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (system reader library)

I read http://lists.gnu.org/archive/html/guix-devel/2014-06/msg00033.html ,
but guix package --search-paths displays nothing:
root@antelope# guix package --search-paths
root@antelope#


2014-09-12 14:04 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Luis Souto Graña <luissoutobueu@gmail.com> skribis:
>
> > Sorry for the delay in replying. Effectively, I was wrong: hydra
> > substitutes work well, but it issues other error now:
>
> OK.
>
> > My new attempt, step by step:
>
> [...]
>
> > # mkfs.ext4 /dev/sda
>
> /dev/sda is the raw disk, so you should first make a partition table on
> it, using ‘parted’ for instance.
>
> After that, you can run, say, ‘mkfs.ext4 /dev/sda1’.
>
> > # mount /dev/sda /mnt
>
> Here it’s /mnt, so...
>
> > # mkswap /dev/sdb
> > # swapon /dev/sdb
> > # free -m
> >             total    used    free
> > Men    2019    115    1904
> > swap    10239    0    10239
> > # deco start cow-store /mnt/gnuguix
>
> ... it should be /mnt as well here, not /mnt/gnuguix.
>
> > service cow-store has been started
> > fuse: bad mount point '/.rw-store': No such file or directory
>
> This error could be related, although I don’t quite understand how it
> can happen.
>
> > I changed only:  (bootloader (grub-configuration (device "/dev/sda")))
> >
> > #guix system init /mnt/config.scm /mnt
> >
> > After 2 hours it issues the following error:
> >
> > /gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:File system 'ext2'
> > doesn't support embedding.
> > /gnu/store/...-grub-2.0.0/sbin/grub-bios-setup:warning:Embedding is not
> > possible. GRUB can only be installedin this setup by using blocklists.
> > However, blocklists are UNRELIABLE and their use is discouraged.
> > guix system:error: failed to install GRUB on device '/dev/sda'
>
> This is due to the fact that /dev/sda was made a raw partition, whereas
> it should actually contain the partition table and boot record.
>
> HTH,
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 4030 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Problem No space left on device
  2014-09-18  8:31       ` Luis Souto Graña
@ 2014-09-18  9:24         ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2014-09-18  9:24 UTC (permalink / raw)
  To: Luis Souto Graña; +Cc: guix-devel

Luis Souto Graña <luissoutobueu@gmail.com> skribis:

> I created the partition table and GNU Guix successfully installed.

Good!

> Now, I have a problem with Skribilo:
>
> root@antelope# guix package --list-installed
> hello 2.9
> ghostscript 9.06.0
> openssl 1.0.1h
> imagemagick 6.8.9-0
> guile-reader-for-guile_2.0.11 0.6
> skribilo 0.9.2
>
> root@antelope# skribilo -version
> In ice-9/boot-9.scm:
> 2951: 3 [define-module* (skribilo utils syntax) #:filename ...]
> 2926: 2 [resolve-imports ((#) (#) (#))]
> 2867: 1 [resolve-interface (system reader library) #:select ...]
> In unknown file:
>     ?: 0 [scm-error misc-error #f ...]
>
> ERROR: In procedure scm-error:
> ERROR: no code for module (system reader library)
>
> I read http://lists.gnu.org/archive/html/guix-devel/2014-06/msg00033.html ,
> but guix package --search-paths displays nothing:
> root@antelope# guix package --search-paths

Oh, right.  If Guile was installed, it would tell you to set
GUILE_LOAD_PATH and GUILE_LOAD_COMPILE_PATH to point to
~/.guix-profile/share/guile/site/2.0, but here it doesn’t.

Commit 2f7a10d fixes that.  So you can either work around the problem by
defining the above variables, or ‘guix pull’ and install from there.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-09-18  9:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-07  0:41 Problem No space left on device Luis Souto Graña
2014-09-07  6:27 ` Jason Self
2014-09-08  6:59 ` Ludovic Courtès
2014-09-12  8:30   ` Luis Souto Graña
2014-09-12 12:04     ` Ludovic Courtès
2014-09-18  8:31       ` Luis Souto Graña
2014-09-18  9:24         ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2014-09-07 10:49 Luis Souto Graña
2014-09-07 17:47 ` Manolis Ragkousis
2014-09-07 18:54   ` Luis Souto Graña
2014-09-08  6:20     ` Adam Pribyl

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.