Re: Question about identify device ATA command in vblade

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

 



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 spec says that the sector register is N/A (as are pretty much all the rest) when making this command I don't know why the blade server requires that submission of this command have AoE ATA command set sector to 1?
> 
> I have my suspicions but I would like to hear from others...

What are your suspicions?  Looking at ATA 6 draft rev. 3b section 18.5 I see also see that sector count is NA on input.

-- 
  Ed Cashin
  ecashin@xxxxxxxxxx



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss




[Index of Archives]     [Linux ARM Kernel]     [Linux SCSI]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux