LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-09-2024, 06:14 AM   #1
micalmar
LQ Newbie
 
Registered: Feb 2024
Location: Santander España
Distribution: Linux Mint
Posts: 4

Rep: Reputation: 1
I have installed Slackware in an external SSD and in one of my PCs, booting delay 40 min


Hello everybody
I have installed Slackware 15 in an external SSD
I have 3 Pcs and Slackware boots normaly in the other 2.
In my desktop computer the booting in bios mode or Uefi mode is not more long than booting Debian or ArchLinux.
I have a modern laptop (2022). It boot in Uefi mode only fastly.
The problem is in my acer aspire with
single core Intel Celeron 743
Booting delay more than 30 min. I have tried booting with lan cable connected and without it and can't appreciate differences
This same laptop has Lubuntu installed in an internal SSD and boots quickly
with Debian or Archlinux from an external SSD it boots also without duration problems

Some settings of my laptop:

miguel@SSD1-Slackware:~$ inxi
CPU: single core Intel Celeron 743 speed: 1297 MHz Kernel: 5.15.145 x86_64
Up: 32m Mem: 1156.1/2909.2 MiB (39.7%) Storage: 447.14 GiB (3.0% used)
Procs: 203 Shell: Bash inxi: 3.3.12
miguel@SSD1-Slackware:~$ inxi -sv8
System:
Host: SSD1-Slackware.casa Kernel: 5.15.145 x86_64 bits: 64 compiler: gcc
v: 2.37-slack15 parameters: BOOT_IMAGE=/boot/vmlinuz-huge-5.15.145
root=UUID=e1e42023-4c6d-4878-9ce4-69c8613c20cd ro
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1
vt: 7 dm: XDM Distro: Slackware 15.0
Machine:
Type: Other-vm? System: Acer product: Aspire 1410 v: v0.3115
serial: <superuser required>
Mobo: Acer model: N/A serial: <superuser required> BIOS: INSYDE v: 0.3115
date: 08/14/2009

Memory:
RAM: total: 2.84 GiB used: 1.18 GiB (41.7%)
Array-1: capacity: 8 GiB slots: 2 EC: None max-module-size: 4 GiB
voltage: Unknown
Device-1: DIMM0 size: 2 GiB info: single-bank speed: 667 MT/s type: DDR2
detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Samsung
part-no: M4 70T5663EH3-CE6 serial: 75B761EE
Device-2: DIMM2 size: 1024 MiB info: single-bank speed: 667 MT/s
type: DDR2 detail: synchronous bus-width: 64 bits total: 64 bits
manufacturer: Samsung part-no: M4 70T2864QZ3-CE6 serial: 7784D661

I don´t know where begin to search where the problem is
Regards
 
Old 03-10-2024, 01:57 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,817
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
External SSD connected how?

I wonder if your problem overlaps mine somehow. The ages of CPUs and BIOS is similar, 2006-2009.

Whenever you post command output here, always include the input command and the output formatting, as described here, contained within code tags please.
 
1 members found this post helpful.
Old 03-10-2024, 03:55 AM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,795

Rep: Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477
Quote:
Originally Posted by micalmar View Post
The problem is in my acer aspire with
single core Intel Celeron 743
Booting delay more than 30 min.
Which boot loader (lilo, elilo, grub)?

What do you see on the screen during the 30 minutes? Does the boot loader take that time to load vmlinuz and initrd.gz or do the kernel messages take that time? If there is a long pause, what was it doing before that and what will it do after the pause?
 
1 members found this post helpful.
Old 03-10-2024, 05:04 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Whatever bootloader you use, I'd try adding a menuitem to allow choosing between the Generic and the Huge kernel to note any difference. It is possible that for one example the generated initial initrd used by Generic or lack of one for Huge could make kernel locating the drive and it's partitions take a long time. Race them!
 
Old 03-10-2024, 05:09 AM   #5
micalmar
LQ Newbie
 
Registered: Feb 2024
Location: Santander España
Distribution: Linux Mint
Posts: 4

Original Poster
Rep: Reputation: 1
The external SSD is connected by USB 2
The boot loader is grub Bios Mode

it start with
Code:
linux /boot/vmlinuz... root=UUID=XXXXXX ro
I have put echo 'before '
and echo 'after'
after the command
Code:
initr /boot/initrd.z
in the display i can read
decompressing linux
somme lines are displayed and stoping with the last line :
Code:
[    1.307181 Freeing initrd memory: 9684K
and there is a first pause
some minutes after
Code:
[    1.583272 clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x12b151e6acd, max_idle_ns: 440795227649 ns
[    1.583390 clocksource: Switched to clocksource tsc
some minutes after
Code:
[    1.929166 random: crgn init done
last pause
and after it continues dispaying lines until x session start
 
Old 03-10-2024, 05:44 AM   #6
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,795

Rep: Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477Reputation: 1477
What clock sources are there?
Code:
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
Try other than tsc. In /etc/default/grub, change line GRUB_CMDLINE_LINUX="" to, for example, GRUB_CMDLINE_LINUX="clocksource=hpet" or GRUB_CMDLINE_LINUX="clocksource=acpi_pm". (And run grub-mkconfig -o /boot/grub/grub.cfg).

(The numbers like 1.929166 are seconds from the kernel start, and now your clock seems to be ticking like 100x too slow.)

Last edited by Petri Kaukasoina; 03-10-2024 at 05:45 AM.
 
3 members found this post helpful.
Old 03-10-2024, 05:52 AM   #7
micalmar
LQ Newbie
 
Registered: Feb 2024
Location: Santander España
Distribution: Linux Mint
Posts: 4

Original Poster
Rep: Reputation: 1
I have add added in the grub command :
Code:
clocksource=hpet
and now the Boot delay normally (same as others Distros)
thanks writing the lines i could see in the display gave me a trail to follow.
 
1 members found this post helpful.
Old 03-10-2024, 05:54 AM   #8
micalmar
LQ Newbie
 
Registered: Feb 2024
Location: Santander España
Distribution: Linux Mint
Posts: 4

Original Poster
Rep: Reputation: 1
thanks Petri sorry i wrote my post before reading your soution
 
  


Reply



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
LXer: Lenovo debuts AI PCs that have specs a lot like vanilla PCs with this year's accelerated CPUs LXer Syndicated Linux News 0 02-26-2024 02:11 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 04:26 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
[SOLVED] From 2 days ago, it takes 10 min.s to boot my HP dv9700 laptop. Prior two yr.s, 2 min PTrenholme Linux - Hardware 6 12-28-2010 11:40 AM
3.8 Gb Suse 10.1 slow install in 1h30 min. Mandriva 2006 was less than 40 min Emmanuel_uk Linux - Distributions 2 06-15-2006 09:27 AM

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

All times are GMT -5. The time now is 05:27 PM.

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