Bug 4350

Summary: [mpc8315e-rdb] "EXT3-fs (sda4): error: unable to read superblock" in dmesg
Product: [Build System, Metadata & Runtime] BSPs Reporter: Yi Zhao <yi.zhao>
Component: bsps-meta-yoctoAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bruce.ashfield, ke.zou, ning.zhang
Version: 1.4   
Target Milestone: 1.4.1   
Hardware: mpc8315e-rdb   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2013-04-19 09:37:23 UTC
Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130418-1/
Git rev: dylan/789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4

The mpc8315e-rdb has a sata disk. If I create an extended partition (sda4) on the disk, when system boot, there is an error message in dmesg:

###############
root@mpc8315e-rdb:~# dmesg | grep error
EXT3-fs (sda4): error: unable to read superblock
EXT2-fs (sda4): error: unable to read superblock
root@mpc8315e-rdb:~# 
###############

##############
root@mpc8315e-rdb:~# fdisk -l /dev/sda

Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 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: 0x09b10400

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    83888127    41943040   83  Linux
/dev/sda2        83888128   167774207    41943040   83  Linux
/dev/sda3       167774208   251660287    41943040   83  Linux
/dev/sda4       251660288   312581807    30460760    5  Extended
/dev/sda5       251662336   312581807    30459736   83  Linux
root@mpc8315e-rdb:~# 
##############
Comment 1 Saul Wold 2013-04-29 15:18:41 UTC
I believe that this patch should fix the below issue.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6a7aa9cac2fc128ffc9ea4416426335e06db345a
Comment 2 Ke Zou 2013-06-19 08:01:06 UTC
Verified in 20130612-5 build
Image location:  http://autobuilder.yoctoproject.org/pub/nightly/20130612-5/
Git rev dylan:73f103bf9b2cdf985464dc53bf4f1cfd71d4531f