BUG: failed to read 524288 bytes from file at 5008523264

172 views
Skip to first unread message

raj...@gmail.com

unread,
Feb 9, 2014, 4:34:02 PM2/9/14
to ex...@googlegroups.com
Hi,

I have an external WD My Passport usb drive on which i have several partitions. One of the partition is an exfat which i am unable to mount

 # fsck.exfat /dev/sdb5
exfatfsck 1.0.1
WARN: volume was not unmounted cleanly.
Checking file system on /dev/sdb5.
File system version           1.0
Sector size                 512 bytes
Cluster size                512 KB
Volume size                1377 GB
Used space                  243 GB
Available space            1133 GB
BUG: failed to read 524288 bytes from file at 5008523264.
Aborted (core dumped)


#fdisk -l /dev/sdb

Disk /dev/sdb: 1500.3 GB, 1500267937792 bytes
224 heads, 19 sectors/track, 688489 cylinders, total 2930210816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006b3b4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          19      195775       97878+  83  Linux
/dev/sdb3          196608    43159551    21481472   83  Linux
/dev/sdb4        43161600  2930210815  1443524608    5  Extended
/dev/sdb5        43164371    52931871     4883750+  83  Linux
/dev/sdb6        52931891  2930210815  1438639462+  83  Linux

What might be the reason for the error? I tried to use the disk on a windows machine but it doesnt see the exfat partition.

Thanks

Andrew Nayenko

unread,
Feb 10, 2014, 1:43:26 AM2/10/14
to raj...@gmail.com, exfat
Hi,

> BUG: failed to read 524288 bytes from file at 5008523264.
> Aborted (core dumped)

This misleading message usually means hardware failure. Do you have
any I/O errors in dmesg?

--
Andrew Nayenko <res...@gmail.com>

Rajil Saraswat

unread,
Feb 10, 2014, 1:03:26 PM2/10/14
to Andrew Nayenko, exfat


On Feb 10, 2014 12:43 AM, "Andrew Nayenko" <res...@gmail.com> wrote:
>
> Hi,
>
> > BUG: failed to read 524288 bytes from file at 5008523264.
> > Aborted (core dumped)
>
> This misleading message usually means hardware failure. Do you have
> any I/O errors in dmesg?
>
> --

No, there are no errors in dmesg. The other ext4 partitions on the drive are working ok.

Andrew Nayenko

unread,
Feb 10, 2014, 1:22:06 PM2/10/14
to ex...@googlegroups.com, raj...@gmail.com

> No, there are no errors in dmesg. The other ext4 partitions on the drive are working ok.

Could you provide a backtrace please?

--
Andrew Nayenko <res...@gmail.com>

Rajil Saraswat

unread,
Feb 10, 2014, 9:21:11 PM2/10/14
to Andrew Nayenko, ex...@googlegroups.com


On Feb 10, 2014 12:22 PM, "Andrew Nayenko" <res...@gmail.com> wrote:
>
> > No, there are no errors in dmesg. The other ext4 partitions on the drive are working ok.
>
> Could you provide a backtrace please?
>
> --

Are there any debug packages available for back trace on Linux Mint?

Cheers
Rajil

Andrew Nayenko

unread,
Feb 12, 2014, 3:44:47 AM2/12/14
to Rajil Saraswat, exfat
>> Could you provide a backtrace please?
>
> Are there any debug packages available for back trace on Linux Mint?

No idea, I've never worked with Mint. You can just compile from
source. AFAIK Mint is Debian-based, right? So you'll need to install
some development packages:
sudo apt-get install subversion scons libfuse-dev gcc
and then get the source and compile the project:
svn co https://exfat.googlecode.com/svn/branches/v1.0.x exfat-1.0
cd exfat-1.0
scons
run under debugger:
sudo gdb fsck/exfatfsck
r /dev/sdb5
bt
The last command (bt) will show the backtrace. Please send me the output.

--
Andrew Nayenko <res...@gmail.com>
Reply all
Reply to author
Forward
0 new messages