Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-21-2020, 11:35 AM
|
#16
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,809
|
Quote:
But since I start X from the console and go back to the same console when X terminates, I don't see how it could make any difference.
|
If it was me I would at least check it out by rebooting without starting X and, rebooting after starting X and exiting out of X. I have seen some weird things happens over the years involving computers and electronics.
Last edited by colorpurple21859; 07-21-2020 at 11:37 AM.
|
|
|
07-21-2020, 11:50 AM
|
#17
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
Quote:
Originally Posted by business_kid
I can take these as done, I suppose but have you checked permissions
|
The permissions do look a bit odd to me. halt and shutdown are both universally executable. I would have expected them to be either executable by root only or set to run suid.
Quote:
Issued 'reboot -f' as root?
|
I don't want to use reboot -f. Not using shutdown is an emergency procedure.
Which ones?
|
|
|
07-22-2020, 04:06 AM
|
#18
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,418
|
Quote:
Originally Posted by hazel
The permissions do look a bit odd to me. halt and shutdown are both universally executable. I would have expected them to be either executable by root only or set to run suid.
I don't want to use reboot -f. Not using shutdown is an emergency procedure.
Which ones?
|
If they look odd, fix them. you can always break them again
Use reboot -f at least once, because this might be in the BIOS. We're eliminating possible causes here. What you want to do comes later. 1. reboot -f & 2. reboot
|
|
1 members found this post helpful.
|
07-22-2020, 08:11 AM
|
#19
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
Good catch colorpurple! I tried today rebooting from the command line without having launched X at all. This was the sequence I observed:
1) Kernel announced a reboot at the end of shutdown
2) Monitor's built-in screensaver appeared (meaning I assume that there was no further output to the screen from that session)
3) Screensaver vanished. At this point there may have been a POST bleep but I can't remember. I will check for that next time.
4) Message from UEFI appeared: Press Enter to interrupt normal startup.
And that was it! The next step should have been the appearance of the elilo menu but that didn't happen. So the UEFI does start but it doesn't load anything from the drive.
@business_kid. I'll try your forced reboot today and report back in due course. btw I tried running shutdown without being root just to find out what would happen. It said "You have to be root to do that!". Evidently the program checks your UID right at the beginning so the system doesn't need to use permissions to prevent abuse.
|
|
1 members found this post helpful.
|
07-22-2020, 08:46 AM
|
#20
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,809
|
Do you get the same results from the lfs install?
|
|
1 members found this post helpful.
|
07-22-2020, 08:48 AM
|
#21
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
Dunno. Haven't tried it yet.
|
|
|
07-22-2020, 10:01 AM
|
#22
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,809
|
What happens if you unmount the efi partition before rebooting?
|
|
|
07-22-2020, 10:12 AM
|
#23
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
I don't normally have it mounted. And when I do mount it to do something to it, I always unmount it by hand because I once ran into some kind of filesystem warning on that partition. I can't remember the details, but I cleared it and have been very careful ever since.
|
|
|
07-22-2020, 10:50 AM
|
#24
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,809
|
Well scratch that idea, what is the output of efibootmgr, parted -l? What happens if at the
Quote:
Press Enter to interrupt normal startup.
|
message you do alt-ctrl-del or just before that message? Has something changed in your bios settings?
|
|
1 members found this post helpful.
|
07-22-2020, 11:08 AM
|
#25
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
Quote:
Originally Posted by colorpurple21859
Well scratch that idea, what is the output of efibootmgr, parted -l?
|
Code:
$ sudo /usr/sbin/efibootmgr
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0006,0001,0000,0007
Boot0000* ubuntu
Boot0001* rEFInd
Boot0005* Slackware
Boot0006* UEFI OS
Boot0007* ubuntu
Code:
$ sudo /usr/sbin/parted -l
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1050MB 1049MB ntfs hidden, bios_grub
2 1050MB 1322MB 273MB fat32 EFI system partition boot, esp
3 1322MB 1847MB 524MB fat32 hidden
4 1847MB 7089MB 5243MB linux-swap(v1) swap
5 7089MB 112GB 105GB ext4 data
6 112GB 134GB 22.0GB ext4 slackware
7 134GB 167GB 32.9GB ext4 LFS1
8 167GB 199GB 32.5GB ext4 LFS2
9 199GB 232GB 32.2GB ext4 BSD
11 232GB 264GB 32.2GB ext4
10 474GB 500GB 26.2GB ntfs hidden
Quote:
What happens if at the message you do alt-ctrl-del or just before that message?
|
Nothing. The keyboard is dead. Enter has no effect either.
Quote:
Has something changed in your bios settings?
|
No. Not for a long time.
|
|
1 members found this post helpful.
|
07-22-2020, 11:17 AM
|
#26
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,809
|
Are there any warnings about the "protective mbr boot flag set" with
Code:
sudo gdisk /dev/sda
To exit out of gdisk press q
Last edited by colorpurple21859; 07-22-2020 at 11:19 AM.
|
|
1 members found this post helpful.
|
07-22-2020, 11:25 AM
|
#27
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
I don't have gdisk. fdisk gives no warnings.
|
|
1 members found this post helpful.
|
07-22-2020, 01:00 PM
|
#28
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
OK. reboot -f worked from Slackware. I rebooted into LFS, logged on as root and used shutdown -r to get back into Slack. Surprisingly that worked too. Now I don't know if those results were one-offs or if there's something significant here. Too tired to think about it now. I'm shutting down for the night!
|
|
1 members found this post helpful.
|
07-24-2020, 05:56 AM
|
#29
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,207
Original Poster
|
I'm going to make a link to an earlier post I made about an occasional buzzing noise from this computer because I'm beginning to think the two things are linked in some way.
The buzz comes directly from the vibrating case, specifically from a built-up section of it that acts as a carrier handle. The power switch and disk indicator light are set into this structure. Putting a hand on it usually stops the sound. But the vibration must initially come from either the cpu fan or the disk drive. There are no other moving parts in this machine because there is no internal power unit.
Now I have noticed that the buzz usually occurs when the machine is idling. That makes it unlikely that the fan is involved. On the other hand, disks are often busy syncing when there's nothing else going on.
Last night I tried to reboot (using shutdown from Slackware) and it failed again. But after a few moments, I heard the buzz, more loudly than usual. And when I put my ear to the main part of the case, I heard a smooth, quiet sound which I think may have been the disk rotating. It was different from the irregular scratchy sound of a disk being read or written to.
The last detectable act in a failed reboot is when the UEFI program activates the video. The Lenovo logo comes up together with that message about the Enter key. Then there is a bleep (I can confirm this now) so there is a successful POST, like with a cold boot. The next step should be reading the bootloader from the disk. That's where it stops.
Now can any hardware mavens make a guess as to whether these things are related?
Last edited by hazel; 07-24-2020 at 07:53 AM.
|
|
|
07-24-2020, 06:13 AM
|
#30
|
Member
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797
Rep: 
|
Quote:
Originally Posted by hazel
The buzz comes directly from the vibrating case, specifically from a built-up section of it that acts as a carrier handle. The power switch and disk indicator light are set into this structure. Putting a hand on it usually stops the sound. But the vibration must initially come from either the cpu fan or the disk drive. There are no other moving parts in this machine because there is no internal power unit.
|
i recently came across a discussion about "coil (or cpu) whine". since i had never heard of it, i found a few articles that all said something similar to this one:
Quote:
Coil whine is a high-pitched sound some devices inside the computer case can create under certain situations. This hiss or squeal resembles a dull, boiling teapot sound, only usually much quieter.
|
previously i would have also assumed that any noise (or vibration) would have had to have been caused by a moving part as well. apparently that is not always the case.
|
|
|
All times are GMT -5. The time now is 04:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|