From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qD+TIFDN0mMoAAAAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 19:58:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KH9+IFDN0mNkzAAAauVa8A (envelope-from ) for ; Thu, 26 Jan 2023 19:58:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3EF7DA071 for ; Thu, 26 Jan 2023 19:58:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL7Rl-0008JD-2F; Thu, 26 Jan 2023 13:58:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL7Rh-0008Iv-Dz for help-guix@gnu.org; Thu, 26 Jan 2023 13:58:03 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL7Rf-0006b9-3R for help-guix@gnu.org; Thu, 26 Jan 2023 13:58:00 -0500 Received: by mail-ed1-x531.google.com with SMTP id y15so2081417edq.13 for ; Thu, 26 Jan 2023 10:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=31eDbh9idFKpVGkvL6q/OgUoMryMPrDnUnw6hK3FeQk=; b=q55Dt6pgbPIY1Q/1EX94kd7lBd34VmDuN6x8N2hoLWcUWFZ30oBvfXEywxnFOJqwdn TgmFl8Eg57J+7vUFS+kTnF93fKMoT8ib3xCQFg4d8ehz7XEHlPOQD8Of02JrL2m1ZJes kl0le1s4Hie3TWdiT/RKEMxx0BSrylUfqnBZHJo5SBewnFYPrTBCUyIRfRQKZ02vJeWL +rpYQKmzUVufh4fFBYzrNYzgGoHYOtBLyfQbo0zQWxOuTEfjMW8FqzvCVYmYGdfHCey9 zMEbE2+StoJOWVxchPauG49ZRXNwVYa3z9oOWaB9Ne7NjKDr6NMtDmMhOZk7izYURFKG 07og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=31eDbh9idFKpVGkvL6q/OgUoMryMPrDnUnw6hK3FeQk=; b=VFodCMV9QEo/Rs+pQek/KFtAtdigWYpIM/SwrarurMZW7WM6lVSIzi58UHavJ4Wcj+ vBMOX3ClLJLPfI/jzbQgeH3k0X0emwHy2Ufxkqs64Eg4DKt1pnqQPK1fO+qzDhlSXqg2 danWM+E+huSzfGEusBJ/UPBVaMtz7Aag0BzkuEpfmmHvUv8BlIlDb6bcOoMvJdZdR91X 1vDoFdUzQk7g5nI3g7cjcwud9apB+7xNfwcddX51dN7RiI1lKfwV6ZCBTb2yJ+r8cQ9g 4p2pvv7Mg5lwNUaKYFg2SAbnRpY6zpMGmbTWPPVMaEa3E1Ijn/jxyTyjxxT6OtuphMbE ATZA== X-Gm-Message-State: AO0yUKV34IRICexO8oVyvl/wdPFJHQFNIW8JP1BatJVae1cuTOUE/Wwg XnkV9S0mJ5oWp2rRdycUbo2M8Lt8zR+DWdmNgHyDfLGk5Jc= X-Google-Smtp-Source: AK7set/pLg4BKsXUC4q8y/XyG1q17TjbiVQdomlW11loA/AKyKiXlpaf2NKCwQv74ogzCcSKcvvVCAd/cSbJ6wrdV3s= X-Received: by 2002:a05:6402:515a:b0:4a0:b401:fbb5 with SMTP id n26-20020a056402515a00b004a0b401fbb5mr1414345edd.82.1674759475880; Thu, 26 Jan 2023 10:57:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "dabbede@gmail.com" Date: Thu, 26 Jan 2023 19:57:44 +0100 Message-ID: Subject: Re: List of modules required by linux-modules To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=dabbede@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674759504; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=31eDbh9idFKpVGkvL6q/OgUoMryMPrDnUnw6hK3FeQk=; b=F4zu9a/kkPNIcGQOux4zhxBAVidta8sIpQ4ujnZOe6i3dDupHTGjH6V1Jec4KhuEaIztU/ 2mDXae3hd7mYEWBGnutR9Y9dwZ4BGjeLBhZ1wnqIDXoRYNF59KlX7CRE2KIH/HbLx+L8VQ YV9ib76p3Yws5IQvNMsEUAlgQ7vAoOXb5qxIccfRR6qEJII1380IBpe+PlbRxgpufPlHOz q3SLx4/oq4lzWNkcSLAYf7SbIU3w9jEq8LCLebiLlSjxw2bfvbmof0Jkq+FEof0emfiZtP ixw4dXVGZ19FLY/ktJjplTK8mrrJAePWImssq9t9GuWlMTIEWZEaZ7PAYf1BzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=q55Dt6pg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674759504; a=rsa-sha256; cv=none; b=YQv52JoPxLbpxBz72ElvY8jAgLvJ7cCgEi6D51dvQSAeCqqNRvss4o+GrBRC9AG+jk3DvG 9kfnLKmIck5LGYiKxZdTTtplQ3k0HOyszKhUxq7C93XNeZgEPVtyLOZgEQAJANI0LNSVey 0XTLgi1aeJiS73ZfjVPj74pyTmo5KycKXdIYXJcZcKOUOl7X9vQQbp6hbPa3XCUOPJh1SQ YRl0t6Wi15vDwk8T01ICC++4zLcBwsYU6PwABjg7DKm2vsbL7xaZxNonnhkV2/CzZC7dDZ wcWoA1QxOB4Wa91y/2xfKNGRN4a3xmdsgKFIV0dZ0hKoyAamezGhJTxuFYbaFQ== X-Spam-Score: -3.75 X-Migadu-Spam-Score: -3.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=q55Dt6pg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3EF7DA071 X-Migadu-Scanner: scn1.migadu.com X-TUID: eBFMb/+nGH38 Dear community, I went a little step forward but I'm still confused: by building the derivation of linux-modules in the store (for linux-libre) I've obtained the full list of modules that must be available for initrd to work (why, it's still not clear). Now, the #:extra-options key in my custom linux package looks like this #:extra-options (append `(;; Required by gnu/build/linux-modules ("CONFIG_SATA_AHCI" . m) ("CONFIG_USB_STORAGE" . m) ("CONFIG_USB_UAS" . m) ("CONFIG_USB_HID" . m) ("CONFIG_HID_GENERIC" . m) ("CONFIG_HID_APPLE" . m) ("CONFIG_DM_CRYPT" . m) ("CONFIG_CRYPTO_XTS" . m) ("CONFIG_CRYPTO_SERPENT" . m) ("CONFIG_CRYPTO_WP512" . m) ("CONFIG_NLS_ISO8859_1" . m) ("CONFIG_PATA_ACPI" . m) ("CONFIG_PATA_ATIIXP" . m) ("CONFIG_SCSI_ISCI" . m) ("CONFIG_VIRTIO_PCI" . m) ("CONFIG_VIRTIO_BALLOON" . m) ("CONFIG_VIRTIO_BLK" . m) ("CONFIG_VIRTIO_NET" . m) ("CONFIG_VIRTIO_CONSOLE" . m) ("CONFIG_HW_RANDOM_VIRTIO" . m) ("CONFIG_VIRTIO_RING" . m) ("CONFIG_VIRTIO" . m) ("CONFIG_VIRTIO_PCI_LIB_LEGACY" . m) ("CONFIG_VIRTIO_PCI_LIB" . m) ("CONFIG_SCSI_SAS_ATTRS" . m) ("CONFIG_SCSI_SAS_LIBSAS" . m) ("CONFIG_HID" . m) ;; Xenomai specific tweaks ("CONFIG_SCHED_MC_PRIO" . #f) ("CONFIG_CPU_FREQ" . #f) ("CONFIG_ACPI_PROCESSOR" . #f) ("CONFIG_CPU_IDLE" . #f) ("CONFIG_APM" . #f) ("CONFIG_INTEL_IDLE" . #f) ("CONFIG_INPUT_PCSPKR" . #f) ("CONFIG_COMPACTION" . #f) ("CONFIG_MIGRATION" . #f) ;; PCP customization ("CONFIG_XENO_DRIVERS_NET" . #t) ("CONFIG_XENO_DRIVERS_NET_DRV_E1000" . m) ("CONFIG_XENO_DRIVERS_NET_DRV_E1000E" . m) ("CONFIG_XENO_DRIVERS_NET_DRV_IGB" . m) ("CONFIG_NTFS_FS" . m) ("CONFIG_NTFS_RW" . #t) ("CONFIG_CIFS" . m) ("CONFIG_CIFS_XATTR" . #t) ("CONFIG_CONSOLE_LOGLEVEL_DEFAULT" . "4") ) (@@ (gnu packages linux) %default-extra-linux-options)) I was expecting to see a successful build of linux-modules this time but, instead, I've obtained another fail, this time due to module "isci" being not present. Funny thing is that module isci is produced with CONFIG_SCSI_ISCI, which is present in my config list! 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". 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" ? Regards On Tue, Jan 17, 2023 at 9:22 AM dabbede@gmail.com wrote: > > Dear community, > > I am trying to create a package for linux-xenomai (see previous thread > "Creating a package > using two sources/origins"). > Thank to your help I managed to successfully build the (patched) > kernel, but when I start a > "guix system reconfigure" to adopt linux-xenomai in my setup the > system build fails while > building linux-modules (and also grub, raw-initrd and init which depends on it). > > This is the build log: > ------------------------------------------------------------------------------------ > Backtrace: > 6 (primitive-load "/gnu/store/m0kd924mhb1bl6wn384gpcss29w?") > In ice-9/eval.scm: > 619:8 5 (_ #f) > 626:19 4 (_ #) > 293:34 3 (_ #(# #)) > In srfi/srfi-1.scm: > 586:29 2 (map1 ("ahci" "usb-storage" "uas" "usbhid" "hid-gene?" ?)) > 586:17 1 (map1 ("usb-storage" "uas" "usbhid" "hid-generic" "h?" ?)) > In gnu/build/linux-modules.scm: > 269:5 0 (_) > > gnu/build/linux-modules.scm:269:5: kernel module not found > "usb-storage" "/gnu/store/r2f9wrf17ys0znnxmvmy31h1z8b2nvrv-linux-xenomai-5.4.228-5.4.228/lib/modules" > ------------------------------------------------------------------------------------------------------- > > The package is expecting to find kernel modules for "ahci", > "usb-storage", "uas", "usbhid", > "hid-generic" and I'm sure also many more (because I iterated the > build by inserting these new > config without success). Unfortunately the list (in the log) is > truncated and I don't know how > many we need. > My questions are these: > 1. can you point me to the full list of modules required? > 2. if they are needed, why those modules are not inserted in > %default-extra-linux-options? > > Regards, > Davide