Skip to contentSkip to conversation

New: Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

Bug 111901 [email protected] 1 participant 13 messages Feb 4, 2016 – Feb 8, 2016 libata

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=111901

               URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1
                    536397
            Bug ID: 111901
           Summary: Pre-2008 boards may show errors in pata_amd |
                    pata_acpi unless CRS is turned off by pci=nocrs
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.4.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IDE
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: Yes

With a LOT of help from Oleg B. (Launchpad), it could be figured out that bug 111151 was actually a regression, but not a true bug.

Let me copy the error message again from the now-closed report:

pata_amd 0000:00:09.0: can't enable device: BAR 0 [io 0x01f0-0x01f7] not claimed
pata_amd: probe of 0000:00:09.0 failed with error -22

Actual reason for this is CRS, which has been enabled by default since commit 3d9fecf6bfb8b12bc2f9a4c7109895a2a2bb9436 on 9 June 2015.
Our old machines do not like this at all. :)

The man to come to our rescue was Jiang Liu on commit 4d6b4e69a245e9df4b84dba387596086cb66887d on 14 October 2015. Of course, it WORKED now, but it still broke all the past kernels.

So I'd call it a regression.

Now the question is:

Is this supposed to remain like this?
That you guys are simply of the opinion, if you use and old machine, it's only fair you've got to work around this by pci=nocrs.
Or would you decide otherwise?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

https://bugzilla.kernel.org/show_bug.cgi?id=111901

--- Comment #1 from Andreas E <[email protected]> ---
P.S. Above all, it is not sure whether 4.4.x will actually make it into Ubuntu 16.04 (Xenial Xerus) final in April 2016. It may, or it may not...

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Andreas E <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |Intel

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Andreas E <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=99221
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Andreas E <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.opensuse.o
                   |                            |rg/show_bug.cgi?id=907092
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
           Hardware|Intel                       |x86-64

--- Comment #2 from Alan <[email protected]> --- Not Intel - AMD 8)

Please email the author of the patch and ask them to submit it to stable citing the bugs. Don't expect a reply for a couple of weeks if Jiang Liu is in China as it is Chinese new year.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Oleg Blashchuk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Oleg Blashchuk <[email protected]> --- (In reply to Alan from comment #2)

Quoted 1 line

Not Intel - AMD 8)

Actually, it's not because of AMD, but seems to be the problem of nVidia nForce2 Ultra 400 chipset. I've got plenty of legacy AMD-based computers, mainly on different VIA chipsets - they all are not touched by this issue. Even computers with nVidia nForce2 IGP chipset works fine. Seems that Ultra 400 claims to support address ranges above 4GB, but IDE controller on the corresponding south-bridge actually does not support working in that area.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Felix Miata <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Felix Miata <[email protected]> --- Created attachment 202991
--> https://bugzilla.kernel.org/attachment.cgi?id=202991&action=edit
.tgz of lspci -vv & hwinfo output from Biostar M7NCD Ultra motherboard

adding CC here as
https://bugzilla.redhat.com/show_bug.cgi?id=1302071#c22
may have been this issue with this NForce2 400 Ultra motherboard:
http://www.biostar-usa.com/mbdetails.asp?model=M7NCD%20ULTRA

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

--- Comment #5 from Andreas E <[email protected]> ---
to comment 2.

Alan, I set 'Intel' as a collective term supposed to include both i386 and x86-64.
(at least I _thought_ the i originally stood for Intel)

Currently it's set to 64bit only. I'm on 32bit, though, FYI.

$10,000 question:
How can we set _both_ i386 and x86-64 in Hardware drop-down menu? Looks impossible to me.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 111901] Pre-2008 boards may show errors in pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

--- Comment #6 from Andreas E <[email protected]> ---
and to comment 3:

FYI, I've got a DFI nfII Ultra-AL here, which, tadaa, indeed got a NForce2 Ultra _400_ chipset (+nForce2 MCP (Master Control Program). So your assumption seems spot-on.

End Of Line.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 111901] Pre-2008 boards may not enable PATA device(s) via pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Andreas E <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Pre-2008 boards may show    |Pre-2008 boards may not
                   |errors in pata_amd |        |enable PATA device(s) via
                   |pata_acpi unless CRS is     |pata_amd | pata_acpi unless
                   |turned off by pci=nocrs     |CRS is turned off by
                   |                            |pci=nocrs
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 111901] Pre-2008 boards may fail to enable PATA device(s) via pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Andreas E <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Pre-2008 boards may not     |Pre-2008 boards may fail to
                   |enable PATA device(s) via   |enable PATA device(s) via
                   |pata_amd | pata_acpi unless |pata_amd | pata_acpi unless
                   |CRS is turned off by        |CRS is turned off by
                   |pci=nocrs                   |pci=nocrs
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#12 lore raw

[Bug 111901] Pre-2008 boards may fail to enable PATA device(s) via pata_amd | pata_acpi unless CRS is turned off by pci=nocrs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=111901

Bjorn Helgaas <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|IDE                         |PCI
           Hardware|x86-64                      |All
           Assignee|[email protected] |[email protected]
                   |                            |l.org
            Product|IO/Storage                  |Drivers

--- Comment #7 from Bjorn Helgaas <[email protected]> --- Moving to drivers/pci category.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.