GuixSD on eoma68-a20?

  • Done
  • quality assurance status badge
Details
9 participants
  • Andreas Enge
  • Danny Milosavljevic
  • Efraim Flashner
  • Luke Kenneth Casson Leighton
  • Ludovic Courtès
  • Marius Bakke
  • Mark H Weaver
  • Ricardo Wurmus
  • swedebugia
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal
D
D
Danny Milosavljevic wrote on 8 Dec 2018 18:12
(name . swedebugia)(address . swedebugia@riseup.net)
20181208181214.2308472a@scratchpost.org
Hi swedebugia,

On Sat, 8 Dec 2018 17:39:01 +0100
swedebugia <swedebugia@riseup.net> wrote:

Toggle quote (5 lines)
> Could we pre-order some of these owned by the foundation to
> be used to to hack on this?
>
> See https://www.crowdsupply.com/eoma68/micro-desktop

Guix received one but we have so far be unable to get the GuixSD flash
image because something always breaks on Hydra before it's done (for
example lack of disk space - see https://hydra.gnu.org/build/3198097/log/raw.
Note: The latter thing counts as "successful" build. WTF?).

I have the device here in my hand (I tested it using u-boot only - works fine).

I'm now setting up my own build server and trying to get the flash image
that way - which is ridiculous.

Also, be aware that the Allwinner A20 is really really slow. There are
ARM computers worth using as a normal PC, but this one isn't. I tried.

(For example the Allwinner R40 is quite okay to use as a PC - see
Sinovoip Banana Pi M2 Ultra)

I like the concept of easily upgradeable computers, though!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwL+24ACgkQ5xo1VCww
uqWlfggAjUZecWgeq5NTGfKgoZPTdw2jzY9Vcp+i1ZORdsm7Uq2TCiqGg3mH0F2f
63jiN4edPHfKNbtXTDJ3JzcViB+Q5sRDf9rWRzSlxtcWEEpeDYDRIPo9M40EVKiI
Bm02fN5ox+hNukbXjuiDYa5LV2JSU8nYWXhCi+9lBFoRIQLRhxlwwLOxNmO1po48
jBNMQYaOwuFXKUJn7hs8yOX50hhiDGZ44KPkguibZI0kqvbN0XlizB0EHJT5ILS4
sdFfMXCJfcVdVdnf3rcq5vk+laVWpvxPUQVRFa7pmVDMWJgU5AFClWw4wl3djOpi
B+fjSabgd+p/5hD2HQyXcsl0w6A8Bg==
=vl7I
-----END PGP SIGNATURE-----


D
D
Danny Milosavljevic wrote on 8 Dec 2018 20:15
Re: bug#33676: GuixSD on eoma68-a20?
(name . Ricardo Wurmus)(address . rekado@elephly.net)
20181208201542.241ac6a7@scratchpost.org
Hi Ricardo,

On Sat, 08 Dec 2018 18:34:04 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

Toggle quote (7 lines)
> > Guix received one but we have so far be unable to get the GuixSD flash
> > image because something always breaks on Hydra before it's done (for
> > example lack of disk space - see https://hydra.gnu.org/build/3198097/log/raw .
> > Note: The latter thing counts as "successful" build. WTF?).
>
> Is this now better with ci.guix.info (berlin.guixsd.org)?

No idea. How to I get the flash-image using ci.guix.info ?

I tried "guix system disk-image --system=armhf-linux gnu/system/install.scm" but
that builds a lot of stuff from source. Let's see whether it will be done before
the sun exploded :)

Toggle quote (4 lines)
> > I have the device here in my hand (I tested it using u-boot only - works fine).
>
> Oh, so it works out of the box with GuixSD already?

As I said, I've tested it with u-boot only so far.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwMGF4ACgkQ5xo1VCww
uqXgdAf+JlHGI1oZZRm7omk4Uysg4jpmQv8wCOhuNvUnWbr7NnT1IBN4XuNO9zx1
JAA4ZOpZrpYtJS5o2ymfBb31Tp9OKZlRwS+T9cFrs23HREyASaBXkBoixi9fIJO7
mq71q2cfAX6XZU/qNuBdcWaHQJ6j2/a0e07R5i1AdMLcBVTRvncvxuM09jDY9xR+
hzlO4flUfkyXAVFe9319Ke6B8dhevHjnrhan3mOY4WIgeeEriRAdQI0YppjpVOEP
fA5GxpBvC8HC2f96E9An5DoVDizi6ES4dIFSn96be4oM+utJNb+JCPHJgu15Pfax
HgLEx3motcDvW5fvHg7XDoPn86TieA==
=HafG
-----END PGP SIGNATURE-----


M
M
Mark H Weaver wrote on 8 Dec 2018 21:59
Re: GuixSD on eoma68-a20?
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87pnubn386.fsf@netris.org
Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (13 lines)
> On Sat, 8 Dec 2018 17:39:01 +0100
> swedebugia <swedebugia@riseup.net> wrote:
>
>> Could we pre-order some of these owned by the foundation to
>> be used to to hack on this?
>>
>> See https://www.crowdsupply.com/eoma68/micro-desktop
>
> Guix received one but we have so far be unable to get the GuixSD flash
> image because something always breaks on Hydra before it's done (for
> example lack of disk space - see https://hydra.gnu.org/build/3198097/log/raw .
> Note: The latter thing counts as "successful" build. WTF?).

This sounds like two distinct bugs:

* Regarding the lack of disk space: if I'm not mistaken, as things are
currently implemented, we must specify the size of the disk image
manually. I guess we need to increase the size.

* This error that occurs within QEMU is apparently not being propagated
to the outer build script. That should be fixed.

Toggle quote (3 lines)
> I'm now setting up my own build server and trying to get the flash image
> that way - which is ridiculous.

You seem to be assuming that the problem building the disk image is a
Hydra-specific problem. Do you have reason to believe so? I would
guess that these bugs are in the disk image builder.

What do you think?

Regards,
Mark
L
L
Ludovic Courtès wrote on 9 Dec 2018 00:30
Re: bug#33676: GuixSD on eoma68-a20?
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
871s6r61hb.fsf@gnu.org
Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (16 lines)
> On Sat, 08 Dec 2018 18:34:04 +0100
> Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> > Guix received one but we have so far be unable to get the GuixSD flash
>> > image because something always breaks on Hydra before it's done (for
>> > example lack of disk space - see https://hydra.gnu.org/build/3198097/log/raw .
>> > Note: The latter thing counts as "successful" build. WTF?).
>>
>> Is this now better with ci.guix.info (berlin.guixsd.org)?
>
> No idea. How to I get the flash-image using ci.guix.info ?
>
> I tried "guix system disk-image --system=armhf-linux gnu/system/install.scm" but
> that builds a lot of stuff from source. Let's see whether it will be done before
> the sun exploded :)

I’d suggest trying again, and possibly retrying a bit later so that
substitutes have had a chance to be “baked”.

hydra.gnu.org and now ci.guix.info both provide armhf-linux substitutes.
They have much less armv7 CPU power than x86 but still, it shouldn’t be
that bad.

Ludo’.
D
D
Danny Milosavljevic wrote on 9 Dec 2018 00:53
Re: GuixSD on eoma68-a20?
(name . Mark H Weaver)(address . mhw@netris.org)
20181209005343.7c8dc8e3@scratchpost.org
Hi Mark,

On Sat, 08 Dec 2018 15:59:58 -0500
Mark H Weaver <mhw@netris.org> wrote:

Toggle quote (6 lines)
> This sounds like two distinct bugs:
>
> * Regarding the lack of disk space: if I'm not mistaken, as things are
> currently implemented, we must specify the size of the disk image
> manually. I guess we need to increase the size.

Ah, you are right! https://hydra.gnu.org/build/3194622/log/raw(the usb-image
for i686) also fails - but nobody noticed because we only distribute the iso
image (which determines its size dynamically).

I didn't make the connection that this is a fixed-size guest filesystem before.

Toggle quote (3 lines)
> * This error that occurs within QEMU is apparently not being propagated
> to the outer build script. That should be fixed.

Yes.

Toggle quote (7 lines)
> > I'm now setting up my own build server and trying to get the flash image
> > that way - which is ridiculous.
>
> You seem to be assuming that the problem building the disk image is a
> Hydra-specific problem. Do you have reason to believe so? I would
> guess that these bugs are in the disk image builder.

Probably!

According to the progress bar it's missing an additional 40% ? That's... large.

I've increased the size for the time being, but according to the logs
it was at 800 MiB in 2015.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwMWYcACgkQ5xo1VCww
uqXTuAgAl5srjcRljw2QhHST6S+5xf6SKvxVj7JLw/lmNhY31I6PSEx0YRX9U5kj
Cse9vqc/c7Xqd+jyyXS9NN/mxeF0kCPSe5Rm/Bkbn1nVmODXzvYVosealf5ggelO
YliQtI1JpUWn+PEoKjP/8H5bWegiRD5Os5vO0F/MQ9v/5uaj9SGkUgq6ZDx+RAth
WLeXa75WjTwD4JgYIENxB2VjVmPoH1NluXPW7quvxQCSYd+jgE7XS/ikfjK7RBYl
25GwvuvNgvG6CKONsNxZL5Lsby082xjUT1nN4dvhR+PYbGon4WCynW3WEMIKcVG/
Yjho1QdCSuC4nTNdVbBnp7joGumZQQ==
=vLzO
-----END PGP SIGNATURE-----


R
R
Ricardo Wurmus wrote on 8 Dec 2018 18:34
Re: bug#33676: GuixSD on eoma68-a20?
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87k1kjgbxv.fsf@elephly.net
Hi Danny,

Toggle quote (5 lines)
> Guix received one but we have so far be unable to get the GuixSD flash
> image because something always breaks on Hydra before it's done (for
> example lack of disk space - see https://hydra.gnu.org/build/3198097/log/raw .
> Note: The latter thing counts as "successful" build. WTF?).

Is this now better with ci.guix.info (berlin.guixsd.org)?

Toggle quote (2 lines)
> I have the device here in my hand (I tested it using u-boot only - works fine).

Oh, so it works out of the box with GuixSD already?

--
Ricardo
D
D
Danny Milosavljevic wrote on 9 Dec 2018 12:48
Re: GuixSD on eoma68-a20?
(name . Mark H Weaver)(address . mhw@netris.org)
20181209124800.495326cd@scratchpost.org
After the change, I get the following on Hydra https://hydra.gnu.org/build/3253608/log/raw:

---------------------------------------------------------------------------
@ build-started /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - x86_64-linux /var/log/guix/drvs/sc//nqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv.bz2
environment variable `PATH' set to `/gnu/store/5ka9gmcwcj2919q0cj0wkjng058lwrgq-qemu-minimal-3.0.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin'
creating raw image of 1024.00 MiB...
Formatting '/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image', fmt=raw size=1073741824
Could not access KVM kernel module: Permission denied
qemu-system-x86_64: failed to initialize KVM: Permission denied
Backtrace:
2 (primitive-load "/gnu/store/c2phacd8p7x3g8ysnzrx09jmnxp?")
In ./gnu/build/vm.scm:
152:2 1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
In ./guix/build/utils.scm:
616:6 0 (invoke _ . _)

./guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "qemu-system-x86_64" arguments: ("-nographic" "-no-reboot" "-m" "256" "-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng" "-device" "virtio-rng-pci,rng=guixsd-vm-rng" "-virtfs" "local,id=store_dev,path=/gnu/store,security_model=none,mount_tag=store" "-virtfs" "local,id=xchg_dev,path=xchg,security_model=none,mount_tag=xchg" "-virtfs" "local,id=tmp_dev,path=tmp,security_model=none,mount_tag=tmp" "-kernel" "/gnu/store/fnpr2q7nwrqs7jb9dx7pd2v47z1g867v-linux-libre-4.19.7/bzImage" "-initrd" "/gnu/store/2rkg1w4v2c87ijk9mwba55whnq4v90dw-raw-initrd/initrd.cpio.gz" "-device" "virtio-blk,drive=myhd" "-drive" "if=none,file=/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image,format=raw,id=myhd" "-enable-kvm" "-append" "panic=1 --load=/gnu/store/hqfz1xq82zgq5z1pm7bqisdr4xjsy95x-linux-vm-loader console=ttyS0" "-net" "nic,model=virtio") exit-status: 1 term-signal: #f stop-signal: #f] 5f6b00>)'.
builder for `/gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv' failed with exit code 1
@ build-failed /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - 1 builder for `/gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv' failed with exit code 1
---------------------------------------------------------------------------

