see what is happening at restart

this is about Machine #1

On the few occasions when I have to restart my machine, it seems there is an odd pause.
It was not happening before I upgraded [fresh install] to opensuse 13.2.

I click on Start>Leave>Restart and I get a window that counts down the restart.
When restart is activiated, the screen goes to black with a lot of background? commands and then,
Screen fades to opensuse splash screen and then blacks out. {Seems normal to this point}

{This is where I feel something not normal is happening.}
The screen stays black for about 45 to 60 seconds, like the machine is not going to start.
Then I hear a small click and startup proceeds as normal.
[Asus POST screen, opensuse Start screen, opensuse splash screen, opensuse LOGIn screen, etc.]

Would there be anyway to see what is happening in that pause, or why that pause is happening. There are no noises from harddrives at that time, but I am using a SSD for the OS.
Machine is perfectly quiet, but the lights are on and the fans are working.

Does this seem ODD?

Hit ESC on the startup splash screen. See if that gives you more information.

On 2015-01-15, LaQuirrELL <LaQuirrELL@no-mx.forums.opensuse.org> wrote:
>
> this is about Machine #1

(pasted from OP’s signature)
> Machine # 1 - Asus P8Z77-V Deluxe, i7-3770k 3.5GHZ, 16.0 GB ram, openSUSE 13.2 64-bit, KDE 4.1.4.3

On 2015-01-15, LaQuirrELL <LaQuirrELL@no-mx.forums.opensuse.org> wrote:
> On the few occasions when I have to restart my machine, it seems there is an odd pause. It was not happening before
> I upgraded [fresh install] to opensuse 13.2.
>
> I click on Start>Leave>Restart and I get a window that counts down the restart. When restart is activiated, the
> screen goes to black with a lot of background? commands and then, Screen fades to opensuse splash screen and then
> blacks out. -{Seems_normal_to_this_point}-
>
> -{This is where I feel something not normal is happening.-} The screen stays black for about 45 to 60 seconds,

Ahhh… the wait with trepidation on a GNU/Linux reboot/shutdown! You say you performed a fresh install - but have you
updated all packages i.e.


sh-4.2$ su -
sh-4.2# zypper up        # needs a working internet connection
sh-4.2# shutdown -r now

Then when the system reboots - try rebooting again - you still have the pause?

> -like_the_machine_is_not_going_to_start-. Then I hear a small click and startup proceeds as normal. [Asus POST
> screen, opensuse Start screen, opensuse splash screen, opensuse LOGIn screen, etc.]

Without knowing your hardware in detail it’s difficult to guess. But the small click is likely to be your sound card.
High quality sound cards (e.g. Asus Xonar cards) have a relay that clicks when activated to prevent power spikes blowing
your speakers.

> Does this seem ODD?

Depends on the hardware. You’ve told us your CPU/motherboard but not the graphics card and sound card. So all we can do
is guess until you do. And are you really sure Machine #1 is running KDE 4.1.4.3?

@nrickert OK I will try that and see what happens.

@flymail - sry my eyesight must be bad, I thought that was 4.1.4.3, but it is 4.14.3 (NOTE: I have fixed it)
- yes all updates are done thru zypper and checked for new ones regularly. The last one was a kernel firmware update, yesterday.
- Bios is UEFI
- video is onboard.
-Other hardware - [x1] OCZ vertex 4 SSD 128GB {OS}
[x3] WD Velociraptor HDD {Storage}
[x1] Asus Xonar Essence STX sound card (Yes, possibly the click noise, card was installed just after the time of fresh install)
[x1] Asus optical drive
[x3] cooling fans

Then when the system reboots - try rebooting again - you still have the pause?

I have tried this and yes, the pause is still there.

On re-reading your OP, I think you should consider the possibility of a failing disk. Maybe run the smartctl tests.

On 2015-01-16, nrickert <nrickert@no-mx.forums.opensuse.org> wrote:
> On re-reading your OP, I think you should consider the possibility of a
> failing disk. Maybe run the smartctl tests.

I agree it looks suspicious. It might be helpful, especially when interpreting the tests, if you could output the
results of:


sh-4.2$ su -
sh-4.2# for devsd in $(find /dev/sd* ! -name "*[0-9]"); do parted $devsd unit GiB print; done
sh-4.2# cat /etc/fstab | grep /dev/sd
sh-4.2# df -h | grep /dev/sd
sh-4.2# exit

Reboot, then log in and open a terminal

