SCSI lock-up when scanning with SNAPSCAN1236

From: Bernd Porr (bp1@cn.stir.ac.uk)
Date: Tue Oct 10 2000 - 08:15:17 EST


Hi There!

1.: SCSI lock-up when scanning with SNAPSCAN1236
2.:

I have an AGFA SNAP-scan 1236S and used it with the kernel
2.2.16 and with the new beta-test-kernel 2.4.0-test9.

The SCSI-Controller is a aha152x and is working fine with
the 2.2.16 kernel except that there is an error message from
the aha152x module but the scan is ok:
Oct 10 13:19:43 snoopy kernel: aha152x: more data than expected (128
bytes)
Oct 10 13:19:43 snoopy kernel: aha152x: data ( 3 3 3 3 3 3 3 3 4
6 6 6 6 7 6 7 37 1d 11 25 2c 16 c 11 ab ff ab 9e 2 25 16 1d 19 19
16 19 20 2a 28 16 0 1d 23 16 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 3 3 3 3 3 3 3 3 2 3 3 3 2 3 3 2 2 3 3 3 3 3 3 3
3 2 2 2 3 3 3 3 3 3 3 3 3 3 3 2 2 2 2 2 3 3 3 3 5
6 6 6 6 6 6 6 37 1d 11 25 2c 16 c 11 ab ff ab 9d )

But with the new test-kernel only the detection of the scanner is
working fine. When I start the scan process the whole SCSI-Bus is
locked up.

I tested the SCSI bus with and without parity but the problem was
still the same (I could only switch off the parity with modifying
the code but this is another problem).

This is the detection of the scanner by the aha152x-module:

Oct 7 18:14:57 snoopy kernel: aha152x0: vital data: rev=3, io=0x340
(0x340/0x34
0), irq=9, scsiid=7, reconnect=disabled, parity=disabled,
synchronous=disabled,
delay=100, extended translation=disabled
Oct 7 18:14:57 snoopy kernel: aha152x0: trying software interrupt, ok.
Oct 7 18:14:57 snoopy kernel: scsi0 : Adaptec 152x SCSI
driver; $Revision: 2.0
$
Oct 7 18:14:57 snoopy kernel: scsi : 1 host.
Oct 7 18:14:58 snoopy kernel: Vendor: AGFA Model: SNAPSCAN 1236
Rev:
 1.50
Oct 7 18:14:58 snoopy kernel: Type: Scanner
ANSI
 SCSI revision: 02
Oct 7 18:16:57 snoopy kernel: Detected scsi generic sg0 at scsi0, channel
0, id
 2, lun 0, type 6

after that you could start xscanimage but it locked up.

4.: 2.4.0-test9
5.:
6.: scanimage/xscanimage (latest version, sane 1.0.3).
7.2:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 2
cpu MHz : 501.142
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 pn mmx fxsr xmm
bogomips : 999.42

7.4.: 0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0210-021f : 3c509
02f8-02ff : serial(auto)
0340-035f : aha152x
0378-037a : parport0
03bc-03be : parport1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)

7.6.: Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE Model: ST43400N Rev: 0116
  Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: AGFA Model: SNAPSCAN 1236 Rev: 1.50
  Type: Scanner ANSI SCSI revision: 02

8.: I used an update directly from the snapscan-developer-page but
the result was the same.

Cheers
/Bernd
-----------------------------------------------------------------------
http://www.neurop.ruhr-uni-bochum.de/~porr
http://www.cn.stir.ac.uk/~bp1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:15 EST