[7314] in linux-scsi channel archive
AVA-1505AE SCSI-2 Host Adapter
daemon@ATHENA.MIT.EDU (Chris Fearnley)
Sat Oct 2 20:28:41 1999
Date: Sat, 2 Oct 1999 20:26:10 -0400
From: Chris Fearnley <cjf@LinuxForce2000.com>
To: =?iso-8859-1?Q?J=FCrgen_Fischer?= <fischer@et-inf.fho-emden.de>,
linux-scsi@vger.rutgers.edu
Cc: LeRoy Cressy <ldc@LinuxForce2000.com>
Message-ID: <19991002202610.A7812@linux00.i21.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi Jürgen,
I using 2.2.12 custom compiled with the aha152x driver. It detects the
AVA-1505AE card and the attached scanner, but I can't talk to the device
with scsiinfo nor scanimage. Note my lilo.conf has an append line with
"aha152x=0x140,12" included. I used the DOS utility 1505acfg.exe to
set the IRQ.
Here are the aha152x driver boot messages (extracted from dmesg):
[...]
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: PORTBASE=0x140, IRQ=12, SCSI ID=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : BusLogic BT-948
scsi1 : Adaptec 152x SCSI driver; $Revision: 1.7 $
scsi : 2 hosts.
[...]
Vendor: AGFA Model: SNAPSCAN 1236 Rev: 1.50
Type: Scanner ANSI SCSI revision: 02
Detected scsi generic sgd at scsi1, channel 0, id 2, lun 0
$ cat /proc/scsi/aha152x/1
Adaptec 152x SCSI driver; $Revision: 1.7 $
ioports 0x0140 to 0x015f
interrupt 0x0c
disconnection/reconnection enabled
parity checking enabled
synchronous transfers disabled
0 commands currently queued
enabled debugging options: (abort) (reset)
queue status:
no not yet issued commands
no current command
no disconnected commands
waiting: SCSISEQ (); SCSISIG (DATA OUT); INTSTAT (lo); SSTAT (SELINGO BUSFREE PHASECHG ); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID (00), SSTAT2 (SEMPTY ); SFCNT (0); SCSICNT (0), OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT PIO READ INTEN ); DMASTAT (DFIFOEMP )
enabled interrupts ()
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST52160N Rev: 0658
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST51080N Rev: 0958
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: YAMAHA Model: CRW4416S Rev: 1.0e
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: AGFA Model: SNAPSCAN 1236 Rev: 1.50
Type: Scanner ANSI SCSI revision: 02
$ scsiinfo -a /dev/scanner
Scsiinfo version 1.7(eowmob)
Unable to read Rigid Disk Geometry Page 04h
Unable to read Caching Page 08h
Unable to read Format Device Page 03h
Unable to read Read-Write Error Recovery Page 01h
Unable to read Control Mode Page 0ah
Unable to read Disconnect-Reconnect Page 02h
Unable to read manufacturer defect data.
Unable to read grown defect data.
Unable to read Notch and Partition Page 0ch
Unable to read Verify Error Recovery Page 07h
Unable to read Peripheral Device Page 09h
ioctl(SCSI_IOCTL_SEND_COMMAND) status = -1
ioctl(SCSI_IOCTL_SEND_COMMAND) status = -1
Data from Defect Lists
----------------------
When I run xscanimage or scanimage, I get a bunch of these messages in my
kern.log:
Oct 1 00:01:49 syn12 kernel: aha152x: more data than expected (128 bytes)
Oct 1 00:01:49 syn12 kernel: aha152x: data (ff ff ff ff ab ff ab cb 6 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 7 7 6 6 6 6 6 6 7 6 6 6 6 6 7 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 7 7 6 6 6 7 7 6 6 6 6 6 6 7 6 6 6 7 b d d d d d d d ff ff ff ff ff ff ff ff ab ff ab ca 6 ff ff ff ff ff ff ff ff ff ff ff ff ff ff f
f 5 6 6 6 )
Is this a driver bug? Or is the card bad? Or the scanner?
--
Christopher J. Fearnley | LinuxForce Inc.
cjf@LinuxForce2000.com | Senior Vice President Technology
http://www.LinuxForce2000.com | Design Science Revolutionary
"Dare to be Naïve" -- Bucky Fuller
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu