Comment 9 for bug 1475166

Revision history for this message
Adi Gangidi (adi-gangidi) wrote :

Hello Chris

Hi from Adi

Here is a update on my findings from 15.04 PPC64LE Live image:

I tried latest driver from avago 06.809.16. Preliminary every thing looked okay: Creating, deleting and accessing RAID0 volume.

However, coming to particular error that we are facing that: 15.04 Ubuntu Disk Install blocked on Avago RAID Disk. That error,from logs and console messages, has to do with mounting ext4 file system on Avago Raid Disk. But as you can imagine it’s a bit hard to reproduce this full install and debug. So I tried to reproduce that specific part of mounting in live image with newest driver.

So basically I focussed to pin point on what’s causing that error:

a)I created a partition on raid disk (from Avago) with ext4.
b)Tried to mount the ext4

Doing so returns an I/O error, even in live image with Avago’s latest driver . I pasted the commands below: and DMESG error at extreme bottom:

Procedure to reproduce this error:

To make it more simple to reproduce and debug: I booted to a Live Ubuntu OS PPC64LE 15.04 Version:

And executed the following commands:

storcli64 /c0 /vall del force (delete virtual disk)

storcli64 /c0 add vd type=r0 drives=252:0-3 (Create new v drive)

storcli64 /c0 /vall start init force (Initiate the v drive)

root@ubuntu:/# fdisk /dev/sda

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/sda: 3.5 TiB, 3838627020800 bytes, 7497318400 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
Disklabel type: gpt
Disk identifier: C6F3B670-24BB-49AE-8AA3-FB05B7E8D6A9

Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-7497318366, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-7497318366, default 7497318366):

Created a new partition 1 of type 'Linux filesystem' and of size 3.5 TiB.

Command (m for help): p
Disk /dev/sda: 3.5 TiB, 3838627020800 bytes, 7497318400 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
Disklabel type: gpt
Disk identifier: C6F3B670-24BB-49AE-8AA3-FB05B7E8D6A9

Device Start End Sectors Size Type
/dev/sda1 2048 7497318366 7497316319 3.5T Linux filesystem

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

root@ubuntu:/# fdisk -l

Disk /dev/loop0: 342.8 MiB, 359481344 bytes, 702112 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 /dev/sdb: 3.8 GiB, 4037017600 bytes, 7884800 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
Disklabel type: gpt
Disk identifier: 653C790A-3C1F-4FE3-8E11-2E894CE92681

Device Start End Sectors Size Type
/dev/sdb1 34 15659 15626 7.6M Linux filesystem
/dev/sdb2 15660 2634800 2619141 1.3G Linux filesystem
/dev/sdb3 2634801 3017613 382813 186.9M Linux swap
/dev/sdb4 3017614 7884766 4867153 2.3G Linux filesystem

Disk /dev/sda: 3.5 TiB, 3838627020800 bytes, 7497318400 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
Disklabel type: gpt
Disk identifier: C6F3B670-24BB-49AE-8AA3-FB05B7E8D6A9

Device Start End Sectors Size Type
/dev/sda1 2048 7497318366 7497316319 3.5T Linux filesystem

root@ubuntu:/# mke2fs -t ext4 /dev/sda1
mke2fs 1.42.12 (29-Aug-2014)
Creating filesystem with 937164528 4k blocks and 234291200 inodes
Filesystem UUID: 969d84bc-9c73-471c-9923-35bba1abd650
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

root@ubuntu:/# mount /dev/sda1 /storage
root@ubuntu:/#
root@ubuntu:/#
root@ubuntu:/# [ 4914.483029] sda1: WRITE SAME failed. Manually zeroing.

[ 4914.523043] blk_update_request: I/O error, dev sda, sector 10512

DMESG error:

[ 4727.136629] sda:
[ 4881.211050] sda: sda1
[ 4911.205539] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 4914.483029] sda1: WRITE SAME failed. Manually zeroing.
[ 4914.483254] megasas: FW status 0x3
[ 4914.490970] megasas: FW status 0x3
[ 4914.498966] megasas: FW status 0x3
[ 4914.506966] megasas: FW status 0x3
[ 4914.514966] megasas: FW status 0x3
[ 4914.522968] megasas: FW status 0x3
[ 4914.523017] sd 0:2:0:0: [sda] FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 4914.523023] sd 0:2:0:0: [sda] CDB:
[ 4914.523027] Write(16): 8a 00 00 00 00 00 00 00 29 10 00 00 0f f8 00 00
[ 4914.523043] blk_update_request: I/O error, dev sda, sector 10512

Thanks
Adi