# ScanMaker E3 plus Problems

Marcel Oliver (moliver@math.uci.edu)
Fri, 4 Sep 1998 16:18:01 -0700 (PDT)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Previous message: Bostjan Lemut: "How to build a db25 terminator"
- Next in thread: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Reply: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Reply: Marcel Oliver: "Re: ScanMaker E3 plus Problems"

Hallo,

I have a Microtek ScanMaker E3 plus SCSI scanner, which was reported
in this mailing list to work with sane (that's why I bought it...).
The scanner seems to be detected OK during system boot, but when I try
scanimage -L, it just hangs.

Is there anybody who can help me debug this? I enclose some hopefully
useful output below.

Thanks,

Marcel

------------------------------------------------------------------------

Startup Messages:

% dmesg
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fd770
pcibios_init : BIOS32 Service Directory entry at 0xfd780
pcibios_init : PCI BIOS revision 2.10 entry at 0xfd7a1
Probing PCI hardware.
Calibrating delay loop.. ok - 199.07 BogoMIPS
Memory: 30904k/32768k available (656k kernel code, 384k reserved, 824k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.35 (root@hoelderlin.localdomain) (gcc version 2.7.2.3) #1 Wed Sep 2 21:52:51 PDT 1998
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
ftape-2.08 960314 for Linux 1.3.70
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide0: BM-DMA at 0xffa0-0xffa7
ide1: BM-DMA at 0xffa8-0xffaf
hda: WDC AC34000L, 3815MB w/256kB Cache, CHS=969/128/63, DMA
hdb: , ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: PORTBASE=0x140, IRQ=9, SCSI ID=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.18 $
scsi : 1 host.
Vendor: Model: Scanner 300A4 Rev: 5.12
Type: Scanner ANSI SCSI revision: 02 at 0xffa0-0xffa7
ide1: BM-DMA at 0xffa8-0xffaf
hda: WDC AC34000L, 3815MB w/256kB Cache, CHS=969/128/63, DMA
hdb: , ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: PORTBASE=0x140, IRQ=9, SCSI ID=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.18 $
scsi : 1 host.
Vendor: Model: Scanner 300A4 Rev: 5.12
Type: Scanner ANSI SCSI revision: 02
Detected scsi generic sga at scsi0, channel 0, id 6, lun 0
scsi : detected total.
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 > hda4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 68508k swap-space (priority -1)
aha152x: ignoring spurious interrupt, nothing to do
QUEUE STATUS:
issue_SC:
current_SC:
none
disconnected_SC:

waiting: SCSISEQ (); SCSISIG (DATA OUT); INTSTAT (lo); SSTAT (BUSFREE PHASECHG ); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID (df), SSTAT2 (SEMPTY ); SFCNT (0); SCSICNT (0), OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT PIO READ ); DMASTAT (DFIFOEMP )
enabled interrupts ()
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.13 detected OK (240)
Installed 0

----------------------------------------------------------------------------

Debug Information:

[root@hoelderlin marcel]# export SANE_DEBUG_SANEI_SCSI=128
[root@hoelderlin marcel]# export SANE_DEBUG_MICROTEK2=128
[root@hoelderlin marcel]# scanimage -L
[sanei_init_debug]: Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.3) says hello...
[microtek2] calling sanei_config_attach_matching_devices()
[microtek2] attach_one: name='# See sane-microtek2(5) for a description of the options
'
[microtek2] add_device_list: device='# See sane-microtek2(5) for a description of the options'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] returned from sanei_config_attach_matching_devices()
[microtek2] calling sanei_config_attach_matching_devices()
[microtek2] attach_one: name='
'
[microtek2] add_device_list: device=''
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] returned from sanei_config_attach_matching_devices()
[microtek2] calling sanei_config_attach_matching_devices()
[microtek2] attach_one: name='option dump 1
'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach_one: returning
[microtek2] returned from sanei_config_attach_matching_devices()
[microtek2] calling sanei_config_attach_matching_devices()
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] searched device is /dev/sga
[microtek2] attach_one: name='/dev/sga'
[microtek2] add_device_list: device='/dev/sga'
[microtek2] attach: device='/dev/sga'
[microtek2] scsi_inquiry: mi=0x804cebc, device='/dev/sga'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] scsi_req_enter: entered 0x804d588
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d588
[sanei_scsi] sanei_scsi.issue: 0x804d588

-----------------------------------------------------------------------

System Log Messages after killing the scanimage process:

Sep 4 16:13:03 hoelderlin kernel: scsi : aborting command due to timeout : pid 8, scsi0, channel 0, id 6, lun 0 Inquiry 00 00 00 60 00
Sep 4 16:13:03 hoelderlin kernel: aha152x: abort(), SCpnt=0x00092214, QUEUE STATUS:
Sep 4 16:13:03 hoelderlin kernel: issue_SC:
Sep 4 16:13:03 hoelderlin kernel: 0x00092214: target=6; lun=0; cmnd=(Inquiry 00 00 00 60 00
Sep 4 16:13:03 hoelderlin kernel: ); residual=96; buffers=0; phase |not issued|; next=0x00000000
Sep 4 16:13:03 hoelderlin kernel: current_SC:
Sep 4 16:13:03 hoelderlin kernel: none
Sep 4 16:13:03 hoelderlin kernel: disconnected_SC:
Sep 4 16:13:03 hoelderlin kernel:
IO READ INTEN ); DMASTAT (DFIFOEMP )
Sep 4 16:13:03 hoelderlin kernel: enabled interrupts (ENBUSFREE )

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

- Next message: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Previous message: Bostjan Lemut: "How to build a db25 terminator"
- Next in thread: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Reply: Petter Adsen: "Re: ScanMaker E3 plus Problems"
- Reply: Marcel Oliver: "Re: ScanMaker E3 plus Problems"