linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Clayton <chris2553@googlemail.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>,
	Yijing Wang <wangyijing@huawei.com>,
	Yijing Wang <wangyijing0307@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner
Date: Sat, 09 Mar 2013 09:20:11 +0000	[thread overview]
Message-ID: <513AFECB.40409@googlemail.com> (raw)
In-Reply-To: <CAErSpo4PZYK=AaEnFqEOPaopLF8_b_x8YwNhVbRMoNk21aZf4Q@mail.gmail.com>

Hi Bjorn,

On 03/08/13 22:57, Bjorn Helgaas wrote:
> [+cc Rafael, in case the _OSC thing rings a bell with him]
>
> On Fri, Mar 8, 2013 at 3:44 AM, Chris Clayton <chris2553@googlemail.com> wrote:
>> On 03/08/13 00:39, Bjorn Helgaas wrote:
>>> On Thu, Mar 7, 2013 at 1:21 PM, Chris Clayton <chris2553@googlemail.com>
>>> wrote:
>>>> On 03/07/13 17:30, Bjorn Helgaas wrote:
>
>>>>> 3) HVR-1400 not being recognized when inserted.  This is a PCI hotplug
>>>>> issue, and I *can* help with this.  I don't know what your hardware
>>>>> is, but in general, pciehp should take care of this.  If it doesn't,
>>>>> or if you have to use an argument like "pcie_ports=native", we should
>>>>> fix this.
>
>>>>> So 3) is the thing I might be able to help with.  If there's still a
>>>>> problem here (and even having to boot with an argument is a problem),
>>>>> let's start by collecting complete dmesg logs, with and without your
>>>>> "pcie_ports" option.  Boot without the card installed, then insert it
>>>>> and remove it.  If you can use something like v3.9-rc1 with
>>>>> CONFIG_HOTPLUG_PCI_PCIE=y, that would be ideal.
>>>>
>>>>
>>>> OK, I've gathered these logs using a kernel built from a pull of Linus'
>>>> tree
>>>> this afternoon (v3.9-rc1-108-g9f22578). Also, the cx23885 driver is still
>>>> blacklisted to avoid unnecessary noise and the chance of an oops if the
>>>> card
>>>> springs out again when I insert it. The driver does load if it's not
>>>> blacklisted (and the pcie_ports=native option is present).
>>>>
>>>> The two logs are attached. As you will see, nothing at all happens when
>>>> the
>>>> pcie_ports=native option is absent. The nf_conntrack message is normally
>>>> the
>>>> last one from a normal boot.
>>>
>>>
>>> Perfect, thanks!
>>>
>>> It looks like something's going wrong when we evaluate _OSC.  Can you
>>> collect an acpidump from your machine?
>>>
>> A bziped file containing the output from acpidump is attached.
>
> Thanks.  I opened this bug report:
> https://bugzilla.kernel.org/show_bug.cgi?id=54981 to keep track of
> your logs.
>

Excellent, thanks.

> Here's your _OSC method from the acpidump:
>
>              Method (_OSC, 4, Serialized) {
>                  ...
>                  If (LAnd (LEqual (Arg0, GUID), NEXP))
>                      ... # normal case
>                  Else {
>                      Or (CDW1, 0x04, CDW1)  # "unrecognized UUID" error
>                      Return (Local0)
>                  }
>
> It fails with "unrecognized UUID" if either (1) we supply the wrong
> UUID or (2) "NEXP" is false.  I have no idea what NEXP is; your
> DSDT.dsl never sets it, so maybe it's related to a BIOS setup option
> or something?  I found a BIOS manual [1] but didn't see anything
> likely.  I guess it might be worth you looking, or maybe trying a
> "reset to defaults" if it's not too destructive for you.  You don't

As the manual showed, there aren't too many user-changeable settings in 
the BIOS on this machine, so I tried a "reset to defaults". 
Unfortunately, it made no difference.

> have a copy of Windows on that box, do you?  I *assume* hotplug would
> work fine with Windows and maybe we could figure out what it is doing
> differently.
>

Yes, I have Windows 7 Home Premium (64 bit), although, as I said 
previously, I rarely boot it. One occasion when I usually do is when I 
buy new hardware. The hotplug works fine in Windows with the two 
expresscards that I own.

I'm happy to help work out what's different on Windows, but I have no 
diagnostic tools installed, so I might need some hand-holding. One 
immediate difference is that my Windows installation is 64bit whereas my 
linux installation is 32 bit.

Thanks for your help so far,

Chris

> Bjorn
>
> [1] http://solutions.us.fujitsu.com/www/content/pdf/SupportGuides/AH530_BIOS_Guide_FPC58-2843-01_rA.pdf
>

  reply	other threads:[~2013-03-09  9:20 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <51016937.1020202@googlemail.com>
     [not found] ` <510189B1.606@fold.natur.cuni.cz>
2013-01-26 20:54   ` 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner Chris Clayton
2013-01-26 21:14     ` Martin Mokrejs
2013-01-27  9:57       ` Chris Clayton
2013-01-27  2:45     ` Yijing Wang
2013-01-27 11:19       ` Chris Clayton
2013-01-27 12:18         ` Yijing Wang
2013-01-27 13:37           ` Chris Clayton
2013-01-27 14:26             ` Martin Mokrejs
2013-01-27 15:34               ` Chris Clayton
2013-01-27 16:41                 ` Martin Mokrejs
2013-01-27 22:53                   ` Chris Clayton
2013-01-27 23:21                     ` Martin Mokrejs
2013-01-28  2:40                     ` Yijing Wang
2013-01-28 10:12                       ` Chris Clayton
2013-01-28 10:56                         ` Martin Mokrejs
2013-01-28 11:01                           ` Chris Clayton
2013-01-28 11:15                             ` Yijing Wang
2013-01-28 10:58                         ` Yijing Wang
2013-01-28 11:23                         ` Chris Clayton
2013-01-28 12:12                           ` Martin Mokrejs
2013-01-28 12:26                             ` Yijing Wang
2013-01-28 19:11                             ` Chris Clayton
2013-01-28 21:02                               ` Martin Mokrejs
2013-01-31 12:09                                 ` Chris Clayton
2013-01-31 13:05                                   ` Martin Mokrejs
2013-03-06 23:45                                   ` Bjorn Helgaas
2013-03-07 16:28                                     ` Chris Clayton
2013-03-07 17:30                                       ` Bjorn Helgaas
2013-03-07 20:21                                         ` Chris Clayton
2013-03-08  0:39                                           ` Bjorn Helgaas
2013-03-08 10:44                                             ` Chris Clayton
2013-03-08 22:57                                               ` Bjorn Helgaas
2013-03-09  9:20                                                 ` Chris Clayton [this message]
2013-03-12 22:20                                                   ` Bjorn Helgaas
2013-03-15 22:48                                                     ` Bjorn Helgaas
2013-03-19 15:46                                                       ` Chris Clayton
2013-04-01 17:28                                                         ` Bjorn Helgaas
2013-07-09  9:35                                                           ` Chris Clayton
2013-07-09 20:19                                                             ` Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513AFECB.40409@googlemail.com \
    --to=chris2553@googlemail.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mmokrejs@fold.natur.cuni.cz \
    --cc=rjw@sisk.pl \
    --cc=wangyijing0307@gmail.com \
    --cc=wangyijing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).