A problem with SCSI hard-disk
Vegi
vegi at usa.net
Wed Mar 1 19:16:58 PST 2000
Hi!
I'm new on this mailing list, and this is my first message here, so
please bear with me somehow... :-)
OK, in short, my problem is that Linux or aic7xxx driver somehow
cannot recognize my SCSI hard disk. The hard disk is seen, but not
recognized. Important thing here is that disk is recognized by the
SCSI controller (Adaptec 2940, not Ultra, not Wide), and works fine in
Windows. Now, the details:
Adaptec BIOS:
SCSI ID #0 - QUANTUM TRB850S - drive 82h
SCSI ID #2 - QUANTUM FIREBALL ST3.2S - drive 83h
SCSI ID #4 - PLEXTOR CD-R PX-W 4220T
/var/log/dmesg:
(scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 0/9/0
(scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Downloading sequencer code... 415 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
5.1.27/3.2.4
<Adaptec AHA-294X SCSI host adapter>
scsi : 1 host.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 8.
Vendor: QUANTUM Model: TRB850S Rev: 0405
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
# ------------------------------------------------------- (my
comment!)
(scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 8.
Vendor: PLEXTOR Model: CD-R PX-W4220T Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
scsi : detected 1 SCSI cdrom 1 SCSI disk total.
sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
SCSI device sda: hdwr sector= 512 bytes. Sectors= 1660299 [810 MB]
[0.8 GB]
# [snip] (my comment!)
Partition check:
sda: sda1
hda: hda1 hda2 hda3
hdc: [PTBL] [1027/255/63] hdc1 hdc2
/proc/scsi/scsi says:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: QUANTUM Model: TRB850S Rev: 0405
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-W4220T Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
/proc/scsi/aic7xxx/o says:
Adaptec AIC7xxx driver version: 5.1.27/3.2.4
Compile Options:
TCQ Enabled By Default : Enabled
AIC7XXX_PROC_STATS : Enabled
AIC7XXX_RESET_DELAY : 8
Adapter Configuration:
SCSI Adapter: Adaptec AHA-294X SCSI host adapter
Narrow Controller at PCI 0/9/0
PCI MMAPed I/O Base: 0xe9000000
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 11
SCBs: Active 0, Max Active 1,
Allocated 15, HW 16, Page 255
Interrupts: 76
BIOS Control Word: 0x1096
Adapter Control Word: 0x005c
Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
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:
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
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 Narrow/Sync transfers at 10.0 MByte/sec, offset 8
Transinfo settings: current(25/8/0/0), goal(25/15/0/0),
user(25/15/0/0)
Total transfers 12 (12 reads and 0 writes)
< 2K 2K+ 4K+ 8K+ 16K+ 32K+ 64K+
128K+
Reads: 12 0 0 0 0 0
0 0
Writes: 0 0 0 0 0 0
0 0
(scsi0:0:2:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
Transinfo settings: current(25/15/0/0), goal(25/15/0/0),
user(25/15/0/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:4:0)
Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 8
Transinfo settings: current(25/8/0/0), goal(25/15/0/0),
user(25/15/0/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
This is the sitaution. As I said and as you can see, the hard-disk is
seen (scsi:0:0:2:0), but not recognized as a Quantum Fireball, and is
not attached to a device (probably /dev/sdb), so I can not communicate
with it under Linux.
A tried a lot of things. I used kernel 2.2.15-1.0.0, with 5.1.19
(IIRC) version of the aic7xxx driver, it didn't work. I upgraded my
kernel to 2.2.15-1.5.0 with 5.1.25 driver verison, it didn't work. I
patched driver to 5.1.27 version, no luck. I compiled driver as a
module, no luck. I turned off TCQ, same story. I changed termination,
disabled parity and did all I can imagine with Adapted BIOS options,
all with the same result. I changed the ID's, I plugged out other,
properly working, SCSI deviced, I left this hard-disk to work alone on
the cable, and again no luck with it. I'm pretty much out of ideas.
The biggest paradox of all is that everything's working fine under
Windows, so I think we cannot talk about faulty disk/cable/controller.
HELP! :-)
Is there any chance I can get this hard disk working under Linux, or
should I simply - change the SCSI controller? If any of you have any
ideas, please share it with me, I would be very thankful. Thanx in
advance and bye!
--
Vegi
To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message
More information about the aic7xxx
mailing list