Subject: kern/28514: READ_FORMAT_CAPACITIES reply has 32-bit block count
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jpk@panix.com>
List: netbsd-bugs
Date: 12/02/2004 21:21:00
>Number:         28514
>Category:       kern
>Synopsis:       problems using 2.8TB Apple Xserve-RAID w/ NetBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 02 21:21:00 +0000 2004
>Originator:     jpk@panix.com
>Release:        NetBSD 2.99.10
>Organization:
        
>Environment:
System: NetBSD chc019 2.99.10 NetBSD 2.99.10 (GENERIC) #0: Wed Nov 24 11:45:53 EST 2004 root@club-unix:/usr/src/20041124/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When an Apple Xserve-RAID 2.8TB is plugged into an LSILogic
LSI7202XP-LC fibre channel PCI-X card, the resulting drive, sd0, does
not work and gives the following error:
sd0(mpt0:0:0:0):  Check Condition on CDB: 0x23 00 00 00 00 00 00 00 0c
00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code


>How-To-Repeat:
boot a system with above configuration

>Fix:
thorej suggested:
It might require our sd driver to issue a different command to read the
capacity, because the READ_FORMAT_CAPACITIES reply only has a 32-bit
block count.