Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87969 - nforce+ ide drivers need kernel patch
Summary: nforce+ ide drivers need kernel patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL: http://download.nvidia.com/XFree86/nf...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-04 14:46 UTC by David Cozatt
Modified: 2005-04-05 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
2.6.11-gentoo-r5/drivers/ide/pci/amd74xx.c hand edited file to add the entries (amd74xx.c.diff,18.50 KB, text/plain)
2005-04-04 15:32 UTC, David Cozatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Cozatt 2005-04-04 14:46:41 UTC
Hi,
 The above link shows that /usr/src/linux/drivers/ide/pci/amd74xx.c needs to be patched to include the linux drivers for some nforce systems. It mentions editing two tables and adding defines so SATA and udma133 entries so the nforce
ide drivers may be added.
 The current version of nforce driver is of course 1.0-0301
 My 2.6.10-r8 systemdoes not show all that are listed. I have emerged 2.6.11-gentoo-r5 and the entries on that page are not in the file.

In particular

{ PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_SATA, 0x50, AMD_UDMA_133},
{ PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_SATA2, 0x50, AMD_UDMA_133 },
and
{ PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA, 0x50, AMD_UDMA_133},
{ PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA2, 0x50, AMD_UDMA_133 },

there is a great deal there to patch and it should also be sent upstream?
How this happens to be related to XFree86 I dunno ;-)

user99 

Reproducible: Always
Steps to Reproduce:
1.emerge kernel-sources
2.compare amd74xx.c
3.



Expected Results:  
compiled in support for all nforce devices and allowed installation of the drivers
this may be the cause of no dma access to /dev/hda on my box
Comment 1 Matt Taylor 2005-04-04 15:05:09 UTC
sata support is provided by libata.  If you look in drivers/scsi/sata_nv.c you will see the SATA device ids.  Note that since libata uses the scsi subsystem, the first sata disk will be called sda rather than hdx.
Comment 2 David Cozatt 2005-04-04 15:32:47 UTC
Created attachment 55310 [details]
2.6.11-gentoo-r5/drivers/ide/pci/amd74xx.c  hand edited file to add the entries
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-04-05 11:55:34 UTC
Yep, as Matt pointed out, Linux already supports all these devices. If you are using an IDE controller, use the amd 74xx IDE driver. If you are using a SATA controller, use the SATA/libata sata_nv driver. And some devices are supported by both drivers.