James, Error code: 0x70 sense code: 0x5 (illegal request) ASC : 0x24 0x00 (invalid cdb)
Does it mean I didn't send out a valid CDB ? Steve Chang -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 2:19 PM To: Steve Chang Cc: 'Javen Wu'; [email protected] Subject: Re: [driver-discuss] SCSI HBA driver debugging questions Steve Chang wrote: > 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 If you're getting Check Condition, then you should also have status information. What does that status information reveal? First question I ask in a case like this is "am I sending out a valid cdb?" > 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 -- James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
