mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net
Cc: "Rogério Brito" <rbrito@ime.usp.br>, "Andrew Morton" <akpm@osdl.org>
Subject: Re: Problems with Firewire and -mm kernels
Date: Tue, 28 Jun 2005 20:47:28 +0200	[thread overview]
Message-ID: <42C19B40.3080500@s5r6.in-berlin.de> (raw)
In-Reply-To: <20050628081815.GA21412@ime.usp.br>

Rogério Brito wrote:
> On Jun 28 2005, Stefan Richter wrote:
>>But again, I don't see how -mm and the stock kernel should differ to that
>>respect.
> 
> Well, I can only say that this problem is 100% reproducible with my
> enclosure.
> 
> Perhaps more data is needed here? The 2.6.12 kernel is able to see the
> drive without any problems while the -mm kernels aren't. I can provide
> anything that you guys want.

What we know is:
  - With -mm, your machine started to require the switching of phy IDs
    for a proper cycle master.
  - With -mm, the device formerly sensed by scsi_mod's probe as
    "Direct-Access" device + SCSI rev 06 is allegedly of "Unknown" type +
    SCSI rev 04 now. Vendor and model are still recognized though.

So what we don't know at the moment is:
  - What did change to make the formerly "unlikely to happen" FireWire
    bus reset "extremely likely to happen" now? (That is how I interpret
    the ratio of 0% to 100% which you observed.)
  - Does this reset infuence how the device answers to scsi inquiries?
    So far there were only reports on the linux1394 mailinglists
    indicating that with this reset, devices respond differently to
    config ROM queries from the ieee1394 driver. This is way before sbp2
    and scsi_mod get to know about the device.

My current uneducated guess is that the FireWire bus reset and the SCSI 
probing problem are actually unrelated. The cause for the latter problem 
might be 2.6.12-mm2/broken-out/git-scsi-block.patch. At least that is 
what I think after a look through the -mm2 patch collection.

>>You could load ieee1394 with a new parameter that supresses the "Root 
>>node is not cycle master capable..." routine:
>># modprobe ieee1394 disable_irm=1
>>before ohci1394 and the other 1394 related drivers are loaded.
> 
> Ok, I'll disable hotplug, udev etc and try to boot into single user mode
> for that as soon as I wake up (I'm going to bed right now---had a lot of
> work done for a day).

You do not need to go through all this. Unload all 1394 drivers 
(although this may fail sometimes when scsi does not let go of sbp2), 
then reload ieee1394 with the parameter, then ohci1394. No need to go 
into another runlevel or to mess around with hotplug or udev.

>>>ieee1394: Node changed: 0-01:1023 -> 0-00:1023
>>>ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[0050c501e00010e8]
>>
>>What caused these two messages? Did you disconnect the drive at this
>>point?
> 
> Yes, I did. In both cases, just to see if any messages issued to dmesg were
> different when unplugging the drive.

Then these two messages are OK.
-- 
Stefan Richter
-=====-=-=-= -==- ===--
http://arcgraph.de/sr/

  reply	other threads:[~2005-06-28 18:48 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-26 11:03 2.6.12-mm2 Andrew Morton
2005-06-26 11:42 ` 2.6.12-mm2 Russell King
2005-06-26 23:17   ` 2.6.12-mm2 Grant Coady
2005-06-27  8:11     ` 2.6.12-mm2 Russell King
2005-06-26 12:04 ` 2.6.12-mm2 Michał Piotrowski
2005-06-27  2:50   ` Problems with Firewire and -mm kernels (was: Re: 2.6.12-mm2) Rogério Brito
2005-06-27 23:45     ` Andrew Morton
2005-06-28  1:00       ` Rogério Brito
2005-06-28  2:22         ` Rogério Brito
2005-06-28  3:22         ` Andrew Morton
2005-06-28  4:00           ` Ben Collins
2005-06-28  6:12             ` Rogério Brito
2005-06-28 16:15               ` Ben Collins
2005-07-01  1:01                 ` Problems with Firewire and -mm kernels Rogério Brito
2005-07-01  1:12                   ` Ben Collins
2005-07-01  2:23                     ` Rogério Brito
2005-07-01  2:28                     ` Problems with Firewire and -mm kernels (and vanilla 2.6.13-rc1) Rogério Brito
2005-07-01  2:44                     ` Problems with Firewire and -mm kernels Rogério Brito
2005-07-01  3:18                       ` Ben Collins
2005-07-01  4:01                         ` Dan Dennedy
2005-07-01  4:37                           ` Stefan Richter
2005-07-01  4:12                         ` Stefan Richter
2005-07-01  4:30                         ` Rogério Brito
2005-07-01  5:15                           ` Ben Collins
2005-06-28  7:42           ` Stefan Richter
2005-06-28  7:46             ` Andrew Morton
2005-06-28  8:37               ` Rogério Brito
2005-06-28 16:25                 ` Ben Collins
2005-06-28 16:38               ` Giuseppe Bilotta
2005-06-28  8:18             ` Rogério Brito
2005-06-28 18:47               ` Stefan Richter [this message]
2005-06-30  0:43             ` Rogério Brito
2005-06-26 14:04 ` ACPI-based PCI resources: PCMCIA bugfix, but resources missing in trees Dominik Brodowski
2005-06-26 19:17   ` Andrew Morton
2005-06-26 19:34     ` Russell King
2005-06-26 20:14     ` Dominik Brodowski
2005-06-27 20:18       ` Rajesh Shah
2005-06-27 20:26         ` Dominik Brodowski
2005-06-27  1:38   ` Grant Coady
2005-06-27  5:59     ` Dominik Brodowski
2005-06-27  8:55       ` Grant Coady
2005-06-26 14:18 ` 2.6.12-mm2 Adam Kropelin
2005-06-26 19:25   ` 2.6.12-mm2 Andrew Morton
2005-06-26 19:39     ` 2.6.12-mm2 Vojtech Pavlik
2005-06-27 13:13     ` 2.6.12-mm2 Vojtech Pavlik
2005-06-26 16:05 ` [-mm patch] kernel/irq/autoprobe.c: remove an unused variable Adrian Bunk
2005-06-26 19:51 ` 2.6.12-mm2 Brice Goglin
2005-06-27  0:44 ` 2.6.12-mm2 J.A. Magallon
2005-06-27  0:56   ` 2.6.12-mm2 Andrew Morton
2005-06-29  0:31 ` [sparc32] Kconfig fixups (was Re: 2.6.12-mm2) William Lee Irwin III

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=42C19B40.3080500@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=rbrito@ime.usp.br \
    /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®