LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2015, 03:51 AM   #1
vineetpratap
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore, India
Distribution: Slackware, Fedora
Posts: 5

Rep: Reputation: Disabled
Shutting down hang on kernel 4.1.6 SMP


Hello,
I was running Slackware 14.1 stable on my desktop then decided to move to "-current" and after moved, I encountered a bug. When shutting down, it will only halt and then the machine freezes and I have to shut it down "manually" (by press the power button for > 5 sec.) but rebooting is fine.
With the kernel 3.10.17 (shipped on the installation disk) it works. But with kernel 4.1.6 (shipped on -current branch), it does not work anymore and find same problem exist on other distributions also with kernel 4.x.x like (Fedora 22, KaOS .... etc) So I guess there's a problem with the Kernel.
Any ideas how to fix?

Quote:
# shutdown -h now
Running shutdown script /etc/rc.d/rc.0:
Saving systems time to the hardware clock (UTC).
Stopping systems message bus...
Unmounting remote filesystems:
Stopping udevd
Sending all processes the SIGKILL signal.
acpid: exiting
Sending all processes the SIGKILL signal.
Saving random seed from /dev/urandom in /etc/random-seed.
Turing off swap.
Unmounting local file susyems:
/dev/shm has been successfully unmounted.
/home has been successfully unmounted.
/ has been successfully unmounted.
Remounting root filesystem read-only:
mount: /dev/sda1 mounted on /.
[ 2016.733526 ] reboot: Power down
_
Quote:
My Desktop Details:

# uname -a
Linux trex-gnu-linux 4.1.6 #1 SMP Fri Aug 21 01:21:18 CDT 2015 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux



# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 15
Model name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Stepping: 11
CPU MHz: 2394.000
CPU max MHz: 2394.0000
CPU min MHz: 1596.0000
BogoMIPS: 4800.12
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K


# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IH (ICH9DH) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)
02:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface (rev b2)
06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]



# lsscsi
[1:0:0:0] disk ATA Hitachi HDS72161 ABEA /dev/sda
[4:0:0:0] cd/dvd Optiarc DVD RW AD-7190A 1.03 /dev/sr0


# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
|-sda1 8:1 0 47.7G 0 part /
|-sda2 8:2 0 3.8G 0 part [SWAP]
`-sda3 8:3 0 97.6G 0 part /home
sr0 11:0 1 1024M 0 rom


# cat /proc/meminfo
MemTotal: 3902624 kB
MemFree: 952696 kB
MemAvailable: 1857584 kB
Buffers: 93128 kB
Cached: 996416 kB
SwapCached: 0 kB
Active: 1968104 kB
Inactive: 746132 kB
Active(anon): 1627740 kB
Inactive(anon): 264684 kB
Active(file): 340364 kB
Inactive(file): 481448 kB
Unevictable: 32 kB
Mlocked: 32 kB
SwapTotal: 4000180 kB
SwapFree: 4000180 kB
Dirty: 148 kB
Writeback: 0 kB
AnonPages: 1624732 kB
Mapped: 433960 kB
Shmem: 267740 kB
Slab: 140872 kB
SReclaimable: 111888 kB
SUnreclaim: 28984 kB
KernelStack: 8736 kB
PageTables: 52092 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 5951492 kB
Committed_AS: 5093736 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 412196 kB
VmallocChunk: 34358947836 kB
AnonHugePages: 294912 kB
DirectMap4k: 15360 kB
DirectMap2M: 4034560 kB
 
Old 10-05-2015, 03:25 AM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Try this quick test - in a terminal run:
Code:
fuser -V
If it returns with version information, read no further.

If it doesn't return, then you've hit a problem in -current which has already been discussed - read a few entries in this thread from here up until patience is recommended in waiting for a new build of procps-ng (which provides fuser). Basically a recompile of procps-ng package was required with a slightly different configuration; that has already happened in -current but probably won't happen in 14.1 (its not normally an issue there). Since you upgraded to the -current kernel in 14.1, you may have to rebuild procps - I'm not actually sure about how differences between procps & procps-ng may affect how this problem manifests in in 14.1 with a kernel from -current - but thats a good place to start testing.

chris
 
Old 10-05-2015, 06:20 AM   #3
vineetpratap
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore, India
Distribution: Slackware, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi Chris, thanks!! Will check given thread as soon as possible.
 
Old 10-05-2015, 08:59 AM   #4
vineetpratap
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore, India
Distribution: Slackware, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
HI Chris, here is output of "fuser -V" on my Slackware -current

Quote:
# fuser -V
fuser (PSmisc) 22.21
Copyright (C) 1993-2010 Werner Almesberger and Craig Small

PSmisc comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under
the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.
 
Old 10-05-2015, 04:47 PM   #5
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
That output is correct so it looks like you have a different problem then.
 
Old 10-09-2015, 01:40 PM   #6
vineetpratap
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore, India
Distribution: Slackware, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
Same issue with the fresh Slackware current installation on the same desktop. i m not able to fix it yet. i think, kernel 4.x.x is not liking my desktop's hardware.

Last edited by vineetpratap; 10-09-2015 at 01:48 PM.
 
Old 11-30-2015, 08:30 AM   #7
vineetpratap
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore, India
Distribution: Slackware, Fedora
Posts: 5

Original Poster
Rep: Reputation: Disabled
This problem seem to be ACPI (power management) related. So the relevant options should be in the section "Power" of the BIOS setup and by setting "Wake on LAN" from "Stay Off" to "Power On" seemed to solve the problem.
 
  


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
[SOLVED] Kernel hang during boot process (Slack 13.1 stable w/ kernel 2.6.33.4-smp) lpallard Slackware 10 06-27-2010 01:53 PM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 05:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM
Hyperthreading SMP hang feldux Fedora 3 06-20-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:17 PM.

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