Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver
Date: Wed, 10 Jun 2020 16:07:32
Message-Id: 7786648.T7Z3S40VBb@eve
In Reply to: RE: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver by Raffaele BELARDI
1 On Wednesday, June 10, 2020 9:00:42 AM CEST Raffaele BELARDI wrote:
2 > From: Dale <rdalek1967@×××××.com>
3 > Sent: Wednesday, June 10, 2020 08:02
4 > To: gentoo-user@l.g.o
5 > Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video with
6 > NVIDIA driver
7
8 > Raffaele BELARDI wrote:
9 >
10 >
11 >
12 > nomodeset did not change anything, but adding EFI_FB to the kernel finally
13 > got me a functional console. But if I startx from there I am back again to
14 > the same point, no X, no console switching with CTR-ALT-Fn, no crash in
15 > syslog, I have to SSH to get to a working shell. I'm not getting anywhere,
16 > I think I'll better install from stage3.
17
18 >
19 >
20 > Just one more info, when issue 'halt' from the SSH OpenRC scripts are
21 > executed up to the 'mount-ro' (or similar) script, which fails with
22
23 > "Remounting / ro failed because we are using /"
24 >
25 > And the process hangs there, I need to hit the power switch to power off.
26 >
27 >
28 >
29 > Thanks to all who contributed,
30 >
31 >
32 >
33 > raffaele
34 >
35 >
36 >
37 > Odds are, if you start from stage3, you will get the same problem again
38 > unless you do something different. When I first stated using Gentoo, I
39 > didn't realize that one can restart a install pretty much anywhere in the
40 > install. Starting over doesn't get you anything different if you repeat
41 > the same steps.
42
43 > Since you can ssh into the machine, I'd grab log files and post them here.
44 > I'd look into sddm.log and Xorg.0.log. If you see other logs such as
45 > rc.log, I'd post them as well. Surely something in one of those will shed
46 > some light. It has to be easier than starting over and most likely having
47 > the same issue again. I used ls -al /var/log/ | grep log to see what all
48 > types of logs were there. You may have some I don't or use different tools
49 > that generate other logs.
50
51 > Here are some logs from the original config (the first one that was working
52 > on HDD but not on SSD), so before before I stopped X/added nomodeset/added
53 > FB_EFI. There is no DM log, it never gets to that point.
54
55 > Raffaele
56 >
57
58 I checked the logs and can't find anything obvious.
59 However:
60 1) My "xorg.conf" is empty
61 2) /etc/xorg.conf.d has 2 files:
62 "20opengl.conf" which contains:
63 ==
64 Section "Files"
65 EndSection
66 ==
67
68 and
69
70 "40-libinput.conf" which contains:
71 ==
72 Section "InputClass"
73 Identifier "libinput pointer catchall"
74 MatchIsPointer "on"
75 MatchDevicePath "/dev/input/event*"
76 Driver "libinput"
77 EndSection
78
79 Section "InputClass"
80 Identifier "libinput keyboard catchall"
81 MatchIsKeyboard "on"
82 MatchDevicePath "/dev/input/event*"
83 Driver "libinput"
84 EndSection
85
86 Section "InputClass"
87 Identifier "libinput touchpad catchall"
88 MatchIsTouchpad "on"
89 MatchDevicePath "/dev/input/event*"
90 Driver "libinput"
91 EndSection
92
93 Section "InputClass"
94 Identifier "libinput touchscreen catchall"
95 MatchIsTouchscreen "on"
96 MatchDevicePath "/dev/input/event*"
97 Driver "libinput"
98 EndSection
99
100 Section "InputClass"
101 Identifier "libinput tablet catchall"
102 MatchIsTablet "on"
103 MatchDevicePath "/dev/input/event*"
104 Driver "libinput"
105 EndSection
106 ==
107
108 (I did not copy the comments from the 40... file.
109
110 Can you try starting X with an empty xorg.conf ?
111
112 I also miss a lot of output in the "Xorg.0.log" file. It looks like it doesn't
113 start properly.
114
115 --
116 Joost