LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-14-2023, 12:31 PM   #1
640rider
Member
 
Registered: Feb 2013
Posts: 53

Rep: Reputation: Disabled
HP a6400f desktop not shutting down completely on MX Linux 23?


After over a decade of ignoring this machine because of poor performance I've finally come to the point of making a few changes.

The E2200 processor has been swapped out for a E5800, a Quadro K2000 has been installed as well as 4 one GB DDR2 RAM cards installed.

Near E-waste at the time of purchase with Vista installed this was one of the major turning points for me in becoming a Linux user and as of now this machine has completely turned around to being a functional machine that I have never seen operate so smooth and seamlessly.

Sure it's never going to content with Blender rendering or even some simpler multi-core tasks but a fine administrative office mule she's become!

One hitch, she hangs on shutdown with either a grey screen with text of most recent and previously a black screen. I've tried multiple syntax prompts and nothing completely turns this machine off other than a hard stop power button press for 10 seconds or so.

I'm hoping for a little clarification and opinions of this thread that I've found that seems apropos to me anyway. The two lines of context mentioned should just be deleted? I'm probably being over hesitant as I'd hate to see a reversal in the progress made with this machine. link below and thank you

https://forum.mxlinux.org/viewtopic.php?t=50307

It's what I consider fairly well set up with a mounted drive for Timeshift as well as 10.6 GB partitioned swap space.

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 392M 1.2M 391M 1% /run
/dev/sdb1 906G 12G 849G 2% /
tmpfs 5.0M 16K 5.0M 1% /run/lock
tmpfs 783M 40M 743M 6% /dev/shm
cgroup 12K 0 12K 0% /sys/fs/cgroup
tmpfs 392M 4.0K 392M 1% /run/user/108
tmpfs 392M 12K 392M 1% /run/user/1000

$ lsblk -l
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
sda1 8:1 0 465.8G 0 part
sdb 8:16 0 931.5G 0 disk
sdb1 8:17 0 920.9G 0 part /
sdb2 8:18 0 10.6G 0 part
sdc 8:32 1 0B 0 disk
sdd 8:48 1 0B 0 disk
sde 8:64 1 0B 0 disk
sdf 8:80 1 0B 0 disk
sr0 11:0 1 1024M 0 rom

The extra drives shown are from a failed drive complete crash in an LVM configuration, there's only the sda and sdb with the later being the Timeshift storage drive.

Last edited by 640rider; 10-15-2023 at 08:35 AM.
 
Old 10-16-2023, 01:25 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,914
Blog Entries: 1

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
Quote:
Originally Posted by 640rider View Post
I've tried multiple syntax prompts
What exactly does this mean?
Quote:
and nothing completely turns this machine off other than a hard stop power button press for 10 seconds or so.

I'm hoping for a little clarification and opinions of this thread that I've found that seems apropos to me anyway. The two lines of context mentioned should just be deleted? I'm probably being over hesitant as I'd hate to see a reversal in the progress made with this machine. link below and thank you

https://forum.mxlinux.org/viewtopic.php?t=50307
/etc/modprobe.d/hang-on-shutdown.conf lines
Code:
# blacklist dw_dmac
# blacklist dw_dmac_core
are comments. Deleting them would do nothing. It may be the idea there was to try uncommenting those lines.

Have you run memtest86 or memtest86+ for several hours? RAM can go bad in its old age. Normally I would suggest making sure the BIOS version is the latest available, but you have an HP for which support was eradicated from its website. Did it have the problem before swapping the E2200 for the E5800?

I have a PC that doesn't differ a whole lot from yours, both with Wolfdale CPUs, still competent enough IMO:
Code:
# inxi -SMCGIz
System:
  Kernel: 6.5.0-1-amd64 arch: x86_64 bits: 64 Console: pty pts/1 Distro: Debian
    GNU/Linux trixie/sid
Machine:
  Type: Desktop Mobo: ASUSTeK model: P5B SE v: Rev 1.xx serial: <filter>
    BIOS: American Megatrends v: 1103 date: 06/04/2009
CPU:
  Info: dual core model: Intel Core2 Duo E7500 bits: 64 type: MCP cache:
    L2: 3 MiB
  Speed (MHz): avg: 1596 min/max: 1596/2926 cores: 1: 1596 2: 1596
Graphics:
  Device-1: NVIDIA GF119 [NVS 310] driver: nouveau v: kernel
  Display: server: X.org v: 1.21.1.8 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: nouveau gpu: nouveau resolution: 1: 2560x1440
    2: 1680x1050
  API: EGL v: 1.5 drivers: nouveau,swrast platforms: gbm,surfaceless,device
  API: OpenGL Message: GL data unavailable for root.
Info:
  Processes: 153 Uptime: 25m Memory: total: 4 GiB available: 3.82 GiB
  used: 538.4 MiB (13.8%) Shell: Bash inxi: 3.3.30
Mine, instead of not shutting down, doesn't find any HDD to boot from on power up. After the no boot device message, I must CAD to trigger a boot from HDD.
 
Old 10-16-2023, 03:33 PM   #3
640rider
Member
 
Registered: Feb 2013
Posts: 53

Original Poster
Rep: Reputation: Disabled
Thanks for chiming in!
Quote:
Quote:
Originally Posted by 640rider View Post
I've tried multiple syntax prompts /:quote
What exactly does this mean?
Command line prompts in a terminal are the same as syntax prompts if I'm correct.

This machine does reboot both from terminal prompt if I sign in as su to initialize the prompt and GUI with no problems. I forgot to mention the SSD the system is booting from now is a recent addition, which has brought boot time down to 50ish seconds.

Quote:
/etc/modprobe.d/hang-on-shutdown.conf lines
Code:
# blacklist dw_dmac
# blacklist dw_dmac_core
are comments. Deleting them would do nothing. It may be the idea there was to try uncommenting those lines.
This I still do not understand, maybe versed in a different context would help but for some reason it just doesn't fit in my head.
I have no Windohs OSs in anything to use for a BIOS update and have never updated BIOS before.

Quote:
Have you run memtest86 or memtest86+ for several hours?
No I haven't although the previous configuration, dual drive booted MX Linux 19.1 XFCE originally and Mint non-LDME (19ish I think, it didn't get much use) didn't have this same shutdown issue. I'll give it a run anyway and see, thanks for the thought!

Your machine sounds to be at least a year newer than this a6400f, motherboard anyway, I'd check the boot order in the BIOS although you've likely been there already.

Thank you for the response!
 
Old 10-16-2023, 10:01 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,914
Blog Entries: 1

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
Quote:
Originally Posted by 640rider View Post
Command line prompts in a terminal are the same as syntax prompts if I'm correct.

This machine does reboot both from terminal prompt if I sign in as su to initialize the prompt and GUI with no problems.
Code:
# which shutdown
/usr/sbin/shutdown
# which poweroff
/usr/sbin/poweroff
# which reboot
/usr/sbin/reboot
# which halt
/usr/sbin/halt
# which telinit
/usr/sbin/telinit
# ls -gG /usr/sbin/halt /usr/sbin/poweroff /usr/sbin/reboot /usr/sbin/shutdown /usr/sbin/telinit
lrwxrwxrwx 1 16 Aug  8 20:00 /usr/sbin/halt -> ../bin/systemctl
lrwxrwxrwx 1 16 Aug  8 20:00 /usr/sbin/poweroff -> ../bin/systemctl
lrwxrwxrwx 1 16 Aug  8 20:00 /usr/sbin/reboot -> ../bin/systemctl
lrwxrwxrwx 1 16 Aug  8 20:00 /usr/sbin/shutdown -> ../bin/systemctl
lrwxrwxrwx 1 16 Aug  8 20:00 /usr/sbin/telinit -> ../bin/systemctl
# ls -gG /usr/bin/systemctl
-rwxr-xr-x 1 322616 Aug  8 20:00 /usr/bin/systemctl
#
 
Old 10-17-2023, 11:50 AM   #5
640rider
Member
 
Registered: Feb 2013
Posts: 53

Original Poster
Rep: Reputation: Disabled
Yes
 
  


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
Linux Mint 17.3 is not shutting down completely jspnow Linux - Laptop and Netbook 8 07-22-2016 08:21 AM
HP Pavilion a6400f and Slackware wufo Slackware 5 09-06-2013 03:26 AM
Shutting down and non shutting down x windows golden_boy615 Linux - General 1 03-01-2010 06:28 AM
computer not completely shutting down veritas Linux - Newbie 7 02-09-2004 04:17 PM
Shutdown not shutting down completely jrdioko Linux - Newbie 19 10-12-2003 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:31 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