Re: AT91 IDE module

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

 



On Thu, Dec 02, 2010 at 05:10:21PM +0100, Radovan Vápeník wrote:
> I had mistake in schematic - after repair I get some new debug
> messages - is possible to tell, what can be wrong? Thanks for advice

Unfortunately I don't know where the problem can be.

> at91_ide_probe chipselect 4 irq 132 res 50000000
> apply_timings t0=600 t1=70 t2=290 t6z=30
> apply_timings mck_hz=99328000
> apply_timings cycle=60 setup=7 pulse=29 data_float=3
> Probing IDE interface ide0...
> probing for hda: present=0, media=32, probetype=ATA
> probing for hda: present=0, media=32, probetype=ATAPI
> hda: probing with STATUS(0xa0) instead of ALTSTATUS(0x00)

Strange that here alt status is 0x00 and in other places it is 0x1e.
Also all bits in alt status except second one should be the same as in
status register. First version of driver had bug where address of alt
status was wrong, but that was fixed before driver was merged into
the kernel.

> hda: probing with STATUS(0xa0) instead of ALTSTATUS(0x1e)
> probing for hdb: present=0, media=32, probetype=ATA
> probing for hdb: present=0, media=32, probetype=ATAPI
> hdb: probing with STATUS(0xa0) instead of ALTSTATUS(0x1e)
> hdb: probing with STATUS(0xa0) instead of ALTSTATUS(0x1e)

Status 0xa0 shows that BUSY bit is set, that definitely is wrong too.

Stanislaw
--
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