Steve Chang 写道:
> Hi Javen,
> Now I had a mount device issue after driver is installed
>
> #mount /dev/dsk/c4t0d0ds0  /mnt
>
> => mount: I/O error
>    Mount: cannot mount /dev/dsk/c4t0d0s0
>
> The following are traces
>
> 0  - test unit ready  - return OK
> 0  - test unit ready  - return OK
> 0x1a - mode sense, page code=3, length 0x24   - return check condition  
> 8  - read 1 sector from LAB=0   - return OK
> 8  - read 1 sector from LBA=1   - return OK
> 0x28 - read 1 sector from LBA=9dfffe  - return OK
> 0x28 - read 1 sector from LBA=9dffff  - return OK
> 8  - read 1 sector from LBA=0   - return OK
> 8  - read 1 sector from LBA=1   - return OK
>
>
> Can you advice me what could be wrong?
>
>   

pc 3 is used by sd driver to get physical geometry. If the scsi disk 
doesn't support it,
maybe you should support virtual geometry in your HBA driver, so that 
sd(7d) driver
can fallback to virtual geometry.


You can try implementing SCSI_CAP_GEOMETRY 
</source/s?defs=SCSI_CAP_GEOMETRY> in tran_getcap().

BTW, what HBA driver you are writing ?


Good luck,
-minskey



> Steve 
>  
>
>
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>   

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to