What does it mean?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwNAPAACgkQ5xo1VCww
uqVECQgAkzJ+s5NP4fcSC0h8WXKBJbFNEvAOrzs+eBknhrhAgkZ89u/k6OxMu15S
urJqfvgyPYJj4Z8ZEjuxTh5kGOPgnV4oNaFgUF4O8MBS6OTsAGk0/Qby5YWPdY5X
nVp+ZWkjmbUdstYoWKtBD3j6bqG1htEJL82X7BCod5WQ4ObvQicyPKYmOLXNoP+L
dTNIpvLBY7J9AjOrCgZiO2NF+Qz3ndhNkKfP79cPOpQE4LqlVHTD05vLpRebwRdZ
RzB3InI7RlempNtpuYAEG9CxXCj42TDLNmvTkwp0cIjoGFsF6rBWJ3i6oTWh42zx
sHJhFLMRUCLm5h2j9Xgyej1u4VYdzw==
=YRbv
-----END PGP SIGNATURE-----


M
M
Mark H Weaver wrote on 9 Dec 2018 22:32
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87in0275ec.fsf@netris.org
Hi Danny and Ludovic,

Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (10 lines)
> After the change, I get the following on Hydra https://hydra.gnu.org/build/3253608/log/raw:
>
> ---------------------------------------------------------------------------
> @ build-started /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - x86_64-linux /var/log/guix/drvs/sc//nqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv.bz2
> environment variable `PATH' set to `/gnu/store/5ka9gmcwcj2919q0cj0wkjng058lwrgq-qemu-minimal-3.0.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin'
> creating raw image of 1024.00 MiB...
> Formatting '/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image', fmt=raw size=1073741824
> Could not access KVM kernel module: Permission denied
> qemu-system-x86_64: failed to initialize KVM: Permission denied

This indicates that /dev/kvm on hydra.gnunet.org has permissions that
prevent the guix build user from accessing it.

I raised this issue long ago (2015) on the guix-sysadmin mailing list.
In that message, I noted that on hydra.gnunet.org, /dev/kvm has mode
0600 and is owned by root, which caused our disk image derivations to
fail.

At the time, Ludovic chmod'd /dev/kvm, and mentioned that he had tried
to make this persistent via /etc/udev/rules.d/70-persistent-net.rules,
but that for some reason that didn't seem to work, possibly because it
was being overridden by another rule or startup script. As far as I
know, we never implemented a proper fix.

Ludovic, for now, can you chmod it again?

Thanks,
Mark
A
A
Andreas Enge wrote on 9 Dec 2018 22:51
Re: bug#33676: GuixSD on eoma68-a20?
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20181209215126.GA10968@jurong
Hello Danny,

On Sat, Dec 08, 2018 at 06:12:14PM +0100, Danny Milosavljevic wrote:
Toggle quote (3 lines)
> Guix received one but we have so far be unable to get the GuixSD flash
> image because something always breaks on Hydra before it's done

although the problem seems to lie somewhere else, I would just like to
point out that you can use your account on bayfront to build things for
arm as well - it offloads to the redhill machine. Notice, however, that
this is a single machine building everything from source without using
the hydra or berlin build farms for substitutes.

I can also give you a direct login on redhill if you need it.

Andreas
D
D
Danny Milosavljevic wrote on 10 Dec 2018 11:30
(name . Andreas Enge)(address . andreas@enge.fr)
20181210113014.0e4e76eb@scratchpost.org
Hi Andreas,

I've tried it now and I get:

dannym@bayfront ~/src/guix$ ./pre-inst-env guix system disk-image --system=armhf-linux gnu/system/install.scm
...
importing file or directory '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-b
ootstrap-0'...
found valid signature for '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-boo
tstrap-0'
guix offload: error: link: No space left on device
cannot build derivation `/gnu/store/mdc6h56cg0a8i09rh0zbw5kgipwlnvln-binutils-cr
oss-boot0-2.31.1.drv': 1 dependencies couldn't be built
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwOQDYACgkQ5xo1VCww
uqVCyAgAhAvfQmCWdQKxCx98aFhr8vH2u1g/Fs51USCkFaNSEFNuC8pTsV99JkZ+
LhsJU0AiIiTRl/0ojey8e9ZOOHpos5eEg5KmePQxFqNWu+0CiMjwAhP8JqqdWmnP
rlwzmvdTCSzc8Az14cy8e/3e+j54PHPVCwVmj5mmYDKN7t+mocSilZX+RoC9p94O
aqpBVlzNP5rgEQVC97z9bWcbNoz8eUi98u7BTMDoWGIo3lKw2EJrrgHshGd1bcyU
uWUMoT8LoiJg23EI6ZpqDtXDgf2ySm0xdMz/8liGC5wDLCBvdSGL4K4MrzsDbstu
IZFnRkA0fZfndj4GyBtmW5bk/Zbn2Q==
=GEeE
-----END PGP SIGNATURE-----


A
A
Andreas Enge wrote on 10 Dec 2018 22:12
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20181210211224.GA7317@jurong
Hello Danny,

On Mon, Dec 10, 2018 at 11:30:14AM +0100, Danny Milosavljevic wrote:
Toggle quote (9 lines)
> I've tried it now and I get:
> dannym@bayfront ~/src/guix$ ./pre-inst-env guix system disk-image --system=armhf-linux gnu/system/install.scm
> ...
> importing file or directory '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-b
> ootstrap-0'...
> found valid signature for '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-boo
> tstrap-0'
> guix offload: error: link: No space left on device

this is the mysterious error message we have seen before: There is still
plenty of space on all the machines! I think it was related to an ext4
limitation on the number of files, or the number of files inside a single
directory. I ran some garbage collection on bayfront, and it can now offload
and retrieve builds again. Please give it another try!

Andreas
L
L
Luke Kenneth Casson Leighton wrote on 11 Dec 2018 03:04
GuixSD on eoma68-a20?
(address . 33676@debbugs.gnu.org)
CAPweEDyq+Hu7KkmpK_5yf3+p=1EvpSSjAztFPY12yRegYCecew@mail.gmail.com
hi folks,

good to see there's progress on this. do make sure to use a UHC Class
10 micro-sd card (the ones that say they are 75-80mbytes/sec), they
will happily run at 20-25mbytes/sec read/write speed, which is about
the same speed as an SSD from around 2012.

you should get a boot to xfce4 or lxde of around 20-25 seconds: again,
comparable with a budget processor from around 5-8 years ago (which is
what this is). for god's sake don't peddle gnome3 or kde4 at
end-users. the performance will be absolutely atrocious, absolutely
guaranteed.

yes, the idea is to upgrade (and sell or repurpose the old one). this
is the *first* in the series.

for building can i recommend using "-Wl,--no-keep-memory" and report
if it helps, here:

there is a slow-boil linker problem which is similar to the "640k
should be enough for anybody" - all of the quotes historic quotes
techniques which used to be implemented to make it possible to link
programs where there is not enough virtual or physical memory have
been ripped out because "4GB should be enough for anybody".

firefox now requires a staggering SEVEN GIGABYTES to successfully
link. this is insane. please do try that linker option because
otherwise people will believe that 32-bit hardware needs to be
destroyed, due to it being utterly useless.

l.
E
E
Efraim Flashner wrote on 11 Dec 2018 09:13
(name . Mark H Weaver)(address . mhw@netris.org)
20181211081353.GD1323@macbook41
On Sun, Dec 09, 2018 at 04:32:00PM -0500, Mark H Weaver wrote:
Toggle quote (33 lines)
> Hi Danny and Ludovic,
>
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
> > After the change, I get the following on Hydra <https://hydra.gnu.org/build/3253608/log/raw>:
> >
> > ---------------------------------------------------------------------------
> > @ build-started /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - x86_64-linux /var/log/guix/drvs/sc//nqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv.bz2
> > environment variable `PATH' set to `/gnu/store/5ka9gmcwcj2919q0cj0wkjng058lwrgq-qemu-minimal-3.0.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin'
> > creating raw image of 1024.00 MiB...
> > Formatting '/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image', fmt=raw size=1073741824
> > Could not access KVM kernel module: Permission denied
> > qemu-system-x86_64: failed to initialize KVM: Permission denied
>
> This indicates that /dev/kvm on hydra.gnunet.org has permissions that
> prevent the guix build user from accessing it.
>
> I raised this issue long ago (2015) on the guix-sysadmin mailing list.
> In that message, I noted that on hydra.gnunet.org, /dev/kvm has mode
> 0600 and is owned by root, which caused our disk image derivations to
> fail.
>
> At the time, Ludovic chmod'd /dev/kvm, and mentioned that he had tried
> to make this persistent via /etc/udev/rules.d/70-persistent-net.rules,
> but that for some reason that didn't seem to work, possibly because it
> was being overridden by another rule or startup script. As far as I
> know, we never implemented a proper fix.
>
> Ludovic, for now, can you chmod it again?
>
> Thanks,
> Mark

time for a crontab hack job?

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwPcbwACgkQQarn3Mo9
g1Ho5g//Zq6+no9PJnn7T3LHsrQPqouJ/dQDi8H9EH2qjdeDPXusPOsPlp1uENM0
67UFm/iD2qGMyeeVxZesWi9K9xGQ8v6MTf0IJ0iRy3jkreUhqXyOjJx3cvOJdXFU
qVOUUGN0qss8HfJqbZr1Z/yh4GhDrdEFCaSCQ5fawFwkOURIXN1U0qRmTTxqCoM9
AUba5+DM0lW5oF8CSKIVouSlxoKkE3T9c8boffyQvWoYIeBjj53uxt9laF8RtEza
QriEN7cViExX7GHPKneK/I/vwOyFIbNMnBeB9o4TmMdQtws+8NXptA/oMmuuos4z
0ksOLOxT3Q63yEiXUiDosaZzkl+HylfO9EimEgCDZ7R7F8AAJ9kCLCOK+Q7d2Lbv
alf/zuGFJG9ttiujNZUFv4FM/qdRzqbK3Y6gXqxhBcW0+WDyDWI+Jm8XvPsKbWma
OBVZewUGnEFvgPqopEg5Ej5+c/m8I9TtxGWeIlrCiREmE+EOcpcrMoaTrtmTlG5q
PedVYVjRIpN5wgosJNqKGs+e07fwoZ9SjRnjohyXoFG/1u9uX+GG54qFJtwkpzHp
FDx1s4Ia8WHn0/bdelxPTdytyIjW8+JvzHhZYVTVsMbqGuWlO6gJ1gl9AIO6eJmv
yPjbuomrSL4urq+c4fBQbEriG1hw2mnmcDjxN9IbsPBVE3fjIsk=
=O4JZ
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 11 Dec 2018 18:34
Re: GuixSD on eoma68-a20?
(name . Mark H Weaver)(address . mhw@netris.org)
87va40x90s.fsf@gnu.org
Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

Toggle quote (28 lines)
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> After the change, I get the following on Hydra <https://hydra.gnu.org/build/3253608/log/raw>:
>>
>> ---------------------------------------------------------------------------
>> @ build-started /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - x86_64-linux /var/log/guix/drvs/sc//nqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv.bz2
>> environment variable `PATH' set to `/gnu/store/5ka9gmcwcj2919q0cj0wkjng058lwrgq-qemu-minimal-3.0.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin'
>> creating raw image of 1024.00 MiB...
>> Formatting '/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image', fmt=raw size=1073741824
>> Could not access KVM kernel module: Permission denied
>> qemu-system-x86_64: failed to initialize KVM: Permission denied
>
> This indicates that /dev/kvm on hydra.gnunet.org has permissions that
> prevent the guix build user from accessing it.
>
> I raised this issue long ago (2015) on the guix-sysadmin mailing list.
> In that message, I noted that on hydra.gnunet.org, /dev/kvm has mode
> 0600 and is owned by root, which caused our disk image derivations to
> fail.
>
> At the time, Ludovic chmod'd /dev/kvm, and mentioned that he had tried
> to make this persistent via /etc/udev/rules.d/70-persistent-net.rules,
> but that for some reason that didn't seem to work, possibly because it
> was being overridden by another rule or startup script. As far as I
> know, we never implemented a proper fix.
>
> Ludovic, for now, can you chmod it again?

