[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707222332.12270.andreas.messer@stud-mail.uni-wuerzburg.de>
Date: Sun, 22 Jul 2007 23:32:08 +0200
From: Andreas Messer <andreas.messer@...d-mail.uni-wuerzburg.de>
To: linux-kernel@...r.kernel.org
Subject: [BUG] firewire: mass-storage i/o-problems
Hello,
I tried the new firewire stack with a external harddisc and a external dvd
writer and get massive i/o problems. Here is the kernel output for the
harddisc. Please cc me for further questions. I hope its not too much output
for lkml email.
--------------------------------------------------------------
firewire_core: created new fw device fw1 (0 config rom retries)
firewire_core: phy config: card 0, new root=ffc0, gap_count=5
scsi2 : SBP-2 IEEE-1394
firewire_sbp2: management write failed, rcode 0x14
firewire_sbp2: orb reply timed out, rcode=0x11
firewire_sbp2: management write failed, rcode 0x10
message repeated 2 times
firewire_sbp2: management write failed, rcode 0x14
firewire_sbp2: failed to login to fw1.0
firewire_sbp2: management write failed, rcode 0x13
firewire_sbp2: removed sbp2 unit fw1.0
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
scsi3 : SBP-2 IEEE-1394
firewire_core: created new fw device fw1 (0 config rom retries)
firewire_sbp2: logged in to sbp2 unit fw1.0 (0 retries)
firewire_sbp2: - management_agent_address: 0xfffff0010000
firewire_sbp2: - command_block_agent_address: 0xfffff0010020
firewire_sbp2: - status write address: 0x000100000000
scsi 3:0:0:0: Direct-Access-RBC SAMSUNG HD300LD PQ: 0 ANSI: 4
sd 3:0:0:0: [sdb] 586072368 512-byte hardware sectors (300069 MB)
firewire_sbp2: sbp2_scsi_abort
firewire_sbp2: sbp2_scsi_abort
sd 3:0:0:0: scsi: Device offlined - not ready after error recovery
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 3:0:0:0: rejecting I/O to offline device
sd 3:0:0:0: [sdb] Asking for cache data failed
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg3 type 14
firewire_sbp2: management write failed, rcode 0x13
firewire_sbp2: removed sbp2 unit fw1.0
replugged hdd:
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
scsi4 : SBP-2 IEEE-1394
firewire_core: created new fw device fw1 (0 config rom retries)
firewire_sbp2: logged in to sbp2 unit fw1.0 (0 retries)
firewire_sbp2: - management_agent_address: 0xfffff0010000
firewire_sbp2: - command_block_agent_address: 0xfffff0010020
firewire_sbp2: - status write address: 0x000100000000
scsi 4:0:0:0: Direct-Access-RBC SAMSUNG HD300LD PQ: 0 ANSI: 4
sd 4:0:0:0: [sdb] 586072368 512-byte hardware sectors (300069 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 11 00 00 00
sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 4:0:0:0: [sdb] 586072368 512-byte hardware sectors (300069 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Mode Sense: 11 00 00 00
sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sdb: sdb1
sd 4:0:0:0: [sdb] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg3 type 14
firewire_sbp2: sbp2_scsi_abort
firewire_sbp2: sbp2_scsi_abort
sd 4:0:0:0: scsi: Device offlined - not ready after error recovery
sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY
driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdb, sector 518
sd 4:0:0:0: rejecting I/O to offline device
sd 4:0:0:0: rejecting I/O to offline device
sd 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdb, sector 286153
FAT: FAT read failed (blocknr 455)
sd 4:0:0:0: rejecting I/O to offline device
FAT: Directory bread(block 286090) failed
sd 4:0:0:0: rejecting I/O to offline device
.... (many lines of that)
Buffer I/O error on device sdb1, logical block 143073
lost page write due to I/O error on sdb1
firewire_sbp2: management write failed, rcode 0x13
sd 4:0:0:0: [sdb] Synchronizing SCSI cache
sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY
driverbyte=DRIVER_OK,SUGGEST_OK
firewire_sbp2: removed sbp2 unit fw1.0
replugged again:
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
scsi5 : SBP-2 IEEE-1394
firewire_core: created new fw device fw1 (0 config rom retries)
firewire_sbp2: orb reply timed out, rcode=0x11
firewire_sbp2: management write failed, rcode 0x12
message repeated 4 times
firewire_sbp2: failed to login to fw1.0
firewire_sbp2: status write for unknown orb
firewire_sbp2: management write failed, rcode 0x13
firewire_sbp2: removed sbp2 unit fw1.0
replugged again:
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
scsi6 : SBP-2 IEEE-1394
firewire_core: created new fw device fw1 (0 config rom retries)
firewire_sbp2: orb reply timed out, rcode=0x11
firewire_sbp2: management write failed, rcode 0x12
message repeated 4 times
firewire_sbp2: failed to login to fw1.0
firewire_sbp2: status write for unknown orb
using old fw stack, everything fine:
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[ee001000-ee0017ff] Max
Packet=[2048] IR/IT contexts=[4/8]
ieee1394: The root node is not cycle master capable; selecting a new root node
and resetting...
ieee1394: Node added: ID:BUS[0-00:1023] GUID[0050770e0000002e]
ieee1394: Host added: ID:BUS[0-01:1023] GUID[000a480000000edf]
scsi2 : SBP-2 IEEE-1394
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
scsi 2:0:0:0: Direct-Access-RBC SAMSUNG HD300LD PQ: 0 ANSI: 4
sd 2:0:0:0: [sdb] 586072368 512-byte hardware sectors (300069 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 11 00 00 00
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 2:0:0:0: [sdb] 586072368 512-byte hardware sectors (300069 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 11 00 00 00
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg3 type 14
-------------------------------------------
Hardware:
Via ohci1394 FW Controller (PCI), nforce2 chipset, Athlon XP-M
Software:
Kernel Vanilla 2.6.22, gcc 4.1.2.
On another PC same problem, but replugging one or two times get the thing
working.
greeting
Andreas Messer
--
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists