linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ieee1394 / sbp2 problem accessing iBook in target disk mode
@ 2003-12-12  0:12 rene.rebe
       [not found] ` <200312122232.hBCMWgdq032418@hirsch.in-berlin.de>
  0 siblings, 1 reply; 2+ messages in thread
From: rene.rebe @ 2003-12-12  0:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: jamesg, inux1394-devel

Hi,

I tried to access another iBook in target disk mode via the sbp2 driver 
running a 2.4.22-benh2 kernel. The device (the other iBook) is detected but 
can not ba accessed properly:

ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ohci1394_0: Unexpected PCI resource length of 1000!
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max 
Packet=[2048]
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[000a95fffeea7b48]
ieee1394: Host added: ID:BUS[0-01:1023]  GUID[000a95fffea13034]
ieee1394: unsolicited response packet received - np
ieee1394: contents: ffc10120 ffc07000 00000000 9ce61184
sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
blk: queue e5fb0014, I/O limit 4095Mb (mask 0xffffffff)
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
scsi singledevice 3 0 0 0
scsi singledevice 1 0 0 0
  Vendor: AAPL      Model: FireWire Target   Rev: 0000
  Type:   Direct-Access                      ANSI SCSI revision: 03
blk: queue e5e0e214, I/O limit 4095Mb (mask 0xffffffff)
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
ieee1394: sbp2: aborting sbp2 command
0x00 00 00 00 00 00 
sda: Unit Not Ready, sense:
Current 00:00: sns = 70  2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 
0x3a 0x00 0x00 0x00 0x00 0x00 
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sns = 70  2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 
0x3a 0x00 0x00 0x00 0x00 0x00 
sda : block size assumed to be 512 bytes, disk size 1GB.  
 /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table

Of course it works under MacOS-X and also networking via the eth1394 driver is 
working nicely between the two Linux iBooks.

Is this problem know or any ideas?

Sincerely yours,
  René Rebe
    - ROCK Linux stable release maintainer

--  
René Rebe - Europe/Germany/Berlin
  rene@rocklinux.org rene@rocklinux-consulting.de
http://www.rocklinux.org http://www.rocklinux-consulting.de
http://gsmp.rocklinux-consulting.de/ http://gsmp.tfh-berlin.de/rene



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ieee1394 / sbp2 problem accessing iBook in target disk mode
       [not found] ` <200312122232.hBCMWgdq032418@hirsch.in-berlin.de>
@ 2003-12-21 19:24   ` Rene Rebe
  0 siblings, 0 replies; 2+ messages in thread
From: Rene Rebe @ 2003-12-21 19:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux1394-devel

Hi,

> > sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
> > scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
> > blk: queue e5fb0014, I/O limit 4095Mb (mask 0xffffffff)
> > ieee1394: sbp2: Logged into SBP-2 device
> > ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
> > ieee1394: sbp2: Logged into SBP-2 device
> > ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
> > scsi singledevice 3 0 0 0
> > scsi singledevice 1 0 0 0
> >   Vendor: AAPL      Model: FireWire Target   Rev: 0000
> >   Type:   Direct-Access                      ANSI SCSI revision: 03

Using a LaCie Firewire disk the sbp2 code works perfectly:

ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ohci1394_0: Unexpected PCI resource length of 1000!
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[000393fffeb0203a]
ieee1394: Node added: ID:BUS[0-01:1023]  GUID[00d04b3b030766bf]
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
sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
blk: queue c5e0e814, I/O limit 4095Mb (mask 0xffffffff)
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
scsi singledevice 1 0 0 0
  Vendor: WDC WD16  Model: 00BB-00DWA0       Rev: 15.0
  Type:   Direct-Access                      ANSI SCSI revision: 06
blk: queue c45bbc14, I/O limit 4095Mb (mask 0xffffffff)
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
 /dev/scsi/host1/bus0/target0/lun0: p1 p2

$ cat /proc/bus/ieee1394/devices

Node[0-00:1023]  GUID[00d04b3b030766bf]:
  Vendor ID: `LaCie   ' [0x00d04b]
  Capabilities: 0x0083c0
  Bus Options:
    IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
    LSPD(2) MAX_REC(64) CYC_CLK_ACC(255)
  Unit Directory 0:
    Vendor/Model ID: LaCie    [00d04b] / LaCie Hard Drive Firewire    [000001]
    Software Specifier ID: 00609e
    Software Version: 010483
    Driver: SBP2 Driver
    Length (in quads): 8

Sincerely yours,
  René Rebe
    - ROCK Linux stable release maintainer

--  
René Rebe - Europe/Germany/Berlin
  rene@rocklinux.org rene@rocklinux-consulting.de
http://www.rocklinux.org http://www.rocklinux-consulting.de
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-21 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-12  0:12 ieee1394 / sbp2 problem accessing iBook in target disk mode rene.rebe
     [not found] ` <200312122232.hBCMWgdq032418@hirsch.in-berlin.de>
2003-12-21 19:24   ` Rene Rebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).