kde makes my laptop hang?

Hey guys,

Last week I installed suse 11.3. Most of the time it runs fine, but sometimes my laptop just hangs. Mostly I’m just browsing the internet using firefox. For example when I just installed opensuse, and I tried to maximize the terminal window it would hang and not recover. I’m not sure what is causing it. When it hangs I also can’t move the mouse pointer, or open the system activity window.

I’m not sure I have the minimum specs for kde though, but I can run kde without any problems, it’s fast, it reacts fast. At first I thought maybe the amount of ram 512 was not enough so I turned off all the kde effects, but it still seems to crash once in while.

I tried checking .xsession-errors to see if I could find something, and I found this


updateapplet(2142): Failed to lock file "/var/tmp/kdecache-donald/kpc/kde-icon-cache.lock" , last result = 1
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

Since it’s not timestamped I’m not sure if this is causing the problem…

Does anyone have an idea of what is causing my problem? Any help is appreciated!

So dikkeduif, this looks like your very first post here. Welcome to the openSUSE forums. So, there are several possible issues here. If you have not done so, make sure you go into YaST / Software Management and update everything to the latest version. You can do that in Software Management by Selecting Packages / All Packages / Update if newer version available. If the number of packages to update is large, you will be asked if you are sure, but I select yes. Be aware that to play multimedia files, you need to add the VideoLAN repository to download Libdvdcss so you can play DVD movies and the Packman repository, so you can do everything else. If you have any questions about this, please let us know.

I normally suggest you start with this forum and read through all of the material that is located there:

New User How To/FAQ (read only)

There may be a need to upgrade your kernel file. Here is a good thread on how to do that:

Keeping the current kernel when doing a kernel update through yast

You might also want to add some other repositories to update KDE and other files. Normally though, you want to keep it simple in the beginning. Go through this stuff above and see if anything helps.

Thank You,

Thank You,

Since that log doesn’t have any timestamps, it’s not very useful. Can you check in a Konsole by going:


su -
<enter your password>
less /var/log/messages

(when done):
exit

And scroll through the output? Look for things like “ERROR”, especially around the time of your crashes. Is there anything out of the ordinary leading up to the crash? If in doubt, paste the messages back to the forum. If it’s a lot, use Pastebin.com and post the link.

Thanks for the replies guys.
Everything is updated on my laptop, usually when new updates come out, I install them right away.

There are indeed some errors in the messages log:


Oct  5 11:54:44 linux-fmr3 kernel:    23.077096] type=1503 audit(1286286884.076:12): operation="change_hat" info="unconfined" error=-1 pid=1420
Oct  5 11:54:44 linux-fmr3 kernel:    23.077134] type=1503 audit(1286286884.076:13): operation="change_hat" info="unconfined" error=-1 pid=1420

And another error I saw in the log


Oct  2 15:31:01 linux kernel:    43.485866] sr 1:0:0:0: [sr0] Unhandled sense code
Oct  2 15:31:01 linux kernel:    43.485876] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct  2 15:31:01 linux kernel:    43.485888] sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Oct  2 15:31:01 linux kernel:    43.485900] sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
Oct  2 15:31:01 linux kernel:    43.485914] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 e5 6e 00 00 01 00
Oct  2 15:31:01 linux kernel:    43.485938] end_request: I/O error, dev sr0, sector 234936
Oct  2 15:31:01 linux kernel:    43.485948] Buffer I/O error on device sr0, logical block 58734
Oct  2 15:31:04 linux kernel:    46.569625] sr 1:0:0:0: [sr0] Unhandled sense code
Oct  2 15:31:04 linux kernel:    46.569635] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct  2 15:31:04 linux kernel:    46.569646] sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Oct  2 15:31:04 linux kernel:    46.569658] sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
Oct  2 15:31:04 linux kernel:    46.569671] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 e5 6e 00 00 01 00
Oct  2 15:31:04 linux kernel:    46.569695] end_request: I/O error, dev sr0, sector 234936
Oct  2 15:31:04 linux kernel:    46.569705] Buffer I/O error on device sr0, logical block 58734
Oct  2 15:31:07 linux kernel:    49.655591] sr 1:0:0:0: [sr0] Unhandled sense code
Oct  2 15:31:07 linux kernel:    49.655600] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct  2 15:31:07 linux kernel:    49.655610] sr 1:0:0:0: [sr0] Sense Key : Medium Error [current] 
Oct  2 15:31:07 linux kernel:    49.655622] sr 1:0:0:0: [sr0] Add. Sense: Unrecovered read error
Oct  2 15:31:07 linux kernel:    49.655635] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 e5 6e 00 00 01 00

I’m not sure if these errors are related to the crashes, because in the meantime I forgot when these errors occurred. It seems odd that I get the sr0 errors though, since that is the CD drive right? I haven’t inserted any disk since I last installed suse.

It has been a while since I’ve had a crash, so I’ll just have to wait or see if I can force it by opening a couple of programs or something. I’ll keep you updated…

What was the time of the crash on Oct 2? Anytime near 15:31? If not, I think those errors may be normal, since there is no disk in the drive.