Fwd: strace output

Waldo Bastian bastian at kde.org
Wed Apr 10 00:26:04 BST 2002


The relevant part of the strace is:

stat64("/mnt/floppy",

Which seems to hang, a problem similar to this has been discussed on kfm-devel 
recently, although I'm not sure what the outcome was. The strace is 
interesting because earlier on in the strace it reads:

stat64("/mnt/floppy", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0

Maybe we fail to detect that "/mn/floppy" is a (slow) mounted filesystem 
because it wasn't mounted at some point in time? It seems like a KDirWatch is 
active on /mnt/floppy.

The actual mount/unmount actions are handled by the io-slave so they won't 
show up in the strace of the konqueror process.

Nonetheless, the fact that it hangs on a stat system call suggests that there 
is a problem at the kernel level.

Cheers,
Waldo

On Saturday 06 April 2002 11:54 am, Martijn Klingens wrote:
> Waldo,
>
> Marco has a problem with copying files to a mounted floppy in KDE 2.2, but
> not when copying between harddisks. As I have no idea how to interpret
> straces it is now a bit difficult for me to help him any further.
>
> Also, I have no idea wheather this is or might be fixed in KDE 3, or if the
> bug is still there. The initial and the last mail of our conversation are
> below.
>
> Could you be of any help here? Or should he just update to KDE 3 ?
>
> ----------  Forwarded Message  ----------
>
> Subject: FLOPPY bug - copying dirs to floppy hangs everything
> Date: Sat, 6 Apr 2002 17:46:42 +0200
> From: Marco Zanon <info at marcozanon.com>
> To: Martijn Klingens <mklingens at yahoo.com>
>
> Hello,
>
> I tried to submit this bug via web, but says I don't have KDE 3.0
> so cannot proceed :(
>
> My problem is the following. (I'm using Mandrake 8.2 with kernel
> 2.4.18 and KDE 2.2.2).
> When I copy a big directory (say, $HOME/evolution, without emails
> in it but with lots of config files) to /mnt/floppy the system
> hangs when it comes about 30% of the whole job (dir 11, file
> 7/36).
> The same DOES NOT happen when using "cp" in console or the "XWC"
> file manager, so it's not a kernel- but a KDE-problem.
>
> Reading dirs/files or even deleting dirs seems to work good.
>
> My floppy drive is an FDC type, I think it's an LG model.
> Boot options for Linux are ide=nodma, floppy=nodma.
>
> Do I have to report some logs, and which?
>
> thanks :)
>
> Marco Zanon [http://www.marcozanon.com]
>
> -------------------------------------------------------
>
> ----------  Forwarded Message  ----------
>
> Subject: strace output
> Date: Sat, 6 Apr 2002 20:59:19 +0200
> From: Marco Zanon <info at marcozanon.com>
> To: Martijn Klingens <mklingens at yahoo.com>
>
> This is the strace output (strace konqueror &> output.txt), I
> hope it's useful in some way...
>
> And, there were no problems copying that very same folder between
> hard disks or to the /tmp directory... I also noticed that the
> process always freezes the system on dir 11/12 file 7/36, but
> this file is not always the same (sometimes it's a Trash file,
> others it's a filters.xml, and so on)...
>
> thanks :)
>
> Marco Zanon [http://www.marcozanon.com]
>
> -------------------------------------------------------

-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kfm-devel mailing list