I tested the following patch by mounting an old mac as an HDD over
firewire using the latest firefire modules in Maverick. Changes look
functional, pgraner has said he is going to test a straight out firewire
disk and share the results. I have attached the lsmod ouput for reference.
>
> I tested the following patch by mounting an old mac as an HDD over firewire
> using the latest firefire modules in Maverick. Changes look functional,
> pgraner has said he is going to test a straight out firewire disk and share
> the results. I have attached the lsmod ouput for reference.
>
> _OK
> [ 1468.679260] firewire_sbp2: released fw2.0, target 5:0:0
> [ 1468.692731] sd 6:0:0:0: [sdc] Stopping disk
> [ 1468.693098] sd 6:0:0:0: [sdc] START_STOP FAILED
> [ 1468.693101] sd 6:0:0:0: [sdc] Result: hostbyte=DID_BUS_BUSY
> driverbyte=DRIVER_OK
> [ 1468.693192] firewire_sbp2: released fw2.1, target 6:0:0
> [ 1477.872141] scsi7 : SBP-2 IEEE-1394
> [ 1477.872277] scsi8 : SBP-2 IEEE-1394
> [ 1477.872349] firewire_core: created device fw1: GUID 000d93fffe46a414, S400
> [ 1477.872356] firewire_core: phy config: card 0, new root=ffc0, gap_count=5
> [ 1478.070581] firewire_sbp2: fw1.0: logged in to LUN 0000 (0 retries)
> [ 1478.071563] scsi 7:0:0:0: Direct-Access-RBC AAPL FireWire Target 0000
> PQ: 0 ANSI: 3
> [ 1478.071869] sd 7:0:0:0: Attached scsi generic sg2 type 14
> [ 1478.072326] firewire_sbp2: fw1.1: logged in to LUN 0000 (0 retries)
> [ 1478.073134] scsi 8:0:0:0: Direct-Access-RBC AAPL FireWire Target 0000
> PQ: 0 ANSI: 3
> [ 1478.073369] sd 8:0:0:0: Attached scsi generic sg3 type 14
> [ 1478.079561] sd 8:0:0:0: [sdc] 58605120 512-byte logical blocks: (30.0
> GB/27.9 GiB)
> [ 1478.080800] sd 7:0:0:0: [sdb] Attached SCSI removable disk
> [ 1478.080971] sd 8:0:0:0: [sdc] Write Protect is off
> [ 1478.080976] sd 8:0:0:0: [sdc] Mode Sense: 10 00 00 00
> [ 1478.082700] sd 8:0:0:0: [sdc] Write cache: disabled, read cache: enabled,
> doesn't support DPO or FUA
> [ 1478.088782] sdc: [mac] sdc1 sdc2 sdc3 sdc4
> [ 1478.340171] sd 8:0:0:0: [sdc] Attached SCSI disk
> [ 1478.667709] hfs: Filesystem was not cleanly unmounted, running
> fsck.hfsplus is recommended. mounting read-only.
> manjo@sleepy:~$
>
> Patch is as follows:
>
> # Bazaar merge directive format 2 (Bazaar 0.90)
> # revision_id: manoj.iyer@canonical.com-20100615183844-
> # w76q9m8piz9rwnct
> # target_branch: bzr+ssh://bazaar.launchpad.net/~ubuntu-
> # branches/ubuntu/maverick/module-init-tools/maverick/
> # testament_sha1: cc3e9eb552c741535f6c12fbf826c1dc5f17f4f9
> # timestamp: 2010-06-15 13:42:49 -0500
> # base_revision_id: scott@netsplit.com-20100607153501-04lamqgljxjgmhbt
> # # Begin patch
> === modified file 'debian/modprobe.d/blacklist-firewire.conf'
> --- debian/modprobe.d/blacklist-firewire.conf 2009-03-09 13:33:38 +0000
> +++ debian/modprobe.d/blacklist-firewire.conf 2010-06-15 18:38:44 +0000
> @@ -1,10 +1,8 @@
> # Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
>
> -#blacklist ohci1394
> -#blacklist sbp2
> -#blacklist dv1394
> -#blacklist raw1394
> -#blacklist video1394
> -
> -blacklist firewire-ohci
> -blacklist firewire-sbp2
> +blacklist ohci1394
> +blacklist sbp2
> +blacklist eth1394
> +blacklist dv1394
> +blacklist raw1394
> +blacklist video1394
>
> # Begin bundle
> IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWS ZTWfJXwjcAAivfgGAQUG//93//
> //C////wYAY+Xx9UF73hn2+6SXsJfZt4NREwTRlGZMRhTMmkxkaGjEyJi YmRpoGoU9ATIxGmmmTI
> Yp6aNDU8mpiZNNNNGQAVTBNNG0RgIZGjR6BDRoDI00ZGgaNBKg CRiNJ6aeqMEyBp6IGgyDJpoAAC
> SRMUxG1KfoTSaZPUbU2k9J6m9UaaZGmamI9I9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kdbp0Hhmn0s45b1sDI+95ZaN+1xSoMmEDLNs1rlWpz0R6GAWq FALJOb8cFMz5idCpAMO9Cz+nAD
> vDnX3sQhARYgnRLJ/i7kinChIeSvhG4=
>
>
> Cheers
> --- manjo
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-16-2010, 11:51 PM
Luke Yelavich
switch to new firewire stack.
On Thu, Jun 17, 2010 at 04:00:46AM EST, Manoj Iyer wrote:
>
> I put up a wiki page on making the switch in Maverick (also for lucid)
>
> https://wiki.ubuntu.com/Kernel/SwitchFirewireStack
Has the necessary userspace work been done for this? If not, I can look at it, so that we can also switch ffado over to the new stack.
Luke
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 09:18 AM
Andy Whitcroft
switch to new firewire stack.
On Thu, Jun 17, 2010 at 09:51:27AM +1000, Luke Yelavich wrote:
> On Thu, Jun 17, 2010 at 04:00:46AM EST, Manoj Iyer wrote:
> >
> > I put up a wiki page on making the switch in Maverick (also for lucid)
> >
> > https://wiki.ubuntu.com/Kernel/SwitchFirewireStack
>
> Has the necessary userspace work been done for this? If not, I can look at it, so that we can also switch ffado over to the new stack.
I belive it has not. Perhapw we should put together a PPA with all of
the modified packages so people can test easily and we can put a
compelling tested case forward.
-apw
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 09:19 AM
Andy Whitcroft
switch to new firewire stack.
On Wed, Jun 16, 2010 at 12:45:04PM -0500, Manoj Iyer wrote:
I think it might make more sense to just switch the commenting, you are
removing the new ones so its harder for someone to revert back to
confirm a problem with the new stack.
-apw
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 03:06 PM
switch to new firewire stack.
libraw1394 - libraw1394 v2.0.5 is the current release and also the
recommended stable release for use with the new firewire drivers.
libdc1394 - libdc1394 v2.1.2 is the current release and also the
recommended stable release for use with the new firewire drivers.
Luke, can you see if FFmpeg: libavformat is ported to use the new stack?
Cheers
--- manjo
On Thu, 17 Jun 2010, Andy Whitcroft wrote:
> On Thu, Jun 17, 2010 at 09:51:27AM +1000, Luke Yelavich wrote:
>> On Thu, Jun 17, 2010 at 04:00:46AM EST, Manoj Iyer wrote:
>>>
>>> I put up a wiki page on making the switch in Maverick (also for lucid)
>>>
>>> https://wiki.ubuntu.com/Kernel/SwitchFirewireStack
>>
>> Has the necessary userspace work been done for this? If not, I can look at it, so that we can also switch ffado over to the new stack.
>
> I belive it has not. Perhapw we should put together a PPA with all of
> the modified packages so people can test easily and we can put a
> compelling tested case forward.
>
> -apw
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 03:21 PM
switch to new firewire stack.
Resending patch modified as per apw's comments.
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: manoj.iyer@canonical.com-20100617151812-
# mixlvx9mvhb3y1m1
# target_branch: bzr+ssh://bazaar.launchpad.net/~ubuntu-
# branches/ubuntu/maverick/module-init-tools/maverick/
# testament_sha1: e77c73fa00a61b8307ee5b1908f92b6a97d04649
# timestamp: 2010-06-17 10:19:17 -0500
# base_revision_id: scott@netsplit.com-20100607153501-04lamqgljxjgmhbt
#
# Begin patch
=== modified file 'debian/modprobe.d/blacklist-firewire.conf'
--- debian/modprobe.d/blacklist-firewire.conf 2009-03-09 13:33:38 +0000
+++ debian/modprobe.d/blacklist-firewire.conf 2010-06-17 15:18:12 +0000
@@ -1,10 +1,12 @@
-# Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
-
-#blacklist ohci1394
-#blacklist sbp2
-#blacklist dv1394
-#blacklist raw1394
-#blacklist video1394
-
-blacklist firewire-ohci
-blacklist firewire-sbp2
+# Select the new firewire stack over the legacy one. To switch back to
+# legacy stack reverse the commenting and rebuild initramfs.
+
+blacklist ohci1394
+blacklist sbp2
+blacklist eth1394
+blacklist dv1394
+blacklist raw1394
+blacklist video1394
+
+#blacklist firewire-ohci
+#blacklist firewire-sbp2
> On Wed, Jun 16, 2010 at 12:45:04PM -0500, Manoj Iyer wrote:
>
>> # Bazaar merge directive format 2 (Bazaar 0.90)
>> # revision_id: manoj.iyer@canonical.com-20100615183844-
>> # w76q9m8piz9rwnct
>> # target_branch: bzr+ssh://bazaar.launchpad.net/~ubuntu-
>> # branches/ubuntu/maverick/module-init-tools/maverick/
>> # testament_sha1: cc3e9eb552c741535f6c12fbf826c1dc5f17f4f9
>> # timestamp: 2010-06-15 13:42:49 -0500
>> # base_revision_id: scott@netsplit.com-20100607153501-04lamqgljxjgmhbt
>> # # Begin patch
>> === modified file 'debian/modprobe.d/blacklist-firewire.conf'
>> --- debian/modprobe.d/blacklist-firewire.conf 2009-03-09 13:33:38 +0000
>> +++ debian/modprobe.d/blacklist-firewire.conf 2010-06-15 18:38:44 +0000
>> @@ -1,10 +1,8 @@
>> # Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
>>
>> -#blacklist ohci1394
>> -#blacklist sbp2
>> -#blacklist dv1394
>> -#blacklist raw1394
>> -#blacklist video1394
>> -
>> -blacklist firewire-ohci
>> -blacklist firewire-sbp2
>> +blacklist ohci1394
>> +blacklist sbp2
>> +blacklist eth1394
>> +blacklist dv1394
>> +blacklist raw1394
>> +blacklist video1394
>
> I think it might make more sense to just switch the commenting, you are
> removing the new ones so its harder for someone to revert back to
> confirm a problem with the new stack.
>
> -apw
>
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 04:01 PM
Jeremy Foshee
switch to new firewire stack.
On Thu, Jun 17, 2010 at 10:18:10AM +0100, Andy Whitcroft wrote:
> On Thu, Jun 17, 2010 at 09:51:27AM +1000, Luke Yelavich wrote:
> > On Thu, Jun 17, 2010 at 04:00:46AM EST, Manoj Iyer wrote:
> > >
> > > I put up a wiki page on making the switch in Maverick (also for lucid)
> > >
> > > https://wiki.ubuntu.com/Kernel/SwitchFirewireStack
> >
> > Has the necessary userspace work been done for this? If not, I can look at it, so that we can also switch ffado over to the new stack.
>
> I belive it has not. Perhapw we should put together a PPA with all of
> the modified packages so people can test easily and we can put a
> compelling tested case forward.
>
I have the text of a call for testing ready. I agree that we need a test
kernel and some further investigation as to the difficulty in reverting
this during our call for testing so that we can document exactly what is
needed by a new user to revert this change to the old stack. Currently
all I have seen is how to set up to use the new stack.
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
06-17-2010, 04:54 PM
Pete Graner
switch to new firewire stack.
On Wed, 2010-06-16 at 12:45 -0500, Manoj Iyer wrote:
> I tested the following patch by mounting an old mac as an HDD over
> firewire using the latest firefire modules in Maverick. Changes look
> functional, pgraner has said he is going to test a straight out firewire
> disk and share the results. I have attached the lsmod ouput for reference.
>
> Cheers
> --- manjo
Ok so nothing is working, I suspect its the actual card being busted, so
I'm swapping one out today and will try again. Stay tuned.