# journalctl --list-boot
-20 dc02428474664ffab8b71caef7302492 Thu 2015-01-15 08:10:54 EST—Thu 2015-01-15 08:16:59 EST
-19 0266b9ca9f244725a0b9f33132b75257 Thu 2015-01-15 08:17:29 EST—Thu 2015-01-15 08:27:09 EST
-18 165e978aa6fe49ddb477ad007904b2e9 Thu 2015-01-15 08:29:21 EST—Thu 2015-01-15 10:46:33 EST

Pick the boot entry before the last. In my case, it would be -19.

journalctl -b 0266b9ca9f244725a0b9f33132b75257 -r

This will post that boot journal in the terminal in reverse, from shutdown to boot. Look for the pause, something that’s taking a long time to shut down or maybe highlighted in red as an error.

@nrickert and flymail
I have done smartctl on Sata HD’s before [and will check mine], but I have never done this on an SSD. Can smartctl be run on an SSD? Mine is an OCZ Vertex 4.

@Buddlespit - ty, I will try this cmd as soon as I can reboot.

I really don’t know. I forgot that it was an SSD when I suggested that.

I have no experience with failure modes of an SSD, but I would guess it is less likely to be the problem.

On 2015-01-18, LaQuirrELL <LaQuirrELL@no-mx.forums.opensuse.org> wrote:
>
> @nrickert and flymail
> I have done smartctl on Sata HD’s before [and will check mine], but I
> have never done this on an SSD. Can smartctl be run on an SSD? Mine is
> an OCZ Vertex 4.

I’ve a had a number of OCZ Vertex drivers and they’ve never failed. It would still be useful to help diagnose your
problem to output the results of what I requested in my previous post.

On 2015-01-18 05:16, LaQuirrELL wrote:

> @Buddlespit - ty, I will try this cmd as soon as I can reboot.

No need to reboot. Those commands will show what happened on any
previous reboot, any time - at least till log purge/rotation/whatever.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

@robin_listas Thank You for replying. That makes sense.

@Buddlespit I did the journalctl cmd as you suggested:

|dabud@linux-l77p:~> journalctl --list-boot|
|---|
|-25 ab06e88144f04db98f00cd9ac60239a2 Fri 2014-12-05 11:28:18 EST—Fri 2014-12-05 12:22:58 EST|
|-24 fa145479855a4c63ab2f1b1e9ec9050b Fri 2014-12-05 12:23:21 EST—Fri 2014-12-05 12:56:45 EST|
|-23 fc700347ecab4d47bd8ca714b26408e7 Fri 2014-12-05 12:57:05 EST—Fri 2014-12-05 15:14:16 EST|
|-22 e8b4655e695e45d799b8081f6d0dda17 Fri 2014-12-05 15:14:36 EST—Fri 2014-12-05 17:20:45 EST|
|-21 7345d1ef27be487ea15fba079779c55d Fri 2014-12-05 17:21:09 EST—Fri 2014-12-05 17:33:14 EST|
|-20 c59056b006c34425958dfcb21f7f9db9 Fri 2014-12-05 17:34:55 EST—Thu 2014-12-25 05:15:01 EST|
|-19 cd39c1cde4ab4aeabd69c9d19e9c74c8 Thu 2014-12-25 05:20:34 EST—Thu 2014-12-25 05:21:07 EST|
|-18 649a0fcae256426ebb89dd77193f9e50 Thu 2014-12-25 05:24:33 EST—Fri 2014-12-26 11:46:50 EST|
|-17 4c96d3706de24176ad798369f92d8040 Fri 2014-12-26 13:53:38 EST—Fri 2014-12-26 14:02:10 EST|
|-16 483d9626cabd4608859b97989106e822 Fri 2014-12-26 14:08:35 EST—Sat 2014-12-27 23:57:27 EST|
|-15 b47890c7a67341bd89a532958df4cbc4 Sat 2014-12-27 23:57:44 EST—Tue 2015-01-06 22:28:21 EST|
|-14 cb9cf9956fb34e0a88cf72ace072b9dd Tue 2015-01-06 22:28:45 EST—Fri 2015-01-09 13:27:41 EST|
|-13 3ca7bbbf222b4084b6bb562ae6d6c357 Fri 2015-01-09 14:04:43 EST—Fri 2015-01-09 16:48:51 EST|
|-12 e09aa6f7b85041c7b881aadc9714dd55 Fri 2015-01-09 16:49:08 EST—Fri 2015-01-09 17:11:38 EST|
|-11 ee0cb136e60247b59cbbc81b27de37f8 Fri 2015-01-09 17:11:55 EST—Sat 2015-01-10 00:44:11 EST|
|-10 14ed46dea12c47be9e1d74f7700c6cb7 Sat 2015-01-10 00:44:34 EST—Wed 2015-01-14 15:23:47 EST|
| -9 c5e794afd8604d6dbc2e3c61596e0caf Wed 2015-01-14 15:24:11 EST—Wed 2015-01-14 16:20:51 EST|
| -8 cd0969e17873428f9657a2be75948d95 Wed 2015-01-14 16:21:06 EST—Wed 2015-01-14 16:21:28 EST|
| -7 7b1eb1f093eb4e6db282b43e8605c580 Wed 2015-01-14 16:22:17 EST—Wed 2015-01-14 16:40:03 EST|
| -6 445cf0ef8a97492980bf73d8138c1bf6 Wed 2015-01-14 16:40:21 EST—Wed 2015-01-14 16:57:16 EST|
| -5 9bfbb9e08805459ea9fde2574d79ded6 Wed 2015-01-14 16:57:34 EST—Wed 2015-01-14 19:30:52 EST|
| -4 7a137f4a6f3e4bdb8c3af7ad472c75ca Wed 2015-01-14 19:31:20 EST—Wed 2015-01-14 19:34:04 EST|
| -3 c2891f90d73541ba8dd23d3e2b04abf9 Wed 2015-01-14 19:34:22 EST—Sat 2015-01-24 02:05:03 EST|
| -2 62ac2fabfd464c59b414de21fabbed46 Sat 2015-01-24 02:05:27 EST—Sun 2015-01-25 17:37:02 EST|
| -1 1ed07626a6114af2b061e294ecdc1cdf Sun 2015-01-25 17:41:52 EST—Wed 2015-01-28 18:40:06 EST|
|  0 b4c41ce30a544efca192b9cee742b8b7 Sat 2015-01-31 06:37:38 EST—Sat 2015-01-31 06:37:38 EST[TABLE="width: 664"]
[TR]
[TD]dabud@linux-l77p:~> journalctl --list-boot|
|-25 ab06e88144f04db98f00cd9ac60239a2 Fri 2014-12-05 11:28:18 EST—Fri 2014-12-05 12:22:58 EST|
|-24 fa145479855a4c63ab2f1b1e9ec9050b Fri 2014-12-05 12:23:21 EST—Fri 2014-12-05 12:56:45 EST|
|-23 fc700347ecab4d47bd8ca714b26408e7 Fri 2014-12-05 12:57:05 EST—Fri 2014-12-05 15:14:16 EST|
|-22 e8b4655e695e45d799b8081f6d0dda17 Fri 2014-12-05 15:14:36 EST—Fri 2014-12-05 17:20:45 EST|
|-21 7345d1ef27be487ea15fba079779c55d Fri 2014-12-05 17:21:09 EST—Fri 2014-12-05 17:33:14 EST|
|-20 c59056b006c34425958dfcb21f7f9db9 Fri 2014-12-05 17:34:55 EST—Thu 2014-12-25 05:15:01 EST|
|-19 cd39c1cde4ab4aeabd69c9d19e9c74c8 Thu 2014-12-25 05:20:34 EST—Thu 2014-12-25 05:21:07 EST|
|-18 649a0fcae256426ebb89dd77193f9e50 Thu 2014-12-25 05:24:33 EST—Fri 2014-12-26 11:46:50 EST|
|-17 4c96d3706de24176ad798369f92d8040 Fri 2014-12-26 13:53:38 EST—Fri 2014-12-26 14:02:10 EST|
|-16 483d9626cabd4608859b97989106e822 Fri 2014-12-26 14:08:35 EST—Sat 2014-12-27 23:57:27 EST|
|-15 b47890c7a67341bd89a532958df4cbc4 Sat 2014-12-27 23:57:44 EST—Tue 2015-01-06 22:28:21 EST|
|-14 cb9cf9956fb34e0a88cf72ace072b9dd Tue 2015-01-06 22:28:45 EST—Fri 2015-01-09 13:27:41 EST|
|-13 3ca7bbbf222b4084b6bb562ae6d6c357 Fri 2015-01-09 14:04:43 EST—Fri 2015-01-09 16:48:51 EST|
|-12 e09aa6f7b85041c7b881aadc9714dd55 Fri 2015-01-09 16:49:08 EST—Fri 2015-01-09 17:11:38 EST|
|-11 ee0cb136e60247b59cbbc81b27de37f8 Fri 2015-01-09 17:11:55 EST—Sat 2015-01-10 00:44:11 EST|
|-10 14ed46dea12c47be9e1d74f7700c6cb7 Sat 2015-01-10 00:44:34 EST—Wed 2015-01-14 15:23:47 EST|
| -9 c5e794afd8604d6dbc2e3c61596e0caf Wed 2015-01-14 15:24:11 EST—Wed 2015-01-14 16:20:51 EST|
| -8 cd0969e17873428f9657a2be75948d95 Wed 2015-01-14 16:21:06 EST—Wed 2015-01-14 16:21:28 EST|
| -7 7b1eb1f093eb4e6db282b43e8605c580 Wed 2015-01-14 16:22:17 EST—Wed 2015-01-14 16:40:03 EST|
| -6 445cf0ef8a97492980bf73d8138c1bf6 Wed 2015-01-14 16:40:21 EST—Wed 2015-01-14 16:57:16 EST|
| -5 9bfbb9e08805459ea9fde2574d79ded6 Wed 2015-01-14 16:57:34 EST—Wed 2015-01-14 19:30:52 EST|
| -4 7a137f4a6f3e4bdb8c3af7ad472c75ca Wed 2015-01-14 19:31:20 EST—Wed 2015-01-14 19:34:04 EST|
| -3 c2891f90d73541ba8dd23d3e2b04abf9 Wed 2015-01-14 19:34:22 EST—Sat 2015-01-24 02:05:03 EST|
| -2 62ac2fabfd464c59b414de21fabbed46 Sat 2015-01-24 02:05:27 EST—Sun 2015-01-25 17:37:02 EST|
| -1 1ed07626a6114af2b061e294ecdc1cdf Sun 2015-01-25 17:41:52 EST—Wed 2015-01-28 18:40:06 EST|
|  0 b4c41ce30a544efca192b9cee742b8b7 Sat 2015-01-31 06:37:38 EST—Sat 2015-01-31 06:37:38 EST|


