public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Robin Cook <rcook@wyrms.net>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>,
	linux-kernel@vger.kernel.org,
	linux1394-devel <linux1394-devel@lists.sourceforge.net>
Subject: Re: Issue with firewire from 2.6.35.9 to 2.6.36.1
Date: Mon, 6 Dec 2010 08:29:18 +0100	[thread overview]
Message-ID: <20101206082918.6d1ccc41@stein> (raw)
In-Reply-To: <1291594279.9196.2.camel@maxim-laptop>

> On Sun, 2010-12-05 at 17:37 -0600, Robin Cook wrote:
> > Hello,
> > 
> > I recently upgraded from 26.35.9 to 2.6.36.1 and now the /dev/fwX
> > devices are not being created.  I have udev 164 installed.
> > 
> > 2.6.35.9 dmesg firewire lines...
> > 
> > firewire_ohci 0000:07:00.0: PCI INT A -> GSI 44 (level, low) -> IRQ 44
> > firewire_ohci 0000:07:00.0: setting latency timer to 64
> > firewire_ohci: Added fw-ohci device 0000:07:00.0, OHCI v1.10, 4 IR + 8 IT contexts, quirks 0x1
> > firewire_core: created device fw0: GUID 0010dc0001adc862, S400
> > firewire_core: created device fw1: GUID 00808803072803a5, S100
> > firewire_core: phy config: card 0, new root=ffc1, gap_count=5
> > 
> > 2.6.36.1 dmesg firewire lines...
> > 
> > firewire_ohci 0000:07:00.0: PCI INT A -> GSI 44 (level, low) -> IRQ 44
> > firewire_ohci 0000:07:00.0: setting latency timer to 64
> > firewire_ohci 0000:07:00.0: irq 75 for MSI/MSI-X
> > firewire_ohci: Added fw-ohci device 0000:07:00.0, OHCI v1.10, 4 IR + 8 IT contexts, quirks 0x1
> > 
> > I have compared the difference between the two kernel configs and the
> > only differences that I see that may apply to the firewire are:
> > 
> >  CONFIG_DNOTIFY=y
> > -CONFIG_INOTIFY=y
> >  CONFIG_INOTIFY_USER=y
> > 
> >  # CONFIG_IEEE1394 is not set 
> > +CONFIG_FIREWIRE_NOSY=m  
> >  CONFIG_I2O=m
> > 
> > On the ieee1394 wiki page it says that these kernel option are expected
> > to be on for the libraw1394:
> > 
> > CONFIG_INOTIFY=y
> > CONFIG_INOTIFY_USER=y
> > CONFIG_EPOLL=y
> > 
> > These option are correct in the 2.6.35.9 kernel but the CONFIG_INOTIFY
> > option is missing completely in the 2.6.36.1 kernel.
> > 
> > Is this a change in how the firewire works in the kernel and that udev
> > needs to be modified or is there something else wrong?

I hadn't noticed that the INOTIFY kconfig options changed relative to
what is documented at the wiki.  I'll update that.

It is most likely not the cause for your issue.  Rather, MSI support
(messages signaled interrupts, added to firewire-ohci in kernel 2.6.36)
of your controller might be buggy.  Which controller do you have
according to "lspci -nn"?

Try "modprobe -r firewire-ohci", "modprobe firewire-ohci quirks=17".
The unrelated quirks flag 1 is already present in firewire-ohci's
quirks list; the additional flag 16 switches off MSI.
-- 
Stefan Richter
-=====-==-=- ==-- --==-
http://arcgraph.de/sr/

  reply	other threads:[~2010-12-06  7:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 23:37 Issue with firewire from 2.6.35.9 to 2.6.36.1 Robin Cook
2010-12-06  0:11 ` Maxim Levitsky
2010-12-06  7:29   ` Stefan Richter [this message]
2010-12-06  9:40     ` Clemens Ladisch
2010-12-06 22:04     ` Robin Cook
2010-12-07  8:27       ` Stefan Richter
2010-12-07  9:17         ` Clemens Ladisch
2010-12-07 14:04           ` Stefan Richter
2011-01-08 10:16       ` Stefan Richter

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=20101206082918.6d1ccc41@stein \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=maximlevitsky@gmail.com \
    --cc=rcook@wyrms.net \
    /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