https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279

--- Comment #6 from Peter Eriksson <p...@lysator.liu.se> ---
It now probes targets up to around 373 (but it takes a looong time) or so, and
also detects the SES devices that have been hidden before since it only probed
up to target 63...

ses0 at ciss0 bus 33 scbus2 target 119 lun 0                                    
ses0: <HPE D6020 1.63> Fixed Enclosure Services SPC-4 SCSI device               
ses0: Serial Number 7CE952P06X                                                  
ses0: 135.168MB/s transfers                                                     
ses0: SES Device                                                                

ses1 at ciss0 bus 33 scbus2 target 121 lun 0                                    
ses1: <HPE D6020 1.63> Fixed Enclosure Services SPC-4 SCSI device               
ses1: Serial Number 7CE952P06X                                                  
ses1: 135.168MB/s transfers                                                     
ses1: SES Device                      

Due to the probing taking a loong time I also see timeouts:

> run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config    
>      

and SCSI errors:

(probe0:ciss1:33:351:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00
(probe0:ciss1:33:351:0): CAM status: CCB request completed with an error
(probe0:ciss1:33:351:0): Retrying command, 4 more tries remain
(probe0:ciss1:33:351:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00
(probe0:ciss1:33:351:0): CAM status: CCB request completed with an error
(probe0:ciss1:33:351:0): Retrying command, 3 more tries remain

This code feels... broken :-)

Ah well, I'll see if I can modify the driver code to be a bit smarter on how
many targets to probe. It really doesn't have to check all since it knows how
many target there are (72 in my case) - it could stop after having detected
that many... 

(No wonder the Linux folks have replaced their cciss driver with a rewritten
one called hpsa).

- Peter

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to