usb2/firewire hd problem; sbp2

From: David Lazanja <lazanja_at_plasma.ap.columbia.edu>
Date: Mon 14 Feb 2005 - 23:47:20 CET
Message-ID: <42112A78.7000403@plasma.ap.columbia.edu>

Hi there,

I have a Belkin F5U512 FireWire Adapter which is supported by pcmcia
with module
ohci1394_cb.

I'm trying to use it to access a Buslink usb2/1394 combo drive, 80GB.

I'm running a vanilla 2.6.10 kernel with the vanilla ieee 1394 that is
included with the tar ball.
Actually, I have never succeeded in doing this with any 2.6 kernel, but
I have had success with 2.4.

There is a problem with accessing the drive as a scsi device on device
/dev/sda.

It seems that sbp2 is having a problem reading the device. I can't get
partition information using
fdisk /dev/sda (it says that the device doesn't exist, but I see it
under /sys/block/sda).
The hard drive works fine with usb2 under the same kernel,
but I currently only have a firewire pcmcia card.

The relevant modules that were loaded are:

Module Size Used by
edd 10848 0
st 40604 0
sg 40224 0
sr_mod 17956 0
sd_mod 18960 0
sbp2 24328 0
scsi_mod 125824 5 st,sg,sr_mod,sd_mod,sbp2
ohci1394 35204 0
ieee1394 113080 2 sbp2,ohci1394
The dmesg output is:

ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:02:00.0 to 64
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[9]
MMIO=[18804000-188047ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[000030bd00000000]
ieee1394: Node added: ID:BUS[0-00:1023] GUID[0006ca0e04002625]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: unsolicited response packet received - no tlabel match
SCSI subsystem initialized
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: SAMSUNG Model: SP0802N Rev:
  Type: Direct-Access ANSI SCSI revision: 06
SCSI device sda: 156368016 512-byte hdwr sectors (80060 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: aborting sbp2 command
Test Unit Ready 00 00 00 00 00
scsi: Device offlined - not ready after error recovery: host 0 channel 0
id 0 lun 0
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=5, driver=04
sda : sense not available.
scsi0 (0:0): rejecting I/O to offline device
sda: asking for cache data failed
sda: assuming drive cache: write through
 sda:<3>scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 0
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 0
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 0
ldm_validate_partition_table(): Disk read failed.
scsi0 (0:0): rejecting I/O to offline device
Buffer I/O error on device sda, logical block 0
 unable to read partition table
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
st: Version 20041025, fixed bufsize 32768, s/g segs 256
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found

The lspci -vv output for this device is:

0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23
IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
    Subsystem: Belkin: Unknown device 1799
    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: 64 (500ns min, 1000ns max)
    Interrupt: pin A routed to IRQ 9
    Region 0: Memory at 18804000 (32-bit, non-prefetchable)
    Region 1: Memory at 18800000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: [44] 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+

Thanks for reading and for your suggestions.

Best
David

-- 
# Department of Applied Physics and Applied Mathematics
# Columbia University
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Mon Feb 14 23:49:29 2005

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