Re: [Aoetools-discuss] Question about identify device ATA command in vblade

2013-10-07 Thread David Leach
Ed, Did Coraid write the original vblade code? If so, do they have any insight on why the blade code was written to require the sector field to have a 1? David On Thu, Oct 3, 2013 at 8:55 PM, David Leach tas...@gmail.com wrote: Ed, Well on the surface if you are doing a client side AoE

Re: [Aoetools-discuss] Question about identify device ATA command in vblade

2013-10-07 Thread David Leach
Note that the block aoe client driver doesn't give us any insight to this as it just has the following when setting up for an ATA ID command: /* set up ata header */ ah-scnt = 1; ah-cmdstat = ATA_CMD_ID_ATA; ah-lba3 = 0xa0; No comments on why scnt is set to 1 and further why

Re: [Aoetools-discuss] Question about identify device ATA command in vblade

2013-10-03 Thread Ed Cashin
On Oct 3, 2013, at 2:36 PM, David Leach wrote: Can someone explain why the ATA command Identify Device (0xEC) has the following test in the switch statement: case 0xec:// identify device if (p-sectors != 1 || ndp 512) return -1; Given that the ATA

Re: [Aoetools-discuss] Question about identify device ATA command in vblade

2013-10-03 Thread David Leach
Ed, Well on the surface if you are doing a client side AoE driver you would look at the ATA spec and decide that all the N/A values can be just set to zero. Which is what I did but immediately got a bad arguments error from the blade server. When you look at the blade server code it does this