This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with SD card on OMAP L138 EVM

Hi,

I have plugged Transcend 4GB Class-6 SDHC card to L138 EVM. Card is detected properly. I am getting errors when I tried to create partitions on SD card using fdisk utility.  I am using Linux version 2.6.33-rc4.

Please find complete error log below:

==================================================================

 root@da850-omapl138-evm:~#
root@da850-omapl138-evm:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 123168.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/mmcblk0: 4035 MB, 4035969024 bytes
4 heads, 16 sectors/track, 123168 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

Command (m for help): q

root@da850-omapl138-evm:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 123168.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/mmcblk0: 4035 MB, 4035969024 bytes
4 heads, 16 sectors/track, 123168 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-123168, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-123168, default 123168): 3200

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (3201-123168, default 3201):
Using default value 3201
Last cylinder, +cylinders or +size{K,M,G} (3201-123168, default 123168): 35200

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (35201-123168, default 35201):
Using default value 35201
Last cylinder, +cylinders or +size{K,M,G} (35201-123168, default 123168):
Using default value 123168

Command (m for help): w
The partition table has been altered!

Calling ioctl() mmcblk0:to re-read parti p1tion table.
p2 p3
Syncing disks.
mmcblk0: retrying using single block read
mmcblk0: error -110 transferring data, sector 48, nr 64, card status 0xb00
end_request: I/O error, dev mmcblk0, sector 48
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 49
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 50
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 51
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 52
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 53
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 54
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 55
Buffer I/O error on device mmcblk0p1, logical block 4
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 56
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 57
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 58
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 59
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 60
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 61
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 62
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 63
Buffer I/O error on device mmcblk0p1, logical block 5
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 64
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 65
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 66
Buffer I/O error on device mmcblk0p1, logical block 6
EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (4)
JBD: no valid journal superblock found
EXT3-fs (mmcblk0p2): error loading journal
mmcblk0: retrying using single block read
mmcblk0: error -110 transferring data, sector 204802, nr 2, card status 0xb00
end_request: I/O error, dev mmcblk0, sector 204802
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204803
EXT3-fs (mmcblk0p2): error: unable to read superblock
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 2252800
FAT: unable to read boot sector
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 16
FAT: unable to read boot sector
mmcblk0: retrying using single block read
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204802
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204803
EXT2-fs (mmcblk0p2): error: unable to read superblock
mmcblk0: retrying using single block read
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 2252802
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 2252803
EXT2-fs (mmcblk0p3): error: unable to read superblock
mmcblk0: retrying using single block read
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 18
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 19
EXT2-fs (mmcblk0p1): error: unable to read superblock
mmcblk0: retrying using single block read
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204800
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204801
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204802
mmcblk0: error -110 sending read/write command, response 0x0, card status 0x400b00
end_request: I/O error, dev mmcblk0, sector 204803
Buffer I/O error on device mmcblk0p2, logical block 0
EXT3-fs (mmcblk0p1): warning: mounting fs with errors, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p3): using internal journal
EXT3-fs (mmcblk0p3):
kjournald starting. Commit interval 5 seconds

mounted filesystem with writeback data mode
EXT3-fs (mmcblk0p1):
using internal journal
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
root@da850-omapl138-evm:~#

============================================================================

Please help me to find out the problem.

Regards,

Dilip