dosfslabel stops with "Seek to 12345678: invalid argument" on FAT32 volumes

Bug #794943 reported by Andreas Heinlein
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dosfstools (Fedora)
Fix Released
Medium
dosfstools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dosfstools

dosfslabel stops with the error: "Seek to 12345678: invalid argument" (numbers vary, even among several attempts on the same device).

Bug has already been reported and fixed in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=693662), but obviously not upstream. Bug is also present in Debian up to experimental. The patch attached to above report works for me on natty (dosfstools-3.0.9), but not on lucid (dosfstools-3.0.7).

I have converted the patch to a dpatch and attached it.

Please send this one upstream (again) and to debian as well.

Tags: patch

Related branches

Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

--- Additional comment from <email address hidden> on 2011-04-05 11:07:20 CEST ---

It seems to be broken for a while on FAT32. Cloned to all Fedoras and sent patch upstream.

Reproducer:
# dd if=/dev/zero of=/tmp/img bs=512 count=200k
# mkdosfs -F 32 /tmp/img
# dosfslabel /tmp/img test

--- Additional comment from <email address hidden> on 2011-04-05 11:08:21 CEST ---

Created attachment 489943
Proposed patch

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

dosfstools-3.0.11-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/dosfstools-3.0.11-4.fc15

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

dosfstools-3.0.9-6.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/dosfstools-3.0.9-6.fc14

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

dosfstools-3.0.9-5.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/dosfstools-3.0.9-5.fc13

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package dosfstools-3.0.11-4.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dosfstools-3.0.11-4.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/dosfstools-3.0.11-4.fc15
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

dosfstools-3.0.11-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
Andreas Heinlein (aheinlein) wrote :
tags: added: patch
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

dosfstools-3.0.9-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dosfstools - 3.0.9-1ubuntu3

---------------
dosfstools (3.0.9-1ubuntu3) oneiric; urgency=low

  * Apply patch from Jaroslav Škarvada <email address hidden> to resolve
    an error thrown by dosfslabel when trying to label. (LP: #794943)
    https://bugzilla.redhat.com/show_bug.cgi?id=693662
 -- Daniel T Chen <email address hidden> Sat, 20 Aug 2011 16:27:45 -0400

Changed in dosfstools (Ubuntu):
status: New → Fix Released
Revision history for this message
Gastón (givanse) wrote :

This bug is showing up again in:
$ dosfsck -v
dosfsck 3.0.16 (01 Mar 2013)

Changed in dosfstools (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
geole0 (geole0) wrote :

hello
the problem is not solved in ubuntu. See this return for an EFI partition

fsck.fat 4.1 (2017-01-24)
Checking we can access the last sector of the filesystem
Seek to 536870400:Argument invalide

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.