LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2017, 05:46 PM   #16
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 973

Rep: Reputation: 238Reputation: 238Reputation: 238

With CTRL-ALT-F2 you jump from X (in level 4) to level 3; when in level 3 ALT-F1/2/3/4 switches between terminals and ALT-F7 brings you back to X (level 4).
Freezes with CTRL-ALT-F2 suggest thus that you are in level 4, after startx in level 3.

These kind of freezes (As if the keyboard lost contact with the rest..) I have noticed in the past but I cannot remember what I've done to get rid of them.

Maybe go down to a more tested/stable kernel version, such as 4.13.16 being the latest update on Dave Spencer's dusk.idlemoor repository
I don't know what graphics you have but the intel-stuff (i915) is not without errors in kernel 4.14.2

I normally remove xscreensaver as that somehow always bothers me, but whether this is a culprit I cannot tell;

hth
 
Old 11-27-2017, 06:32 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
I think the initrd.gz needs to be copied to the ./EFI/Boot/
 
Old 11-29-2017, 03:41 AM   #18
Lyude
LQ Newbie
 
Registered: Nov 2017
Location: Paris
Distribution: Slackware, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brobr View Post
With CTRL-ALT-F2 you jump from X (in level 4) to level 3; when in level 3 ALT-F1/2/3/4 switches between terminals and ALT-F7 brings you back to X (level 4).
Freezes with CTRL-ALT-F2 suggest thus that you are in level 4, after startx in level 3.
Immediately after boot (text mode login), the runlevel command always answers "3", which is the configured runlevel. When CTRL-ALT-F2 freezes the system, X is not involved yet. The second kind of freeze I observe is different : After telinit 4 I can work in my Xfce session for a few hours without any problems (CTRL-ALT-Fx does just work, as everything else) and suddenly, the system freezes. I believe this second kind of freeze is different, and this time X might be the culprit. Well, at least it is a suspect.

Quote:
Originally Posted by brobr View Post
These kind of freezes (As if the keyboard lost contact with the rest..) I have noticed in the past but I cannot remember what I've done to get rid of them.
Too bad

Quote:
Originally Posted by brobr View Post
Maybe go down to a more tested/stable kernel version, such as 4.13.16 being the latest update on Dave Spencer's dusk.idlemoor repository
I don't know what graphics you have but the intel-stuff (i915) is not without errors in kernel 4.14.2
Intel Iris stuff, yes. I will continue to investigate. Trying another kernel is a good idea.

Quote:
Originally Posted by colorpurple21859 View Post
I think the initrd.gz needs to be copied to the ./EFI/Boot/
Indeed, but that is already done

Anyway, I was asking help to solve a boot issue, and this issue is obviously solved. Thanks everyone !
 
Old 11-29-2017, 04:21 AM   #19
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 973

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
When CTRL-ALT-F2 freezes the system, X is not involved yet.
If so, you have found a short-cut to freeze your comp.... The CTRL-ALT-F1-6 key-stroke combination works for switching when in X.

Try ALT-F2 to begin with (before startx) and see whether the freeze happens then....

Could CTRL-ALT-F2 in level 3 on your box be read as 'Fn-F2'; that would turn-off the screen at my end....


PS fwiw.. at my end I see that CTRL-ALT-F2etc does help jump around ttys once back in level 3

Last edited by brobr; 11-29-2017 at 04:35 AM.
 
Old 07-08-2021, 02:00 PM   #20
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by bassmadrigal View Post
You also need to use persistent naming with your initrd. In your command, you had the following:

Code:
mkinitrd -c -k 4.4.14 -f ext4 -r /dev/sda3 -m usb-storage:xhci-hcd:uas:nvme:xhci-pci:ohci-pci:ehci-pci:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:ext4 -u -o /boot/initrd.gz
Try this, which will hopefully fix your problem.

Code:
mkinitrd -c -k 4.4.14 -f ext4 -r "UUID=32692d1f-fcc1-4db4-b8da-a93dc4d1df4e" -m usb-storage:xhci-hcd:uas:nvme:xhci-pci:ohci-pci:ehci-pci:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:ext4 -u -o /boot/initrd.gz
This helped me a few weeks ago; I had the same problem as the OP. I got a Sabrent SSD, using a USB enclosure.

Does anyone expect that the required modules would be included in the huge kernel in 15.1 perhaps? I assume it's not a priority for 15.0...

Last edited by Andy Alt; 07-08-2021 at 02:03 PM. Reason: more specific
 
Old 07-08-2021, 02:05 PM   #21
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,465

Rep: Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258Reputation: 3258
When you boot from external USB hard drive, may happen that the storage devices to be slow to appear, so the init script (from initrd) should wait a bit for them.

I for one, I use with great success a wait time of 5 seconds, which means adding "-w 5" to the mkinitrd command line.

And, of course, the persistent naming is a must - both on initrd and /etc/fstab .

Last edited by LuckyCyborg; 07-08-2021 at 02:22 PM.
 
3 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Problem Debian on External SSD faruk.c Debian 1 02-17-2017 02:55 PM
[SOLVED] Boot Slackware on NVME SSD? jkaidor Slackware 48 08-17-2016 11:56 AM
[SOLVED] can't boot Debian from USB external SSD drive mintvx Debian 12 09-12-2014 02:50 PM
Linux mint DVD, USB Flash and external SSD won't boot to desktop chandos Linux - Newbie 6 04-27-2014 01:57 PM
duel-boot using a usb external hard drive without usb boot option Cabtech Linux - Newbie 4 04-22-2012 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration