You are not logged in.
I am using Linux-lts kernel 4.4.35-1-lts, but my system often freezes at the startup right after the message is displayed: "Loading initial ramdisk" and before "Starting version 231" later message isn't displayed. When later message is displayed it doesn't freeze then. Grub is 2.02~beta3. Usually I try removing my USB thumb drive and then after 2-3 restart my system loads without freeze. This time I can't reset the machine, when I press the reset button then it doesn't post: I have to switch off the PC and switch on again. What can be the problem?
Offline
What is recorded in the systemd journal during the failed boot attempt?
Jin, Jîyan, Azadî
Offline
Unfortunately I have no clue how to view that particular messages. I know "journalctl" and grepping the output but what search term should I use to find the appropriate kernel messages? Or should I use command "dmesg" ?
Offline
Jin, Jîyan, Azadî
Offline
I see, unfortunately my journalctl settings "Storage" was set to "volatile" and not persistent, so if I understood well then messages from past boots aren't accessible. I have to wait till the next reboot to paste the relevant kernel message lines, maybe tomorrow.
Offline
Now I checked the journal after rebooting, and experiencing the same freezes for three times. But interestingly that early state didn't generate any records in the journal. I restarted computer three times, and always freezed at the usual message "Loading initial ramdisk". Then I tried to start with the most recent kernel, it started normally no freezes, but GUI wasn't loaded for some reason. Maybe because I am using nvidia173xx from the city-busz repo, and I installed it for the other kernel.
Then I tried again with the -lts kernel, and it didn't freezed finally. GUI was loaded and I typed "journalctl -b", so I could see the messages of the current boot. Then "journalctl -b -1" and I could see the messages of the previous boot, so presistent journal storage was activated. But when typing "journalctl -b -2" there were no available kernel messages for that option...
About one month ago I had a bad RAM module, which I was unaware of, and I started my system with it. I soon realized that memory must be bogus, because certain application crashed and windows suddenly disappeared. I used it about for half an hour. I din't installed anything, especially not a new version of the kernel, but despite of this maybe some dity bits got somehow into the kernel image.
Offline
Maybe should I try to update GRUB?
Offline
Last time I also get a message about a "kernel bug" in mem.h and some additional messages about LZ4. Maybe the ZRAM module causes the freezes?
Offline
Right now I managed to find out that the abovementioned freeze appears only when I start the system with 2 GB of RAM (2 modules). When I start the system only with 512 MB or 1 GB (1 module both) of RAM, the initial ramdisk is loaded fine and system starts normally.
Offline
Offline
Thx, I run memtest+ for a certain amount of time, but didn't show any error messages.
Furthermore I used this two memory modules in another mainboard (Kobian 266a-fdsx) in the latest month, and there were no such problem. Before that month I used the two memory modules in the Intel mainboard, and I experienced the freezing issue just like now. So I think memory can't be the problem, but the mainboard or memory controller. When I manage to start the system by consecutive restarting, then it runs without freezes or crashes, so I think memory modules work fine. And hibernation also worked with that older mainboard unlike the newer one. Other mainboard is Intel D865PERL, which shows the freezing symptom.
Last edited by anselm (2017-04-10 12:54:14)
Offline
may be a look at hooks of /etc/mkinitcpio.conf and rebuild of ramdisk can help
And the early userspace dawns...
Offline
Check the memory slot relevance, consult the BIOS and compare the specifications (combining different RAM types was often only supported in specific order of the pairs)
Also lower the RAM voltage, clocks and timings to the most conservative settings - don't rely on autodetection.
But this seems a very specific problem related to your very (not so fresh ;-) HW - we might only be lucky in guessing the answer either :-(
Offline