Re: no SANE devices found..

John Warren Duprey (jduprey@milo.roc.servtech.com)
Sun, 07 Jun 1998 03:04:11 +0000

This is a multi-part message in MIME format.
--------------5523D160AF39E3776354083F
Content-Type: multipart/alternative; boundary="------------42479DDA6B53626EEFFDD0BD"

--------------42479DDA6B53626EEFFDD0BD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Matt wrote:
...
I believe the only way to lock up the system is by some bad interaction
with the SCSI cards, and it's not obvious where that could be happening.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Matt, I'm glad your curious too. I hope that this can get resolved. I really
look forward to using
sane and the gimp front end to it!

I do have some conflicting hardware devices that I have to be very explicit
abou
t in lilo.conf
Does sane probe the system? This can cause problems on my computer
since I have an old sound card with scsi support, in addition to an adeptec
scsi card with my zip drive and E6 scanner attached. I also have an
ethernet card and a PCI video card. Getting all of these to boot
without lock up has forced me to add the following lines to my lilo.conf
"reserve=0x340,32, ether=9,0x340,eth0 pas16=0x388,7
aha152x=0x140,11,7,1"
I don't know if this has anything to do with it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

You said that a simple "scanimage -L" locks up your system --- very weird.
Could you send a debug log of "scanimage -L", with both SANE_DEBUG_MICROTEK
and SANE_DEBUG_SANEI_SCSI set to 255?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I have done this. Here is the output before the whole system
locks..<<ATTACHED>>
This is the first software that I've run on Linux that has crashed my entire
system.
How does it get away with that? :)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

And also, send the output of
"cat /proc/scsi/scsi", "cat /proc/scsi/aha152x/*", etc.
..

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OK here that info is:
[root@otis jduprey]# ls -la /dev/scanner
lrwxrwxrwx 1 root root 3 May 31 21:47 /dev/scanner -> sga

[jduprey@otis jduprey]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: Model: Scanner 600 Rev: 1.90
Type: Scanner ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IOMEGA Model: ZIP 100 Rev: N*32
Type: Direct-Access ANSI SCSI revision: 02

