mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Bromley <sbromley@cogeco.ca>
To: Ben Collins <bcollins@debian.org>
Cc: Torrey Hoffman <thoffman@arnor.net>, gaxt <gaxt@rogers.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	linux firewire devel <linux1394-devel@lists.sourceforge.net>
Subject: Re: Firewire
Date: 24 Jul 2003 23:23:44 -0400	[thread overview]
Message-ID: <1059103424.24427.108.camel@daedalus.samhome.net> (raw)
In-Reply-To: <20030725012908.GT1512@phunnypharm.org>

On Thu, 2003-07-24 at 21:29, Ben Collins wrote:
> On Thu, Jul 24, 2003 at 06:27:24PM -0700, Chris Ruvolo wrote:
> > On Thu, Jul 24, 2003 at 06:13:37PM -0700, Torrey Hoffman wrote:
> > > Sometimes the driver seems to go into an loop of "unsolicted packet
> > > received" messages and attempted resets.  Here's what the log looks like
> > > when that happens:  (this was on 2.5.75)
> > [..]
> > > (this sequence repeats until I turn off or unplug the drive.)
> > 
> > This sounds like what happens to me when I turn on my DV cam.  CPU usage
> > goes up to 40% kernel and loops like that until the device goes off.
> > 
> > What hardware do you have?  lspci?
> > 
> > Marcello's latest 2.4.22-pre8 updates to rev 1010 of the 1394 modules, so
> > I'm curious if I can reproduce this in 2.4 now.
> 
> Could both you guys try this workaround? Should prove or disprove my
> theory.
> 
> Index: linux-2.6/drivers/ieee1394/ohci1394.c
> ===================================================================
> --- linux-2.6/drivers/ieee1394/ohci1394.c	(revision 1013)
> +++ linux-2.6/drivers/ieee1394/ohci1394.c	(working copy)
> @@ -2366,7 +2366,7 @@
>  			ohci1394_stop_context(ohci, d->ctrlClear,
>  					      "respTxComplete");
>  		else
> -			tasklet_schedule(&d->task);
> +			dma_trm_tasklet ((unsigned long)d);
>  		event &= ~OHCI1394_respTxComplete;
>  	}
>  	if (event & OHCI1394_RQPkt) {

For what it's worth, I'm experiencing this as well.
In the hopes of helping, I provide the dmesg
output results after applying the above patch to Rev 1013.
(Running 2.6.0-test1-ac1).

(Goes crazy after plugging in camera.)

<snip>

et received - np
ieee1394: contents: ffc11960 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc11d60 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc12160 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 49

ieee1394: Checking tlabel 50

ieee1394: Checking tlabel 51

ieee1394: Checking tlabel 52

ieee1394: Checking tlabel 53

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc12560 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc12960 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc12d60 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 54

ieee1394: Checking tlabel 55

ieee1394: Checking tlabel 56

ieee1394: Checking tlabel 57

ieee1394: Checking tlabel 58

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc13160 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc13560 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc13960 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 59

ieee1394: Checking tlabel 60

ieee1394: Checking tlabel 61

ieee1394: Checking tlabel 62

ieee1394: Checking tlabel 63

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc13d60 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc14160 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc14560 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 0

ieee1394: Checking tlabel 1

ieee1394: Checking tlabel 2

ieee1394: Checking tlabel 3

ieee1394: Checking tlabel 4

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc14960 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc14d60 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc15160 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 5

ieee1394: Checking tlabel 6

ieee1394: Checking tlabel 7

ieee1394: Checking tlabel 8

ieee1394: Checking tlabel 9

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc15560 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc15960 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc15d60 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 10

ieee1394: Checking tlabel 11

ieee1394: Checking tlabel 12

ieee1394: Checking tlabel 13

ieee1394: Checking tlabel 14

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc16160 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc16560 ffc10000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc16960 ffc10000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Checking tlabel 15

ieee1394: Checking tlabel 16

ieee1394: Checking tlabel 17

<snip>

ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc06960 ffc00000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc06d60 ffc00000 00000000 2e5e0404
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc07160 ffc00000 00000000 2e5e0404
ieee1394: ConfigROM quadlet transaction error for node 0-00:1023
ieee1394: Node removed: ID:BUS[0-00:1023]  GUID[0001687300012646]
video1394: Removed video1394 module
bad: scheduling while atomic!
Call Trace:
 [<c011a0d0>] schedule+0x3a0/0x3b0
 [<c01189b1>] do_page_fault+0x251/0x451
 [<c011a418>] wait_for_completion+0x78/0xd0
 [<c011a130>] default_wake_function+0x0/0x30
 [<c011a130>] default_wake_function+0x0/0x30
 [<c0126f22>] kill_proc_info+0x42/0x70
 [<e4ed0245>] nodemgr_remove_host+0x55/0xa0 [ieee1394]
 [<e4ecbc6b>] highlevel_remove_host+0x6b/0x80 [ieee1394]
 [<e4eb3a21>] ohci1394_pci_remove+0x41/0x230 [ohci1394]
 [<c01ecfeb>] pci_device_remove+0x3b/0x40
 [<c0233092>] device_release_driver+0x62/0x70
 [<c02330c0>] driver_detach+0x20/0x30
 [<c023331d>] bus_remove_driver+0x3d/0x80
 [<c0233743>] driver_unregister+0x13/0x28
 [<c01ed2b6>] pci_unregister_driver+0x16/0x30
 [<e4eb3edf>] ohci1394_cleanup+0xf/0x13 [ohci1394]
 [<c01317b3>] sys_delete_module+0x133/0x150
 [<c0144874>] sys_munmap+0x44/0x70
 [<c0109087>] syscall_call+0x7/0xb

If I can provide better information, let me know.

Sam Bromley.


  parent reply	other threads:[~2003-07-25  3:08 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24 13:34 Firewire gaxt
2003-07-24 22:35 ` Firewire Chris Ruvolo
2003-07-24 22:36   ` Firewire Ben Collins
2003-07-24 23:09     ` Firewire Chris Ruvolo
2003-07-24 23:14       ` Firewire Ben Collins
2003-07-24 23:48         ` Firewire Chris Ruvolo
2003-07-24 23:45           ` Firewire Ben Collins
2003-07-25  0:07             ` Firewire Chris Ruvolo
2003-07-25  0:14           ` Firewire Chris Ruvolo
2003-07-25  1:13       ` Firewire Torrey Hoffman
2003-07-25  1:27         ` Firewire Chris Ruvolo
2003-07-25  1:29           ` Firewire Ben Collins
2003-07-25  2:00             ` Firewire Chris Ruvolo
2003-07-25  2:19               ` Firewire Ben Collins
2003-07-25  3:23             ` Sam Bromley [this message]
2003-07-25  4:12               ` Firewire Ben Collins
2003-07-25  5:39                 ` Firewire Chris Ruvolo
2003-07-25 13:34                   ` Firewire Ben Collins
2003-07-25 14:06                     ` Firewire gaxt
2003-07-25 13:47                       ` Firewire Ben Collins
2003-07-25 14:23                         ` Firewire gaxt
2003-07-25 15:28                           ` Firewire gaxt
2003-07-25 14:29                     ` Firewire Chris Ruvolo
2003-07-25 14:29                       ` Firewire Ben Collins
2003-07-25 15:40                         ` Firewire Ben Collins
2003-07-25 16:07                           ` Firewire Chris Ruvolo
2003-07-25 16:18                             ` Firewire Ben Collins
2003-07-25 17:02                               ` Firewire Chris Ruvolo
2003-07-25 17:07                                 ` Firewire Ben Collins
2003-07-25 17:51                               ` Firewire Torrey Hoffman
2003-07-25 18:13                                 ` Firewire Chris Ruvolo
2003-07-25 18:12                                   ` Firewire Ben Collins
2003-07-25 18:43                                     ` Firewire gaxt
2003-07-25 18:26                                       ` Firewire Ben Collins
2003-07-25 18:45                                         ` Firewire Ben Collins
2003-07-25 19:16                                           ` Firewire gaxt
2003-07-25 19:35                                           ` Firewire Chris Ruvolo
2003-07-25 20:11                                             ` Firewire Ben Collins
2003-07-25 21:48                                               ` Firewire gaxt
2003-07-26  4:41                                               ` Firewire (One fix worked, now getting oops) Sam Bromley
2003-07-26 15:12                                                 ` Ben Collins
2003-07-26 17:41                                                   ` Sam Bromley
2003-07-26 17:45                                                     ` Ben Collins
2003-07-26 16:52                                               ` Firewire Chris Ruvolo
2003-07-26 17:45                                                 ` Firewire Ben Collins
2003-07-25 20:48                                             ` Firewire Torrey Hoffman
2003-07-25 20:44                                               ` Firewire Ben Collins
2003-07-25 18:18                                   ` Firewire Torrey Hoffman
2003-07-25 18:33                                   ` Firewire gaxt
2003-07-25 16:28                           ` Firewire gaxt
2003-07-25 15:53                         ` Firewire Chris Ruvolo
2003-07-25 15:47                           ` Firewire Ben Collins
2003-07-25 16:14                             ` Firewire Chris Ruvolo
2003-07-25 13:34                   ` Firewire Ben Collins

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=1059103424.24427.108.camel@daedalus.samhome.net \
    --to=sbromley@cogeco.ca \
    --cc=bcollins@debian.org \
    --cc=gaxt@rogers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=thoffman@arnor.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

all inboxes | Powered by JetHome®