grasland@club-internet.fr wrote:
> > I also tried on a different Linux PC with a Tekram DC-390 SCSI-II
> > controller, which works under Linux with a Yamaha CD-Writer, but as soon
> > as scanning begins, SCSI bus locks up and it is necessary to reset the
> > machine.
> I have an UMax 1220s scanner and a Tekram DC-390 ,the scanner is alone
> on the scsi bus .
> linux kernel 2.0.36 sane 1.00
> i first used the tekram driver (dc390) ,and i had (intermitently) the
> same problem that you describe (scsi bus locking up ,need to reset
> machine).
>
> i then switched to the AM53C974 driver , and since then everything works
> fine .
I tried AM53C974 but it didn't make any difference.
This PC is a plain Pentium-133, with an Asus PC97-V mainboard (with
integrated VGA card), 32MB RAM, a PCI NE-2000 Ethernet card set to
"Jumperless, Interrupt:10, Address:0x300" and a Tekram DC-390 PCI SCSI
card set to "address: 0xb800; irq: 11".
Nothing else is installed. Usually this PC is used for CD-ROM burning
under Linux and it works. Kernel is 2.0.29.
I now tried to remove the internal SCSI CD-R (so scanner is alone), but
still no success.
When I start the SCSI AM53C974 module, the scanner is immediately
detected:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: Model: Scanner 636A4 Rev: 1.00
Type: Scanner ANSI SCSI revision: 02
Then I try to scan with xscanimage.
The scanner usually does some steps in order to acquire an image: first
the scanner head moves quickcly for about 2 seconds around its rest
position (something like an initialization), then it sits silent for 1
second and finally the real scan begins.
With this PC with DC-390, it does only the initialization part, then
SCSI bus is locked.
Computer and all its peripherials work correctly.
After quite a while (some minutes), periodically the following message
appears on console and syslog:
Jan 27 11:04:24 test kernel: scsi : aborting command due to timeout :
pid 45, scsi0, channel 0, id 4, lun 0 0x28 00 00 00 00 00 00 02 7e 00
Jan 27 11:04:24 test kernel:
--------------------------------------------------------------------------
Jan 27 11:04:24 test kernel: scsi0 : AM53C974_abort called -- trouble
starts!!
Jan 27 11:04:24 test kernel: AM53C974 register dump:
Jan 27 11:04:24 test kernel: IO base: 0xb800; CTCREG: 0x0000; CMDREG:
0x42; STATREG: 0x11; ISREG: 0xd4
Jan 27 11:04:24 test kernel: CFIREG: 0x80; CNTLREG1-4: 0x57; 0x40; 0x18;
0x44
Jan 27 11:04:24 test kernel: DMACMD: 0x00; DMASTC: 0x0010; DMASPA:
0xff7000
Jan 27 11:04:24 test kernel: DMAWBC: 0x0000; DMAWAC: 0xff7010;
DMASTATUS: 0x00
Jan 27 11:04:24 test kernel:
---------------------------------------------------------
Jan 27 11:04:24 test kernel: scsi0: aborting connected command
Jan 27 11:04:26 test kernel: SCSI host 0 abort (pid 45) timed out -
resetting
Jan 27 11:04:26 test kernel: SCSI bus is being reset for host 0 channel
0.
Jan 27 11:04:26 test kernel: AM53C974_reset called
Jan 27 11:04:26 test kernel: AM53C974 register dump:
Jan 27 11:04:26 test kernel: IO base: 0xb800; CTCREG: 0x0000; CMDREG:
0x42; STATREG: 0x11; ISREG: 0xd4
Jan 27 11:04:26 test kernel: CFIREG: 0x80; CNTLREG1-4: 0x57; 0x40; 0x18;
0x44
Jan 27 11:04:26 test kernel: DMACMD: 0x00; DMASTC: 0x0010; DMASPA:
0xff7000
Jan 27 11:04:26 test kernel: DMAWBC: 0x0000; DMAWAC: 0xff7010;
DMASTATUS: 0x00
Jan 27 11:04:26 test kernel:
---------------------------------------------------------
Any idea?
Bye.
-- ---------------------------------------------------------------- Davide Achilli - davide@objsystem.it OBJ System Telematica - MILANO - ITALY http://www.objsystem.it/ ----------------------------------------------------------------
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com