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

Re: IDE



On Thu, Jul 19, 2001 at 07:40:03PM +0200, Bjorn Wesen wrote:
> How about you inserting some IDE debug outputs (FANCY_STATUS_REPORTING or
> whatever it's called), putting some of your own in OUT_BYTE etc. So we can
> see what is happening in more detail...

Hope this is more detail, here is a list of all commands/statuses since the
moment it boots and till it locks (lots of data, I don't have the IDE specs
to figure out the status from the drive, if my memory serves me correctly 5
is an error of some sort "it's been more than a year last time I worked on
IDE drivers"):

PS: Thanks for your help.


ide: ETRAX 100LX built-in ATA DMA controller
ide: waiting 5 seconds for drives to regain conscious ness
ob: data 0xa0, reg 0x1c000000
inb: 0xa0 from reg 0x1c000000
inb: 0x51 from reg 0x1e000000
inb: 0x51 from reg 0x2c000000
inb: 0x51 from reg 0x 1e000000
ob: data 0xec, reg 0x1e000000
inb: 0x58 from reg 0x2c000000
inb: 0x58 from reg 0x1e000000
hda: Maxtor 82559A4, ATA DISK drive
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
ob: data 0xb0, reg 0x1c000000
inb: 0xb0 from reg 0x1c000000
inb: 0x0 from reg 0x1e000000
ob: data 0xa0, reg 0x1c000000
inb: 0x50 from reg 0x1e000000
ob: data 0xb0, reg 0x1c000000
inb: 0xb0 from reg 0x1c000000
inb: 0x0 from reg 0x1e000000
inb: 0x50 from reg 0x2c000000
inb: 0x0 from reg 0x1e000000
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
ob: data 0x0, reg 0x12000000
ob: data 0xa1, reg 0x1e000000
inb: 0x0 from reg 0x1e000000
inb: 0x0 from reg 0x1e000000
inb: 0x50 from reg 0x2c000000
inb: 0x0 from reg 0x1e000000
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
ob: data 0x0, reg 0x12000000
ob: data 0xa1, reg 0x1e000000
inb: 0x0 from reg 0x1e000000
inb: 0x0 from reg 0x1e000000
inb: 0x0 from reg 0x1e000000
ob: data 0xa0, reg 0x1c000000
inb: 0x50 from reg 0x1e000000
ob: data 0xa0, reg 0x5c000000
inb: 0xa0 from reg 0x5c000000
inb: 0x20 from reg 0x5e000000
ob: data 0xa0, reg 0x5c000000
inb: 0xa0 from reg 0x5c000000
inb: 0x20 from reg 0x5e000000
inb: 0x20 from reg 0x6c000000
inb: 0x20 from reg 0x5e000000
ob: data 0x0, reg 0x52000000
ob: data 0xa1, reg 0x5e000000
inb: 0xa1 from reg 0x6c000000
inb: 0x21 from reg 0x6c000000
inb: 0x21 from reg 0x5e000000
inb: 0x23 from reg 0x6c000000
inb: 0x23 from reg 0x5e000000
ob: data 0x0, reg 0x52000000
ob: data 0xa1, reg 0x5e000000
inb: 0xa1 from reg 0x6c000000
inb: 0x21 from reg 0x6c000000
inb: 0x21 from reg 0x5e000000
inb: 0x21 from reg 0x5e000000
ob: data 0xb0, reg 0x5c000000
inb: 0xb0 from reg 0x5c000000
inb: 0x30 from reg 0x5e000000
ob: data 0xa0, reg 0x5c000000
inb: 0xa0 from reg 0x5e000000
ob: data 0xb0, reg 0x5c000000
inb: 0xb0 from reg 0x5c000000
inb: 0x30 from reg 0x5e000000
inb: 0x30 from reg 0x6c000000
inb: 0x30 from reg 0x5e000000
ob: data 0x0, reg 0x52000000
ob: data 0xa1, reg 0x5e000000
inb: 0xa1 from reg 0x6c000000
inb: 0x21 from reg 0x6c000000
inb: 0x21 from reg 0x5e000000
inb: 0x21 from reg 0x6c000000
inb: 0x21 from reg 0x5e000000
ob: data 0x0, reg 0x52000000
ob: data 0xa1, reg 0x5e000000
inb: 0xa1 from reg 0x6c000000
inb: 0x21 from reg 0x6c000000
inb: 0x21 from reg 0x5e000000
inb: 0x21 from reg 0x5e000000
ob: data 0xa0, reg 0x5c000000
inb: 0xa0 from reg 0x5e000000
ob: data 0xa0, reg 0x9c000000
inb: 0xa0 from reg 0x9c000000
inb: 0x20 from reg 0x9e000000
ob: data 0xa0, reg 0x9c000000
inb: 0xa0 from reg 0x9c000000
inb: 0x20 from reg 0x9e000000
inb: 0x20 from reg 0xac000000
inb: 0x20 from reg 0x9e000000
ob: data 0x0, reg 0x92000000
ob: data 0xa1, reg 0x9e000000
inb: 0xa1 from reg 0xac000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
ob: data 0x0, reg 0x92000000
ob: data 0xa1, reg 0x9e000000
inb: 0xa1 from reg 0xac000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
inb: 0x21 from reg 0x9e000000
ob: data 0xb0, reg 0x9c000000
inb: 0xb0 from reg 0x9c000000
inb: 0x30 from reg 0x9e000000
ob: data 0xa0, reg 0x9c000000
inb: 0xa0 from reg 0x9e000000
ob: data 0xb0, reg 0x9c000000
inb: 0xb0 from reg 0x9c000000
inb: 0x30 from reg 0x9e000000
inb: 0x30 from reg 0xac000000
inb: 0x30 from reg 0x9e000000
ob: data 0x0, reg 0x92000000
ob: data 0xa1, reg 0x9e000000
inb: 0xa1 from reg 0xac000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
ob: data 0x0, reg 0x92000000
ob: data 0xa1, reg 0x9e000000
inb: 0xa1 from reg 0xac000000
inb: 0x21 from reg 0xac000000
inb: 0x21 from reg 0x9e000000
inb: 0x21 from reg 0x9e000000
ob: data 0xa0, reg 0x9c000000
inb: 0xa0 from reg 0x9e000000
ob: data 0xa0, reg 0xdc000000
inb: 0xa0 from reg 0xdc000000
inb: 0x20 from reg 0xde000000
ob: data 0xa0, reg 0xdc000000
inb: 0xa0 from reg 0xdc000000
inb: 0x20 from reg 0xde000000
inb: 0x20 from reg 0xec000000
inb: 0x20 from reg 0xde000000
ob: data 0x0, reg 0xd2000000
ob: data 0xa1, reg 0xde000000
inb: 0xa1 from reg 0xec000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
ob: data 0x0, reg 0xd2000000
ob: data 0xa1, reg 0xde000000
inb: 0xa1 from reg 0xec000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
inb: 0x21 from reg 0xde000000
ob: data 0xb0, reg 0xdc000000
inb: 0xb0 from reg 0xdc000000
inb: 0x30 from reg 0xde000000
ob: data 0xa0, reg 0xdc000000
inb: 0xa0 from reg 0xde000000
ob: data 0xb0, reg 0xdc000000
inb: 0xb0 from reg 0xdc000000
inb: 0x30 from reg 0xde000000
inb: 0x30 from reg 0xec000000
inb: 0x30 from reg 0xde000000
ob: data 0x0, reg 0xd2000000
ob: data 0xa1, reg 0xde000000
inb: 0xa1 from reg 0xec000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
ob: data 0x0, reg 0xd2000000
ob: data 0xa1, reg 0xde000000
inb: 0xa1 from reg 0xec000000
inb: 0x21 from reg 0xec000000
inb: 0x21 from reg 0xde000000
inb: 0x21 from reg 0xde000000
ob: data 0xa0, reg 0xdc000000
inb: 0xa0 from reg 0xde000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inb: 0x50 from reg 0x1e000000
inbú
                                 

-- 
Peace can only come as a natural consequence
of universal enlightenment. -Dr. Nikola Tesla