unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "dabbede@gmail.com" <dabbede@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: help-guix@gnu.org
Subject: Re: List of modules required by linux-modules
Date: Fri, 27 Jan 2023 22:34:31 +0100	[thread overview]
Message-ID: <CAEwYQ4Q6Z4R2FVjbpqJ4yFC-2ZuNbjex8mBY58-1Bc6zFd_LJg@mail.gmail.com> (raw)
In-Reply-To: <877cx8ffvm.fsf@nckx>

Yes yes yes!
That's the tip I was hoping for! I've missed CONFIG_SCSI_LOWLEVEL
because I was looking for answers here:
https://cateee.net/lkddb/web-lkddb/SCSI_ISCI.html.
It's the first time that that database gives me wrong information...
Conversely, this website is correct:
https://www.kernelconfig.io/config_scsi_isci?q=&kernelversion=5.4.230&arch=x86.

And for the module list, I was blaming linux-module.scm because the
system reconfigure was failing at that point. Looking in the code I
knew that the list was generated elsewhere, but I couldn't find where,
nor how it is passed to linux-modules... I admit I've just wet my toe
in Guix (and guile programming) and the codebase is huge...

Thank you very much. Now my system reconfigure ended correctly! Time
for latency tests... :-D

On Fri, Jan 27, 2023 at 11:07 AM Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>
> Hi,
>
> dabbede@gmail.com 写道:
> > I've stopped the kernel build after the config phase and I've
> > inspected the resulting .config file. There's no evidence of
> > CONFIG_SCSI_ISCI in there, not even "# CONFIG_SCSI_ISCI is not
> > set".
>
> CONFIG_SCSI_ISCI depends on CONFIG_SCSI_LOWLEVEL.  Is it set?
>
> That's the only possibility I see, apart from the obvious
> CONFIG_SCSI.
>
> Otherwise, share your (Guix-generated, final) .config.
>
> > It's not clear why this happens with my custom build and not
> > with linux-libre...
> > Can you help me debug this issue?
> > Moreover, where is created the list of module required by
> > "linux-modules" ?
>
> I'm confused by your explicit reference to
> gnu/build/linux-modules[.scm], which provides a set of mechanisms
> to work with modules.  It *should* not set policies or ‘require’
> any ones in particular.  Does it?
>
> Do you mean ‘%base-initrd-modules’ in
> <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/linux-initrd.scm#n342>?
>
> This static list can be frustrating, but we can easily remove
> elements from it or even replace it entirely:
>
>   (operating-system
>     …
>     (initrd-modules
>       ((@ (rnrs lists) remove) "isci" %base-initrd-modules))
>     …)
>
> What I suggest you do instead (because it's what I do to my
> kernels :-) is simply ship a ‘%xenomai-initrd-modules’ variable
> along with your ‘xenomai-linux’ package, keep them in perfect
> harmony yourself, and ask users to use both.
>
> Kind regards,
>
> T G-R


      reply	other threads:[~2023-01-27 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17  8:22 List of modules required by linux-modules dabbede
2023-01-26 18:57 ` dabbede
2023-01-27  9:31   ` Tobias Geerinckx-Rice
2023-01-27 21:34     ` dabbede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEwYQ4Q6Z4R2FVjbpqJ4yFC-2ZuNbjex8mBY58-1Bc6zFd_LJg@mail.gmail.com \
    --to=dabbede@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).