lkml.org 
[lkml]   [2002]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfirewire harddrive access causes system hang
Hi all,

I have a Maxtor PCI IEEE1394 controller card with an ACOMData 60GB
firewire drive attached to it. I can successfully mount the drive as
/dev/sda1 after inserting the ieee1394 and scsi modules in the correct
order. The problem is that accessing the disk too many times (?)
causes the machine to hang. The last time it did this, I was copying
the kernel source to it, as a test. It froze in mid screen refresh.

Drive: 60GB ACOMData, formatted with single ext2 partition
kernel: 2.4.18, with scsi and sd as modules
ieee1394: 460 (nightly from 4/24)

Below is the dmesg output from inserting the modules and running the
rescan-scsi-bus.sh script:

------ from syslog -------------------------------------------------
Apr 25 19:38:07 avi kernel: ohci1394: $Rev: 460 $ Ben Collins
<bcollins@debian.org>
Apr 25 19:38:07 avi kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[9]
MMIO=[ffefd000-ffefe000] Max Packet=[2048]
Apr 25 19:38:07 avi kernel: SCSI subsystem driver Revision: 1.00
Apr 25 19:38:07 avi kernel: ieee1394: sbp2: Driver forced to serialize
I/O (serialize_io = 1)
Apr 25 19:38:07 avi kernel: scsi0 : IEEE-1394 SBP-2 protocol driver
(host: ohci1394)
Apr 25 19:38:07 avi kernel: $Revision: 1.0 $ James Goodwin
<jamesg@filanet.com>
Apr 25 19:38:07 avi kernel: SBP-2 module load options:
Apr 25 19:38:07 avi kernel: - Max speed supported: S400
Apr 25 19:38:07 avi kernel: - Max sectors per I/O supported: 255
Apr 25 19:38:07 avi kernel: - Max outstanding commands supported: 8
Apr 25 19:38:07 avi kernel: - Max outstanding commands per lun
supported: 1
Apr 25 19:38:07 avi kernel: - Serialized I/O (debug): yes
Apr 25 19:38:07 avi kernel: - Exclusive login: yes
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 0 0
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 1 0
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 2 0
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 3 0
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 4 0
Apr 25 19:38:07 avi kernel: scsi singledevice 0 0 5 0
Apr 25 19:38:08 avi kernel: scsi singledevice 0 0 6 0
Apr 25 19:38:08 avi kernel: scsi singledevice 0 0 7 0
Apr 25 19:38:08 avi kernel: ieee1394: sbp2: Logged into SBP-2 device
Apr 25 19:38:08 avi kernel: ieee1394: sbp2: Node[00:1023]: Max speed
[S400] - Max payload [2048]
Apr 25 19:38:08 avi kernel: ieee1394: Device added: Node[00:1023]
GUID[00063a0245003d2b] [DMI ]
Apr 25 19:38:08 avi kernel: ieee1394: Host added: Node[01:1023]
GUID[0030dd8000071760] [Linux OHCI-1394]
Apr 25 19:38:15 avi kernel: scsi singledevice 0 0 0 0
Apr 25 19:38:15 avi kernel: Vendor: DMI Model: 1394 HDD
Rev: 2.34
Apr 25 19:38:15 avi kernel: Type: Direct-Access
ANSI SCSI revision: 02
Apr 25 19:38:15 avi kernel: Attached scsi disk sda at scsi0, channel 0,
id 0, lun 0
Apr 25 19:38:15 avi kernel: SCSI device sda: 117266688 512-byte hdwr
sectors (60041 MB)
Apr 25 19:38:15 avi kernel: sda: sda1
------ end syslog --------------------------------------------------



I included the sbp2_serialize_io=1 parameter when inserting sbp2.

If you could please provide direction for debugging this, I would be in
your debt.

Thanks,

---

Avi Shevin
avi@ashevin.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.038 / U:6.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site