Bug 43244

Summary: firewire_ohci prevents boot
Product: Drivers Reporter: Rob Allen (ra-kernel)
Component: IEEE1394Assignee: drivers_ieee1394
Status: NEW ---    
Severity: high CC: L.Bonnaud, stefanr
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.1.0-rc3 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: lspci -vvv
dmesg (filtered) from 3.0 series kernel
dmesg from v3.4 with CONFIG_PCI_DEBUG
dmesg from 3.0 series kernel (firewire_ohci works)
lspci -vvxxx -s 0a:09.4 (3.0 series, working)
lspci -vvxxx -s 0a:09.4 (3.2 series, broken)

Description Rob Allen 2012-05-13 19:28:20 UTC
Created attachment 73282 [details]
lspci -vvv

After upgrading to a 3.2 series kernel (from 3.0 series), my laptop failed to boot. Retrying with nomodeset, the final message is:

firewire_ohci: Failed to set Link Power Status

Afterwards, the machine is completely dead (ignoring Magic SysRq), requiring holding the power button to get anywhere.

Blacklisting firewire_ohci allows the kernel to boot okay.

Having experimented with Ubuntu's mainline kernel builds, it seem to have been introduced between 3.1.0-rc2 (working) and 3.1.0-rc3.
Comment 1 Rob Allen 2012-05-13 19:30:19 UTC
Created attachment 73283 [details]
dmesg (filtered) from 3.0 series kernel

This is the dmesg output that firewire_ohci used to produce (under 3.0 series).
Comment 2 Stefan Richter 2012-05-13 21:15:10 UTC
Discussion:  http://marc.info/?l=linux1394-devel&m=133694022804796
Comment 3 Rob Allen 2012-05-24 17:30:12 UTC
Created attachment 73381 [details]
dmesg from v3.4 with CONFIG_PCI_DEBUG
Comment 4 Rob Allen 2012-06-04 10:54:36 UTC
Bisected. The change that introduced the failure is:

commit 0a2daa1cf35004f5adbf4138555cc5669abf3a3e
Author: Ram Pai <linuxram@us.ibm.com>
Date:   Mon Jul 25 13:08:41 2011 -0700

    PCI: make cardbus-bridge resources optional
    
    Allocate resources to cardbus bridge only after all other genuine
    resources requests are satisfied. Dont retry if resource allocation
    for cardbus-bridges fail.
    
    Signed-off-by: Ram Pai <linuxram@us.ibm.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Comment 5 Rob Allen 2012-06-19 21:05:58 UTC
Created attachment 73861 [details]
dmesg from 3.0 series kernel (firewire_ohci works)
Comment 6 Rob Allen 2012-06-19 21:07:32 UTC
Created attachment 73871 [details]
lspci -vvxxx -s 0a:09.4 (3.0 series, working)
Comment 7 Rob Allen 2012-06-19 21:07:58 UTC
Created attachment 73881 [details]
lspci -vvxxx -s 0a:09.4 (3.2 series, broken)