I did that again this morning.

Apparently there was a typo in the udev rules I had written: “=” instead
of “==”… Should be better now on the next reboot.

Ludo’.
D
D
Danny Milosavljevic wrote on 12 Dec 2018 09:12
(name . Ludovic Courtès)(address . ludo@gnu.org)
20181212091211.78d2e86d@scratchpost.org
Yessss!

flash-image just successfully built on Hydra.

Can I have the resulting file please?

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwQwtsACgkQ5xo1VCww
uqWa2Af+Ll1C6Tvlt3cvDyWgu2jH4D8TsLLmuN512l0TP5Db+6V5zLCNv0m+u8LX
T3UzdO5bUO30snf1JPNia/DQg5hXPYwCdLozPc84/z5JdE68q1Xm1fRBaBj90vpN
mMSG49fa3J15BkPTcFAkFV8XG0c/xeF7sUfX9973/8SEl99+cGkdqTanMgXK0Mi4
ZtxjJKCuFav2WdaQ2Zgrve3BPv4Q2XXe8hAZEymve5FSV/6vrcJtLkDbHONKW7m9
fWN4aHR9nSzTZevcvkvu1w7j7a6P8XOHp3tfJ4rqfmMhUq4DeuMZLghrT8sLvneG
B5/JGRmdY/gb4wGuDEN5g7m5H0BERQ==
=nhHn
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 14 Dec 2018 11:48
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87efak5qp7.fsf@gnu.org
Hello!

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (8 lines)
> Yessss!
>
> flash-image just successfully built on Hydra.
>
> Can I have the resulting file please?
>
> See https://hydra.gnu.org/build/3255541/log/raw

I believe you can download it by running:

guix build /gnu/store/ywrh286iqc3jlfhjqsvs22gmcr02i2bp-disk-image.drv

If you don’t have this .drv, you should be able to build it from commit
cba7ddcf603455c6692eb50c8bbf203a6bf17ab1.

See all the details at https://hydra.gnu.org/build/3255541.

Ludo’.
L
L
Ludovic Courtès wrote on 14 Dec 2018 12:09
ENOSPC upon offloading
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87h8fg4b73.fsf_-_@gnu.org
Hello,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (12 lines)
> I've tried it now and I get:
>
> dannym@bayfront ~/src/guix$ ./pre-inst-env guix system disk-image --system=armhf-linux gnu/system/install.scm
> ...
> importing file or directory '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-b
> ootstrap-0'...
> found valid signature for '/gnu/store/3qrkj5zqmhnkr953xznmy96fq8i55ia5-glibc-boo
> tstrap-0'
> guix offload: error: link: No space left on device
> cannot build derivation `/gnu/store/mdc6h56cg0a8i09rh0zbw5kgipwlnvln-binutils-cr
> oss-boot0-2.31.1.drv': 1 dependencies couldn't be built

I looked again at the code and found the issue, now fixed in
adb158b7396cbdcda347fa298978408e531a03fd.

We’ll have to update the ‘guix’ package and deploy it to actually get
the fix.

Thanks,
Ludo’.
D
D
Danny Milosavljevic wrote on 14 Dec 2018 21:50
Re: bug#33676: GuixSD on eoma68-a20?
(name . Andreas Enge)(address . andreas@enge.fr)
20181214215026.66ac1df2@scratchpost.org
Hi Andreas,

can you check whether dirindex (hashtables for directory) is enabled?

# tune2fs -l /dev/... | grep -o dir_index

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwUF5IACgkQ5xo1VCww
uqWi/QgAhLQz4I5takO4jjCBSVYkup2F1HcyzyqtyBu8sfF1SkilVHXv9FRKJpZP
0t7T3Bo3NP/oxVYELns8RQrEH7cR8InlrmPUGFEqhhDYDSDNT5ldMtiJ2VoPm+Y0
FYucyRoNmHaRcJ2hhadWWxx0lQUnoAscqRtcstM39r8DiGicoYDltq+mVa6Z7Nb0
9KckHtjWNypkuCzqbKouYH1fe71zOP+GnKUbKIqk9l6ocekN8W9ormTmKF5Md6Ci
mihSAoTt79JuzBrdAS/fHTXRXbb1WZvtksVa577qCyD3MHjJ79o/EYxPb9cV1RLK
UMVCUnEZ5Oz+wwi2uUh/106Sa6csCA==
=OQig
-----END PGP SIGNATURE-----


A
A
Andreas Enge wrote on 15 Dec 2018 11:29
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20181215102906.GA4621@jurong
On Fri, Dec 14, 2018 at 09:50:26PM +0100, Danny Milosavljevic wrote:
Toggle quote (4 lines)
> can you check whether dirindex (hashtables for directory) is enabled?
> # tune2fs -l /dev/... | grep -o dir_index
> See also https://blog.merovius.de/2013/10/20/ext4-mysterious-no-space-left-on.html

It was, and I disabled it. Hopefully this does not break anything...
But does this not mean a big performance hit on /gnu/store/.links?

Andreas
M
M
Mark H Weaver wrote on 15 Dec 2018 20:04
(name . Andreas Enge)(address . andreas@enge.fr)
87lg4qa9vu.fsf@netris.org
Hi Andreas,

Andreas Enge <andreas@enge.fr> writes:

Toggle quote (7 lines)
> On Fri, Dec 14, 2018 at 09:50:26PM +0100, Danny Milosavljevic wrote:
>> can you check whether dirindex (hashtables for directory) is enabled?
>> # tune2fs -l /dev/... | grep -o dir_index
>> See also https://blog.merovius.de/2013/10/20/ext4-mysterious-no-space-left-on.html
>
> It was, and I disabled it. Hopefully this does not break anything...

Why did you disable it?

Toggle quote (2 lines)
> But does this not mean a big performance hit on /gnu/store/.links?

I would expect disabling dir_index to be a big performance hit on Guix
systems, and especially those with a large store, such a build farm
master nodes.

Mark
D
D
Danny Milosavljevic wrote on 15 Dec 2018 20:19
(name . Andreas Enge)(address . andreas@enge.fr)
20181215201904.62659d07@scratchpost.org
Hi Andreas,

On Sat, 15 Dec 2018 11:29:06 +0100
Andreas Enge <andreas@enge.fr> wrote:

Toggle quote (8 lines)
> On Fri, Dec 14, 2018 at 09:50:26PM +0100, Danny Milosavljevic wrote:
> > can you check whether dirindex (hashtables for directory) is enabled?
> > # tune2fs -l /dev/... | grep -o dir_index
> > See also https://blog.merovius.de/2013/10/20/ext4-mysterious-no-space-left-on.html
>
> It was, and I disabled it. Hopefully this does not break anything...
> But does this not mean a big performance hit on /gnu/store/.links?

It does mean that because it uses a linear search to find the file names now.

What ext filesystem is it?

https://en.wikipedia.org/wiki/Ext4says that ext4 supports B trees - which
should have no problems with hash collisions (it uses operator< to construct
a tree -- and not hashes to construct a list).
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwVU6gACgkQ5xo1VCww
uqXPzAf+LHwmkROAgHY+KJMT7ZX2+yAuomP2qXnB5Yh+E+n25+c+R2gVWldL5yE7
6wmrQ09cgSiEZTJFIeiKiBVYnIDsJrnSFcPhqfMawkxr8SMibn0W5uCU0KcvnqPA
G76lwJzkJjZAuNlrx0b0cP29dW7J7Qik7bWb1R+ozmACMcBElPyQr6QLY+DOYoEy
8Rr6OWzw/TehaZwDOxEC7gx+oFpAU2wnP21i1Op+dHGYXynPETmT/PX2dhM7Utmm
A46tQQsEGhvu0/+c78SLcyrT8B5iu7ijyLHVOMV1fmgamH3QZ9OcLak10Gd3Ix6e
woDhMhYgsdWWifuZYMIWu7XJUU5Jyg==
=KOmW
-----END PGP SIGNATURE-----


D
D
Danny Milosavljevic wrote on 15 Dec 2018 20:21
Re: GuixSD on eoma68-a20?
(name . Ludovic Courtès)(address . ludo@gnu.org)
20181215202137.4b3db598@scratchpost.org
Hi Ludo,

On Fri, 14 Dec 2018 11:48:52 +0100
Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (4 lines)
> I believe you can download it by running:
>
> guix build /gnu/store/ywrh286iqc3jlfhjqsvs22gmcr02i2bp-disk-image.drv

I don't have it.

Toggle quote (3 lines)
> If you don’t have this .drv, you should be able to build it from commit
> cba7ddcf603455c6692eb50c8bbf203a6bf17ab1.

I tried

./pre-inst-env guix system disk-image --system=armhf-linux -e '(begin (use-modules (gnu system) (gnu bootloader) (gnu bootloader u-boot) (gnu system install)) (operating-system (inherit installation-os) (bootloader (bootloader-configuration (bootloader u-boot-bootloader) (target #f)))))'

and I get:

[...]
The following package will be installed:
guile-bootstrap 2.0 /tmp/guix-tests/store/1gd1z2r2a38bh3a4494jbhyzcv5mi5hl-guile-bootstrap-2.0

The following derivation will be built:
/tmp/guix-tests/store/dmmv0dnc8wvx9m12mln90w4b26sdxq5v-profile.drv
building /tmp/guix-tests/store/dmmv0dnc8wvx9m12mln90w4b26sdxq5v-profile.drv...
1 package in profile
The following environment variable definitions may be needed:
export PATH="t-profile-15269/bin${PATH:+:}$PATH"
++ guix package -A guile-bootstrap
++ cut -f 1-2
Backtrace:
In guix/ui.scm:
1603:12 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 18 (catch _ _ #<procedure fed02558 at guix/ui.scm:615:2 (…> …)
829:9 17 (catch _ _ #<procedure fed02568 at guix/ui.scm:733:6 (…> …)
In guix/scripts/package.scm:
914:8 16 (_)
729:25 15 (process-query _)
In guix/discovery.scm:
155:3 14 (fold-module-public-variables _ _ _)
In guix/combinators.scm:
45:26 13 (fold2 #<procedure 1229310 at guix/discovery.scm:155:1…> …)
45:26 12 (fold2 #<procedure 22f5a0 at guix/discovery.scm:156:19…> …)
In guix/discovery.scm:
158:33 11 (_ #<package scmutils@20160827 gnu/packages/scheme.scm…> …)
In guix/scripts/package.scm:
732:39 10 (_ #<package scmutils@20160827 gnu/packages/scheme.scm…> …)
In guix/packages.scm:
777:17 9 (supported-package? #<package scmutils@20160827 gnu/pa…> …)
In guix/memoization.scm:
101:0 8 (_ #<hash-table 2bc240 3740/7027> #<package scmutils@2…> …)
In srfi/srfi-1.scm:
466:18 7 (fold #<procedure fd5d9fe8 at guix/packages.scm:764:10…> …)
In guix/packages.scm:
768:33 6 (_ _ ("x86_64-linux" "i686-linux" "armhf-linux" "aar…" …))
In guix/memoization.scm:
101:0 5 (_ #<hash-table 2bc240 3740/7027> #<package mit-scheme…> …)
In guix/packages.scm:
980:46 1 (thunk)
In gnu/packages/scheme.scm:
170:30 0 (inputs)

gnu/packages/scheme.scm:170:30: In procedure inputs:
Throw to key `match-error' with args `("match" "no matching pattern" "armhf-linux")'.
++ guix package -p t-profile-15269 -I
++ cut -f 1-2
+ test '' = 'guile-bootstrap 2.0'
+ rm -f t-profile-15269 t-profile-15269-1-link t-guix-package-file-15269
+ rm -rf t-guix-package-15269 t-home-15269
./test-env: line 1: 15250 Terminated "/tmp/guix-build-guix-0.16.0-4.60b0402.drv-0/source/pre-inst-env" "/tmp/guix-build-guix-0.16.0-4.60b0402.drv-0/source/guix-daemon" --disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"
FAIL tests/guix-package.sh (exit status: 1)
[...]
/gnu/store/diwcb1v9lr156sg3q4ww1wvsniw4n6rf-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("check") exit-status: 2 term-signal: #f stop-signal: #f] 1ebfa0>)'.
builder for `/gnu/store/dbf84br9nxk0a6d50lsgpcjkl5r4cm1s-guix-0.16.0-4.60b0402.drv' failed with exit code 1
build of /gnu/store/dbf84br9nxk0a6d50lsgpcjkl5r4cm1s-guix-0.16.0-4.60b0402.drv failed
View build log at '/var/log/guix/drvs/db/f84br9nxk0a6d50lsgpcjkl5r4cm1s-guix-0.16.0-4.60b0402.drv.bz2'.
guix system: error: build failed: build of `/gnu/store/dbf84br9nxk0a6d50lsgpcjkl5r4cm1s-guix-0.16.0-4.60b0402.drv' failed

And no image...
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwVVEEACgkQ5xo1VCww
uqX4ygf7BPKCZOtmCt1Zy59pCxh4dX/a8E9aZ494FKMGdMpiETLF5DP5Z0TVb/bL
JJaOdU1Tos5g+4lFE8/OIUWdZhKlaf2hifuHh4D8ruAoJPuqF9hqQ0z7PxJ9uN4a
Nmf/mV86svYnIkbdw1f33IYEV/sYTV6MwgT5DEY7I5AqCzLm11w+G2W1E6aY7ir3
W2NZK74y479qtv7LYYuTbOGm8AqJWP99Zik/JiEmdYF36mGszZL8AR2ZdPVM+cY0
IHDMAeyDgowJUgUeCmtwtt/CKekYy2gMpTvDV/I9KijlxcUDIvQGRdpDZgbUC+DG
rq02pyIvbCWytWNwuXMupLv/AtWqcQ==
=pQOL
-----END PGP SIGNATURE-----


A
A
Andreas Enge wrote on 16 Dec 2018 16:08
Re: bug#33676: GuixSD on eoma68-a20?
(name . Mark H Weaver)(address . mhw@netris.org)
20181216150811.GA8664@jurong
On Sat, Dec 15, 2018 at 02:04:58PM -0500, Mark H Weaver wrote:
Toggle quote (4 lines)
> > It was, and I disabled it. Hopefully this does not break anything...
> Why did you disable it?

Because we get exactly these spurious ENOSPC mentioned in the blog post
on bayfront when the disk is only one third full.

Now I am happy to try out any other combination of flags that solves the
problem.

So should I add dir_index again (is this possible live?), and then
add large_dir?

Andreas
L
L
Ludovic Courtès wrote on 16 Dec 2018 16:59
Re: GuixSD on eoma68-a20?
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
877eg9tqbv.fsf@gnu.org
Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (22 lines)
> On Fri, 14 Dec 2018 11:48:52 +0100
> Ludovic Courtès <ludo@gnu.org> wrote:
>
>> I believe you can download it by running:
>>
>> guix build /gnu/store/ywrh286iqc3jlfhjqsvs22gmcr02i2bp-disk-image.drv
>
> I don't have it.
>
>> If you don’t have this .drv, you should be able to build it from commit
>> cba7ddcf603455c6692eb50c8bbf203a6bf17ab1.
>
> I tried
>
> ./pre-inst-env guix system disk-image --system=armhf-linux -e '(begin (use-modules (gnu system) (gnu bootloader) (gnu bootloader u-boot) (gnu system install)) (operating-system (inherit installation-os) (bootloader (bootloader-configuration (bootloader u-boot-bootloader) (target #f)))))'
>
> and I get:
>
> [...]
> The following package will be installed:
> guile-bootstrap 2.0 /tmp/guix-tests/store/1gd1z2r2a38bh3a4494jbhyzcv5mi5hl-guile-bootstrap-2.0

The solution I proposed only works if you’re using /gnu/store as your
store prefix. Otherwise you cannot get substitutes from the build
farm. :-/

Toggle quote (3 lines)
> gnu/packages/scheme.scm:170:30: In procedure inputs:
> Throw to key `match-error' with args `("match" "no matching pattern" "armhf-linux")'.

This looks like the issue fixed in
966629a114fd90153784dfdbe5e332e0ac94f1bc.

HTH!

Ludo’.
D
D
Danny Milosavljevic wrote on 16 Dec 2018 21:14
(name . Ludovic Courtès)(address . ludo@gnu.org)
20181216211426.09be476b@scratchpost.org
Hi Ludo,

Toggle quote (7 lines)
> > The following package will be installed:
> > guile-bootstrap 2.0 /tmp/guix-tests/store/1gd1z2r2a38bh3a4494jbhyzcv5mi5hl-guile-bootstrap-2.0
>
> The solution I proposed only works if you’re using /gnu/store as your
> store prefix. Otherwise you cannot get substitutes from the build
> farm. :-/

I do use /gnu/store , but I think the above was from a "guix" package unit test.

Toggle quote (6 lines)
> > gnu/packages/scheme.scm:170:30: In procedure inputs:
> > Throw to key `match-error' with args `("match" "no matching pattern" "armhf-linux")'.
>
> This looks like the issue fixed in
> 966629a114fd90153784dfdbe5e332e0ac94f1bc.

Indeed.

Now po4a fails one of the tests. It's not easy to get the image :)

I'll try some more...
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwWsiIACgkQ5xo1VCww
uqUrPgf6A4/gGSMbkp97NtZZ1Hl5mVtHd1qrybEV1LL36R6lxCa98wPXZLbuz5Dz
lgHeaq1Db8nbeXWmMA1pjDGWTK5bsKXGUtAk3xoc0Z7gOfwR5r03m+bysPBcTr9h
IMvRVUpYCjAloupUq1r/PQ6xTDvPIssvkUqoctPUZdJd6+mFE2AV8gpFXDtjNlpY
JUZuK9r2zkoIOzvj6ga+ICMNNQQZvlZB9wef2TpzK1xw54dGrmCpKY3lZ7aEGXLk
/hMNKD50BfYyqWa0ukefOh6694Ancx8qMjMuKeDzmX2pdyZRun8mQQbaRg88qUWt
hDI6+66nDnmB/ICykFoSUqCLYxj94A==
=9Jqc
-----END PGP SIGNATURE-----


D
D
Danny Milosavljevic wrote on 22 Dec 2018 00:05
Re: bug#33676: GuixSD on eoma68-a20?
(name . Luke Kenneth Casson Leighton)(address . lkcl@lkcl.net)(address . 33676@debbugs.gnu.org)
20181222000553.06980837@scratchpost.org
Hi Luke,

On Tue, 11 Dec 2018 02:04:59 +0000
Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:

Toggle quote (5 lines)
> good to see there's progress on this. do make sure to use a UHC Class
> 10 micro-sd card (the ones that say they are 75-80mbytes/sec), they
> will happily run at 20-25mbytes/sec read/write speed, which is about
> the same speed as an SSD from around 2012.

Yes, I got such a card now, seems to write (including sync) quite quickly
on my laptop at least.

Toggle quote (3 lines)
> yes, the idea is to upgrade (and sell or repurpose the old one). this
> is the *first* in the series.

I understand.

Toggle quote (4 lines)
> for building can i recommend using "-Wl,--no-keep-memory" and report
> if it helps, here:
> https://sourceware.org/bugzilla/show_bug.cgi?id=22831

Yeah, we've now added the linker option to several packages.
It improves the situation a lot.

Thanks!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwdcdEACgkQ5xo1VCww
uqUu3wf/UuuW3PEGcVYOq7fLwansmeZXKuwK8A8z8+mGWGY86jj9Fj2HE6C/z/Zr
+aRuPmeevKCG7U3k0Z9p64FHFFok93RR5Ovid+w/ATFnekT3/eWJ97eg92ek0t0D
huvYkWxxvkfli5fDjqxdKbTB1nXc8f0hG1s/yKg3mEhPzWBCGVFNhPYOVpx0IDKc
y8bt1BgfmEmXdM4r9wt02useExIJAH4o8okvfeJ4Zz+7acvEHpH6DgFY8NyVjFBC
YL0DSIGRTw8TsHRR2kO/LWRxhZxqH33TLiuzqipJRWfsYjdIIh52JytqcKFCP2Uf
umbj+ag4Gu/6WTnYuFpZ79OZeJh4JA==
=l1KT
-----END PGP SIGNATURE-----


D
D
Danny Milosavljevic wrote on 22 Dec 2018 00:09
(name . Andreas Enge)(address . andreas@enge.fr)
20181222000957.424e2213@scratchpost.org
Now I get:

$ # commit 39c676c4a3507863f4edf20b225ace4cbf646ed6
$ ./pre-inst-env guix system disk-image --system=armhf-linux -e '(begin (use-modules (gnu system) (gnu bootloader) (gnu bootloader u-boot) (gnu system install)) (operating-system (inherit installation-os) (bootloader (bootloader-configuration (bootloader u-boot-bootloader) (target #f)))))' >QQQ3 2>&1
[...]
The following derivation will be built:
/gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv
building /gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv...
environment variable `PATH' set to `/gnu/store/cm3j1pzdqhw4s9bg1drwlm3lw3qxzddj-qemu-minimal-3.1.0/bin:/gnu/store/hb2qj35yxmvxzcq99lbfcpija032wdzh-coreutils-8.30/bin'
creating raw image of 1265.54 MiB...
Formatting '/gnu/store/9wbw2vbpgg3pwlg9xr7jbniyca0nra2q-disk-image', fmt=raw size=1327019190
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.11-gnu (nixbld@) (gcc version 5.5.0 (GCC)) #1 SMP 1
[ 0.000000] CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: linux,dummy-virt
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x4f000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x50c with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s38732 r8192 d22708 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: panic=1 --load=/gnu/store/ip9p4q62fbgm2r2xnnh8qi5p77k2igas-linux-vm-loader console=ttyAMA0
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 214952K/262144K available (9216K kernel code, 1133K rwdata, 2612K rodata, 2048K init, 310K bss, 30808K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1134 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 311 kB)
[ 0.000000] ftrace: allocating 33359 entries in 98 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[ 0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[ 0.003589] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
[ 0.006045] Switching to timer-based delay loop, resolution 16ns
[ 0.308537] Console: colour dummy device 80x30
[ 0.365555] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
[ 0.373670] pid_max: default: 32768 minimum: 301
[ 0.426475] Security Framework initialized
[ 0.431096] Yama: becoming mindful.
[ 0.506448] AppArmor: AppArmor initialized
[ 0.535772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.543395] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.965208] CPU: Testing write buffer coherency: ok
[ 0.998104] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 1.411470] /cpus/cpu@0 missing clock-frequency property
[ 1.428729] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 1.698318] Setting up static identity map for 0x40100000 - 0x401000a0
[ 1.748454] rcu: Hierarchical SRCU implementation.
[ 1.926086] EFI services will not be available.
[ 1.993192] smp: Bringing up secondary CPUs ...
[ 1.994874] smp: Brought up 1 node, 1 CPU
[ 1.997851] SMP: Total of 1 processors activated (125.00 BogoMIPS).
[ 1.998883] CPU: All CPU(s) started in SVC mode.
[ 2.503281] devtmpfs: initialized
[ 3.198070] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 3.746420] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.775416] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 4.121161] pinctrl core: initialized pinctrl subsystem
[ 4.513079] DMI not present or invalid.
[ 4.901725] NET: Registered protocol family 16
[ 5.171532] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 5.247930] audit: initializing netlink subsys (disabled)
[ 5.429698] audit: type=2000 audit(3.640:1): state=initialized audit_enabled=0 res=1
[ 5.571864] No ATAGs?
[ 5.603824] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 5.605465] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 5.716942] Serial: AMBA PL011 UART driver
[ 6.689400] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 54, base_baud = 0) is a PL011 rev1
[ 6.818013] console [ttyAMA0] enabled
[...]
[ 73.272363] pl061_gpio 9030000.pl061: PL061 GPIO chip @0x09030000 registered
[ 73.354536] pci-host-generic 4010000000.pcie: host bridge /pcie@10000000 ranges:
[ 73.383612] pci-host-generic 4010000000.pcie: IO 0x3eff0000..0x3effffff -> 0x00000000
[ 73.405201] pci-host-generic 4010000000.pcie: MEM 0x10000000..0x3efeffff -> 0x10000000
[ 73.413035] pci-host-generic 4010000000.pcie: MEM 0x8000000000..0xffffffffff -> 0x8000000000
[ 73.449129] pci-host-generic 4010000000.pcie: can't claim ECAM area [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem 0x10000000-0x3efeffff]
[ 73.511869] pci-host-generic: probe of 4010000000.pcie failed with error -16
[ 74.049180] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 74.184595] Serial: AMBA driver
[...]
[ 78.969555] Run /init as init process
[ 80.062608] hrtimer: interrupt took 110418352 ns
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
[ 135.306635] SCSI subsystem initialized
[ 136.419610] Unable to handle kernel paging request at virtual address ea0003ff
[ 136.432562] pgd = (ptrval)
[ 136.434175] [ea0003ff] *pgd=00000000
[ 136.443714] Internal error: Oops: 5 [#1] SMP ARM
[ 136.448388] Modules linked in: libata(+) scsi_mod
[ 136.459458] CPU: 0 PID: 1 Comm: init Not tainted 4.19.11-gnu #1
[ 136.461282] Hardware name: Generic DT based system
[ 136.477596] PC is at ata_attach_transport+0xd8/0x274 [libata]
[ 136.483380] LR is at 0x124
[ 136.484240] pc : [<bf05c190>] lr : [<00000124>] psr: 60000013
[ 136.485268] sp : ce0fdcf0 ip : ea0003ff fp : ce0fdd1c
[ 136.486473] r10: 00000000 r9 : ea00041f r8 : ea00040f
[ 136.487498] r7 : ce3fc8bc r6 : ce3fc8dc r5 : ce3fc8cc r4 : ce3fc800
[ 136.488614] r3 : ce0ed040 r2 : 00000000 r1 : c10d3b14 r0 : 00000000
[ 136.490476] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 136.492057] Control: 10c5387d Table: 4e34406a DAC: 00000051
[ 136.494159] Process init (pid: 1, stack limit = 0x(ptrval))
[ 136.495663] Stack: (0xce0fdcf0 to 0xce0fe000)
[ 136.499157] dce0: 00000001 00000000 bf0778c8 c1005dcc
[ 136.501950] dd00: bf079000 ffffffff bf078000 00000000 ce0fdd9c ce0fdd20 bf077c10 bf05c0c4
[ 136.504080] dd20: c0f1e6b0 bf06f140 c1005dcc ce0fdd38 c01ceb30 bf078000 ce0fdd54 ffffffff
[ 136.506036] dd40: c0155458 c01ceb24 ce0fdd7c ce0fdd58 c01bbaac c01553d0 c10067b4 d082000c
[ 136.508122] dd60: ce0fdda8 d0820000 d0821000 f28f9aeb ce0fdda4 bf06ef40 bf0778c8 c1005dcc
[ 136.510236] dd80: 00000000 bf06ef4c bf06ef40 c1005dcc ce0fde14 ce0fdda0 c01035d8 bf0778d4
[ 136.512143] dda0: c0101a0c f28f9aeb ce327600 c0979f74 ce000600 ce000600 ce0fddd4 ce0fddc8
[ 136.514144] ddc0: c0979f74 c01ce7d0 ce0fde14 ce0fddd8 c0308ab4 c0979f50 ce0fde04 ce0fdde8
[ 136.516233] dde0: c0309c5c c03090e4 00000052 f28f9aeb ce0fdf38 bf06ef40 ce0fdf38 ce3321c0
[ 136.518293] de00: bf06f070 bf06ef4c ce0fde3c ce0fde18 c01fb75c c0103594 ce0fde3c ce0fde28
[ 136.520436] de20: c02f3410 00000000 ce0fdf38 bf06f040 ce0fdf14 ce0fde40 c01fa210 c01fb6f4
[ 136.522398] de40: ffff8000 00007fff bf06ef40 c01f778c ce0fde98 d0820000 c1005dcc c0a08334
[ 136.524853] de60: bf06f054 bf06ef44 00000a2c bf071000 014f9cf8 c0c3d374 ffffffff c0c5b674
[ 136.526866] de80: c0101204 ce0fc000 ce0fdf14 ce0fde98 bf062024 00000006 bf062054 000000bf
[ 136.528885] dea0: 00000000 00000000 6e72656b 00006c65 00000000 00000000 00000000 00000000
[ 136.531078] dec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 136.533045] dee0: 00000000 f28f9aeb 7fffffff c1005dcc 00000000 0000000a 014f9cf8 c0101204
[ 136.534976] df00: ce0fc000 0000017b ce0fdfa4 ce0fdf18 c01fa9c4 c01f84e4 7fffffff 00000000
[ 136.537150] df20: 00000003 ce0fc000 ce0fdf5c d08cf000 00051ca8 00000000 d08f06f3 d08fefc0
[ 136.539224] df40: d08cf000 00051ca8 d09201e0 d091ff38 d0909544 0002d000 0002f250 00000000
[ 136.541281] df60: 00000000 00000000 0001490c 00000042 00000043 0000003c 0000002a 0000001b
[ 136.543248] df80: 00000000 f28f9aeb 00000004 b58dac90 00053e77 0000017b 00000000 ce0fdfa8
[ 136.545223] dfa0: c0101000 c01fa8f4 00000004 b58dac90 0000000a 014f9cf8 00000000 015bbf78
[ 136.548002] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0 0029b25c 00161fec 00000002
[ 136.550771] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2 60000030 0000000a 00000000 00000000
[ 136.578059] [<bf05c190>] (ata_attach_transport [libata]) from [<bf077c10>] (ata_init+0x348/0x39c [libata])
[ 136.589371] [<bf077c10>] (ata_init [libata]) from [<c01035d8>] (do_one_initcall+0x50/0x214)
[ 136.596083] [<c01035d8>] (do_one_initcall) from [<c01fb75c>] (do_init_module+0x74/0x224)
[ 136.598342] [<c01fb75c>] (do_init_module) from [<c01fa210>] (load_module+0x1d38/0x2228)
[ 136.599851] [<c01fa210>] (load_module) from [<c01fa9c4>] (sys_finit_module+0xdc/0x110)
[ 136.601640] [<c01fa9c4>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 136.603227] Exception stack(0xce0fdfa8 to 0xce0fdff0)
[ 136.605053] dfa0: 00000004 b58dac90 0000000a 014f9cf8 00000000 015bbf78
[ 136.607122] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0 0029b25c 00161fec 00000002
[ 136.608630] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2
[ 136.616749] Code: e59fc1a0 e3a0ef49 e28c8010 e28c9020 (e89c000f)
[ 136.631449] ---[ end trace c34b1e9ba28742f3 ]---

And then it hangs seemingly indefinitely.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwdcsUACgkQ5xo1VCww
uqUTfgf6AvkoJWaLLPchOqDrCBL3OCq+IzGcykqkBiqkZvTUMR+AeQuiHrQzxzQD
WgkDbsiNtUOVjgzglpLwJLRXSJejHm3vnGK28N2iDk23deWKKDBJ/I6J7MhfF5l1
mQZRL675T/ABR55Ex/XOb6KNAXXvD0Jn3FG3SMGZUIviJiUXlX2N8Ov3H6j2p7Xa
dFxPMQ4wc8lolyBOiQDNLLmZI0P+o0SS7kMOw1ovA3DlB1x0akuDYaVGze0I30v7
fxdC8UX/Yk2B4dYwYJZ0qUgaex8FRcjc4s3MRPMbKYV46CLALc0r3ZROR4Gv7mQ2
auIx0v7TBWJRRr7rPxxaytQmDU7ctA==
=VMrK
-----END PGP SIGNATURE-----


L
L
Luke Kenneth Casson Leighton wrote on 22 Dec 2018 00:49
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 33676@debbugs.gnu.org)
CAPweEDydeR5oK-LuDQ4CvAWeixioF+0VPqR+wS2yU5i0VmzLrQ@mail.gmail.com
On Fri, Dec 21, 2018 at 11:11 PM Danny Milosavljevic
<dannym@scratchpost.org> wrote:

Toggle quote (3 lines)
> Yeah, we've now added the linker option to several packages.
> It improves the situation a lot.

GREAT! i'll cross-reference to the sourceware bug, that's really
good to hear. it's not perfect: really, ld needs to be massively
improved, bringing back techniques that were deleted from the source
code at least 15 years ago.

