Dear all,
I beg your pardon if this question is out of the current forum theme. I need help with periodical freezing the computer because of “quick user-space blocking”. It just hangs in futex_wait state and does not react on any my actions, I even can’t leave the KDE desktop by Ctr-Alt-F1 (F2, F3, etc.) button. Computer is just happy with itself communicating with own HDD and that’s all. Is it possible to tune up the system to avoid usage of “quick user-space blocking” action?
uname -a output:
Linux linux-zlw7.site 3.11.10-17-desktop #1 SMP PREEMPT Mon Jun 16 15:28:13 UTC 2014 (fba7c1f) i686 athlon i386 GNU/Linux
System is: openSUSE 13.11.10-17 (Bottle).
KDE version: 4.11.5.
System is up to date, all latest updates are applied.
Thanks for reply. The disk is OK, problem appears when I use any web browser under KDE - does not matter which one: firefox, konquerror, chrome, etc. From time to time Suse freezes itself and the only way to get out of this state is reboot by power button because computer does not respond even to mouse gestures. As far as I have read futex mechanism is intended for quick user-space processes locking but it locks them so deeply that no ways remain to communicate with system at all.
As far as I managed to find it out:
hwinfo.drivers = { ‘radeon’ }
hwinfo.vendorname = ‘ATI Technologies Inc’
hwinfo.hwclass = ‘graphics card’
hwinfo.model = ‘ATI VGA compatible controller’
I forgot to mention that during the frozen state “top” shows that “wait” state takes more than 99 per cent of CPUs time. top managed to refresh its screen occasionally once or twice during hang-up of computer.
But that sounds more like some activity is causing the freeze Is the hard drive in constant use? If so that sounds like a bad sector so did you actually run smartctl?
The hard drive is not used constantly in normal computer state. There is the output of smartctl command:
sd@linux-zlw7:~> sudo /usr/sbin/smartctl -a /dev/sda3
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.11.10-17-desktop] (SUSE RPM)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K500.B
Device Model: Hitachi HTS545032B9A300
Serial Number: 100728PBPC01FDC8NGSM
LU WWN Device Id: 5 000cca 61fc3efd5
Firmware Version: PB3OCA1G
User Capacity: 320,072,933,376 bytes [320 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Tue Jul 8 22:04:57 2014 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 645) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 106) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Shall I try smartctl - t long … ?
For information there are results of df and mount commands:
sd@linux-zlw7:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 117672276 64274640 47397100 58% /
devtmpfs 1406036 16 1406020 1% /dev
tmpfs 1417880 75692 1342188 6% /dev/shm
tmpfs 1417880 3672 1414208 1% /run
tmpfs 1417880 0 1417880 0% /sys/fs/cgroup
tmpfs 1417880 3672 1414208 1% /var/lock
tmpfs 1417880 3672 1414208 1% /var/run
sd@linux-zlw7:~> mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=1406036k,nr_inodes=209119,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
id -a:
sd@linux-zlw7:~> id -a
uid=1000(sd) gid=100(users) groups=100(users),0(root)
You miss understand When the computer freezes is the hard drive light on constantly or is it blinking rapidly is there an unusual tick sound? Remember we can’t see over your shoulder you have to report what you see and maybe hear.
But in any case smart looks clean. You can tun the long test but I doubt it would show anything more.
So did you try installing the propritary ATI driver for your video???
Various flavors of Linux are trying to be M$ Windows. Dealing in such a way they hope to bring common user to “they will do all what my wish”. UNIX way is just another: we’re trying to understand what we’re doing.
A simple look up for ATI drivers on the first openSUSE page
I Use NVIDIA so I really don’t know a lot about ATI stuff, but flaky hangups are often caused by video driver problems. Most of the time the proprietary driver will fix the problem
How can I find the proper driver if suggested command gives the following:
su -c’lspci -nn | grep VGA’
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712]
Your hardware is not supported by the fglrx driver.
So don’t try to install it.
The fglrx driver only supports Radeon HD5000 and up.
There is a legacy driver that would support your card, but that one does not work any more on openSUSE 12.3 and 13.1, because the included kernel and Xorg are too new.