← Back to team overview

kernel-packages team mailing list archive

[Bug 1475166] Re: Ubuntu 15.04 Install Error with Avago Controller

 

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1475166

Title:
  Ubuntu 15.04 Install Error with Avago Controller

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hello Canonical Team

  We are running to an issue installing ubuntu PPC64LE 15.04 full blown
  image on our servers  (with RAID controller).  Installation hangs
  around 70% of progress.

  An important part of our configuration is Avago RAID controller:
  9361-8i Firmware version we used is 4.300.00-4429, and the package is
  24.10.0-0002.

  IMPORTANT: It has to be noted that with same hardware configuration
  14.10 full blown image installs fine.

  Dmesg logs are attached:

  Looking at dmesg logs point out that:
  LSI (avago) driver loads fine
  During further interaction with raid volume during the installation process, firmware errors are seen 
  [  196.991417] megasas: FW status 0x3

  [  196.999376] megasas: FW status 0x3

  [  197.007376] megasas: FW status 0x3
  Further down the  process I/O errors are thrown
  [  217.438664] Buffer I/O error on device sda2, logical block 22052864

  [  217.438671] Buffer I/O error on device sda2, logical block 22052865

  [  217.438678] Buffer I/O error on device sda2, logical block 22052866

  [  217.438686] Buffer I/O error on device sda2, logical block 22052867

  Full dmesg log is attached. Snippet is pasted below highlighting:

  It can be noted that there’s a Mellanox Connectx 3 pro card with some test Firmware on our setup. 
  We can Ignore any diagnostic messages from that card in dmesg logs for the purpose of this bug. 

  Thanks
  Adi Gangidi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1475166/+subscriptions


References