[jduprey@otis jduprey]$ cat /proc/scsi/aha152x/*
Adaptec 152x SCSI driver; $Revision: 1.18 $
ioports 0x0140 to 0x015f
interrupt 0x0b
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 (BUSFREE PHASECHG
); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID (c0), SSTAT2 (SEMPTY ); SFCNT
(0); SCSICNT (0), OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT PIO READ INTEN );
DMASTAT (DFIFOEMP )

enabled interrupts ()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

--------------42479DDA6B53626EEFFDD0BD
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

Matt wrote:
...
 I believe the only way to lock up the system is by some bad interaction
 with the SCSI cards, and it's not obvious where that could be happening.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Matt, I'm glad your curious too.  I hope that this can get resolved.  I really look forward to using
sane and the gimp front end to it!

I do have some conflicting hardware devices that I have to be very explicit abou
t in lilo.conf
Does sane probe the system?  This can cause problems on my computer
since I have an old sound card with scsi support, in addition to an adeptec
scsi card with my zip drive and E6 scanner attached.  I also have an
ethernet card and a PCI video card.  Getting all of these to boot
without lock up has forced me to add the following lines to my lilo.conf
"reserve=0x340,32, ether=9,0x340,eth0 pas16=0x388,7
aha152x=0x140,11,7,1"
I don't know if this has anything to do with it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

You said that a simple "scanimage -L" locks up your system --- very weird.
Could you send a debug log of "scanimage -L", with both SANE_DEBUG_MICROTEK
 and SANE_DEBUG_SANEI_SCSI set to 255?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I have done this.  Here is the output before the whole system
locks..<<ATTACHED>>
This is the first software that I've run on Linux that has crashed my entire system.
How does it get away with that?  :)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

And also, send the output of
 "cat /proc/scsi/scsi", "cat /proc/scsi/aha152x/*", etc.
..
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OK here that info is:
[root@otis jduprey]# ls -la /dev/scanner
lrwxrwxrwx   1 root     root            3 May 31 21:47 /dev/scanner -> sga

[jduprey@otis jduprey]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor:          Model: Scanner 600      Rev: 1.90
  Type:   Scanner                          ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: IOMEGA   Model: ZIP 100          Rev: N*32
  Type:   Direct-Access                    ANSI SCSI revision: 02
 

[jduprey@otis jduprey]$ cat /proc/scsi/aha152x/*
Adaptec 152x SCSI driver; $Revision: 1.18 $
ioports 0x0140 to 0x015f
interrupt 0x0b
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 (BUSFREE PHASECHG ); SSTAT (); SXFRCTL0 (CH1 ); SIGNAL (); SELID (c0), SSTAT2 (SEMPTY ); SFCNT (0); SCSICNT (0), OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT PIO READ INTEN ); DMASTAT (DFIFOEMP )

enabled interrupts ()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

--------------42479DDA6B53626EEFFDD0BD--

--------------5523D160AF39E3776354083F
Content-Type: text/plain; charset=us-ascii; name="SANE.OUTPUT"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="SANE.OUTPUT"

Script started on Mon Jun 1 21:43:03 1998
[root@otis sane.d]# export LD_LIBRARY_PATH=$LD_LIBRATR  RY_PATH: /usr/lib/sane/ /usr/lib/sane
[root@otis sane.d]# echo $LD_LIBRARY_PATH
:/opt/rvplayer:/opt/kde/lib:/usr/lib/sane
[root@otis sane.d]# export LD_LIBRARY_PATH=/opt/rvplayer:/opt/kde/lib:/usr/lib/s ane
[root@otis sane.d]# export LD_LIBRARY_PATH=/opt/rvplayer:/opt/kde/lib:/usr/lib/saaneot@otis sane.d]# echo $LD_LIBRARY_PATH

[root@otis sane.d]# echo $LD_LIBRARY_PATH
/opt/rvplayer:/opt/kde/lib:/usr/lib/sane
[root@otis sane.d]# export SANE_DEBUG_- DLL=TRUE
[root@otis sane.d]# export SANE_DEBUG_MICROTEK=255
[root@otis sane.d]# scanimage -d microtek:/dev/scanner -h > /mnt/milo/tmp/OUTPUT .OUTPUT
[sanei_init_debug]: Setting debug level of dll to 0.
[sanei_init_debug]: Setting debug level of microtek to 255.
[microtek] sane_init: MICROTEK says hello! (v0.7)
[microtek] sane_init: config- scsi * * Scanner
[microtek] attach_scanner: /dev/sga
[microtek] attach_scanner: opening /dev/sga
[microtek] attach_scanner: sending INQUIRY
[microtek] id_microtek...
[microtek] parse_inquiry...
[microtek] dump_inquiry...
=== SANE/Microtek backend v0.7 ===
========== Scanner Inquiry Block ========mm
06 31 13 01 5b 16 00 00 20 20 20 20 20 20 20 20
53 63 61 6e 6e 65 72 20 36 30 30 20 20 20 20 20
31 2e 39 30 53 43 53 49 20 46 2f 57 56 33 2e 34
20 43 54 4c 35 33 38 30 03 4f 8c c5 03 ee 66 03
00 03 01 00 00 03 00 01 0e 0e 01 05 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff

========== Scanner Inquiry Report ==========
===== Scanner ID...
Device Type Code: 0x06
Model Code: 0x66
Vendor Name: ' ' Model Name: 'Scanner 600 '
Firmware Rev: '1.90'
SCSI F/W version: 3.1 Scanner F/W version: 1.3
Response data format: 0x01
===== Imaging Capabilities...
Modes: Lineart Halftone Gray Color (OnePass)
Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes(but says no)
Supported Bits Per Sample: 4 8
Max. document size code: 0x03
Max. document size: 8.500000 x 13.000000 inches
Frame units: pixels 1/8"'s
# of built-in halftones: 12 Downloadable patterns? Yes
Data Compression:
Contrast Settings: 14 Exposure Settings: 14
Adjustable Shadow/Highlight? yes Adjustable Midtone? yes
Digital brightness/offset? yes
Gamma Table Size: 256 entries of 1 bytes (max. value: 255)
===== Source Options...
Feed type: flatbed ADF support? yes
Document Feeder Support? yes Feeder Backtracking? yes
Feeder Installed? no Feeder Ready? no
Transparency Adapter Installed? no
Fast Color Prescan? no
Selectable Transfer Format? no
Color Transfer Sequence: line-by-line, non-sequential with headers
Three pass scan support? no
ModeSelect-1 and ModeSense-1 Support? yes
Can Disable Linearization Table? no
Can Disable Start-of-Scan Recalibration? yes

[microtek] attach_scanner: happy.
[microtek] sane_init: config- /dev/scanner
[microtek] attach_scanner: /dev/scanner
[microtek] attach_scanner: opening /dev/scanner
[microtek] attach_scanner: sending INQUIRY
[microtek] id_microtek...
[microtek] parse_inquiry...
[microtek] dump_inquiry...
=== SANE/Microtek backend v0.7 ===
========== Scanner Inquiry Block ========mm
06 31 13 01 5b 16 00 00 20 20 20 20 20 20 20 20
53 63 61 6e 6e 65 72 20 36 30 30 20 20 20 20 20
31 2e 39 30 53 43 53 49 20 46 2f 57 56 33 2e 34
20 43 54 4c 35 33 38 30 03 4f 8c c5 03 ee 66 03
00 03 01 00 00 03 00 01 0e 0e 01 05 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff

========== Scanner Inquiry Report ==========
===== Scanner ID...
Device Type Code: 0x06
Model Code: 0x66
Vendor Name: ' ' Model Name: 'Scanner 600 '
Firmware Rev: '1.90'
SCSI F/W version: 3.1 Scanner F/W version: 1.3
Response data format: 0x01
===== Imaging Capabilities...
Modes: Lineart Halftone Gray Color (OnePass)
Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes(but says no)
Supported Bits Per Sample: 4 8
Max. document size code: 0x03
Max. document size: 8.500000 x 13.000000 inches
Frame units: pixels 1/8"'s
# of built-in halftones: 12 Downloadable patterns? Yes
Data Compression:
Contrast Settings: 14 Exposure Settings: 14
Adjustable Shadow/Highlight? yes Adjustable Midtone? yes
Digital brightness/offset? yes
Gamma Table Size: 256 entries of 1 bytes (max. value: 255)
===== Source Options...
Feed type: flatbed ADF support? yes
Document Feeder Support? yes Feeder Backtracking? yes
Feeder Installed? no Feeder Ready? no
Transparency Adapter Installed? no
Fast Color Prescan? no
Selectable Transfer Format? no
Color Transfer Sequence: line-by-line, non-sequential with headers
Three pass scan support? no
ModeSelect-1 and ModeSense-1 Support? yes
Can Disable Linearization Table? no
Can Disable Start-of-Scan Recalibration? yes

[microtek] attach_scanner: happy.
[microtek] sane_open
[microtek] sane_open: find device...
[microtek] sane_open: create scanner...
[microtek] sane_open: initialize scanner dependent stuff...
[microtek] sane_open: init gamma tables...
[microtek] sane_open: init pass-time variables...
[microtek] sane_open: init clever cache...
[microtek] sane_open: gonna init opts: [microtek] init_options...
[microtek] init_options: quant yes
[microtek] init_options: done.
[microtek] sane_control_option (opt=0,act=0,val=0xbffffb54,info=(nil))
[microtek] sane_control_option (opt=0,act=0,val=0xbffffb14,info=(nil))
[microtek] sane_get_option_descriptor (0)...
[microtek] sane_get_option_descriptor (1)...
[microtek] sane_get_option_descriptor (2)...
[microtek] sane_get_option_descriptor (3)...
[microtek] sane_get_option_descriptor (4)...
[microtek] sane_get_option_descriptor (5)...
[microtek] sane_get_option_descriptor (6)...
[microtek] sane_get_option_descriptor (7)...
[microtek] sane_get_option_descriptor (8)...
[microtek] sane_get_option_descriptor (9)...
[microtek] sane_get_option_descriptor (10)...
[microtek] sane_get_option_descriptor (11)...
[microtek] sane_get_option_descriptor (12)...
[microtek] sane_get_option_descriptor (13)...
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=0,val=0x804c76c,info=(nil))
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=0,val=0x804c770,info=(nil))
[microtek] sane_get_option_descriptor (16)...
[microtek] sane_get_option_descriptor (17)...
[microtek] sane_get_option_descriptor (18)...
[microtek] sane_get_option_descriptor (19)...
[microtek] sane_get_option_descriptor (20)...
[microtek] sane_get_option_descriptor (21)...
[microtek] sane_get_option_descriptor (22)...
[microtek] sane_get_option_descriptor (23)...
[microtek] sane_get_option_descriptor (24)...
[microtek] sane_get_option_descriptor (25)...
[microtek] sane_get_option_descriptor (26)...
[microtek] sane_get_option_descriptor (27)...
[microtek] sane_get_option_descriptor (28)...
[microtek] sane_get_option_descriptor (29)...
[microtek] sane_get_option_descriptor (30)...
[microtek] sane_get_option_descriptor (31)...
[microtek] sane_get_option_descriptor (32)...
[microtek] sane_get_option_descriptor (33)...
[microtek] sane_control_option (opt=12,act=0,val=0xbffffb10,info=(nil))
[microtek] sane_control_option (opt=13,act=0,val=0xbffffb10,info=(nil))
[microtek] sane_control_option (opt=12,act=0,val=0xbffffb50,info=(nil))
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=1,val=0xbffffb4c,info=0xbffffb0c)
[microtek] sane_control_option (opt=13,act=0,val=0xbffffb50,info=(nil))
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=1,val=0xbffffb4c,info=0xbffffb0c)
[microtek] sane_get_option_descriptor (0)...
[microtek] sane_get_option_descriptor (1)...
[microtek] sane_get_option_descriptor (2)...
[microtek] sane_get_option_descriptor (2)...
[microtek] sane_control_option (opt=2,act=0,val=0xbffffaf4,info=(nil))
[microtek] sane_get_option_descriptor (3)...
[microtek] sane_get_option_descriptor (3)...
[microtek] sane_get_option_descriptor (4)...
[microtek] sane_get_option_descriptor (4)...
[microtek] sane_control_option (opt=4,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (5)...
[microtek] sane_get_option_descriptor (5)...
[microtek] sane_control_option (opt=5,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (6)...
[microtek] sane_get_option_descriptor (6)...
[microtek] sane_get_option_descriptor (7)...
[microtek] sane_get_option_descriptor (7)...
[microtek] sane_control_option (opt=7,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (8)...
[microtek] sane_get_option_descriptor (8)...
[microtek] sane_get_option_descriptor (9)...
[microtek] sane_get_option_descriptor (9)...
[microtek] sane_get_option_descriptor (10)...
[microtek] sane_get_option_descriptor (10)...
[microtek] sane_control_option (opt=10,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (11)...
[microtek] sane_get_option_descriptor (12)...
[microtek] sane_get_option_descriptor (12)...
[microtek] sane_control_option (opt=12,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (13)...
[microtek] sane_get_option_descriptor (13)...
[microtek] sane_control_option (opt=13,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (14)...
[microtek] sane_control_option (opt=14,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (15)...
[microtek] sane_control_option (opt=15,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (16)...
[microtek] sane_get_option_descriptor (17)...
[microtek] sane_get_option_descriptor (17)...
[microtek] sane_control_option (opt=17,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (18)...
[microtek] sane_get_option_descriptor (18)...
[microtek] sane_control_option (opt=18,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (19)...
[microtek] sane_get_option_descriptor (19)...
[microtek] sane_control_option (opt=19,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (20)...
[microtek] sane_get_option_descriptor (20)...
[microtek] sane_control_option (opt=20,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (21)...
[microtek] sane_get_option_descriptor (21)...
[microtek] sane_control_option (opt=21,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (22)...
[microtek] sane_get_option_descriptor (22)...
[microtek] sane_control_option (opt=22,act=0,val=0xbffffafc,info=(nil))
[microtek] sane_get_option_descriptor (23)...
[microtek] sane_get_option_descriptor (24)...
[microtek] sane_get_option_descriptor (24)...
[microtek] sane_control_option (opt=24,act=0,val=0xbffffaf8,info=(nil))
[microtek] sane_get_option_descriptor (25)...
[microtek] sane_get_option_descriptor (25)...
[microtek] sane_get_option_descriptor (26)...
[microtek] sane_get_option_descriptor (26)...
[microtek] sane_get_option_descriptor (27)...
[microtek] sane_get_o

--------------5523D160AF39E3776354083F--

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