NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/47302: isp: bad handle on teardown



>Number:         47302
>Category:       kern
>Synopsis:       isp: bad handle on teardown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 10 02:35:00 +0000 2012
>Originator:     Steven Chamberlain
>Release:        NetBSD 6.0
>Organization:
>Environment:
NetBSD xenolith.pyro.eu.org 6.0 NetBSD 6.0 (XEN3_DOM0) amd64
>Description:
I cannot properly access FC-AL devices attached to a QLogic ISP2100 PCI-X card. 
 Even `scsictl sd4 identify` only returns blank information, e.g.:

/dev/rsd4d: scsibus1 target 0 lun 0 <, , >

The errors below are logged in dmesg.  Crucially, I notice that when I retry 
the SCSI IDENTIFY command, the value of 'handle' keeps incrementing, wraps 
around past 0xfffe2000, presumably back to 0x00002000 and then it succeeds 
exactly once, e.g.:

isp0: isp_handle_index: bad handle 0xfffa2000
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
sd4(isp0:0:0:0): bad handle on teardown
isp0: isp_handle_index: bad handle 0xfffc2000
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
sd4(isp0:0:0:0): bad handle on teardown
isp0: isp_handle_index: bad handle 0xfffe2000
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
sd4(isp0:0:0:0): bad handle on teardown
/dev/rsd4d: scsibus1 target 0 lun 0 <SEAGATE, STT34007 CLAR400, C003>
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
isp0: isp_handle_index: bad handle 0x22000
sd4(isp0:0:0:0): bad handle on teardown
isp0: isp_handle_index: bad handle 0x42000
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
sd4(isp0:0:0:0): bad handle on teardown
isp0: isp_handle_index: bad handle 0x62000
/dev/rsd4d: scsibus1 target 0 lun 0 <, , >
sd4(isp0:0:0:0): bad handle on teardown
>How-To-Repeat:

>Fix:
My guess would be that this card doesn't support 32-bit handles.  When I can, I 
should either test the card on NetBSD 5.0, or rebuild the kernel of NetBSD 6.0 
with the recent changes reverted, or even try instead with an ISP2312 I have.



Home | Main Index | Thread Index | Old Index