Hi all
Well things have slowed down just enought to put some attention on my scsi
problems. Over a month ago I built myself a system (see specs below) that
gave me no end of trouble trying to get Linux to install on it. After some
inital trouble NT installed and works fine. This is my first scsi system.
Well, Red Hat 6.0 installed and for the most part is working fine. I still
have a few problems that I hope will now be easier to solve with linux
already running on it. I just saw that a new aic7xxx driver is out so I
guess I need to upgrade to the 2.2.9 kernel and try it.
I'm incluned to believe these are just termination/cabling issues, but
have repeatedly gone over my configuration and can't find anything wrong.
I have included the output of /proc/scsi/*, the boot messages, and the
errors I get from xcdroast.
Here are the remaining problems:
1. on bootup it times out trying to detect devices on IDs that do not have
devices (almost all of the unused IDs). See the messages output below.
2. All devices appear on channel 0. I thought the drives which are on
the Ultra2 segment would appear on one channel, and the CDROMS on the
Ultra segment appear on another channel. There are four connectors on the
adapter. For the LVD Ultra2 segment, there are internal and external 68 pin
connectors.
For the SE Ultra segment, there is an internal 68 pin wide connector and
an internal 50 pin connector. If I plug the drive cable onto the Ultra
segment, they show up at 40.0 Mbyte/sec not 80.0 Mbyte/sec as they do on
the Ultra2 segment. The adaptec bios just lists settings for 16 IDs, but
does not differentiate between the segments.
3. I can read from both CDROMs fine, but have not been able to burn a CD.
This may be unrelated to my other problems. This is the error I get,
/usr/X11R6/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Cannot allocate memory.
Cannot send SCSI cmd via ioctl
but please see the full log output below
Any and all advise is appreciated.
System specs:
OS: Redhat Linux 6.0 stock 2.2.5-15 kernel
OS: NT Server 4.0 - all works fine
MB/CPU: Epox MVP3G (award bios) / AMD K6 2 450
Adapter: 2940U2W bios v2.01.0
Drives: 2 x ibm ultrastar 9ES DDRS 39130 (9gb LVD/ultra 2 wide)
CDROM: toshiba XM6401
CDRW: yamaha4416S
SCSI driver: 5.1.15/3.2.4
This is what the card/cable setup looks like. Again I'm still confused
that all devices show up on channel 0.
-----------------------------
| controller[ID 7] |
| |
| ( chain 0 - 68pin) |--HD [ID 8] -- HD [ID 0] -- Active Terminator
| |
| ( chain 1 - 50 pin) |
-----------------------------
|
|--- CDRW [ID 3] ---- CDROM [ID 6] (drive terminted w/ jumper)
# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 5.1.15/3.2.4
Compile Options:
TCQ Enabled By Default : Disabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
Ultra-2 LVD/SE Wide Controller
PCI MMAPed I/O Base: 0xe9001000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 10
SCBs: Active 0, Max Active 2,
Allocated 15, HW 32, Page 255
Interrupts: 7167
BIOS Control Word: 0x10a6
Adapter Control Word: 0x1c5d
Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
Ultra Enable Flags: 0x0000
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
Tagged Queue By Device array for aic7xxx host instance 0:
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
Actual queue depth per device for aic7xxx host instance 0:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
Statistics:
(scsi0:0:0:0)
Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
Transinfo settings: current(10/15/1/0), goal(10/127/1/0),
user(10/127/1/0)
Total transfers 5292 (4282 reads and 1010 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 1 2579 149 539 636 67 147 164
Writes: 0 773 174 48 12 3 0 0
(scsi0:0:3:0)
Device using Narrow/Sync transfers at 8.0 MByte/sec, offset 31
Transinfo settings: current(30/31/0/0), goal(10/127/0/0),
user(10/127/1/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
(scsi0:0:6:0)
Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 16
Transinfo settings: current(12/16/0/0), goal(10/127/0/0),
user(10/127/1/0)
Total transfers 0 (0 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 0 0 0 0 0 0 0 0
Writes: 0 0 0 0 0 0 0 0
(scsi0:0:8:0)
Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
Transinfo settings: current(10/15/1/0), goal(10/127/1/0),
user(10/127/1/0)
Total transfers 1670 (1668 reads and 2 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+ 128K+
Reads: 1 1665 0 0 0 0 2 0
Writes: 0 2 0 0 0 0 0 0
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: YAMAHA Model: CRW4416S Rev: 1.0e
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-6401TA Rev: 1009
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: IBM Model: DDRS-39130D Rev: DC1B
Type: Direct-Access ANSI SCSI revision: 02
# boot messages
Jun 8 22:48:28 kanga kernel: (scsi0) <Adaptec AHA-294X Ultra2 SCSI host
adapter> found at PCI 10/0
Jun 8 22:48:28 kanga kernel: (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
Jun 8 22:48:28 kanga kernel: (scsi0) Downloading sequencer code... 374
instructions downloaded
Jun 8 22:48:28 kanga kernel: scsi0 : Adaptec AHA274x/284x/294x
(EISA/VLB/PCI-Fast SCSI) 5.1.15/3.2.4
Jun 8 22:48:28 kanga kernel: <Adaptec AHA-294X Ultra2 SCSI host
adapter>
Jun 8 22:48:28 kanga kernel: scsi : 1 host.
Jun 8 22:48:28 kanga kernel: (scsi0:0:0:0) Synchronous at 80.0 Mbyte/sec,
offset 15.
Jun 8 22:48:28 kanga kernel: Vendor: IBM Model: DDRS-39130D Rev:
DC1B
Jun 8 22:48:28 kanga kernel: Type: Direct-Access ANSI SCSI revision:
02
Jun 8 22:48:28 kanga kernel: Detected scsi disk sda at scsi0, channel 0,
id 0, lun 0
Jun 8 22:48:28 kanga kernel: (scsi0:0:3:0) Synchronous at 8.0 Mbyte/sec,
offset 31.
Jun 8 22:48:28 kanga kernel: Vendor: YAMAHA Model: CRW4416S Rev:
1.0e
Jun 8 22:48:28 kanga kernel: Type: CD-ROM ANSI SCSI revision: 02
Jun 8 22:48:28 kanga kernel: Detected scsi CD-ROM sr0 at scsi0, channel
0, id 3, lun 0
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
21, scsi0, channel 0, id 5, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:28 kanga kernel: (scsi0:0:6:0) Synchronous at 20.0 Mbyte/sec,
offset 16.
Jun 8 22:48:28 kanga kernel: Vendor: TOSHIBA Model: CD-ROM XM-6401TA
Rev: 1009
Jun 8 22:48:28 kanga kernel: Type: CD-ROM ANSI SCSI revision: 02
Jun 8 22:48:28 kanga kernel: Detected scsi CD-ROM sr1 at scsi0, channel
0, id 6, lun 0
Jun 8 22:48:28 kanga kernel: (scsi0:0:8:0) Synchronous at 80.0 Mbyte/sec,
offset 15.
Jun 8 22:48:28 kanga kernel: Vendor: IBM Model: DDRS-39130D Rev:
DC1B
Jun 8 22:48:28 kanga kernel: Type: Direct-Access ANSI SCSI revision:
02
Jun 8 22:48:28 kanga kernel: Detected scsi disk sdb at scsi0, channel 0,
id 8, lun 0
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
41, scsi0, channel 0, id 10, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
42, scsi0, channel 0, id 11, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
43, scsi0, channel 0, id 12, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
45, scsi0, channel 0, id 14, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:28 kanga kernel: scsi : aborting command due to timeout : pid
46, scsi0, channel 0, id 15, lun 0 Test Unit Ready 00 00 00 00 00
Jun 8 22:48:29 kanga crond: crond startup succeeded
Jun 8 22:48:28 kanga kernel: sr0: scsi3-mmc drive: 16x/16x writer cd/rwxa/form2 cdda
tray
Jun 8 22:48:28 kanga kernel: Uniform CDROM driver Revision: 2.54
Jun 8 22:48:28 kanga kernel: SCSI device sda: hdwr sector= 512 bytes.
Sectors= 17850000 [8715 MB] [8.7 GB]
Jun 8 22:48:28 kanga kernel: sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
Jun 8 22:48:28 kanga kernel: SCSI device sdb: hdwr sector= 512 bytes.
Sectors= 17850000 [8715 MB] [8.7 GB]
Jun 8 22:48:28 kanga kernel: sdb: sdb1 sdb2 sdb3
# xcdroast log
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,03,00'
scsibus: 0 target: 3 lun: 0
atapi: -1
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities : SYNC
Vendor_info : 'YAMAHA '
Identifikation : 'CRW4416S '
Revision : '1.0e'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Track 01: data 41 MB
Total size: 47 MB (04:40.09) = 21007 sectors
Lout start: 47 MB (04:42/07) = 21007 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11240 (97:32/10)
ATIP start of lead out: 335100 (74:30/00)
speed low: 2 speed high: 2
power mult factor: 6 6
recommended erase/write power: 3
Disk type: Cyanine, AZO or similar
Manufacturer: Prodisc Technology Inc.
Blocks total: 335100 Blocks current: 335100 Blocks remaining: 314093
Starting to write CD/DVD at speed 4 in dummy mode for single session.
Waiting for reader process to fill input-buffer ... input-buffer ready.
Starting new track at sector: 0
/usr/X11R6/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Cannot allocate memory.
Cannot send SCSI cmd via ioctl
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]