On Sun, Jan 30, 2005 at 01:53:28AM +0100, Michal 'hramrach' Suchanek wrote:
> Hello
>
> I got a drive enclosure which includes this bridge according to Apple
> profiler:
>
> Speed: 400 Mb/sec Speed
>
> (1394-ATAPI rev1.10):
>
> Capacity: 76.33 GB
> Manufacturer: Prolific PL3507 Combo Device
> Model: (1394-ATAPI rev1.10)
> Removable Media: No
> Detachable Drive: Yes
> BSD Name: disk1
> OS9 Drivers: No
> Speed: 400 Mb/sec Speed
> Unit Spec Id: 24734
> Firmware Revision:
> Unit Software Version: 10483
>
> This device works quite well with Windows XP and OS X.
>
> However, it fails under Linux.
>
> I tried 2.6.8.1 kernel, 2.4.26 kernel, 2.6.10 kernel, ieee1394 from the
> linux1394.org site, and none works.
>
> The 2.4 kernel is particularly hopeless, I did not get much messages and
> nothing happened.
>
> With 2.6.8.1 the device was recognized and I got errors automagically as
> the kernel tried to read the partition table. With 2.6.10 and the
> latest driver I got errors only after I tried to read the drive with
> less -f /dev/sdb.
>
I tried more experiments with the enclosure.
I forgot about the first rule for making hardware work with Linux - see
how it's done in Knoppix.
With Knoppix 2.4.27 kernel the enclosure works. However, I cannot
disconnect and reconnect it. With Knoppix 2.6.9 kernel it fails in
similar way as the vanilla 2.6.10 with updated ieee1394 (and patches to
make it boot on the system).
With Debian 2.4.27-2 kernel it fails. No block device for the sbp2 bridge
is created - cannot find any in either dmesg and proc/scsi.
Is there anything I could try to get the device working on normal 2.6
kernel?
Since all host adapters I tried so far vere VIA chips could the problem
be in the VIA ieee1394 chip?
I will try with whatever chip is in iMac:s if the kernel finds it.
Thanks
Michal Suchanek
New logs from Knoppix below:
*** dmesg
...
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[17] MMIO=[dffdb800-dffdbfff] Max Packet=[2048]
sbp2: $Rev: 1074 $ Ben Collins <bcollins@debian.org>
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1)
hub.c: new USB device 00:10.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc309) is not claimed by any active driver.
scsi4 : SCSI emulation for IEEE-1394 SBP-2 Devices
hub.c: new USB device 00:10.2-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x46d/0xc408) is not claimed by any active driver.
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
ieee1394: NodeMgr: hotplug policy returned -2
ieee1394: Node added: ID:BUS[0-00:1023] GUID[0050770e00071002]
ieee1394: Host added: ID:BUS[0-01:1023] GUID[0010dc0000424754]
ieee1394: unsolicited response packet received - no tlabel match
scsi singledevice 0 0 0 0
scsi singledevice 0 0 1 0
scsi singledevice 1 0 6 0
scsi singledevice 1 0 7 0
...
scsi singledevice 3 1 7 0
scsi singledevice 4 0 0 0
Vendor: Maxtor 6 Model: Y080P0 Rev:
Type: Direct-Access ANSI SCSI revision: 06
Attached scsi disk sdb at scsi4, channel 0, id 0, lun 0
SCSI device sdb: 160086528 512-byte hdwr sectors (81964 MB)
sdb: sdb1
scsi singledevice 4 0 1 0
scsi singledevice 4 0 2 0
scsi singledevice 4 0 3 0
scsi singledevice 4 0 4 0
...
*** proc/ieee1394
Node[0-00:1023] GUID[0050770e00071002]:
Vendor ID: `Prolific PL3507 Combo Device' [0x005077]
Capabilities: 0x0083c0
Bus Options:
IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
LSPD(0) MAX_REC(64) CYC_CLK_ACC(255)
Unit Directory 0:
Vendor/Model ID: Prolific PL3507 Combo Device [005077] / (1394-ATAPI rev1.10) [000001]
Software Specifier ID: 00609e
Software Version: 010483
Driver: SBP2 Driver
Length (in quads): 8
Node[0-01:1023] GUID[0010dc0000424754]:
Vendor ID: `Linux OHCI-1394' [0x004063]
Capabilities: 0x0083c0
Bus Options:
IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
Host Node Status:
Host Driver : ohci1394
Nodes connected : 2
Nodes active : 2
SelfIDs received: 2
Irm ID : [0-01:1023]
BusMgr ID : [0-63:1023]
In Bus Reset : no
Root : yes
Cycle Master : yes
IRM : yes
Bus Manager : no
*** lspci
0000:00:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 590d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (8000ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 17
Region 0: Memory at dffdb800 (32-bit, non-prefetchable) [size=2K]
Region 1: I/O ports at d000 [size=128]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
*** gscanbus
SelfID Info
-----------
Physical ID: 0
Link active: Yes
Gap Count: 63
PHY Speed: S400
PHY Delay: <=144ns
IRM Capable: Yes
Power Class: -10W
Port 0: Connected to parent node
Port 1: Not connected
Init. reset: No
CSR ROM Info
------------
GUID: 0x0050770E00071002
Node Capabilities: 0x000083C0
Vendor ID: 0x00005077
Unit Spec ID: 0x0000609E
Unit SW Version: 0x00010483
Model ID: 0x00000001
Nr. Textual Leafes: 1
Vendor: PROLIFIC TECHNOLOGY, INC.
Textual Leafes:
Prolific PL3507 Combo Device
SelfID Info
-----------
Physical ID: 1
Link active: Yes
Gap Count: 63
PHY Speed: S400
PHY Delay: <=144ns
IRM Capable: Yes
Power Class: +15W
Port 0: Not connected
Port 1: Connected to child node
Port 2: Not connected
Init. reset: Yes
CSR ROM Info
------------
GUID: 0x0010DC0000424754
Node Capabilities: 0x000083C0
Vendor ID: 0x00004063
Unit Spec ID: 0x00000000
Unit SW Version: 0x00000000
Model ID: 0x00000000
Nr. Textual Leafes: 1
Vendor: VIA TECHNOLOGIES, INC.
Textual Leafes:
Linux OHCI-1394
***proc/scsi:
Host scsi4 : SBP-2 IEEE-1394 (ohci1394)
Module options :
max_speed : S800
max_sectors : 255
serialize_io : yes
exclusive_login : yes
Attached devices :
[Channel: 00, Id: 00, Lun: 00] Direct-Access Maxtor 6 Y080P0
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Sun Feb 6 00:08:30 2005
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:52 CEST