From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eKtYLmBwmGM9EAAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 13:30:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ON50LmBwmGN6FAAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 13:30: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 49A2A19762 for ; Tue, 13 Dec 2022 13:30:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p54QB-0006q1-HW; Tue, 13 Dec 2022 07:30:07 -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 1p54Q9-0006of-3g for bug-guix@gnu.org; Tue, 13 Dec 2022 07:30:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p54Q6-0004lf-Im for bug-guix@gnu.org; Tue, 13 Dec 2022 07:30:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p54Q6-0004So-EL for bug-guix@gnu.org; Tue, 13 Dec 2022 07:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60010: [version 1.4.0] AMD screen stays black; modprobe fails Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Dec 2022 12:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 60010@debbugs.gnu.org Received: via spool by 60010-submit@debbugs.gnu.org id=B60010.167093455717106 (code B ref 60010); Tue, 13 Dec 2022 12:30:02 +0000 Received: (at 60010) by debbugs.gnu.org; 13 Dec 2022 12:29:17 +0000 Received: from localhost ([127.0.0.1]:60049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54PM-0004Rq-RK for submit@debbugs.gnu.org; Tue, 13 Dec 2022 07:29:17 -0500 Received: from relay.yourmailgateway.de ([188.68.63.102]:60661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54PK-0004Rk-KU for 60010@debbugs.gnu.org; Tue, 13 Dec 2022 07:29:15 -0500 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NWd8n1t3Yz5xDR; Tue, 13 Dec 2022 13:29:13 +0100 (CET) Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4NWd8n16m9z4yRt; Tue, 13 Dec 2022 13:29:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4NWd8m2pZsz8t47; Tue, 13 Dec 2022 13:29:12 +0100 (CET) Received: from florianrock64 (ip5b40a50f.dynamic.kabel-deutschland.de [91.64.165.15]) by mxe217.netcup.net (Postfix) with ESMTPSA id B2FB17FD84; Tue, 13 Dec 2022 13:29:06 +0100 (CET) From: "pelzflorian (Florian Pelz)" References: <87y1rcegff.fsf@pelzflorian.de> <87mt7sfkl0.fsf@jpoiret.xyz> Date: Tue, 13 Dec 2022 13:29:05 +0100 In-Reply-To: <87mt7sfkl0.fsf@jpoiret.xyz> (Josselin Poiret's message of "Mon, 12 Dec 2022 21:11:55 +0100") Message-ID: <87sfhjzdv2.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: B2FB17FD84 X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[100.00%]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+]; ASN(0.00)[asn:3209, ipnet:91.64.0.0/14, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 0M7YbjkOxPgbihs6aPYVzXl10LIIJtL2vV6pB2q11S4TVCzSfjmIREJ1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-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=1670934624; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ySQqcdVQWKMk5NtuK0RbH6TQI1ppvIeggwgFWN2CTdY=; b=TNM7SrD9rDZP6xheNW1XMTusRT42lhYt2KhuGrMYvymBOTXEF4NDIGAoy01FC6rmUJI70R SaG1s9jVYf/HvV0/z8CKFZbbW0owXwrQeAaZ/drT4aeR8FD0sBWbOM1qK+goy1Pn1/Xo54 L1hC7qPSVYVazhMUFunLox3q5Zoo118Kb4twiuwphfNqlXKPG4hbI4XAmo4KUBoka1/28N TslKJsU0eSmDuHC6QZm+28kFn/cbVtFsESr86cAOA1eYifR+gYPXhs15TEDgWWudQc9fiy q7WnZPCrdbFfEd49NyXxdaWN7EiHTYYr4uRAHxj3OIM+O/6dlOEdMMLGIwLvIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670934624; a=rsa-sha256; cv=none; b=nq4rnWXsMe38G0Nfk7pBz+beFNEw2Br5GjWBdqNmiWWxoC8R76HONmqrbWopCVNURhE66k yyIHWSE4EGr078mqN540RFBVNl9tXWFs9wNW8vSqBr44fxXHo9VLIQ4/5sgsLDWTUqC2ex 50o36xx14yyvBR98YF6FyG6fg9G4MeazAYJKIIcWHUWLxcTMToVc2u0AOet1cGJMesnfPe QaCg1Au/qNHhiy6I5139COjBfyU9ijKn5NxmlhK9Xjrjvnh0hJP3WJWiXNzeY/P+p0ekeU PjYJatGdNaeEKoas0G9JOtGjpfcBdiyvv0P+0FRsauyRKoW/jlQV6Xq0H4Fk5A== X-Migadu-Spam-Score: -1.47 X-Spam-Score: -1.47 X-Migadu-Queue-Id: 49A2A19762 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: f1e9LFpnljC8 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Josselin. Josselin Poiret writes: > I don't think there's a race issue with the files being available: Yes apparently, but it is some kind of race. BTW it happens on master branch too despite its more recent linux. > By the way, why is the modprobe binary inside a #+? The target will want > to be able to run the binary itself, right? Shouldn't it be #$? You are right, I guess. But I will later try replacing it with Ludo=E2=80= =99s load-linux-modules-from-directory instead. Perhaps that even gets the install image small enough for a CDROM again? :) >> I will try tomorrow to get an strace. The installer worked fine in=C2= =A0=E2=80=A6 >> August I believe. > > You could also probably try logging the system* call in some temporary > log file, by using some bash redirection (or with-current-output-port > and friends). I replaced the =E2=80=9C(invoke #+(file-append kmod "/bin/modprobe") "uvesa= fb" =E2=80=A6=E2=80=9D by a convoluted (with-output-to-file "/tmp/strace" (lambda () (with-error-to-port (current-output-port) (lambda () (open-pipe* OPEN_READ #+(file-append strace "/bin/strace") "-f" #+(file-append kmod "/bin/modprobe") "uvesafb" but now the strace is a workaround and the modprobe succeeds. Either way, /tmp/strace shows that modprobe first reads /run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.softdep and the like. The successful strace only eventually goes on to read uvesafb.ko.gz. For completeness, the strace ends with --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=strace openat(AT_FDCWD, "/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832 pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\v\0\0\0\0\0\0\0"..., 48, 94696) = 48 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=100760, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc734a32000 mmap(NULL, 103496, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc734a18000 mmap(0x7fc734a1b000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fc734a1b000 mmap(0x7fc734a2c000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fc734a2c000 mmap(0x7fc734a30000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fc734a30000 close(3) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc734a15000 arch_prctl(ARCH_SET_FS, 0x7fc734a15740) = 0 mprotect(0x7fc734be7000, 16384, PROT_READ) = 0 mprotect(0x7fc734a30000, 4096, PROT_READ) = 0 mprotect(0x7fc734c11000, 4096, PROT_READ) = 0 mprotect(0x7fc734c2d000, 4096, PROT_READ) = 0 mprotect(0x7fc734c5a000, 4096, PROT_READ) = 0 mprotect(0x7fc734d69000, 4096, PROT_READ) = 0 mprotect(0x425000, 4096, PROT_READ) = 0 mprotect(0x7fc734d9c000, 8192, PROT_READ) = 0 munmap(0x7fc734d6b000, 6584) = 0 set_tid_address(0x7fc734a15a10) = 153 set_robust_list(0x7fc734a15a20, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fc734c196a0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fc734c24d80}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fc734c19740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fc734c24d80}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(NULL) = 0x1882000 brk(0x18a3000) = 0x18a3000 uname({sysname="Linux", nodename="gnu", ...}) = 0 newfstatat(AT_FDCWD, "/gnu/store/vh4g56m35wwlfg300s4qafykxjy09511-kmod-29/etc/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/run/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/lib/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib/modprobe.d", 0x7ffe93ffa1f0, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.softdep", O_RDONLY|O_CLOEXEC) = 3 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1424, ...}, AT_EMPTY_PATH) = 0 read(3, "# Soft dependencies extracted fr"..., 2048) = 1424 read(3, "", 2048) = 0 close(3) = 0 openat(AT_FDCWD, "/proc/cmdline", O_RDONLY|O_CLOEXEC) = 3 read(3, "BOOT_IMAGE=/gnu/store/3qdad0k7wv"..., 4095) = 300 read(3, "", 3795) = 0 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.dep.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1050966, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1050966, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc734914000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.alias.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=1522188, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1522188, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7347a0000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.symbols.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=780289, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 780289, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7346e1000 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.builtin.alias.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0 close(3) = 0 openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/modules.builtin.bin", O_RDONLY|O_CLOEXEC) = 3 newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=12061, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 12061, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc7346de000 close(3) = 0 openat(AT_FDCWD, "/sys/module/uvesafb/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/sys/module/uvesafb", 0x7ffe93ffa110, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/sys/module/uvesafb/initstate", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/sys/module/uvesafb", 0x7ffe93ffa110, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/run/booted-system/kernel/lib/modules/6.0.10-gnu/kernel/drivers/video/fbdev/uvesafb.ko.gz", O_RDONLY|O_CLOEXEC) = 3 read(3, "\37\213\10\0\0\0", 6) = 6 lseek(3, 0, SEEK_SET) = 0 lseek(3, 0, SEEK_CUR) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7342dd000 read(3, "\37\213\10\0\0\0\0\0\0\3\354}\17x\24\325\271\367l\262\204\5\301\211\210\n^\257\214mPh"..., 8192) = 8192 read(3, "\235.\211\323\224\200\263\3015\2\347\1W\361\307\223\327j\364\256:\237\7g\237\4|#\274\36|\253"..., 8192) = 6966 read(3, "", 1226) = 0 init_module(0x7fc7342dd010, 54160, "v86d=/gnu/store/na24a7653hyf0pgh"...) = 0 munmap(0x7fc7342dd000, 4198400) = 0 close(3) = 0 munmap(0x7fc734914000, 1050966) = 0 munmap(0x7fc7347a0000, 1522188) = 0 munmap(0x7fc7346e1000, 780289) = 0 munmap(0x7fc7346de000, 12061) = 0 exit_group(0) = ? +++ exited with 0 +++ --=-=-= Content-Type: text/plain Regards, Florian --=-=-=--