[4012] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

pb. with Buslogic bt-542 card ??

daemon@ATHENA.MIT.EDU (Andre Doherty)
Tue May 26 12:01:03 1998

From: Andre Doherty <doherty@thonon.inra.fr>
Date: 	Tue, 26 May 1998 17:12:57 +0200 (MET DST)
To: linux-scsi@vger.rutgers.edu


--O9mkVqje8T
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Looks like i have a big problem to solve. I have a scsi card
Buslogic BT-542 and i am encountering severe problems with it. 
On this card, there are three devices plugged: two hard disks and a
cdrom R/W Ricoh 2600S. All those things on a 486DX/2 66.
In order to try my cdrom player, i have tried to dump an audio track
from the cdrom to the hardrive. I have tried cdda2wav. 

So, really self confident, i have typed : 
nice -20 cdda2wav -c 2 -s -b 16 -r 44100 -t 1 -D /dev/sgc \ 
-I generic_scsi -v out.wav
(i have also tried readcdda, but it s the same)

All this to dump track 1 on the disk. Dump goes ok, but the resulting
file is unusable, the sound is shaky as if there was a I/O problem. 

Effectively, hdparm -Tt /dev/sdb gives me: 

bash-2.01# hdparm -Tt /dev/sdb

/dev/sdb:
 Timing buffer-cache reads:   32 MB in  4.31 seconds = 7.42 MB/sec
 Timing buffered disk reads:  16 MB in 11.19 seconds = 1.43 MB/sec

Which isn't really much !

I suspect there may be a problem with the card. But is there a way to
solve that ? Are there any tools i could use to monitor and why not
a tool to optimize the transfert rate of it ? 
OR maybe it s something completely different, i am really lost. 
Any idea ?

	Andre


PS : i am enclosing two files : first one is the content of
/proc/scsi/buslogic and the second contains what's about scsi devices
in the dmesg. 




--O9mkVqje8T
Content-Type: text/plain
Content-Description: Content of /proc/scsi/Buslogic
Content-Disposition: inline;
	filename="0"
Content-Transfer-Encoding: 7bit

***** BusLogic SCSI Driver Version 2.0.11 of 31 January 1998 *****
Copyright 1995 by Leonard N. Zubkoff <lnz@dandelion.com>
Configuring BusLogic Model BT-542B ISA SCSI Host Adapter
  Firmware Version: 2.21, I/O Address: 0x330, IRQ Channel: 11/Edge
  DMA Channel: 5, BIOS Address: 0xDC000, Host Adapter SCSI ID: 7
  Parity Checking: Enabled, Extended Translation: Enabled
  Synchronous Negotiation: Disabled, Wide Negotiation: Disabled
  Disconnect/Reconnect: Enabled, Tagged Queuing: Disabled
  Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 32
  Driver Queue Depth: 32, Host Adapter Queue Depth: 30
  Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
  Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
*** BusLogic BT-542B Initialized Successfully ***

Target 0: Queue Depth 3, Asynchronous
Target 1: Queue Depth 3, Asynchronous
Target 5: Queue Depth 3, Asynchronous

Current Driver Queue Depth:	32
Currently Allocated CCBs:	28


			   DATA TRANSFER STATISTICS

Target	Tagged Queuing	Queue Depth  Active  Attempted	Completed
======	==============	===========  ======  =========	=========
   0	Not Supported	      3         0         1526	     1526
   1	Not Supported	      3         0       161445	   161445
   5	Not Supported	      3         0        18092	    18092

Target  Read Commands  Write Commands   Total Bytes Read    Total Bytes Written
======  =============  ==============  ===================  ===================
   0	       1520	         0		   779776	             0
   1	     108829	     52611             1664315392	     986403840
   5	          0	     11224		        0	     367761408

Target  Command    0-1KB      1-2KB      2-4KB      4-8KB     8-16KB
======  =======  =========  =========  =========  =========  =========
   0	 Read	      1517          3          0          0          0
   0	 Write	         0          0          0          0          0
   1	 Read	         0      59698       9580       9797       6404
   1	 Write	         0      36906       3529       2072        849
   5	 Read	         0          0          0          0          0
   5	 Write	         0          0          0          1          0

Target  Command   16-32KB    32-64KB   64-128KB   128-256KB   256KB+
======  =======  =========  =========  =========  =========  =========
   0	 Read	         0          0          0          0          0
   0	 Write	         0          0          0          0          0
   1	 Read	      2423       7226      13701          0          0
   1	 Write	       429        159       8667          0          0
   5	 Read	         0          0          0          0          0
   5	 Write	         0      11223          0          0          0


			   ERROR RECOVERY STATISTICS

	  Command Aborts      Bus Device Resets	  Host Adapter Resets
Target	Requested Completed  Requested Completed  Requested Completed
  ID	\\\\ Attempted ////  \\\\ Attempted ////  \\\\ Attempted ////
======	 ===== ===== =====    ===== ===== =====	   ===== ===== =====
   0	     0     0     0        0     0     0	       0     0     0
   1	     0     0     0        0     0     0	       0     0     0
   5	     0     0     0        0     0     0	       0     0     0

External Host Adapter Resets: 0
Host Adapter Internal Errors: 0

--O9mkVqje8T
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit




--O9mkVqje8T
Content-Type: text/plain
Content-Description: dmesg infos about scsi
Content-Disposition: inline;
	filename="scsi"
Content-Transfer-Encoding: 7bit

scsi: ***** BusLogic SCSI Driver Version 2.0.11 of 31 January 1998 *****
scsi: Copyright 1995 by Leonard N. Zubkoff <lnz@dandelion.com>
scsi0: Configuring BusLogic Model BT-542B ISA SCSI Host Adapter
scsi0:   Firmware Version: 2.21, I/O Address: 0x330, IRQ Channel: 11/Edge
scsi0:   DMA Channel: 5, BIOS Address: 0xDC000, Host Adapter SCSI ID: 7
scsi0:   Parity Checking: Enabled, Extended Translation: Enabled
scsi0:   Synchronous Negotiation: Disabled, Wide Negotiation: Disabled
scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Disabled
scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 32
scsi0:   Driver Queue Depth: 32, Host Adapter Queue Depth: 30
scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
scsi0: *** BusLogic BT-542B Initialized Successfully ***
scsi0 : BusLogic BT-542B
scsi : 1 host.
  Vendor: CONNER    Model: CP30100-121mb     Rev: 4040
  Type:   Direct-Access                      ANSI SCSI revision: 01 CCS
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: SEAGATE   Model: ST52160N          Rev: 0344
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
  Vendor: RICOH     Model: MP6200S           Rev: 2.03
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
scsi0: Target 0: Queue Depth 3, Asynchronous
scsi0: Target 1: Queue Depth 3, Asynchronous
scsi0: Target 5: Queue Depth 3, Asynchronous
scsi : detected 1 SCSI cdrom 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 237705 [116 MB] [0.1 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4238282 [2069 MB] [2.1 GB]

--O9mkVqje8T--

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post