Gentoo Archives: gentoo-user

From: Andrew Lowe <agl@×××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Computer keeps crashing during boot, need dmesg
Date: Fri, 20 Jul 2018 13:26:38
1 Hi all,
2 I'm having all sorts of trouble getting a new computer to boot. I have
3 two NVME thingies in it with one containing Win10 and the other,
4 eventually, Gentoo. I use Refind to control the booting with the machine
5 using UEFI.
7 The graphical front end to Refind boots fine and allows me to in turn
8 boot Windows. It also spots and then allows me to boot a copy of
9 SysrescueCD that I left plugged in. No joy with Linux. I get up to where
10 the kernel appears to be doing something with sata and then it crashes.
11 Now herein lies the problem.
13 Is there a way to get dmesg logged to a file so that I can see what's
14 actually failing? I need to be able to get back into the machine with
15 SysrescueCD, which is no problem, and then have a look at the dmesg
16 output to see what's going wrong.
18 Does anyone have any idea as to how to do this, or another way of doing
19 the debugging I'm trying to do? The stuff I've found on the web assumes
20 that some of the loggers are working and can do stuff, I'm not getting
21 to the stage where they have started up yet.
23 I'm in the process of transferring from a non EFI hard disk setup to
24 EFI & nvme. The hard disk based system boots with no problems. Assuming
25 that the hard disk system and the nvme system will give nearly the same
26 dmesg, looking at the hard disk dmesg, I see that if I go to where I
27 think is the same posi as the crash on the nvme, is where it attempts to
28 mount root:
30 VFS: Mounted root (jfs filesystem) readonly on device 8:19.
32 If I have managed to do something wrong with respect to this mounting,
33 would it cause the crash or just complain and freeze?
35 Any thoughts on this would be greatly appreciated,
37 Andrew


Subject Author
Re: [gentoo-user] Computer keeps crashing during boot, need dmesg Andrew Lowe <agl@×××××××.au>