[/TD]
[/TR]
[/TABLE]

and looked at some of the logs. I found errors [posted in red].
This one is from Sun 2015-01-25 and these were the errors I found.

journalctl -b 62ac2fabfd464c59b414de21fabbed46 -r|Jan 25 17:36:18 linux-l77p kernel: sd 17:0:0:0: [sde] Assuming drive cache: write through|
|---|
|Jan 25 17:36:18 linux-l77p kernel: sd 17:0:0:0: [sde] No Caching mode page found|
|Jan 24 02:05:59 linux-l77p wicked[966]: device enp13s0 failed: operation timed out|
|Jan 24 02:05:29 linux-l77p kdm_greet[1011]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory|
|Jan 24 02:05:29 linux-l77p bluetoothd[913]: hci0 Load Connection Parameters failed: Unknown Command (0x01)|
|Jan 24 02:05:29 linux-l77p audispd[755]: No plugins found, exiting|
|Jan 24 02:05:29 linux-l77p kernel: sd 16:0:0:0: [sde] Assuming drive cache: write through|
|Jan 24 02:05:29 linux-l77p kernel: sd 16:0:0:0: [sde] No Caching mode page found|
|Jan 24 02:05:28 linux-l77p kernel: kvm: disabled by bios|
|Jan 24 02:05:27 linux-l77p kernel: [drm:cpt_serr_int_handler] *ERROR* PCH transcoder A FIFO underrun|
|Jan 24 02:05:27 linux-l77p kernel: [drm:cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A|
|Jan 24 02:05:27 linux-l77p kernel: ata16.00: status: { DRDY }|
|Jan 24 02:05:27 linux-l77p kernel: ata16.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 2 dma 16640 in|
|                                            res 50/01:01:01:00:00/00:00:00:00:00/00 Emask 0x1 (device error)|
|Jan 24 02:05:27 linux-l77p kernel: ata16.00: irq_stat 0x40000001|
|Jan 24 02:05:27 linux-l77p kernel: ata16.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0|



Some of the errors repeated them selves in each log:

|Jan 24 02:05:28  linux-l77p kernel: kvm: disabled by bios|
|---|



I did not include the whole output [possibly wrongly] because it was lengthy.
If anyone can interpret these errors, that would be nice.
I have googled a couple of them, but it is a bit beyond my understanding.
However, I am happy to report the original problem [hesitation on restart] has gone away since doing updates as of February 2, 2015. The machine starts up right quick, once again.
I am having some mouse/interface [KDE] issues, but that is for another post.
Thank You ALL.