mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] ieee1394: remove the old IEEE 1394 driver stack
Date: Thu, 14 Oct 2010 09:46:56 +0200	[thread overview]
Message-ID: <4CB6B570.6030509@s5r6.in-berlin.de> (raw)
In-Reply-To: <1287014362.23588.1.camel@maxim-laptop>

Maxim Levitsky wrote:
> On Sun, 2010-10-10 at 00:12 +0200, Stefan Richter wrote:
>> The drivers
>>   - ohci1394 (controller driver)
>>   - ieee1394 (core)
>>   - dv1394, raw1394, video1394 (userspace ABI)
>>   - eth1394, sbp2 (protocol drivers)
>> are replaced by
>>   - firewire-ohci (controller driver)
>>   - firewire-core (core and userspace ABI)
>>   - firewire-net, firewire-sbp2 (protocol drivers)
>> which are more featureful, better performing, and more secure than the older
>> drivers; all with a smaller and more modern code base.
> But new stack doesn't have working networking support...

firewire-net did work for me to /some/ degree when I tested it last:  Transfer
s via FTP or SCP command line clients was OK, even with huge files, but an
attempt to use FTP via desktop file manager ended in kernel crash.

In contrast, eth1394 worked to /some/ other degree for me when I tested it
last:  It never crashed, but it had irregular performance (due to DMA context
program overflow, besides ieee1394's tlabel recycling in a wrong context) when
paired with {Linux,Windows,OS X}/x86, whereas transfers from and to an OS
X/PPC peer always failed due to data corruption.

That's what I meant with
>>   - The experimental firewire-net is reportedly less stable than its
>>     experimental cousin eth1394.

Maybe these words were too kind to firewire-net.

eth1394 was never stabilized because there was nobody there to do so.  Will
somebody be there to stabilize firewire-net?  A while ago I spent the time to
fix an SMP bug in firewire-net.  Lately I looked a bit into the currently
known crash bug but obviously did not resolve it yet.  At the moment I suspect
a race between fw_card_driver.send_request and fw_card_driver.cancel_packet
but did not find a hole in that code yet.

Overall I am not convinced that this or any of the other open issues that I
mentioned warrants to stretch out the coexistence of two 1394 kernel stacks
further.  Many distributors still enable only the old, buggy, virtually
unmaintained stack.  Some distributors enable both stacks but are not aware
that they then should also provide a modprobe blacklist file, and their users
end up running a random set of drivers.  Until 2.6.36-rc4 inclusive that
usually seemed to be the old stack; from 2.6.36-rc5 onwards that randomness
will probably be skewed towards the new stack.  There is only one way to fix
that only seemingly trivial deployment issue.
-- 
Stefan Richter
-=====-==-=- =-=- -===-
http://arcgraph.de/sr/

  reply	other threads:[~2010-10-14  7:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09 21:54 [PATCH 1/2] ieee1394: move init_ohci1394_dma to drivers/firewire/ Stefan Richter
2010-10-09 22:12 ` [PATCH 2/2] ieee1394: remove the old IEEE 1394 driver stack Stefan Richter
2010-10-13 23:59   ` Maxim Levitsky
2010-10-14  7:46     ` Stefan Richter [this message]
2010-10-14 23:29       ` Maxim Levitsky
2010-10-09 22:54 ` [PATCH 1/2] ieee1394: move init_ohci1394_dma to drivers/firewire/ 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=4CB6B570.6030509@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=maximlevitsky@gmail.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

all inboxes | Powered by JetHome®