Description of problem: ioctl on HP Smart Array 532 returns an error when querying sector size. This essentially means that the installation of Oracle 10g with Automatic Storage Management fails. This has also been raised with Oracle Version-Release number of selected component (if applicable): Linux version 2.4.21-20.ELsmp (bhcompile.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)) #1 SMP Wed Aug 18 20:46:40 EDT 2004 How reproducible: Always reproducible Steps to Reproduce: # blockdev --getsize /dev/cciss/c0d2 71130720 # blockdev --getss /dev/cciss/c0d2 BLKSSZGET: Invalid request code Actual results: # blockdev --getss /dev/cciss/c0d2 BLKSSZGET: Invalid request code Expected results: # blockdev --getss /dev/cciss/c0d2 512 Additional info:
Notes : This behaviour is reproducible on all ES3 releases (to update 3) and also on vanilla 2.4 kernels (to 2.4.27) We have installed a test 2.6.9 kernel on this hardware, This detects and reports the blockdev information correctly.
May possibly be related to Bugzilla Feature #109881 - this "bug" was EL 2.1 related and it was stated that the same issue didn't affect EL 3 - It certainly seems similar and the test code supplied to reproduce the problem on EL 2.1 certainly appears to imply the bug still exists in EL 3.
Created attachment 106014 [details] Removes duplicate BLKBSZGET and adds BLKSSZGET This patch applies to 2.4.21-21.EL
A fix for this problem has just been committed to the RHEL3 U4 patch pool this evening (in kernel version 2.4.21-24.EL).
An errata 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 the 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-2004-505.html
An errata 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 the 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-2004-504.html
This bug was inappropriately listed in the above 2.1 Errata (listed above), and thus should not have yet been closed. I'm reverting it to MODIFIED state until the RHEL3 Erratum is released (which should be in a week).
An errata 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 the 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/RHBA-2004-550.html