Bug#220457: nautilus: "invalid parameters" while copying to floppy

Jan Nieuwenhuizen Jan Nieuwenhuizen <janneke@gnu.org>, 220457@bugs.debian.org
Wed, 12 Nov 2003 21:04:03 +0100


Package: nautilus
Version: 2.4.1-3
Severity: normal
Tags: sid


When trying to copy a file using drag and drop from ~/Desktop to
/floppy:

    /dev/sda on /floppy type msdos (rw,noexec,nosuid,nodev,user=janneke)
    Linux oliebij 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686 GNU/Linux

there's a popup that says:

    Error: "invalid parameters" while copying.

    Would you like to continue? 
    [Skip]* [Cancel] [Retry]

and the file does not get copied.  The file can be copied in from a shell.

I notice a similar problem report in the archives of the nautilus list
last December:

    http://mail.gnome.org/archives/nautilus-list/2002-December/msg00125.html

but the thread stops short of a solution.  The strace says:

    $ grep -B2 EINVAL natuilus.trace
    00:09:11.767397 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 10
    00:09:11.767592 fstat64(10, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
    00:09:11.767768 ioctl(10, TCGETS, 0xbffff500) = -1 EINVAL (Invalid argument)
    --
    00:09:13.368039 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 23
    00:09:13.368315 fstat64(23, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
    00:09:13.368522 ioctl(23, TCGETS, 0xbfffe7d0) = -1 EINVAL (Invalid argument)

    $ ls -l /dev/ram9 /dev/urandom
    brw-rw----    1 root     disk       1,   9 Sep 22 22:12 /dev/ram9
    cr--r--r--    1 root     root       1,   9 Nov 10 17:39 /dev/urandom

    $ groups
    janneke adm disk dialout voice cdrom floppy audio

It seems that nautilus would need a rebuild, so I decided to try that
first, but it seems not possible at this point:

    $ sudo apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    $ sudo apt-get build-dep nautilus
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Some broken packages were found while trying to process build-dependencies for nautilus.
    You might want to run `apt-get -f install' to correct these.


Jan.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux oliebij 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages nautilus depends on:
ii  libart-2.0-2                2.3.16-1     Library of functions for 2D graphi
ii  libatk1.0-0                 1.4.1-1      The ATK accessibility toolkit
ii  libaudiofile0               0.2.3-4      The Audiofile Library
ii  libbonobo2-0                2.4.1-3      Bonobo CORBA interfaces library
ii  libbonoboui2-0              2.4.0-4      The Bonobo UI library
ii  libbz2-1.0                  1.0.2-1      A high-quality block-sorting file 
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libeel2-2                   2.4.1-2      Eazel Extensions Library (for GNOM
ii  libesd0                     0.2.29-1     Enlightened Sound Daemon - Shared 
ii  libgail-common              1.4.1-1      GNOME Accessibility Implementation
ii  libgail17                   1.4.1-1      GNOME Accessibility Implementation
ii  libgconf2-4                 2.4.0.1-2    GNOME configuration database syste
ii  libgcrypt1                  1.1.12-4     LGPL Crypto library - runtime libr
ii  libglade2-0                 2.0.1-6      Library to load .glade files at ru
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines
ii  libgnome-desktop-2          2.4.1-3      Utility library for loading .deskt
ii  libgnome2-0                 2.4.0-4      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0           2.4.0-1      A powerful object-oriented display
ii  libgnomeui-0                2.4.0.1-5    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              2.4.1-4      The GNOME virtual file-system libr
ii  libgnomevfs2-common         2.4.1-4      The GNOME virtual file-system libr
ii  libgnutls7                  0.8.12-2     GNU TLS library - runtime library
ii  libgsf-1                    1.8.2-5      Structured File Library - runtime 
ii  libgtk2.0-0                 2.2.4-2      The GTK+ graphical user interface 
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libnautilus2-2              2.4.1-3      libraries for nautilus components 
ii  liborbit2                   1:2.8.2-1    Libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.2.5-2      Layout and rendering of internatio
ii  libpopt0                    1.7-3        lib for parsing cmdline parameters
ii  librsvg2-2                  2.4.0-3      SAX-based renderer library for SVG
ii  libstartup-notification0    0.5-4        library for program launch feedbac
ii  libtasn1-0                  0.1.2-1      Manage ASN.1 structures (runtime)
ii  libxml2                     2.6.1-1      GNOME XML library
ii  libxrender1                 0.8.3-4      X Rendering Extension client libra
ii  nautilus-data               2.4.1-3      data files for nautilus
ii  xlibs                       4.2.1-13     X Window System client libraries
ii  zlib1g                      1:1.1.4-16   compression library - runtime

-- no debconf information