Re: OXFW 911 problems

From: Patric <pakar_at_imperialnet.org>
Date: Thu 19 Aug 2004 - 02:15:16 CEST
Message-Id: <1092874516.22914.20.camel@localhost>

Just got it to work here...

sbp2: $Rev: 1096 $ Ben Collins <bcollins@debian.org>
ohci1394: $Rev: 1097 $ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[19]
MMIO=[d2007000-d20077ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00508b08800370fe]
ieee1394: Node added: ID:BUS[0-01:1023] GUID[0030e001ee911099]
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: HDS72251 Model: 6VLAT20 Rev:
  Type: Direct-Access ANSI SCSI revision: 06
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: HDS72251 Model: 6VLAT20 Rev:
  Type: Direct-Access ANSI SCSI revision: 06
SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB)
sdb: asking for cache data failed
sdb: assuming drive cache: write through
 /dev/scsi/host0/bus0/target1/lun0: p1
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
Attached scsi generic sg1 at scsi0, channel 0, id 1, lun 0, type 0

It's now atleast verified that it's only the ieee1394 path that causes
this problem.

What i did was that i got the drivers/ieee1394 folder from a 2.6.2
kernel and replaced the ieee1394 folder in the 2.6.7 kernel.

then patch the file ieee1394_types.h
since we dont have CLEAR_BITMAP function in 2.6.7.

so in here:
#define HPSB_TPOOL_INIT(_tp) \
do { \
        CLEAR_BITMAP((_tp)->pool, 64); \
        spin_lock_init(&(_tp)->lock); \
        (_tp)->next = 0; \
        (_tp)->allocations = 0; \
        sema_init(&(_tp)->count, 63); \
} while (0)

replace CLEAR_BITMAP with:
        memset((_tp)->pool, 0, BITS_TO_LONGS(64)*sizeof(unsigned long));

Also since there are a couple of more functions that are not accessible
from 2.6.7 any more i managed to compile this with the current settings:
  <M> IEEE 1394 (FireWire) support (EXPERIMENTAL)
  <M> OHCI-1394 support
  <M> SBP-2 support (Harddisks etc.)

Since cdev_unmap among other functions are removed from the 2.6.7 kernel
you cannot include anything like raw1394 and those... But atleast we got
something to go on from here and maybe create some patch...

Thoe, i'm not to good at kernel stuff so dont expect anything soon, or
even stable :D

Not shure how stable this is, but give it a try if you feel daring :D

/Patric

On Wed, 2004-08-18 at 20:27, Andreas Klauer wrote:
> Am Thursday 19 August 2004 00:01 schrieb Patric:
> > I have tried this on the following kernels, same results on all.
>
> Try 2.4.20, 2.4.18 or (if you prefer 2.6.x series) 2.6.2. I've got
> *exactly* the same problem as you do, but in these kernels it works (at
> least for me). I reported this quite some time ago, but unfortunately,
> nobody came up with a solution so far.
>
> HTH
> Andreas
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> mailing list Linux1394-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux1394-user
>

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Thu Aug 19 00:24:45 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:49 CEST