Re: MWDMA Issue: sda: unknown partition table

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

 



Hello,

On Sat, Jan 22, 2011 at 09:38:46AM +0530, Viresh Kumar wrote:
> As soon as handshaking is done, a read request of 4096 bytes is given:
> Here in both cases (PIO and MWDMA) first block of 512 bytes contained
> non-zero data but the other 7 blocks contained 0.

Hmmm, okay.  Well, I'm afraid you'll have to find out where things are
going wrong.  fs/partitions/check.h::read_part_sector() is the read
function used by partition check code.  You'll have to find where the
difference between what that code and your drive sees comes from.
Playing with dd in userland on the device node and see how reads and
writes behave would be helpful too.

> Also Arasan Controller, as far i have understood, doesn't transfer data directly
> to a memory location. Instead we need to read data from Controllers FIFO.
> So, probably it wouldn't be cache issue, as ARM is reading data directly from
> FIFO to our buffer (using its virtual address).

I don't really follow.  It's DMA.  The controller is writing to
memory.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux