HPT366 boot problem

Robert (robert@abilina.org)
Thu, 16 Dec 1999 07:32:24 -0500 (EST)


Here is the patch I used that allows my system to boot. If there is
anything more I can contribute to help create a better fix, please let me
know. Without this patch, my system locks up on boot whenever I put a
drive on the ide3 or ide4 channels. With this patch installed, the system
will boot successfully and I can reliably use the ide3 and ide4 attached
drives. Andre, I am assuming your latest patch to 2.2.14pre12 does not
address this.

--- linux+raid+ide/drivers/block/hpt366.c Tue Dec 14 12:50:59 1999
+++ linux/drivers/block/hpt366.c Tue Dec 14 13:37:46 1999
@@ -192,7 +192,7 @@
reg2 &= ~0x80000000;

pci_write_config_dword(HWIF(drive)->pci_dev, regtime, reg2);
- err = ide_config_drive_speed(drive, speed);
+ err = 0; /* err = ide_config_drive_speed(drive, speed); */

#if HPT366_DEBUG_DRIVE_INFO
printk("%s: speed=0x%02x(%s), drive%d, old=0x%08x, new=0x%08x, err=0x%04x\n",

Best Regards,
Robert Laughlin

On Wed, 15 Dec 1999, Andre Hedrick wrote:
> Drop the latest stuff from
> ftp://ftp.*.kernel.org/pub/linux/kernel/people/hedrick/
> and see if that helps.

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