Description of problem: After configuring a 10TB LUN into pSeries LPAR I get the following messages on the console and I cannot see the complete LUN. sdb : very big device. try to use READ CAPACITY(16). sdb : READ CAPACITY(16) failed. sdb : status=0, message=00, host=5, driver=00 sdb : use 0xffffffff as device size SCSI device sdb: 4294967296 512-byte hdwr sectors (2199023 MB) [root@kent-p1 ~]# cat /proc/partitions major minor #blocks name ... 8 16 2147483648 sdb Output from IVM virtual storage page: Name,Storage Pool,Assigned Partition,Size,Physical Location Code hdisk2,,basic-p1 (2) basic-p2 (3),9.55 TB,U788C.001.AAA6467-P1-C14-C1-T1-W210000D023ABB2DD-L0 Version-Release number of selected component (if applicable): kernel-2.6.18-150.el5 How reproducible: Every time Steps to Reproduce: 1. Connect a 2TB+ LUN to a pSeries LPAR 2. Check dmesg for detected size of LUN 3. Actual results: LUN is truncated Expected results: LUN should be full size (10TB in this case) Additional info:
------- Comment From ameet.com 2009-05-28 09:28 EDT------- ---Problem Description--- Reverse mirror of Red Hat Bugzilla 502944 to IBM Contact Information = N/A ---Additional Hardware Info--- N/A ---uname output--- Machine Type = PowerPC ---Steps to Reproduce--- ---Not Yet Classified Component Data---
------- Comment From brking.com 2009-05-28 10:13 EDT------- Nate, Can you try the attached patch and see if that fixes the issue for you? Thanks, Brian
Created attachment 345767 [details] [PATCH] ibmvscsi: Add 16 byte CDB support ------- Comment on attachment From brking.com 2009-05-28 10:12 EDT------- Adds support for 16 byte CDBs to the ibmvscsi driver.
The issue appears fixed. I'll run the rest of our tests on this LUN to see if anything else falls out. sdb : very big device. try to use READ CAPACITY(16). SCSI device sdb: 20504608768 512-byte hdwr sectors (10498360 MB)
Proposing for an exception as this can cause other problems, like pyparted exceptions when the 10TB disk as a proper GPT label, but the kernel can't see all 10TB of the disk.
------- Comment From brking.com 2009-05-29 15:48 EDT------- Patch submitted upstream: http://www.spinics.net/lists/linux-scsi/msg36361.html
------- Comment From brking.com 2009-06-12 14:10 EDT------- Patch accepted upstream: http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fbc56f0801f58041a4372a030933bac076b46aad
RKML post: http://post-office.corp.redhat.com/archives/rhkernel-list/2009-June/msg00528.html
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
in kernel-2.6.18-154.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please do NOT transition this bugzilla state to VERIFIED until our QE team has sent specific instructions indicating when to do so. However feel free to provide a comment indicating that this fix has been verified.
Verified that I can see the 10TB LUN with kernel-2.6.18-154.el5.
------- Comment From brking.com 2009-07-23 17:13 EDT------- Verified the fix is in RHEL 5.4 Snap 3.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1243.html