Discussion:
Swapped my hardwares (motherboard, CPU, RAM, drives, etc.), but getting errors at startup that stalls the speed.
(too old to reply)
Ant
2023-04-10 21:29:10 UTC
Permalink
Hello,

Over Easter 2023 weekend, my friend and I replaced my 14 yrs. old Debian PC's mobo, CPU, RAM, drives, etc. for better setups like speeds. However, my May 2022's updated 64-bit Debian v11 (stable -- bullseye) installation has a long start up due to errors on the new hardwares especially in SSD.

Last night, I Clonezillaed (bootable clonezilla-live-3.0.3-22-amd64.iso CDRW) from the very old 320 GB HDD to a new Samsung 500 GB SSD. Then, I used a bootable gparted (gparted-live-1.5.0-1-amd64.iso) CDRW to make my old Linux partition bigger, redid my partitions to remake a new bigger swap partition and add a NTFS partition for my future 64-bit Windows 7 HPE SP1 restore/install (just concentrating on my old Debian for now).

I managed to make the 1.5 mins. pause go away for UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed job issue by adding # to my /etc/fstab's #UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed none swap sw 0 0 line.
Its comment says "swap was on /dev/sdb5 during installation". That used to be my old 1 GB swap partition. How do I figure out what UUID to use to point to the newly made swap partition? Actually, do I even need it with 16 GB of RAM now? I did on the former PC with 2 GB of RAM.

http://zimage.com/~ant/temp/DebianSwappedHWs/ shows details like dmesg log, a photo, systemctl status systemd-modules-load.service, etc.

