unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
@ 2022-09-24  5:16 Maxim Cournoyer
  2022-09-26 10:12 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2022-09-24  5:16 UTC (permalink / raw)
  To: 58036

Hello,

While attempting to reconfigure the overdrive1 aarch64 machine, I got:

--8<---------------cut here---------------start------------->8---
substitute: ^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
@ build-started /gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv - aarch64-linux /var/log/guix/drvs/x9//qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv.gz 31574
Backtrace:
In ice-9/eval.scm:
    619:8 19 (_ #f)
   626:19 18 (_ #<directory (guile-user) 5ebc80>)
   293:34 17 (_ #(#<directory (guile-user) 5ebc80> #<procedure loo?>))
In srfi/srfi-1.scm:
   586:29 16 (map1 _)
   586:29 15 (map1 _)
   586:29 14 (map1 _)
   586:29 13 (map1 _)
   586:29 12 (map1 _)
   586:29 11 (map1 _)
   586:29 10 (map1 _)
   586:29  9 (map1 _)
   586:29  8 (map1 _)
   586:29  7 (map1 _)
   586:29  6 (map1 _)
   586:29  5 (map1 _)
   586:29  4 (map1 _)
   586:29  3 (map1 _)
   586:29  2 (map1 _)
   586:17  1 (map1 ("pata_acpi" "pata_atiixp" "isci" "virtio_pci" # ?))
In gnu/build/linux-modules.scm:
    257:5  0 (_)

gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
@ build-failed /gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv - 1 builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
/var/log/guix/drvs/x9/qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv (END
--8<---------------cut here---------------end--------------->8---

this is with commit 35e8615d387b6630006ccd8c3420154dab93b95a.

Thanks,

Maxim




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

* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
  2022-09-24  5:16 bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10 Maxim Cournoyer
@ 2022-09-26 10:12 ` Ludovic Courtès
  2022-09-26 12:28   ` Maxim Cournoyer
  2022-09-26 21:34   ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2022-09-26 10:12 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 58036

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> While attempting to reconfigure the overdrive1 aarch64 machine, I got:
>
> substitute: ^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> @ build-started /gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv - aarch64-linux /var/log/guix/drvs/x9//qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv.gz 31574
> Backtrace:
> In ice-9/eval.scm:
>     619:8 19 (_ #f)
>    626:19 18 (_ #<directory (guile-user) 5ebc80>)
>    293:34 17 (_ #(#<directory (guile-user) 5ebc80> #<procedure loo?>))
> In srfi/srfi-1.scm:
>    586:29 16 (map1 _)
>    586:29 15 (map1 _)
>    586:29 14 (map1 _)
>    586:29 13 (map1 _)
>    586:29 12 (map1 _)
>    586:29 11 (map1 _)
>    586:29 10 (map1 _)
>    586:29  9 (map1 _)
>    586:29  8 (map1 _)
>    586:29  7 (map1 _)
>    586:29  6 (map1 _)
>    586:29  5 (map1 _)
>    586:29  4 (map1 _)
>    586:29  3 (map1 _)
>    586:29  2 (map1 _)
>    586:17  1 (map1 ("pata_acpi" "pata_atiixp" "isci" "virtio_pci" # ?))
> In gnu/build/linux-modules.scm:
>     257:5  0 (_)
>
> gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1

This is the derivation made by ‘flat-linux-module-directory’ in (gnu
system linux-initrd).

How did you work around it?

Normally “pata_acpi” is excluded from ‘%base-initrd-modules’ on
aarch64.  However, since this relies on (%current-system), there could
be situations where the trick doesn’t work as expected when deploying
say from x86_64:

--8<---------------cut here---------------start------------->8---
(define* (default-initrd-modules
           #:optional
           (system (or (%current-target-system)
                       (%current-system))))
    ;; [...]

    ,@(if (string-match "^(x86_64|i[3-6]86)-" system)
          '("pata_acpi" "pata_atiixp"    ;for ATA controllers
            "isci")                      ;for SAS controllers like Intel C602
          '())

    ,@virtio-modules))

(define-syntax %base-initrd-modules
  ;; This more closely matches our naming convention.
  (identifier-syntax (default-initrd-modules)))
--8<---------------cut here---------------end--------------->8---

I tried just now and did not reproduce it:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 229  Sep 25 2022 23:42:53    (current)
  guix ab69314
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ab6931483be544b7debb9496f694b593af7e0c0f
$ guix deploy -L modules deploy-overdrive1.scm
The following 1 machine will be deployed:
  overdrive1

guix deploy: deploying to overdrive1...

[…]

guix deploy: sending 0 store items (0 MiB) to 'overdrive1.guix.gnu.org'...
guix deploy: error: failed to deploy overdrive1: failed to switch systems while deploying 'overdrive1.guix.gnu.org':
system-error "symlink" "~A" ("File exists") (17) 
--8<---------------cut here---------------end--------------->8---

(But as you can see, I did reproduce that other bug you reported.  :-))

Ludo’.




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

* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
  2022-09-26 10:12 ` Ludovic Courtès
@ 2022-09-26 12:28   ` Maxim Cournoyer
  2022-09-26 13:21     ` Ludovic Courtès
  2022-09-26 21:34   ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2022-09-26 12:28 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58036

Hi!

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> While attempting to reconfigure the overdrive1 aarch64 machine, I got:
>>
>> substitute: ^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%^Msubstitute: ESC[Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%
>> @ build-started /gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv - aarch64-linux /var/log/guix/drvs/x9//qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv.gz 31574
>> Backtrace:
>> In ice-9/eval.scm:
>>     619:8 19 (_ #f)
>>    626:19 18 (_ #<directory (guile-user) 5ebc80>)
>>    293:34 17 (_ #(#<directory (guile-user) 5ebc80> #<procedure loo?>))
>> In srfi/srfi-1.scm:
>>    586:29 16 (map1 _)
>>    586:29 15 (map1 _)
>>    586:29 14 (map1 _)
>>    586:29 13 (map1 _)
>>    586:29 12 (map1 _)
>>    586:29 11 (map1 _)
>>    586:29 10 (map1 _)
>>    586:29  9 (map1 _)
>>    586:29  8 (map1 _)
>>    586:29  7 (map1 _)
>>    586:29  6 (map1 _)
>>    586:29  5 (map1 _)
>>    586:29  4 (map1 _)
>>    586:29  3 (map1 _)
>>    586:29  2 (map1 _)
>>    586:17  1 (map1 ("pata_acpi" "pata_atiixp" "isci" "virtio_pci" # ?))
>> In gnu/build/linux-modules.scm:
>>     257:5  0 (_)
>>
>> gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
>> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
>
> This is the derivation made by ‘flat-linux-module-directory’ in (gnu
> system linux-initrd).
>
> How did you work around it?

I had to use the previous version of the latest linux-libre kernel, by
using this commit:

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=08d515233241ee0921b8b5ab706f98170c62437c -- \
    deploy -L modules deploy-overdrive1.scm
--8<---------------cut here---------------end--------------->8---

And on the first attempt I had to run reconfigure with
--allow-downgrades locally due to a previously failing 'deploy' having
left the failed deploy generation as 'active' which was generated on a
later Guix commit.

There's currently no '--allow-downgrades' for 'guix deploy'.

It's strange that you cannot reproduce it.  I was running that from my
home x86_64 Guix System machine which is authorized on overdrive1 and
has SSH access to it.

Thanks,

Maxim




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

* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
  2022-09-26 12:28   ` Maxim Cournoyer
@ 2022-09-26 13:21     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2022-09-26 13:21 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 58036

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

>>> gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
>>> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
>>
>> This is the derivation made by ‘flat-linux-module-directory’ in (gnu
>> system linux-initrd).
>>
>> How did you work around it?
>
> I had to use the previous version of the latest linux-libre kernel, by
> using this commit:
>
> $ guix time-machine --commit=08d515233241ee0921b8b5ab706f98170c62437c -- \
>     deploy -L modules deploy-overdrive1.scm

OK.  I wonder if it’s just luck, because on another run with the same
revision I’m now hitting it.  It might relate to
<https://issues.guix.gnu.org/57117>.

> There's currently no '--allow-downgrades' for 'guix deploy'.

There’s the ‘allow-downgrades?’ field of ‘machine-ssh-configuration’,
but sssssh!  (info "(guix) Invoking guix deploy")

Ludo’.




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

* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
  2022-09-26 10:12 ` Ludovic Courtès
  2022-09-26 12:28   ` Maxim Cournoyer
@ 2022-09-26 21:34   ` Ludovic Courtès
  2022-09-26 23:47     ` Maxim Cournoyer
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2022-09-26 21:34 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 58036-done

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

[...]

>> gnu/build/linux-modules.scm:257:5: kernel module not found "pata_acpi" "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
>> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
>
> This is the derivation made by ‘flat-linux-module-directory’ in (gnu
> system linux-initrd).
>
> How did you work around it?
>
> Normally “pata_acpi” is excluded from ‘%base-initrd-modules’ on
> aarch64.  However, since this relies on (%current-system), there could
> be situations where the trick doesn’t work as expected when deploying
> say from x86_64:

Fixed in 1033645e9d3899edd6b052b19e24c0a718b95e88.

We need system tests for ‘guix deploy’!

Ludo’.




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

* bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10
  2022-09-26 21:34   ` Ludovic Courtès
@ 2022-09-26 23:47     ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2022-09-26 23:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58036-done

Hi!

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
> [...]
>
>>> gnu/build/linux-modules.scm:257:5: kernel module not found
>>> "pata_acpi"
>>> "/gnu/store/nmdy7c4i34y12w8af7zl6sl9fmrp8wa0-linux-libre-5.19.10/lib/modules"
>>> builder for `/gnu/store/x9qdj37d6l2yacc73bx284ggj6vkhcdv-linux-modules.drv' failed with exit code 1
>>
>> This is the derivation made by ‘flat-linux-module-directory’ in (gnu
>> system linux-initrd).
>>
>> How did you work around it?
>>
>> Normally “pata_acpi” is excluded from ‘%base-initrd-modules’ on
>> aarch64.  However, since this relies on (%current-system), there could
>> be situations where the trick doesn’t work as expected when deploying
>> say from x86_64:
>
> Fixed in 1033645e9d3899edd6b052b19e24c0a718b95e88.

Well done, thank you!

> We need system tests for ‘guix deploy’!

That would help :-).

Maxim




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

end of thread, other threads:[~2022-09-26 23:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24  5:16 bug#58036: kernel module not found "pata_acpi" in linux-libre-5.19.10 Maxim Cournoyer
2022-09-26 10:12 ` Ludovic Courtès
2022-09-26 12:28   ` Maxim Cournoyer
2022-09-26 13:21     ` Ludovic Courtès
2022-09-26 21:34   ` Ludovic Courtès
2022-09-26 23:47     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).