IDE read problem with ht6560a fixed in ide- patches only

From: Petr Soucek (petr@ryston.cz)
Date: Sat Jul 15 2000 - 06:37:18 EST


Hi,

my 486 box with Holtek HT6560A ide vlb controller works only with 2.2
kernel with Andre Hedrick's patches - I tested 2.2.15 and 2.2.17pre4
and both work fine.

But 2.2.17pre4, 2.2.12 (Redhat), 2.3.99pre6, 2.4.0-test2 ends with
the same error during reading partition table:

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
hda: WDC AC24300L, ATA DISK drive
hdb: WDC AC36400L, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=557/240/63
hdb: 12594960 sectors (6449 MB) w/256KiB Cache, CHS=833/240/63
Partition check:
 hda:hda: status timeout: status=0xff { Busy }
hda: drive not ready for command
ide0: reset timed-out, status=0xff
hda: status timeout: status=0xff { Busy }
hda: drive not ready for command
ide0: reset timed-out, status=0xff
hda: status timeout: status=0xff { Busy }
end_request: I/O error, dev 03:00 (hda), sector 0
hda: drive not ready for command
 unable to read partition table
 hdb:hdb: status timeout: status=0xff { Busy }
hdb: drive not ready for command
ide0: reset timed-out, status=0xff
hdb: status timeout: status=0xff { Busy }
hdb: drive not ready for command
ide0: reset timed-out, status=0xff
hdb: status timeout: status=0xff { Busy }
end_request: I/O error, dev 03:40 (hdb), sector 0
hdb: drive not ready for command
 unable to read partition table

(the same behavior both with and without ide0=ht6560b)

With Andre's patches both disks works fine, but there is another
problem, false "ports already in use":

Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
hda: WDC AC24300L, ATA DISK drive
hdb: WDC AC36400L, ATA DISK drive
ide1: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide3: ports already in use, skipping probe
ide4: ports already in use, skipping probe
ide5: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=557/240/63
hdb: WDC AC36400L, 6149MB w/256kB Cache, CHS=833/240/63
.... other devices initialization
Partition check:
 sda: sda1 sda2 sda3
 hda: [PTBL] [524/255/63] hda1 hda2 < hda5 >
 hdb: [PTBL] [784/255/63] hdb1 hdb2 < hdb5 >

For completeness, this is clean 2.2.17pre4 kernel:

hda: WDC AC24300L, ATA DISK drive
hdb: WDC AC36400L, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=557/240/63
hdb: WDC AC36400L, 6149MB w/256kB Cache, CHS=833/240/63
.....

Partition check:
 sda: sda1 sda2 sda3
 hda:hda: status timeout: status=0xff { Busy }
hda: drive not ready for command
ide0: reset timed-out, status=0xff
hda: status timeout: status=0xff { Busy }
hda: drive not ready for command
ide0: reset timed-out, status=0xff
hda: status timeout: status=0xff { Busy }
end_request: I/O error, dev 03:00 (hda), sector 0
hda: drive not ready for command
 unable to read partition table
 hdb:hdb: status timeout: status=0xff { Busy }
hdb: drive not ready for command
ide0: reset timed-out, status=0xff
hdb: status timeout: status=0xff { Busy }
hdb: drive not ready for command
ide0: reset timed-out, status=0xff
hdb: status timeout: status=0xff { Busy }
end_request: I/O error, dev 03:40 (hdb), sector 0
hdb: drive not ready for command
 unable to read partition table

It seems the wrong behavior was fixed in ide-2.2..... patches, but
not in both 2.2. and 2.4 mainstream kernel.

Best Regards,

Petr Soucek
Ryston Electronics s.r.o
petr@ryston.cz http://www.ryston.cz/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:21 EST