l.
S
S
swedebugia wrote on 22 Dec 2018 09:33
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
c04fae8746e55cbc9c35927d4886b353@riseup.net
On 2018-12-22 00:09, Danny Milosavljevic wrote:
Toggle quote (228 lines)
> Now I get:
>
> $ # commit 39c676c4a3507863f4edf20b225ace4cbf646ed6
> $ ./pre-inst-env guix system disk-image --system=armhf-linux -e
> '(begin (use-modules (gnu system) (gnu bootloader) (gnu bootloader
> u-boot) (gnu system install)) (operating-system (inherit
> installation-os) (bootloader (bootloader-configuration (bootloader
> u-boot-bootloader) (target #f)))))' >QQQ3 2>&1
> [...]
> The following derivation will be built:
> /gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv
> building /gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv...
> environment variable `PATH' set to
> `/gnu/store/cm3j1pzdqhw4s9bg1drwlm3lw3qxzddj-qemu-minimal-3.1.0/bin:/gnu/store/hb2qj35yxmvxzcq99lbfcpija032wdzh-coreutils-8.30/bin'
> creating raw image of 1265.54 MiB...
> Formatting '/gnu/store/9wbw2vbpgg3pwlg9xr7jbniyca0nra2q-disk-image',
> fmt=raw size=1327019190
> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Linux version 4.19.11-gnu (nixbld@) (gcc version 5.5.0
> (GCC)) #1 SMP 1
> [ 0.000000] CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
> [ 0.000000] CPU: div instructions available: patching division code
> [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
> [ 0.000000] OF: fdt: Machine model: linux,dummy-virt
> [ 0.000000] Memory policy: Data cache writealloc
> [ 0.000000] efi: Getting EFI parameters from FDT:
> [ 0.000000] efi: UEFI not found.
> [ 0.000000] cma: Reserved 16 MiB at 0x4f000000
> [ 0.000000] psci: probing for conduit method from DT.
> [ 0.000000] psci: PSCIv0.2 detected in firmware.
> [ 0.000000] psci: Using standard PSCI v0.2 function IDs
> [ 0.000000] psci: Trusted OS migration not required
> [ 0.000000] random: get_random_bytes called from
> start_kernel+0xa0/0x50c with crng_init=0
> [ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s38732 r8192
> d22708 u69632
> [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
> [ 0.000000] Kernel command line: panic=1
> --load=/gnu/store/ip9p4q62fbgm2r2xnnh8qi5p77k2igas-linux-vm-loader
> console=ttyAMA0
> [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> [ 0.000000] Memory: 214952K/262144K available (9216K kernel code,
> 1133K rwdata, 2612K rodata, 2048K init, 310K bss, 30808K reserved,
> 16384K cma-reserved, 0K highmem)
> [ 0.000000] Virtual kernel memory layout:
> [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
> [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
> [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
> [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
> [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
> [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
> [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
> [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
> [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1134 kB)
> [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 311 kB)
> [ 0.000000] ftrace: allocating 33359 entries in 98 pages
> [ 0.000000] rcu: Hierarchical RCU implementation.
> [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
> [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> [ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
> [ 0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
> [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
> max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
> [ 0.003589] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps
> every 4398046511096ns
> [ 0.006045] Switching to timer-based delay loop, resolution 16ns
> [ 0.308537] Console: colour dummy device 80x30
> [ 0.365555] Calibrating delay loop (skipped), value calculated
> using timer frequency.. 125.00 BogoMIPS (lpj=250000)
> [ 0.373670] pid_max: default: 32768 minimum: 301
> [ 0.426475] Security Framework initialized
> [ 0.431096] Yama: becoming mindful.
> [ 0.506448] AppArmor: AppArmor initialized
> [ 0.535772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [ 0.543395] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [ 0.965208] CPU: Testing write buffer coherency: ok
> [ 0.998104] CPU0: Spectre v2: firmware did not set auxiliary
> control register IBE bit, system vulnerable
> [ 1.411470] /cpus/cpu@0 missing clock-frequency property
> [ 1.428729] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> [ 1.698318] Setting up static identity map for 0x40100000 - 0x401000a0
> [ 1.748454] rcu: Hierarchical SRCU implementation.
> [ 1.926086] EFI services will not be available.
> [ 1.993192] smp: Bringing up secondary CPUs ...
> [ 1.994874] smp: Brought up 1 node, 1 CPU
> [ 1.997851] SMP: Total of 1 processors activated (125.00 BogoMIPS).
> [ 1.998883] CPU: All CPU(s) started in SVC mode.
> [ 2.503281] devtmpfs: initialized
> [ 3.198070] VFP support v0.3: implementor 41 architecture 4 part 30
> variant f rev 0
> [ 3.746420] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 3.775416] futex hash table entries: 256 (order: 2, 16384 bytes)
> [ 4.121161] pinctrl core: initialized pinctrl subsystem
> [ 4.513079] DMI not present or invalid.
> [ 4.901725] NET: Registered protocol family 16
> [ 5.171532] DMA: preallocated 256 KiB pool for atomic coherent allocations
> [ 5.247930] audit: initializing netlink subsys (disabled)
> [ 5.429698] audit: type=2000 audit(3.640:1): state=initialized
> audit_enabled=0 res=1
> [ 5.571864] No ATAGs?
> [ 5.603824] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
> watchpoint registers.
> [ 5.605465] hw-breakpoint: maximum watchpoint size is 8 bytes.
> [ 5.716942] Serial: AMBA PL011 UART driver
> [ 6.689400] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 54,
> base_baud = 0) is a PL011 rev1
> [ 6.818013] console [ttyAMA0] enabled
> [...]
> [ 73.272363] pl061_gpio 9030000.pl061: PL061 GPIO chip @0x09030000 registered
> [ 73.354536] pci-host-generic 4010000000.pcie: host bridge
> /pcie@10000000 ranges:
> [ 73.383612] pci-host-generic 4010000000.pcie: IO
> 0x3eff0000..0x3effffff -> 0x00000000
> [ 73.405201] pci-host-generic 4010000000.pcie: MEM
> 0x10000000..0x3efeffff -> 0x10000000
> [ 73.413035] pci-host-generic 4010000000.pcie: MEM
> 0x8000000000..0xffffffffff -> 0x8000000000
> [ 73.449129] pci-host-generic 4010000000.pcie: can't claim ECAM area
> [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem
> 0x10000000-0x3efeffff]
> [ 73.511869] pci-host-generic: probe of 4010000000.pcie failed with error -16
> [ 74.049180] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [ 74.184595] Serial: AMBA driver
> [...]
> [ 78.969555] Run /init as init process
> [ 80.062608] hrtimer: interrupt took 110418352 ns
> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
> GC Warning: Couldn't read /proc/stat
> Welcome, this is GNU's early boot Guile.
> Use '--repl' for an initrd REPL.
>
> loading kernel modules...
> [ 135.306635] SCSI subsystem initialized
> [ 136.419610] Unable to handle kernel paging request at virtual
> address ea0003ff
> [ 136.432562] pgd = (ptrval)
> [ 136.434175] [ea0003ff] *pgd=00000000
> [ 136.443714] Internal error: Oops: 5 [#1] SMP ARM
> [ 136.448388] Modules linked in: libata(+) scsi_mod
> [ 136.459458] CPU: 0 PID: 1 Comm: init Not tainted 4.19.11-gnu #1
> [ 136.461282] Hardware name: Generic DT based system
> [ 136.477596] PC is at ata_attach_transport+0xd8/0x274 [libata]
> [ 136.483380] LR is at 0x124
> [ 136.484240] pc : [<bf05c190>] lr : [<00000124>] psr: 60000013
> [ 136.485268] sp : ce0fdcf0 ip : ea0003ff fp : ce0fdd1c
> [ 136.486473] r10: 00000000 r9 : ea00041f r8 : ea00040f
> [ 136.487498] r7 : ce3fc8bc r6 : ce3fc8dc r5 : ce3fc8cc r4 : ce3fc800
> [ 136.488614] r3 : ce0ed040 r2 : 00000000 r1 : c10d3b14 r0 : 00000000
> [ 136.490476] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
> [ 136.492057] Control: 10c5387d Table: 4e34406a DAC: 00000051
> [ 136.494159] Process init (pid: 1, stack limit = 0x(ptrval))
> [ 136.495663] Stack: (0xce0fdcf0 to 0xce0fe000)
> [ 136.499157] dce0: 00000001
> 00000000 bf0778c8 c1005dcc
> [ 136.501950] dd00: bf079000 ffffffff bf078000 00000000 ce0fdd9c
> ce0fdd20 bf077c10 bf05c0c4
> [ 136.504080] dd20: c0f1e6b0 bf06f140 c1005dcc ce0fdd38 c01ceb30
> bf078000 ce0fdd54 ffffffff
> [ 136.506036] dd40: c0155458 c01ceb24 ce0fdd7c ce0fdd58 c01bbaac
> c01553d0 c10067b4 d082000c
> [ 136.508122] dd60: ce0fdda8 d0820000 d0821000 f28f9aeb ce0fdda4
> bf06ef40 bf0778c8 c1005dcc
> [ 136.510236] dd80: 00000000 bf06ef4c bf06ef40 c1005dcc ce0fde14
> ce0fdda0 c01035d8 bf0778d4
> [ 136.512143] dda0: c0101a0c f28f9aeb ce327600 c0979f74 ce000600
> ce000600 ce0fddd4 ce0fddc8
> [ 136.514144] ddc0: c0979f74 c01ce7d0 ce0fde14 ce0fddd8 c0308ab4
> c0979f50 ce0fde04 ce0fdde8
> [ 136.516233] dde0: c0309c5c c03090e4 00000052 f28f9aeb ce0fdf38
> bf06ef40 ce0fdf38 ce3321c0
> [ 136.518293] de00: bf06f070 bf06ef4c ce0fde3c ce0fde18 c01fb75c
> c0103594 ce0fde3c ce0fde28
> [ 136.520436] de20: c02f3410 00000000 ce0fdf38 bf06f040 ce0fdf14
> ce0fde40 c01fa210 c01fb6f4
> [ 136.522398] de40: ffff8000 00007fff bf06ef40 c01f778c ce0fde98
> d0820000 c1005dcc c0a08334
> [ 136.524853] de60: bf06f054 bf06ef44 00000a2c bf071000 014f9cf8
> c0c3d374 ffffffff c0c5b674
> [ 136.526866] de80: c0101204 ce0fc000 ce0fdf14 ce0fde98 bf062024
> 00000006 bf062054 000000bf
> [ 136.528885] dea0: 00000000 00000000 6e72656b 00006c65 00000000
> 00000000 00000000 00000000
> [ 136.531078] dec0: 00000000 00000000 00000000 00000000 00000000
> 00000000 00000000 00000000
> [ 136.533045] dee0: 00000000 f28f9aeb 7fffffff c1005dcc 00000000
> 0000000a 014f9cf8 c0101204
> [ 136.534976] df00: ce0fc000 0000017b ce0fdfa4 ce0fdf18 c01fa9c4
> c01f84e4 7fffffff 00000000
> [ 136.537150] df20: 00000003 ce0fc000 ce0fdf5c d08cf000 00051ca8
> 00000000 d08f06f3 d08fefc0
> [ 136.539224] df40: d08cf000 00051ca8 d09201e0 d091ff38 d0909544
> 0002d000 0002f250 00000000
> [ 136.541281] df60: 00000000 00000000 0001490c 00000042 00000043
> 0000003c 0000002a 0000001b
> [ 136.543248] df80: 00000000 f28f9aeb 00000004 b58dac90 00053e77
> 0000017b 00000000 ce0fdfa8
> [ 136.545223] dfa0: c0101000 c01fa8f4 00000004 b58dac90 0000000a
> 014f9cf8 00000000 015bbf78
> [ 136.548002] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0
> 0029b25c 00161fec 00000002
> [ 136.550771] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2 60000030
> 0000000a 00000000 00000000
> [ 136.578059] [<bf05c190>] (ata_attach_transport [libata]) from
> [<bf077c10>] (ata_init+0x348/0x39c [libata])
> [ 136.589371] [<bf077c10>] (ata_init [libata]) from [<c01035d8>]
> (do_one_initcall+0x50/0x214)
> [ 136.596083] [<c01035d8>] (do_one_initcall) from [<c01fb75c>]
> (do_init_module+0x74/0x224)
> [ 136.598342] [<c01fb75c>] (do_init_module) from [<c01fa210>]
> (load_module+0x1d38/0x2228)
> [ 136.599851] [<c01fa210>] (load_module) from [<c01fa9c4>]
> (sys_finit_module+0xdc/0x110)
> [ 136.601640] [<c01fa9c4>] (sys_finit_module) from [<c0101000>]
> (ret_fast_syscall+0x0/0x54)
> [ 136.603227] Exception stack(0xce0fdfa8 to 0xce0fdff0)
> [ 136.605053] dfa0: 00000004 b58dac90 0000000a
> 014f9cf8 00000000 015bbf78
> [ 136.607122] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0
> 0029b25c 00161fec 00000002
> [ 136.608630] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2
> [ 136.616749] Code: e59fc1a0 e3a0ef49 e28c8010 e28c9020 (e89c000f)
> [ 136.631449] ---[ end trace c34b1e9ba28742f3 ]---
>
> And then it hangs seemingly indefinitely.

I just tried on

Git checkout:
repository: /home/sdb/src/guix
branch: HEAD
commit: d15211c9b5b46b96c5b658329624942b6ff5c917

and got:

building /gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv...
@ unsupported-platform
/gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv armhf-linux
while setting up the build environment: a `armhf-linux' is required to
build `/gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv', but I
am a `i686-linux'
builder for `/gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv'
failed with exit code 1
build of /gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv
failed
View build log at
'/var/log/guix/drvs/ng/yvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv.bz2'.
substituting
/gnu/store/1aclmh7jy2j5084kdpbcz5xgmdzvjzzj-fontconfig-2.13.1...
cannot build derivation
`/gnu/store/hr975r813adrn92f2g7f14z39086hnbx-coreutils-8.30.drv': 1
dependencies couldn't be built
killing process 2725
cannot build derivation
`/gnu/store/c56fwipfpdpii95420xcwf3vamy3n2pa-python-3.7.0.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/3v425ipvhz4w2rll3phfzhq5kpaczwg4-python-wrapper-3.7.0.drv':
1 dependencies couldn't be built
guix system: error: build failed: build of
`/gnu/store/3v425ipvhz4w2rll3phfzhq5kpaczwg4-python-wrapper-3.7.0.drv'
failed

--
Cheers
Swedebugia
D
D
Danny Milosavljevic wrote on 22 Dec 2018 09:44
(address . swedebugia@riseup.net)
20181222094411.3e8fd6cd@scratchpost.org
Please add to your /etc/config.scm to the "services" section:

(service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms (lookup-qemu-platforms "arm"))
(guix-support? #t)))
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwd+VsACgkQ5xo1VCww
uqUbRAf/WJiETaeIA6PHC3qBPEjOKAuwgL7fSJPbR26Wlv/WDP+tMZomn5OH0FH4
VHHnAEHonzzYUni88HZa9Vt8N0SMLo+XhDibwpuGKYfiRc4QHfR7nKWH57r47xcm
m7NSK9lKU8Aih7b/h08Mq9dBq7kWHEv2N2lMVgnZF3oar+jsjEXPmdEy2C+bB8ql
2vtDhoh95KA4OSAw96vMRwWTUk7AD1XtMDNE/g5fOHkJftf9Ij21+Q+shJEEOSvS
seJE2uhtkUl3LHL0aG8JPQQpvB+Keyxlyq48Qg3eBNHAUAXNOmVdQ4VmcFCf9PNz
X5tQV5NsedBNQlR01cJlCS47OkzHXw==
=KJ8p
-----END PGP SIGNATURE-----


S
S
swedebugia wrote on 22 Dec 2018 09:47
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
f1a9061ce610b3ea623951bbf368eb18@riseup.net
On 2018-12-22 09:33, swedebugia@riseup.net wrote:
Toggle quote (266 lines)
> On 2018-12-22 00:09, Danny Milosavljevic wrote:
>> Now I get:
>>
>> $ # commit 39c676c4a3507863f4edf20b225ace4cbf646ed6
>> $ ./pre-inst-env guix system disk-image --system=armhf-linux -e
>> '(begin (use-modules (gnu system) (gnu bootloader) (gnu bootloader
>> u-boot) (gnu system install)) (operating-system (inherit
>> installation-os) (bootloader (bootloader-configuration (bootloader
>> u-boot-bootloader) (target #f)))))' >QQQ3 2>&1
>> [...]
>> The following derivation will be built:
>> /gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv
>> building /gnu/store/shgfclh6yy1a03hl0c293s89y3qm9033-disk-image.drv...
>> environment variable `PATH' set to
>> `/gnu/store/cm3j1pzdqhw4s9bg1drwlm3lw3qxzddj-qemu-minimal-3.1.0/bin:/gnu/store/hb2qj35yxmvxzcq99lbfcpija032wdzh-coreutils-8.30/bin'
>> creating raw image of 1265.54 MiB...
>> Formatting '/gnu/store/9wbw2vbpgg3pwlg9xr7jbniyca0nra2q-disk-image',
>> fmt=raw size=1327019190
>> [ 0.000000] Booting Linux on physical CPU 0x0
>> [ 0.000000] Linux version 4.19.11-gnu (nixbld@) (gcc version 5.5.0
>> (GCC)) #1 SMP 1
>> [ 0.000000] CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
>> [ 0.000000] CPU: div instructions available: patching division code
>> [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
>> [ 0.000000] OF: fdt: Machine model: linux,dummy-virt
>> [ 0.000000] Memory policy: Data cache writealloc
>> [ 0.000000] efi: Getting EFI parameters from FDT:
>> [ 0.000000] efi: UEFI not found.
>> [ 0.000000] cma: Reserved 16 MiB at 0x4f000000
>> [ 0.000000] psci: probing for conduit method from DT.
>> [ 0.000000] psci: PSCIv0.2 detected in firmware.
>> [ 0.000000] psci: Using standard PSCI v0.2 function IDs
>> [ 0.000000] psci: Trusted OS migration not required
>> [ 0.000000] random: get_random_bytes called from
>> start_kernel+0xa0/0x50c with crng_init=0
>> [ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s38732 r8192
>> d22708 u69632
>> [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
>> [ 0.000000] Kernel command line: panic=1
>> --load=/gnu/store/ip9p4q62fbgm2r2xnnh8qi5p77k2igas-linux-vm-loader
>> console=ttyAMA0
>> [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
>> [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
>> [ 0.000000] Memory: 214952K/262144K available (9216K kernel code,
>> 1133K rwdata, 2612K rodata, 2048K init, 310K bss, 30808K reserved,
>> 16384K cma-reserved, 0K highmem)
>> [ 0.000000] Virtual kernel memory layout:
>> [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
>> [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
>> [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
>> [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
>> [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
>> [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
>> [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
>> [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
>> [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1134 kB)
>> [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 311 kB)
>> [ 0.000000] ftrace: allocating 33359 entries in 98 pages
>> [ 0.000000] rcu: Hierarchical RCU implementation.
>> [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
>> [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
>> [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
>> [ 0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
>> [ 0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
>> [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
>> max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
>> [ 0.003589] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps
>> every 4398046511096ns
>> [ 0.006045] Switching to timer-based delay loop, resolution 16ns
>> [ 0.308537] Console: colour dummy device 80x30
>> [ 0.365555] Calibrating delay loop (skipped), value calculated
>> using timer frequency.. 125.00 BogoMIPS (lpj=250000)
>> [ 0.373670] pid_max: default: 32768 minimum: 301
>> [ 0.426475] Security Framework initialized
>> [ 0.431096] Yama: becoming mindful.
>> [ 0.506448] AppArmor: AppArmor initialized
>> [ 0.535772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [ 0.543395] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
>> [ 0.965208] CPU: Testing write buffer coherency: ok
>> [ 0.998104] CPU0: Spectre v2: firmware did not set auxiliary
>> control register IBE bit, system vulnerable
>> [ 1.411470] /cpus/cpu@0 missing clock-frequency property
>> [ 1.428729] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
>> [ 1.698318] Setting up static identity map for 0x40100000 - 0x401000a0
>> [ 1.748454] rcu: Hierarchical SRCU implementation.
>> [ 1.926086] EFI services will not be available.
>> [ 1.993192] smp: Bringing up secondary CPUs ...
>> [ 1.994874] smp: Brought up 1 node, 1 CPU
>> [ 1.997851] SMP: Total of 1 processors activated (125.00 BogoMIPS).
>> [ 1.998883] CPU: All CPU(s) started in SVC mode.
>> [ 2.503281] devtmpfs: initialized
>> [ 3.198070] VFP support v0.3: implementor 41 architecture 4 part 30
>> variant f rev 0
>> [ 3.746420] clocksource: jiffies: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 7645041785100000 ns
>> [ 3.775416] futex hash table entries: 256 (order: 2, 16384 bytes)
>> [ 4.121161] pinctrl core: initialized pinctrl subsystem
>> [ 4.513079] DMI not present or invalid.
>> [ 4.901725] NET: Registered protocol family 16
>> [ 5.171532] DMA: preallocated 256 KiB pool for atomic coherent allocations
>> [ 5.247930] audit: initializing netlink subsys (disabled)
>> [ 5.429698] audit: type=2000 audit(3.640:1): state=initialized
>> audit_enabled=0 res=1
>> [ 5.571864] No ATAGs?
>> [ 5.603824] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
>> watchpoint registers.
>> [ 5.605465] hw-breakpoint: maximum watchpoint size is 8 bytes.
>> [ 5.716942] Serial: AMBA PL011 UART driver
>> [ 6.689400] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 54,
>> base_baud = 0) is a PL011 rev1
>> [ 6.818013] console [ttyAMA0] enabled
>> [...]
>> [ 73.272363] pl061_gpio 9030000.pl061: PL061 GPIO chip @0x09030000 registered
>> [ 73.354536] pci-host-generic 4010000000.pcie: host bridge
>> /pcie@10000000 ranges:
>> [ 73.383612] pci-host-generic 4010000000.pcie: IO
>> 0x3eff0000..0x3effffff -> 0x00000000
>> [ 73.405201] pci-host-generic 4010000000.pcie: MEM
>> 0x10000000..0x3efeffff -> 0x10000000
>> [ 73.413035] pci-host-generic 4010000000.pcie: MEM
>> 0x8000000000..0xffffffffff -> 0x8000000000
>> [ 73.449129] pci-host-generic 4010000000.pcie: can't claim ECAM area
>> [mem 0x10000000-0x1fffffff]: address conflict with pcie@10000000 [mem
>> 0x10000000-0x3efeffff]
>> [ 73.511869] pci-host-generic: probe of 4010000000.pcie failed with error -16
>> [ 74.049180] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
>> [ 74.184595] Serial: AMBA driver
>> [...]
>> [ 78.969555] Run /init as init process
>> [ 80.062608] hrtimer: interrupt took 110418352 ns
>> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
>> GC Warning: Couldn't read /proc/stat
>> Welcome, this is GNU's early boot Guile.
>> Use '--repl' for an initrd REPL.
>>
>> loading kernel modules...
>> [ 135.306635] SCSI subsystem initialized
>> [ 136.419610] Unable to handle kernel paging request at virtual
>> address ea0003ff
>> [ 136.432562] pgd = (ptrval)
>> [ 136.434175] [ea0003ff] *pgd=00000000
>> [ 136.443714] Internal error: Oops: 5 [#1] SMP ARM
>> [ 136.448388] Modules linked in: libata(+) scsi_mod
>> [ 136.459458] CPU: 0 PID: 1 Comm: init Not tainted 4.19.11-gnu #1
>> [ 136.461282] Hardware name: Generic DT based system
>> [ 136.477596] PC is at ata_attach_transport+0xd8/0x274 [libata]
>> [ 136.483380] LR is at 0x124
>> [ 136.484240] pc : [<bf05c190>] lr : [<00000124>] psr: 60000013
>> [ 136.485268] sp : ce0fdcf0 ip : ea0003ff fp : ce0fdd1c
>> [ 136.486473] r10: 00000000 r9 : ea00041f r8 : ea00040f
>> [ 136.487498] r7 : ce3fc8bc r6 : ce3fc8dc r5 : ce3fc8cc r4 : ce3fc800
>> [ 136.488614] r3 : ce0ed040 r2 : 00000000 r1 : c10d3b14 r0 : 00000000
>> [ 136.490476] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
>> [ 136.492057] Control: 10c5387d Table: 4e34406a DAC: 00000051
>> [ 136.494159] Process init (pid: 1, stack limit = 0x(ptrval))
>> [ 136.495663] Stack: (0xce0fdcf0 to 0xce0fe000)
>> [ 136.499157] dce0: 00000001
>> 00000000 bf0778c8 c1005dcc
>> [ 136.501950] dd00: bf079000 ffffffff bf078000 00000000 ce0fdd9c
>> ce0fdd20 bf077c10 bf05c0c4
>> [ 136.504080] dd20: c0f1e6b0 bf06f140 c1005dcc ce0fdd38 c01ceb30
>> bf078000 ce0fdd54 ffffffff
>> [ 136.506036] dd40: c0155458 c01ceb24 ce0fdd7c ce0fdd58 c01bbaac
>> c01553d0 c10067b4 d082000c
>> [ 136.508122] dd60: ce0fdda8 d0820000 d0821000 f28f9aeb ce0fdda4
>> bf06ef40 bf0778c8 c1005dcc
>> [ 136.510236] dd80: 00000000 bf06ef4c bf06ef40 c1005dcc ce0fde14
>> ce0fdda0 c01035d8 bf0778d4
>> [ 136.512143] dda0: c0101a0c f28f9aeb ce327600 c0979f74 ce000600
>> ce000600 ce0fddd4 ce0fddc8
>> [ 136.514144] ddc0: c0979f74 c01ce7d0 ce0fde14 ce0fddd8 c0308ab4
>> c0979f50 ce0fde04 ce0fdde8
>> [ 136.516233] dde0: c0309c5c c03090e4 00000052 f28f9aeb ce0fdf38
>> bf06ef40 ce0fdf38 ce3321c0
>> [ 136.518293] de00: bf06f070 bf06ef4c ce0fde3c ce0fde18 c01fb75c
>> c0103594 ce0fde3c ce0fde28
>> [ 136.520436] de20: c02f3410 00000000 ce0fdf38 bf06f040 ce0fdf14
>> ce0fde40 c01fa210 c01fb6f4
>> [ 136.522398] de40: ffff8000 00007fff bf06ef40 c01f778c ce0fde98
>> d0820000 c1005dcc c0a08334
>> [ 136.524853] de60: bf06f054 bf06ef44 00000a2c bf071000 014f9cf8
>> c0c3d374 ffffffff c0c5b674
>> [ 136.526866] de80: c0101204 ce0fc000 ce0fdf14 ce0fde98 bf062024
>> 00000006 bf062054 000000bf
>> [ 136.528885] dea0: 00000000 00000000 6e72656b 00006c65 00000000
>> 00000000 00000000 00000000
>> [ 136.531078] dec0: 00000000 00000000 00000000 00000000 00000000
>> 00000000 00000000 00000000
>> [ 136.533045] dee0: 00000000 f28f9aeb 7fffffff c1005dcc 00000000
>> 0000000a 014f9cf8 c0101204
>> [ 136.534976] df00: ce0fc000 0000017b ce0fdfa4 ce0fdf18 c01fa9c4
>> c01f84e4 7fffffff 00000000
>> [ 136.537150] df20: 00000003 ce0fc000 ce0fdf5c d08cf000 00051ca8
>> 00000000 d08f06f3 d08fefc0
>> [ 136.539224] df40: d08cf000 00051ca8 d09201e0 d091ff38 d0909544
>> 0002d000 0002f250 00000000
>> [ 136.541281] df60: 00000000 00000000 0001490c 00000042 00000043
>> 0000003c 0000002a 0000001b
>> [ 136.543248] df80: 00000000 f28f9aeb 00000004 b58dac90 00053e77
>> 0000017b 00000000 ce0fdfa8
>> [ 136.545223] dfa0: c0101000 c01fa8f4 00000004 b58dac90 0000000a
>> 014f9cf8 00000000 015bbf78
>> [ 136.548002] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0
>> 0029b25c 00161fec 00000002
>> [ 136.550771] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2 60000030
>> 0000000a 00000000 00000000
>> [ 136.578059] [<bf05c190>] (ata_attach_transport [libata]) from
>> [<bf077c10>] (ata_init+0x348/0x39c [libata])
>> [ 136.589371] [<bf077c10>] (ata_init [libata]) from [<c01035d8>]
>> (do_one_initcall+0x50/0x214)
>> [ 136.596083] [<c01035d8>] (do_one_initcall) from [<c01fb75c>]
>> (do_init_module+0x74/0x224)
>> [ 136.598342] [<c01fb75c>] (do_init_module) from [<c01fa210>]
>> (load_module+0x1d38/0x2228)
>> [ 136.599851] [<c01fa210>] (load_module) from [<c01fa9c4>]
>> (sys_finit_module+0xdc/0x110)
>> [ 136.601640] [<c01fa9c4>] (sys_finit_module) from [<c0101000>]
>> (ret_fast_syscall+0x0/0x54)
>> [ 136.603227] Exception stack(0xce0fdfa8 to 0xce0fdff0)
>> [ 136.605053] dfa0: 00000004 b58dac90 0000000a
>> 014f9cf8 00000000 015bbf78
>> [ 136.607122] dfc0: 00000004 b58dac90 00053e77 0000017b 002b39d0
>> 0029b25c 00161fec 00000002
>> [ 136.608630] dfe0: bec661d0 bec661c0 0005c7a9 0011d1e2
>> [ 136.616749] Code: e59fc1a0 e3a0ef49 e28c8010 e28c9020 (e89c000f)
>> [ 136.631449] ---[ end trace c34b1e9ba28742f3 ]---
>>
>> And then it hangs seemingly indefinitely.
>
> I just tried on
>
> Git checkout:
> repository: /home/sdb/src/guix
> branch: HEAD
> commit: d15211c9b5b46b96c5b658329624942b6ff5c917
>
> and got:
>
> building /gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv...
> @ unsupported-platform
> /gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv armhf-linux
> while setting up the build environment: a `armhf-linux' is required to
> build `/gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv', but I
> am a `i686-linux'
> builder for `/gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv'
> failed with exit code 1
> build of /gnu/store/ngyvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv
> failed
> View build log at
> '/var/log/guix/drvs/ng/yvqxnj2yndvncpfrkmpc6irfz6k09q-gmp-6.1.2.drv.bz2'.
> substituting
> /gnu/store/1aclmh7jy2j5084kdpbcz5xgmdzvjzzj-fontconfig-2.13.1...
> cannot build derivation
> `/gnu/store/hr975r813adrn92f2g7f14z39086hnbx-coreutils-8.30.drv': 1
> dependencies couldn't be built
> killing process 2725
> cannot build derivation
> `/gnu/store/c56fwipfpdpii95420xcwf3vamy3n2pa-python-3.7.0.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/gnu/store/3v425ipvhz4w2rll3phfzhq5kpaczwg4-python-wrapper-3.7.0.drv':
> 1 dependencies couldn't be built
> guix system: error: build failed: build of
> `/gnu/store/3v425ipvhz4w2rll3phfzhq5kpaczwg4-python-wrapper-3.7.0.drv'
> failed

I'm on x86_64 hardware running a i686 guix

Tried again and got this:

building
/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv...
@ unsupported-platform
/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv
armhf-linux
while setting up the build environment: a `armhf-linux' is required to
build `/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv',
but I am a `i686-linux'
builder for
`/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv' failed
with exit code 1
build of /gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv
failed
View build log at
'/var/log/guix/drvs/c9/d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv.bz2'.
guix system: error: build failed: build of
`/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv' failed


--
Cheers
Swedebugia
D
D
Danny Milosavljevic wrote on 22 Dec 2018 10:11
(address . swedebugia@riseup.net)
20181222101106.07da06e4@scratchpost.org
Did you reconfigure?

# guix system reconfigure /etc/config.scm

If so, that's weird.

Toggle quote (2 lines)
>I'm on x86_64 hardware running a i686 guix

Yeah, "--system" is using qemu to emulate the target architecture and the build
job then runs in there.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlwd/6oACgkQ5xo1VCww
uqUx1gf9Gyfvt4+Nj9wGfEFbfbTTlTJrMX66VOMisLdcA+JVXFszroOh0yo9tiUu
DXPPbX0eOF/u2GqSFDOTLHunBaWTnyfViZjISAhHAO0/MZPXydGLSDEhpHli2Su0
/9722Lv7h7VuMHYr921ShfV2oZ50x2qm8IRK+Od4v6QWgIyVinUDIoaOxWxItfIY
+wrRSfvtHLHKZL6SYaxmr6iCmD2VKELEsUO7AVkNSQKaYp1MJW1jKhmXyJxJRaTN
MLXkiLcos7n1fXnel1JqvRbR586BpKvlj0zXo0xj2zZYrzFiwiik8YOciC17qreA
6vWO9whQluMNGIGYsonxLbj8JWj5Ow==
=QO8g
-----END PGP SIGNATURE-----


S
S
swedebugia wrote on 23 Dec 2018 06:09
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
139d0a5a952f3b4c59c0d6534643f9ce@riseup.net
On 2018-12-22 09:44, Danny Milosavljevic wrote:
Toggle quote (7 lines)
> Please add to your /etc/config.scm to the "services" section:
>
> (service qemu-binfmt-service-type
> (qemu-binfmt-configuration
> (platforms (lookup-qemu-platforms "arm"))
> (guix-support? #t)))

Thanks.

Added, reconfigured and now it is building away happily. Will report
back how it goes...

--
Cheers
Swedebugia
S
S
swedebugia wrote on 23 Dec 2018 09:54
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
f1e25ea26a5456d49c228dd27921768b@riseup.net
On 2018-12-23 06:09, swedebugia@riseup.net wrote:
Toggle quote (13 lines)
> On 2018-12-22 09:44, Danny Milosavljevic wrote:
>> Please add to your /etc/config.scm to the "services" section:
>>
>> (service qemu-binfmt-service-type
>> (qemu-binfmt-configuration
>> (platforms (lookup-qemu-platforms "arm"))
>> (guix-support? #t)))
>
> Thanks.
>
> Added, reconfigured and now it is building away happily. Will report
> back how it goes...

It took a long long time to compile python2.7 and failed a 1 test in the
end.

356 tests OK.
1 test failed:
test_mmap
39 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_dl test_gdb test_gl test_imgfile test_ioctl test_kqueue
test_linuxaudiodev test_macos test_macostools test_msilib test_nis
test_ossaudiodev test_scriptpackages test_smtpnet
test_socketserver test_startfile test_sunaudiodev test_timeout
test_tk test_ttk_guionly test_urllib2net test_urllibnet
test_winreg test_winsound test_zipfile64
4 skips unexpected on linux2:
test_bsddb test_bsddb3 test_gdb test_ioctl

Total duration: 55 min 1 sec
Tests result: FAILURE
make: *** [Makefile:878: test] Error 2

Test suite failed, dumping logs.
Backtrace:
4 (primitive-load "/gnu/store/dbh5r09sm7hw8jjmxvgmjks9h2q…")
In ice-9/eval.scm:
191:35 3 (_ _)
In srfi/srfi-1.scm:
863:16 2 (every1 #<procedure 1e4830 at /gnu/store/diwcb1v9lr156…> …)
In
/gnu/store/diwcb1v9lr156sg3q4ww1wvsniw4n6rf-module-import/guix/build/gnu-build-system.scm:
799:28 1 (_ _)
369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

/gnu/store/diwcb1v9lr156sg3q4ww1wvsniw4n6rf-module-import/guix/build/gnu-build-system.scm:369:6:
In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"make" arguments: ("test" "-j" "2") exit-status: 2 term-signal: #f
stop-signal: #f] 145fc0>)'.
builder for
`/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv' failed
with exit code 1
build of /gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv
failed
View build log at
'/var/log/guix/drvs/c9/d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv.bz2'.
guix system: error: build failed: build of
`/gnu/store/c9d3ga47xx8izflj9r1xgf1y6y39yskq-python2-2.7.15.drv' failed

-------------
fail details:

0:27:38 load avg: 1.19 [216/396] test_mmap
test test_mmap failed -- Traceback (most recent call last):
File
"/tmp/guix-build-python2-2.7.15.drv-0/Python-2.7.15/Lib/test/test_mmap.py",
line 696, in test_large_offset
self.assertEqual(m[0xFFFFFFF], b" ")
AssertionError: '\x00' != ' '

0:27:40 load avg: 1.18 [217/396/1] test_module -- test_mmap failed

I'm on i386.
Will try again when I succeded in disabling the test.
--
Cheers
Swedebugia
M
M
Marius Bakke wrote on 7 Apr 2020 15:45
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 33676@debbugs.gnu.org)
87zhbnmmti.fsf@devup.no
Is this bug report still relevant?
R
R
Ricardo Wurmus wrote on 7 Apr 2020 17:17
(name . Marius Bakke)(address . mbakke@fastmail.com)
871rozwcih.fsf@elephly.net
Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (2 lines)
> Is this bug report still relevant?

The EOMA68-A20 board still hasn’t been completed, so I think it’s fine
to close this bug report.

--
Ricardo
M
M
Marius Bakke wrote on 7 Apr 2020 17:33
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87r1wzmhu4.fsf@devup.no
Ricardo Wurmus <rekado@elephly.net> writes:

Toggle quote (7 lines)
> Marius Bakke <mbakke@fastmail.com> writes:
>
>> Is this bug report still relevant?
>
> The EOMA68-A20 board still hasn’t been completed, so I think it’s fine
> to close this bug report.

OK. There has been quite a lot of work getting Guix System running on
various boards since this was opened, so I don't expect porting to
EOMA68-A20 to be particularily problematic. Closing for now.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6MnTMACgkQoqBt8qM6
VPoiLQgAtPAX45+rCs0jThXM3YF4WaZ6aGUz30+KCy1ks9Z3UlgMGj06sbieMJlO
osaxlLEERifBTVGbpgCgTHoTcMiEuB/oD6KFd6/piayDRJBpiLrjs0YTuU/gP6YE
n1QGAKc6Z5NhKcBYaYc/tiChpjun8qP3Z6zI3LJTri2d3pN3yyCpTdyqPO9E20Nt
GVOtx6k/kQfZ18SStNQuK67NmHLvIEWNCtayJ1u/8cXLXVPrIi7K/cOfk5IgcDH0
FXuLTaS0UUvnAhSJiprVnfgNpaXOfe6bYAuSSwbX2NR+OQY/gZTEN1/0/Lek+VFZ
KIHnWuTijv97kPbz/V4FpxHtYrIM8g==
=PzK6
-----END PGP SIGNATURE-----

?