amd64/122624: unusable mininal installation of FreeBSD-7.0

John Baldwin jhb at freebsd.org
Tue Apr 22 21:04:32 UTC 2008


On Tuesday 22 April 2008 03:10:03 pm Fernan Aguero wrote:
>  atapci0: <ServerWorks HT1000 SATA150 controller> port 
0xecb0-0xecb7,0xeca0-0xeca3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem 
0xefdfe000-0xefdfffff irq 6 at device 14.0 on pci3
>  atapci0: [ITHREAD]

This chipset has had some issues.  Try this:

Index: ata-chipset.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.202.2.7
diff -u -r1.202.2.7 ata-chipset.c
--- ata-chipset.c	1 Apr 2008 15:20:49 -0000	1.202.2.7
+++ ata-chipset.c	22 Apr 2008 19:30:50 -0000
@@ -1500,7 +1500,7 @@
     int error;
 
     ch->dma->alignment = 16;
-    ch->dma->max_iosize = 126 * DEV_BSIZE;
+    ch->dma->max_iosize = 64 * DEV_BSIZE;
 
     mode = ata_limit_mode(dev, mode, ATA_UDMA2);
 
@@ -2889,7 +2889,7 @@
 	    ch->dma->max_address = BUS_SPACE_MAXADDR;
 
 	/* chip does not reliably do 64K DMA transfers */
-	ch->dma->max_iosize = 126 * DEV_BSIZE; 
+	ch->dma->max_iosize = 64 * DEV_BSIZE; 
     }
 }
 
@@ -2939,7 +2939,7 @@
     int error;
 
     ch->dma->alignment = 16;
-    ch->dma->max_iosize = 126 * DEV_BSIZE;
+    ch->dma->max_iosize = 64 * DEV_BSIZE;
 
     mode = ata_limit_mode(dev, mode, ATA_UDMA2);
 
@@ -4189,7 +4189,7 @@
      { ATA_CSB6,      0x00, SWKS100, 0, ATA_UDMA5, "CSB6" },
      { ATA_CSB6_1,    0x00, SWKS66,  0, ATA_UDMA4, "CSB6" },
      { ATA_HT1000,    0x00, SWKS100, 0, ATA_UDMA5, "HT1000" },
-     { ATA_HT1000_S1, 0x00, SWKS100, 4, ATA_SA150, "HT1000" },
+     { ATA_HT1000_S1, 0x00, SWKSMIO, 4, ATA_SA150, "HT1000" },
      { ATA_HT1000_S2, 0x00, SWKSMIO, 4, ATA_SA150, "HT1000" },
      { ATA_K2,        0x00, SWKSMIO, 4, ATA_SA150, "K2" },
      { ATA_FRODO4,    0x00, SWKSMIO, 4, ATA_SA150, "Frodo4" },
@@ -4292,7 +4292,7 @@
 
     /* chip does not reliably do 64K DMA transfers */
     if (ch->dma)
-	ch->dma->max_iosize = 126 * DEV_BSIZE;
+	ch->dma->max_iosize = 64 * DEV_BSIZE;
 
     return 0;
 }

-- 
John Baldwin


More information about the freebsd-amd64 mailing list