NVidia Build Problem

YONETANI Tomokazu qhwt at les.ath.cx
Mon Dec 22 15:40:27 PST 2003


Hi,

On Mon, Dec 22, 2003 at 01:01:47PM +0100, Emiel Kollof wrote:
> Michael Powell wrote:
> 
> > Yes, I tried it too - to no avail. I can get the module to build if I chop
> > out the offending sections but it will not load. I figure since the OS is
> > being so actively worked on that it might not make any sense to even be
> > concerned about it at this stage of development, since things seem to be
> > in the proverbial state of flux and a fix now would probably only break
> > again later. But thanks for letting me know someone else has seen the
> > problem, makes me feel a little better about it   :-)
> 
> I'll try fixing the NVIDIA driver override port once I can get this machine
> with a brandspanking new SiS ATA chipset to boot with DFly, which it
> currently does not. Linux reports a SIS5513: SiS 962/963 MuTIOL IDE UDMA133
> controller, and it supports it. So does FreeBSD-CURRENT.

Try
set hw.ata.ata_dma=0
in the boot loader prompt. It at least allows you to boot in PIO mode.

I'm using the following change to make my P4S8X run in ATA100 mode.
This is a compromise, since both the mainboard and the hard drive
support ATA133 mode, but as long as I have tried, I didn't see much
difference between ATA100 and ATA133 mode even on FreeBSD-CURRENT.
Just faster than ATA66 or PIO4 mode, and much easier to port
ata-chipset.[ch] from FreeBSD-CURRENT.

Index: sys/dev/disk/ata/ata-dma.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/dev/disk/ata/ata-dma.c,v
retrieving revision 1.6
diff -u -r1.6 ata-dma.c
--- sys/dev/disk/ata/ata-dma.c	30 Nov 2003 20:14:18 -0000	1.6
+++ sys/dev/disk/ata/ata-dma.c	6 Dec 2003 04:47:05 -0000
@@ -515,6 +515,7 @@
 	    ata_find_dev(parent, 0x06351039, 0) ||	/* SiS 635 */
 	    ata_find_dev(parent, 0x06401039, 0) ||	/* SiS 640 */
 	    ata_find_dev(parent, 0x06451039, 0) ||	/* SiS 645 */
+	    ata_find_dev(parent, 0x06481039, 0) ||	/* SiS 648 */
 	    ata_find_dev(parent, 0x06501039, 0) ||	/* SiS 650 */
 	    ata_find_dev(parent, 0x07301039, 0) ||	/* SiS 730 */
 	    ata_find_dev(parent, 0x07331039, 0) ||	/* SiS 733 */
Index: sys/dev/disk/ata/ata-pci.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/dev/disk/ata/ata-pci.c,v
retrieving revision 1.5
diff -u -r1.5 ata-pci.c
--- sys/dev/disk/ata/ata-pci.c	26 Nov 2003 14:24:46 -0000	1.5
+++ sys/dev/disk/ata/ata-pci.c	6 Dec 2003 04:47:42 -0000
@@ -196,6 +196,7 @@
 	    ata_find_dev(dev, 0x06351039, 0) ||
 	    ata_find_dev(dev, 0x06401039, 0) ||
 	    ata_find_dev(dev, 0x06451039, 0) ||
+	    ata_find_dev(dev, 0x06481039, 0) ||
 	    ata_find_dev(dev, 0x06501039, 0) ||
 	    ata_find_dev(dev, 0x07301039, 0) ||
 	    ata_find_dev(dev, 0x07331039, 0) ||





More information about the Bugs mailing list