How do I build 2.6 Linux from kernel.org that does read at speed without
"aborting sbp2 command"? Else does FireWire not working at my desk
interest anybody besides me?
I ask because I have a disc whose outside spins at 25.3 MB/s. With my
PC, Knoppix Linux-2.4.26 consistently reads hundreds of MiB thru
FireWire at within three percent of that rate. Knoppix Linux-2.6.6
consistently reads at 55% below that rate, but does consistently read
without "aborting sbp2 command".
I conclude all my hardware is ok - my issue is FireWire kernel source.
I'm told Knoppix is of the Debian family. I first tried FireWire in a
kernel.org Linux because a friend relayed to me rumours of trouble. Me,
I tried 2.6.9-rc1-bk2 and then stepped back as far as the 2.6.6 of
2004-05. No joy yet.
How do I build 2.6 Linux from kernel.org that does read at speed without
"aborting sbp2 command"?
kernelnewbie Pat LaVarre
http://linux-pel.blog-city.com/read/796163.htm
P.S. Below I answer the questions recommended by linux1394.org, specifically:
# kernel version
# ieee 1394 version
# libraw version
# which driver: TI PCILynx or OHCI
# relevant messages from dmesg
# output of /proc/bus/ieee1394/devices (if available)
# adapter card model and/or OHCI chipset
# output of lspci
# version of application or utility (if applicable)
# [anything else maybe relevant]
P.P.S. This address linux1394-user -at- lists.sourceforge.net I found in the web trail:
http://marc.theaimsgroup.com/?l=linux-kernel
http://linux1394.org/
having trouble
http://linux1394.org/trouble.php
http://sourceforge.net/projects/linux1394/
http://sourceforge.net/tracker/?group_id=2252&atid=102252
[ 1014608 ] - - Don't post here - -
http://sourceforge.net/tracker/index.php?func=detail&aid=1014608&group_id=2252&atid=102252
http://marc.theaimsgroup.com/?l=linux1394-user
P.P.P.S. My answers to the linux1394.org questions are:
# kernel version
$ cat /proc/version
Linux version 2.6.9-rc1-bk7 (pat@patlinux) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #4 SMP Tue Aug 31 16:17:25 MDT 2004
$
# ieee 1394 version
My ieee1394.ko comes from kernel.org source, no patches, its modprobe reports no version. Ditto ohci1394.ko. sbp2.ko reports:
kernel: sbp2: $Rev: 1219 $ Ben Collins <bco...@deb...>
# libraw version
Sorry I do not understand this question.
# which driver: TI PCILynx or OHCI
$ # OHCI I think:
$ lsmod | grep 1394
ohci1394 33024 0
ieee1394 94604 1 ohci1394
$
# relevant messages from dmesg
Aug 30 10:01:22 patlinux kernel: ieee1394: sbp2: aborting sbp2 command
Aug 30 10:01:22 patlinux kernel: Start/Stop Unit 00 00 00 02 00
...
Sep 1 14:43:18 patlinux kernel: ieee1394: sbp2: aborting sbp2 command
Sep 1 14:43:18 patlinux kernel: Read (10) 00 00 00 00 74 00 00 3e 00
Often these dmesg appear only when I reboot. Until then, cat /proc/scsi/scsi works, but my Linux hangs quietly if asked to eject or read.
# output of /proc/bus/ieee1394/devices (if available)
$ # not available
$ sudo find /proc /sys -name '*1394*'
/sys/module/ohci1394
/sys/module/ieee1394
/sys/class/ieee1394
/sys/class/ieee1394_node
/sys/class/ieee1394_host
/sys/bus/ieee1394
/sys/bus/pci/drivers/ohci1394
/sys/devices/pci0000:00/0000:00:1e.0/0000:01:03.0/fw-host0/00d0b831deadbeef/00d0b831deadbeef-0/host1/1:0:0:0/ieee1394_id
$
# adapter card model and/or OHCI chipset
# output of lspci
$ /sbin/lspci -vvv | grep -B 1 -A 8 1394
01:03.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 61) (prog-if 10 [OHCI])
Subsystem: Lucent Microelectronics FW323
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 (3000ns min, 6000ns max), cache line size 08
Interrupt: pin A routed to IRQ 19
Region 0: Memory at ff8ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
$
# version of application or utility (if applicable)
time sudo eject /dev/scd0
time sudo dd if=/dev/scd0 bs=64K skip=0 count=4 >/dev/null
# [anything else maybe relevant]
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: Iomega Model: RRD Rev: 83.B
Type: CD-ROM ANSI SCSI revision: 02
$
#
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Wed Sep 1 23:08:08 2004
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:49 CEST