blkid -> attempt to access beyond end of device if start sector is > 128

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

We have i.Mx35 based embedded system running Linux 4.14.  The distribution
is built using yocto (rocko branch).  Before we moved on to Linux 4.14 we
used Linux 2.6, distribution was again built using yocto(danny branch).
After upgrade to rocko and linux 4.14, we see some error messages on the
console on executing blkid.  These messages appear for the SD card.  Error
messages appear only if SD Card is mounted and if the start sector for sd
card is 129 or more,  doesnt appear is start sector is 128 or less.

Error Message:
root@ebboard:~# blkid
[ 8707.475004] attempt to access beyond end of device
[ 8707.479894] unknown-block(179,0): rw=0, want=1953793, limit=1953792
[ 8707.488054] Buffer I/O error on dev mmcblk0p1, logical block 244207,
async page read

fdisk output:
root@ebboard:~# fdisk -ul

Disk /dev/mmcblk0: 1000 MB, 1000341504 bytes
4 heads, 16 sectors/track, 30528 cylinders, total 1953792 sectors
Units = sectors of 1 * 512 = 512 bytes

         Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1             129     1953791      976831+  6 FAT16

If anyone has any idea as to why these warnings are printed depending on
whether the start sector is > 128  would be very much helpful.  Thanks.

Regards
Nikhil
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux