AHA-2930U2 problems
Ian Bunning
ijb22 at cam.ac.uk
Mon Mar 13 15:20:20 PST 2000
I have an AHA-2930U2 SCSI card in a machine running the 2.2.14 kernel
with no driver patches. There are three devices on the bus - an
internal CD writer (Yamaha CDRW-6416S), an external 250Mb Zip, and an
external Minolta Dimage Scan Dual film scanner. The card and all three
devices work fine together under Windows. I upgraded to this card when
I bought the CD-RW as my previous card did not have an internal
connector (it was an AVA-2904, I think...). The Zip drive worked fine
with that card. However, when using Linux, none of them work - even if
all other devices are removed from the bus. If I try to mount a zip
disc, I get errors about bus timeouts (shown later). The machine then
begins to lock up for a few seconds every couple of minutes. I also get
huge numbers of interrupts - often up to 10,000 per second.
Here are some of the files in /proc, and some error messages. Let me
know if anything else would be useful (sorry there's so much in this
message)...
uptime && cat /proc/interrupts
11:04pm up 36 min, 4 users, load average: 1.04, 1.07, 0.67
CPU0
0: 220172 XT-PIC timer
1: 4285 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 49592 XT-PIC eth0
5: 0 XT-PIC emu10k1
8: 1 XT-PIC rtc
11: 1575155 XT-PIC aic7xxx
12: 50006 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 18994 XT-PIC ide0
15: 77 XT-PIC ide1
NMI: 0
uptime && cat /proc/interrupts
11:07pm up 38 min, 4 users, load average: 1.31, 1.15, 0.75
CPU0
0: 233989 XT-PIC timer
1: 4751 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 50833 XT-PIC eth0
5: 0 XT-PIC emu10k1
8: 1 XT-PIC rtc
11: 1983281 XT-PIC aic7xxx
12: 50534 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 19881 XT-PIC ide0
15: 77 XT-PIC ide1
NMI: 0
In 2-3 minutes, that makes 408,126 interrupts. As I said, it's often
much higher.
cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 5.1.21/3.2.4
Compile Options:
TCQ Enabled By Default : Enabled
AIC7XXX_PROC_STATS : Disabled
AIC7XXX_RESET_DELAY : 5
Adapter Configuration:
SCSI Adapter: Adaptec AHA-293X Ultra2 SCSI host adapter
Ultra-2 LVD/SE Wide Controller
PCI MMAPed I/O Base: 0xea000000
PCI Bus 0x00 Device 0x40
Adapter SEEPROM Config: SEEPROM found and used.
Adaptec SCSI BIOS: Enabled
IRQ: 11
SCBs: Active 0, Max Active 1,
Allocated 15, HW 32, Page 255
Interrupts: 60
BIOS Control Word: 0x18a6
Adapter Control Word: 0x145d
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:
{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:3:0)
Device using Narrow/Sync transfers at 5.0 MByte/sec, offset 15
Transinfo settings: current(50/15/0/0), goal(50/127/0/0),
user(50/127/0/0)
Total transfers 0 (0 reads and 0 writes)
(scsi0:0:6:0)
Device using Narrow/Async transfers.
Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(50/127/0/0)
Total transfers 0 (0 reads and 0 writes)
Device 3 is the CD-RW, 6 is the Zip drive. The scanner isn't switched
on.
cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
d000-d007 : ide0
d008-d00f : ide1
d800-d8be : aic7xxx
dc00-dc1f : emu10k1
e000-e007 : emu10k1 joystick
e400-e41f : eth0
The following is taken from dmesg after a 'modprobe aic7xxx' 'mount
/mnt/zip':
(scsi0) <Adaptec AHA-293X Ultra2 SCSI host adapter> found at PCI 8/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 385 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.21/3.2.4
<Adaptec AHA-293X Ultra2 SCSI host adapter>
scsi : 1 host.
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0,
lun 0 Test Unit Ready 00 00 00 00 00
(scsi0:0:3:0) Synchronous at 5.0 Mbyte/sec, offset 15.
scsi : aborting command due to timeout : pid 3, scsi0, channel 0, id 3,
lun 0 Test Unit Ready 00 00 00 00 00
scsi : aborting command due to timeout : pid 3, scsi0, channel 0, id 3,
lun 0 Test Unit Ready 00 00 00 00 00
Vendor: YAMAHA Model: CRW6416S Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
Vendor: IOMEGA Model: ZIP 250 Rev: H.41
Type: Direct-Access ANSI SCSI revision: 02
scsi : aborting command due to timeout : pid 16, scsi0, channel 0, id
15, lun 0
Test Unit Ready 00 00 00 00 00
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 6,
lun 0 Test Unit Ready 00 00 00 00 00
scsi : aborting command due to timeout : pid 18, scsi0, channel 0, id 6,
lun 0 Read Capacity 00 00 00 00 00 00 00 00 00
SCSI host 0 abort (pid 18) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 18) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 abort (pid 18) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 18) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 abort (pid 18) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 18) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 abort (pid 18) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 18) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 abort (pid 18) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 18) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
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