[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Deactivate preview for usb devices
From:       Michael Szafranek <michsza () gmx ! de>
Date:       2009-12-20 15:57:24
Message-ID: 200912201657.24897.michsza () gmx ! de
[Download RAW message or body]

Am 20. Dezember 2009 14:06:12 schrieb Michael Szafranek:
> Am 19. Dezember 2009 13:02:53 schrieb Matteo Agostinelli:
> > On Saturday 19 December 2009 11:54:18 Michael Szafranek wrote:
> > > Hey folks,
> > >
> > > having a problem with  my USB devices with vfat and KDE4. When I mount
> > > a device it blocks the complete system for about 1-2 minutes.
> > > Especially when mounting  the device via Dolphin. After some
> > > investigation I found the deactivating preview improves performance
> > > nevertheless it takes a lot of time to open folders. USB devices with
> > > ext3 have a better performance so it seams it is a vfat specific
> > > problem.
> > >
> > > Does anyone has a idea how to solve this problem? I would prefer using
> > > the preview feature also on usb devices but performance is more
> > > important.
> > >
> > > Ah, I'm using KDE 4.3.4 with Arch Linux.
> > >
> > > Greetings
> > >
> > > Michael
> > >
> > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > > >> unsubscribe <<
> >
> > I had a similar problem with KDE 4.3.4 with Arch Linux. In my case, the
> > slowdown was caused by Nepomuk. I solved it by changing the backend from
> > redland (which was the default in my case) to sesame2.
> >
> > Have a look at this thread:
> > http://bbs.archlinux.org/viewtopic.php?id=54581
> >
> > Hope this helps,
> > Matteo
> 
> Bad luck, this did not help.  I also deactivated nepomuk completly but no
> change at all. It is not a problem with the cpu usage which is at about 1-3
> percent.
> 
> I forgot to mention that plasma-desktop is also not repsonsive. But using
> other programs works find, but I have to use alt-tab to switch them.
> 
> Dmesg gives me this output after some time:
> 
> INFO: task plasma-desktop:9624 blocked for more than 120 seconds.
> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> plasma-deskto D 4c315893     0  9624      1 0x00000000
>  f73e4620 00000082 c1106124 4c315893 ce63be1c f1896c00 c10fc6f0 4c315893
>  c13115c0 e39c8380 ce63be78 c1489140 c1489140 f73e47c8 c1484744 f5560c40
>  c110db43 f73e47c8 c1489140 c1489140 002f952e 00000001 c10fefbb f73e4620
> Call Trace:
>  [<c1106124>] ? dput+0x94/0x150
>  [<c10fc6f0>] ? __follow_mount+0x30/0xa0
>  [<c110db43>] ? mntput_no_expire+0x23/0x100
>  [<c10fefbb>] ? __link_path_walk+0x6db/0xd50
>  [<c1306d62>] ? __mutex_lock_slowpath+0x112/0x2e0
>  [<c1306f48>] ? mutex_lock+0x18/0x40
>  [<f83b8d51>] ? fat_count_free_clusters+0x31/0x2d0 [fat]
>  [<c10ff8a1>] ? do_path_lookup+0x41/0xb0
>  [<c11005cb>] ? user_path_at+0x5b/0xa0
>  [<c110db43>] ? mntput_no_expire+0x23/0x100
>  [<f83bbba5>] ? fat_statfs+0xe5/0x100 [fat]
>  [<c10f193d>] ? vfs_statfs+0x7d/0xa0
>  [<c10f1b03>] ? sys_statfs64+0xb3/0x100
>  [<c10f7603>] ? sys_lstat64+0x33/0x60
>  [<c1003cb3>] ? sysenter_do_call+0x12/0x28
> INFO: task dolphin:9712 blocked for more than 120 seconds.
> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> dolphin       D 82d32928     0  9712      1 0x00000000
>  f64e9080 00200086 c1106124 82d32928 d0069e1c f1896c00 c10fc6f0 82d32928
>  d0069e08 f73de1c0 000009b9 c1489140 c1489140 f64e9228 c1484744 aa4a9a38
>  000009b9 f64e9228 c1489140 c1489140 f5560c40 00000000 c10fefbb c10fc6f0
> Call Trace:
>  [<c1106124>] ? dput+0x94/0x150
>  [<c10fc6f0>] ? __follow_mount+0x30/0xa0
>  [<c10fefbb>] ? __link_path_walk+0x6db/0xd50
>  [<c10fc6f0>] ? __follow_mount+0x30/0xa0
>  [<c1306d62>] ? __mutex_lock_slowpath+0x112/0x2e0
>  [<c1306f48>] ? mutex_lock+0x18/0x40
>  [<f83b8d51>] ? fat_count_free_clusters+0x31/0x2d0 [fat]
>  [<c10ff8a1>] ? do_path_lookup+0x41/0xb0
>  [<c11005cb>] ? user_path_at+0x5b/0xa0
>  [<c110db43>] ? mntput_no_expire+0x23/0x100
>  [<f83bbba5>] ? fat_statfs+0xe5/0x100 [fat]
>  [<c10f193d>] ? vfs_statfs+0x7d/0xa0
>  [<c10f1b03>] ? sys_statfs64+0xb3/0x100
>  [<c10f7603>] ? sys_lstat64+0x33/0x60
>  [<c1003cb3>] ? sysenter_do_call+0x12/0x28
> 
> Perhaps this helps in a way...
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
> 

Seams not to be a problem with KDE. After unloading module ehci_hcd and 
replacing by uhci_hcd everything works fine. Unfortunetly this means to have 
only USB 1.0 support.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic