mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Alistair John Strachan <s0348365@sms.ed.ac.uk>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	bcollins@debian.org, linux1394-devel@lists.sourceforge.net
Subject: Re: ohci1394 regression in 2.6.19-rc1 (was Re: Merge window closed: v2.6.19-rc1)
Date: Fri, 06 Oct 2006 00:16:15 +0200	[thread overview]
Message-ID: <4525842F.3040109@s5r6.in-berlin.de> (raw)
In-Reply-To: <200610052132.11544.s0348365@sms.ed.ac.uk>

Alistair John Strachan wrote:
> On Thursday 05 October 2006 21:30, Alistair John Strachan wrote:
> [snip]
>> I haven't tried to use it, but I agree that the outcome is similar. I
>> recompiled with excessive debug output on 2.6.19-rc1, and uploaded the
>> configs for 2.6.19-rc1 and 2.6.18, and the corresponding dmesg outputs. As
>> you can see, 2.6.18 does not exhibit any problems.
> 
> Forgetting the URL; apologies:
> 
> http://devzero.co.uk/~alistair/ieee1394/

Thanks. From the 2.6.19-rc1 dmesg: The ieee1394 core inserts a packet
before there was the first bus reset and first self ID stage completed.
This shouldn't happen. Also, the packet looks a bit weird but that is
probably because some base variables are still zero when this packet is
sent:

[   39.513301] ieee1394: send packet at S100: ffc00140 0000ffff f0000234

destination = ffc0: node 0 on local FireWire bus (this is the host's
node; there isn't any other one anyway)
transaction label = 0: OK
retry code = 1: bogus, should be 0 as the first attempt
transaction code = 4: quadlet read request (usually used "much" later by
higher-level code, i.e. ieee1394's nodemgr, after self ID stage was
properly completed plus a pause)
pri = 0: OK
source ID = 0000: not OK, should be ffc0 on proper packets
destination offset = ffff f000 0234: this is the address of the
BROADCAST_CHANNEL register (usually read "much" later by ieee1394's
nodemgr to probe capabilities of an IRM: nodemgr_check_irm_capability()
calls this.)

It does indeed look like the nodemgr kicked in prematurely. After some
other messages from lower levels and from different contexts, there is
also a sign of nodemgr_check_irm_capability() failing (it can only fail
this early):

[   40.298112] ieee1394: Current remote IRM is not 1394a-2000 compliant,
resetting...

OK. Enough with the boring details. Maybe the following patch doesn't
work entirely as I intended:
"ieee1394: nodemgr: switch to kthread api, replace reset semaphore"
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=d2f119fe319528da8c76a1107459d6f478cbf28c

I think if you revert the next patch first...
"ieee1394: nodemgr: convert nodemgr_serialize semaphore to mutex"
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=cab8d154e2ed43fe1495aa0e18103e747552891b

...you can then revert the 'switch to kthread' patch and see if the
message "Running dma failed because Node ID is not valid" disappears.
Would be nice if you could test that.
-- 
Stefan Richter
-=====-=-==- =-=- --=-=
http://arcgraph.de/sr/

  reply	other threads:[~2006-10-05 22:16 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05  3:29 Merge window closed: v2.6.19-rc1 Linus Torvalds
2006-10-05  4:28 ` 2.6.19-rc1: known regressions Adrian Bunk
2006-10-05  4:45   ` Benjamin Herrenschmidt
2006-10-05  6:37     ` Jens Axboe
2006-10-05  6:52       ` Benjamin Herrenschmidt
2006-10-05 11:01       ` Gene Heskett
2006-10-05 14:04     ` Adrian Bunk
2006-10-05 20:27     ` Andreas Schwab
2006-10-05 21:15       ` Mel Gorman
2006-10-06  0:24         ` Andreas Schwab
2006-10-06  9:51           ` [PATCH] Use symbolic names instead of indices for zone initialisation Mel Gorman
2006-10-05  7:16   ` 2.6.19-rc1: known regressions Nigel Cunningham
2006-10-05  8:27   ` [patch] x86, fix rwsem build bug on CONFIG_M386=y Ingo Molnar
2006-10-05  9:41     ` [discuss] " Andi Kleen
2006-10-10 12:18   ` cpufreq not working on AMD K8 (was Re: 2.6.19-rc1: known regressions) Christian
2006-10-10 14:59     ` Langsdorf, Mark
2006-10-10 16:37       ` Christian
2006-10-10 16:43         ` Langsdorf, Mark
2006-10-11 14:06           ` Christian
2006-10-11 17:33             ` Langsdorf, Mark
2006-10-11 18:16               ` Christian
2006-10-11 18:38                 ` Tomasz Torcz
2006-10-11  4:23     ` Adrian Bunk
2006-10-11  9:30       ` Christian
2006-10-11 14:57         ` Adrian Bunk
2006-10-05 15:09 ` Merge window closed: v2.6.19-rc1 Alistair John Strachan
2006-10-05 18:56   ` ohci1394 regression in 2.6.19-rc1 (was Re: Merge window closed: v2.6.19-rc1) Stefan Richter
2006-10-05 20:30     ` Alistair John Strachan
2006-10-05 20:32       ` Alistair John Strachan
2006-10-05 22:16         ` Stefan Richter [this message]
2006-10-05 22:37           ` Alistair John Strachan
2006-10-05 23:22             ` ohci1394 regression in 2.6.19-rc1 Stefan Richter
2006-10-06 13:55               ` Stefan Richter
2006-10-06 17:17                 ` Stefan Richter
2006-10-06 18:33                   ` Stefan Richter
2006-10-06 22:52                     ` Alistair John Strachan
2006-10-05 15:41 ` Merge window closed: v2.6.19-rc1 Gene Heskett
2006-10-06  8:36   ` usb resets [Was Re: Merge window closed: v2.6.19-rc1] Uwe Zeisberger
2006-10-06 12:18     ` Gene Heskett
2006-10-05 19:17 ` Merge window closed: v2.6.19-rc1 Peter Osterlund
2006-10-05 19:21   ` Eric Sandeen
2006-10-05 20:49 ` [patch] fix qla{2,4} build error Frederik Deweerdt
2006-10-05 22:01   ` Andrew Vasquez
2006-10-06 16:54     ` [PATCH] Maintain module-parameter name consistency with qla2xxx/qla4xxx Andrew Vasquez
2006-10-05 21:09 ` monitor not active after boot (was Re: Merge window closed: v2.6.19-rc1) Olaf Hering
2006-10-08 10:12   ` Olaf Hering
2006-10-06  4:31 ` Merge window closed: v2.6.19-rc1 Alex Romosan
2006-10-06 18:47   ` 2.6.19-rc1 regression: airo suspend fails Adrian Bunk
2006-10-07  3:54     ` Alex Romosan
2006-10-07 19:52     ` Dave Kleikamp
2006-10-07 20:17       ` Alex Romosan
2006-10-08  6:43       ` Pavel Machek
2006-10-06 17:49 ` Merge window closed: v2.6.19-rc1 caszonyi
2006-10-06 18:12   ` Linus Torvalds
2006-10-06 19:05     ` Eric W. Biederman
2006-10-07 18:23       ` Gabor Gombas
2006-10-07 20:29         ` Eric W. Biederman
2006-10-06 22:43     ` Grant Coady
2006-10-06 22:47 ` Jesper Juhl
2006-10-07  2:33   ` Linus Torvalds
2006-10-07 13:16     ` James Bottomley
     [not found] ` <20061007214620.GB8810@stusta.de>
2006-10-07 23:02   ` 2.6.19-rc1: known regressions (v2) Prakash Punnoor
2006-10-08  7:12   ` x60 backlight Re: [discuss] " Pavel Machek
2006-10-08 17:38     ` Adrian Bunk
2006-10-08 17:59       ` Michael S. Tsirkin
2006-10-08 19:30         ` Adrian Bunk
2006-10-16 19:39           ` Michael S. Tsirkin
2006-10-08 18:36       ` Pavel Machek
2006-10-08 19:29         ` Adrian Bunk
2006-10-08 23:44     ` Jeremy Fitzhardinge
2006-10-08 11:10   ` [GIT PULL] ieee1394 update (was 2.6.19-rc1: known regressions (v2)) Stefan Richter
2006-10-09 15:32   ` 2.6.19-rc1: known regressions (v2) - xfrm_register_mode Steve Fox
2006-10-09 15:51     ` Mel Gorman
2006-10-08 11:47 ` BUG when doing parallel NFS mounts (WAS: Re: Merge window closed: v2.6.19-rc1) Peter Osterlund
2006-10-08 15:19   ` Peter Osterlund
2006-10-08 18:35     ` Trond Myklebust
2006-10-08 18:54       ` Peter Osterlund
2006-10-08 19:21         ` Trond Myklebust
2006-10-09  0:31 ` 2.6.19-rc1: DVB frontend selection causes compile errors Adrian Bunk
2006-10-09  7:53   ` [v4l-dvb-maintainer] " Michael Krufky
2006-10-09  8:05     ` Adrian Bunk
2006-10-09  8:27       ` Michael Krufky
2006-10-14  5:23         ` Randy Dunlap
2006-10-14 13:32           ` Trent Piepho
     [not found] ` <20061010051019.GB3650@stusta.de>
2006-10-10  5:16   ` 2.6.19-rc1: known regressions (v3) Benjamin Herrenschmidt
2006-10-10  8:41   ` Mel Gorman
     [not found]   ` <17708.9637.569670.824121@cargo.ozlabs.ibm.com>
2006-10-11  3:08     ` Adrian Bunk

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=4525842F.3040109@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=bcollins@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=s0348365@sms.ed.ac.uk \
    --cc=torvalds@osdl.org \
    /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

Powered by JetHome