Date: Fri, 01 Aug 2003 19:18:11 +0200 From: Alexander Haderer <alexander.haderer@charite.de> To: freebsd-hardware@freebsd.org Subject: Highpoint HPT372N Support in 4.8R Message-ID: <5.2.0.9.1.20030801183744.01982328@postamt1.charite.de>
next in thread | raw e-mail | index | archive | help
hello, we have a Tyan mobo Trinity KT400 S2495 with onboard Highpoint HPT372N chip (Note: N!). When booting the GENERIC kernel the Highpoint chip does not get detected and obviously the connected disks will not be detected too. pciconf -lv shows up a "Highpoint" chip with chipid 0x00091103. Browsing the freebsd mailing lists shows no results (the web-search was disabled the last days and geocrawler archive starts at Mar 2003). So we jumped to /usr/src/sys/dev/ata and patched the files ata-pci.c ata-dma.c and ata-raid.c so that the kernel treats the HPT372N like the HPT372 chip (in other words: we extended all the switch statements there). After installing the kernel the chip shows up as an HTP372N at boottime and all four disks connected show up as well (ad4..ad7). For all four disks now we zeroed the first 1000 blocks, called fdisk -I adX disklabel -Brw adX auto disklabel -e adX # make one big partititon d=c newfs /dev/ad0d and everything works fine so far. Questions: a. What further tests can we do? b. Are there any chip-level tests we can do? c. Is there any info we can give to kernel developer (esp. Soeren Schmidt)? I can post the diffs, if somebody tells me what diff-format is preferred here (diff -???) We are not sure if the above changes are "enough" to enable full support for HPT372N, because the linux people had a similar problem: After googling around in the groups, I found a linux related thread where Henning Schroeder did a similar thing to the linux kernel (look for "hpt372n alan cox", the first hit with three msgs). The last messages mentions "different pci timing thresholds". And looking further in google web "hpt372n freebsd" shows http://features.linuxtoday.com/developer/2003042502126NWKNDV for example, where they mention some "clock switching" again. Hmmmmm? Any ideas how to proceed? with best regards, Alexander
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.1.20030801183744.01982328>