[SOLVED] Shutdown hangs Jessie i386

If none of the more specific forums is the right place to ask

Re: [SOLVED] Shutdown hangs Jessie i386

Postby ticojohn » 2017-04-11 23:32

bw123 wrote:I really didn't understand why the system journal was relevant. But the thought occurs, while sysV init is still available and working in jessie, have you thought about installing package sysvinit-core and seeing what happens?

Had not thought about it. Seems like another workaround. :?:
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 663
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: [SOLVED] Shutdown hangs Jessie i386

Postby bw123 » 2017-04-11 23:41

Seems like another workaround. :?:


I'm not blind, but this link seems relevant somehow?

http://www.afb.org/info/living-with-vis ... blem/12345

Discussion: Isolate the Problem

“So you have paid attention to being or feeling off-course and you discern there is a problem. Now what? Uncover the precise problem. Think through what has happened and isolate the deviation from the intended course. In other words, what is it that veered you off course or kept you from succeeding?”


By eliminating systemd from the possible causes of the problem you can 'see' the remaining possible causes.

By using sysV init you may also get some more info in individual logs under /var/log and it seems to me that systemd does not log as much information from it's 'units' as sysV does.
User avatar
bw123
 
Posts: 2378
Joined: 2011-05-09 06:02
Location: TN_USA

Re: [SOLVED] Shutdown hangs Jessie i386

Postby ticojohn » 2017-04-12 00:33

bw123 wrote:
Seems like another workaround. :?:


I'm not blind, but this link seems relevant somehow?

http://www.afb.org/info/living-with-vis ... blem/12345

Discussion: Isolate the Problem

“So you have paid attention to being or feeling off-course and you discern there is a problem. Now what? Uncover the precise problem. Think through what has happened and isolate the deviation from the intended course. In other words, what is it that veered you off course or kept you from succeeding?”


By eliminating systemd from the possible causes of the problem you can 'see' the remaining possible causes.

By using sysV init you may also get some more info in individual logs under /var/log and it seems to me that systemd does not log as much information from it's 'units' as sysV does.


I stand properly rebuked ! :roll:
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 663
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: [SOLVED] Shutdown hangs Jessie i386

Postby ticojohn » 2017-04-12 13:36

I've been doing quite a bit of reading on this issue and it was first reports about 2 years ago. The cause of the problem is not apparent to me, or many people much smarter than me, but seems to be related to jobs not halting when sent the message to do so. Many of the posts blame the aggressive way that systemd shuts down jobs. I am not smart enough to have a clue, so I'm just babbling. Logging out prior to reboot/shutdown seems to avoid the issue. Not sure where to go with this. I've tried to incorporate some things, such as enabling debug, but don't see anything helpful. Guess I'll just move on from this and deal with it.

However, it is interesting that I didn't see this issue until after I upgraded to a newer motherboard with Intel i5 processor. Maybe an issue with Jessie i386 and this particular motherboard (Gigabyte GA-H81M-H). Stretch amd64 does not hang on reboot on this hardware. HMMMM !
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 663
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: [SOLVED] Shutdown hangs Jessie i386

Postby dasein » 2017-04-12 16:15

bw123 wrote:
Discussion: Isolate the Problem

“...[Y]ou discern there is a problem. Now what? Uncover the precise problem.”

(Emphasis added)

By eliminating systemd from the possible causes of the problem you can 'see' the remaining possible causes.

Your point is quite well-taken, of course. And you're quite correct in assessing that systemd is indeed a very likely culprit, and that deploying sysV would therefore likely fix the problem. The larger issue for this OP is that any systematic approach focused on finding a solution might actually succeed; consider one viable alternative...

1) Look for a relevant systemd bug (ideally, Jessie-specific, since Stretch supposedly doesn't have the problem):
https://lmsptfy.com/?q=systemd%20shutdo ... debian.org

2) Sure enough, there are perhaps as many as 100. Click on the first link:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=788303

3) Wow. Sure sounds potentially pertinent. Is the bug fixed?

4) According to the bug report, yes, the bug is fixed. Is that fix available in jessie-backports?

5) Yes.

6) Consider applying fix, instead of merely bemoaning the problem (or raising obviously irrelevant issues such as video drivers :twisted:).

7) Repeat as necessary. Or install sysV. Or install Stretch and be done with it.

And therein lies the real issue: some folks would rather wallow in a problem than fix it.
User avatar
dasein
 
Posts: 7774
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: [SOLVED] Shutdown hangs Jessie i386

Postby ticojohn » 2017-04-12 19:15

dasein wrote:
4) According to the bug report, yes, the bug is fixed. Is that fix available in jessie-backports?

And therein lies the real issue: some folks would rather wallow in a problem than fix it.


Thanks you Mr. Give-me-hell! Maybe I deserve it. I wasn't WALLOWING, I was relating an issue. And in fact I had read that report regarding bug 788303. I saw where the bug was fixed in the latest release of systemd, around 25 April 2016, and had ASSUMED since I had done a dist-upgrade many times sine that date that I had the latest version of systemd for jessie. However, on further examination I see that I have 215-17 and the fix was deployed at 229-5. Had I seen that, instead of WALLOWING, I would have looked at the jessie-backports.

Once again, thanks for being so helpful. Your empathy is sometimes overwhelming.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 663
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: [SOLVED] Shutdown hangs Jessie i386

Postby ticojohn » 2017-04-12 19:30

Are there any particular gotchas that I need to worry about when installing systemd from jessie-backports?
Is this a proper way to do the install (yes, I have backports in my sources list),
Code: Select all
apt install systemd -t jessie-backports

or is it better to do this?
Code: Select all
apt-get -t jessie-backports install "systemd"

Or does it not make a difference which I use?

UPDATE: Well, I went ahead and used apt-get, as that is what I would normally use. Everything appears to be installed and working. I even went ahead and did an update-grub just to be sure that init d files were updated. Necessary, don't know but shouldn't hurt.
I now have systemd 230. I'll keep my eyes on the shutdown issue and hopefully it is now resolved, thanks mostly to the ever helpful dasein. Thank you SIR!
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 663
Joined: 2009-08-29 18:10
Location: Costa Rica

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable