Discussion:
MCP55 SATA solution to test
(too old to reply)
Alexander Motin
2009-10-25 00:46:57 UTC
Permalink
Hi.

Thanks to one man who provided access to his machine, I seem to found
how to fix device detection on nVidia MCP55 SATA controller on amd64
8.0. Looks like this controller need some time (very short) to enable
BAR(5) memory access after PCI configuration register written. Probably
some changes in PCI code exposed this issue. Also it explains why
setting hw.pci.mcfg to 0 helps.

Attached patch solves problem for that machine. Testers are welcome.
--
Alexander Motin
Marco Bröder
2009-10-25 16:09:49 UTC
Permalink
Post by Alexander Motin
Hi.
Thanks to one man who provided access to his machine, I seem to found
how to fix device detection on nVidia MCP55 SATA controller on amd64
8.0. Looks like this controller need some time (very short) to enable
BAR(5) memory access after PCI configuration register written. Probably
some changes in PCI code exposed this issue. Also it explains why
setting hw.pci.mcfg to 0 helps.
Attached patch solves problem for that machine. Testers are welcome.
Success! I tested your patch and everything is working fine
with hw.pci.mcfg set to 1, now. Please commit it.

Many thanks!
--
Regards,
Marco Bröder <***@gmx.eu>
OpenPGP key fingerprint: 5615 106E 031A F3D3 64CC 0F9E 4DCE 6524 F595 082F
Pascal Hofstee
2009-10-26 14:18:36 UTC
Permalink
Post by Alexander Motin
Hi.
Thanks to one man who provided access to his machine, I seem to found
how to fix device detection on nVidia MCP55 SATA controller on amd64
8.0. Looks like this controller need some time (very short) to enable
BAR(5) memory access after PCI configuration register written. Probably
some changes in PCI code exposed this issue. Also it explains why
setting hw.pci.mcfg to 0 helps.
Attached patch solves problem for that machine. Testers are welcome.
Confirmed this also fixes the SATA detection on my MSI K9N Neo on 9.0-CURRENT.
Please commit :)

Loading...