How do I fix these issues? I hope I don't have to (clean/re)install! Thank you for reading and hopefully answering soon. :)
--
"So then, just as you received Christ Jesus as Lord, continue to live in him, rooted and built up in him, strengthened in the faith as you were taught, and overflowing with thankfulness." --Colossians 2:6. Slammy Easter weekend and maybe new week. :(
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://aqfl.net & http://antfarm.home.dhs.org.
/ /\ /\ \ Please nuke ANT if replying by e-mail.
| |o o| |
\ _ /
( )
Ant
2023-04-11 05:40:55 UTC
Permalink
Also in my photo, there is a long pause after the first four lines with
the ACPI errors. :( I also fixed my swap partition issue so that part
doesn't stall anymore.
Post by Ant
Hello,
Over Easter 2023 weekend, my friend and I replaced my 14 yrs. old Debian PC's mobo, CPU, RAM, drives, etc. for better setups like speeds. However, my May 2022's updated 64-bit Debian v11 (stable -- bullseye) installation has a long start up due to errors on the new hardwares especially in SSD.
Last night, I Clonezillaed (bootable clonezilla-live-3.0.3-22-amd64.iso CDRW) from the very old 320 GB HDD to a new Samsung 500 GB SSD. Then, I used a bootable gparted (gparted-live-1.5.0-1-amd64.iso) CDRW to make my old Linux partition bigger, redid my partitions to remake a new bigger swap partition and add a NTFS partition for my future 64-bit Windows 7 HPE SP1 restore/install (just concentrating on my old Debian for now).
I managed to make the 1.5 mins. pause go away for UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed job issue by adding # to my /etc/fstab's #UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed none swap sw 0 0 line.
Its comment says "swap was on /dev/sdb5 during installation". That used to be my old 1 GB swap partition. How do I figure out what UUID to use to point to the newly made swap partition? Actually, do I even need it with 16 GB of RAM now? I did on the former PC with 2 GB of RAM.
http://zimage.com/~ant/temp/DebianSwappedHWs/ shows details like dmesg log, a photo, systemctl status systemd-modules-load.service, etc.
How do I fix these issues? I hope I don't have to (clean/re)install! Thank you for reading and hopefully answering soon. :)
--
"So then, just as you received Christ Jesus as Lord, continue to live in him, rooted and built up in him, strengthened in the faith as you were taught, and overflowing with thankfulness." --Colossians 2:6. Slammy Easter weekend and new week so far. :(
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://aqfl.net & http://antfarm.home.dhs.org.
/ /\ /\ \ Please nuke ANT if replying by e-mail.
| |o o| |
\ _ /
( )
Ant
2023-04-11 06:27:40 UTC
Permalink
https://www.reddit.com/r/debian/comments/12hwrfo/swapped_my_hardwares_motherboard_cpu_ram_drives/jfsoqmd/
fixed my other startup issues. Wow, my old Debian now boots up and shut
down so fast! I had to do it a few times to be sure I wasn't dreaming since
I was tired. :D
Post by Ant
Also in my photo, there is a long pause after the first four lines with
the ACPI errors. :( I also fixed my swap partition issue so that part
doesn't stall anymore.
Post by Ant
Hello,
Over Easter 2023 weekend, my friend and I replaced my 14 yrs. old Debian PC's mobo, CPU, RAM, drives, etc. for better setups like speeds. However, my May 2022's updated 64-bit Debian v11 (stable -- bullseye) installation has a long start up due to errors on the new hardwares especially in SSD.
Last night, I Clonezillaed (bootable clonezilla-live-3.0.3-22-amd64.iso CDRW) from the very old 320 GB HDD to a new Samsung 500 GB SSD. Then, I used a bootable gparted (gparted-live-1.5.0-1-amd64.iso) CDRW to make my old Linux partition bigger, redid my partitions to remake a new bigger swap partition and add a NTFS partition for my future 64-bit Windows 7 HPE SP1 restore/install (just concentrating on my old Debian for now).
I managed to make the 1.5 mins. pause go away for UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed job issue by adding # to my /etc/fstab's #UUID=7f52c5a5-0a8f-478e-bbc6-fb22204a06ed none swap sw 0 0 line.
Its comment says "swap was on /dev/sdb5 during installation". That used to be my old 1 GB swap partition. How do I figure out what UUID to use to point to the newly made swap partition? Actually, do I even need it with 16 GB of RAM now? I did on the former PC with 2 GB of RAM.
http://zimage.com/~ant/temp/DebianSwappedHWs/ shows details like dmesg log, a photo, systemctl status systemd-modules-load.service, etc.
How do I fix these issues? I hope I don't have to (clean/re)install! Thank you for reading and hopefully answering soon. :)
--
"So then, just as you received Christ Jesus as Lord, continue to live in him, rooted and built up in him, strengthened in the faith as you were taught, and overflowing with thankfulness." --Colossians 2:6. Slammy Easter weekend and new week so far. :(
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://aqfl.net & http://antfarm.home.dhs.org.
/ /\ /\ \ Please nuke ANT if replying by e-mail.
| |o o| |
\ _ /
( )
Anton Ertl
2023-04-11 16:36:01 UTC
Permalink
***@zimage.comANT (Ant) writes:
[swap space]
Post by Ant
Actually, do I even need it with 16 GB of RAM now?
I have 16GB RAM and I don't need swap, but it depends on your usage.

Don't swap to a HDD; that's so slow that you usually prefer to not
have swap space and instead let the OOM killer kill some process.

Some people worry about wearing out an SSD with swapping. If you
don't swap frequently, there is no chance of that. And even if you
swap all the time, it's unlikely that you will wear out the SSD.

We have swapping to /dev/zram0 on one of our SBCs (where the bandwidth
to the SD-card is extremely slow). Have not had problems with it yet,
but with a fast SSD, if I went for swap, I would swap to the SSD.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
***@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
William Unruh
2023-04-12 01:59:26 UTC
Permalink
Post by Anton Ertl
[swap space]
Post by Ant
Actually, do I even need it with 16 GB of RAM now?
I have 16GB RAM and I don't need swap, but it depends on your usage.
Maybe, maybe not. If your machine is on all the time, or if you do not
mind waiting 30 sec to boot up to a bare new desktop, then that is true.
However if you want to hibernate or sleep, then the swap is where the
present state of your system is stored, so that when you turn on, 5 sec
later you can be working on what you were working before. Ie, you will
want swap to be at least the size of your memory (16GB in your case).
Hard drive (inclusing SSD) can remember stuff for a long time. RAm for a
few milliseconds without refreshing.
Post by Anton Ertl
Don't swap to a HDD; that's so slow that you usually prefer to not
have swap space and instead let the OOM killer kill some process.
Some people worry about wearing out an SSD with swapping. If you
don't swap frequently, there is no chance of that. And even if you
swap all the time, it's unlikely that you will wear out the SSD.
We have swapping to /dev/zram0 on one of our SBCs (where the bandwidth
to the SD-card is extremely slow). Have not had problems with it yet,
but with a fast SSD, if I went for swap, I would swap to the SSD.
- anton
Anton Ertl
2023-04-12 07:56:40 UTC
Permalink
Post by William Unruh
Maybe, maybe not. If your machine is on all the time, or if you do not
mind waiting 30 sec to boot up to a bare new desktop, then that is true.
However if you want to hibernate or sleep, then the swap is where the
present state of your system is stored, so that when you turn on, 5 sec
later you can be working on what you were working before.
"Sleep" seems to be a Windows term for what is usually called
"suspend" in the Linux world. Suspend keeps the state in RAM and does
not need swap space. For "suspend" the computer needs to be powered
on, however, and it draws some power. For my laptop with 40GB RAM and
a 60Wh battery it's a little less than 1% of the battery charge per
hour, i.e., <0.6W, but for desktop computers it can be more
significant.

Hibernate stores the state on the SSD or HDD (and needs swap space for
that), and does not need power, but on restarting the computer it goes
through BIOS and GRUB, just like ordinary booting. As for the rest, I
just measured my desktop, and it takes 10s from when GRUB decides what
to boot until my desktop is ready.

If you want to hibernate, I would certainly recommend to put the swap
space on an SSD rather than an HDD (and obviously not zram).

- anton
--
M. Anton Ertl Some things have to be seen to be believed
***@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
Loading...