[sane-devel] Microtek V6USL: out of memory

Patrick S. Leung pleung at easygroup.com
Wed Apr 3 17:41:53 BST 2002


Hi,

When I tried to run scanimage, I got an "Out of Memory" error.   Debug 
out is below.  /proc/scsi/scsi is also attached.

Setup:  Redhat 7.1, sane-backends 1.0.5-4, sane-frontends 1.0.5-2, 
microtek scanmaker V6USL via USB.  SCSI module is aic7xxx.

Any help/pointers/suggestions would be very much appreciated.

Patrick

[sanei_debug] Setting debug level of microtek2 to 255.
[microtek2] sane_init: Microtek2 (v0.9 build 20010517) says hello...
[microtek2] parse_config_file: fp=0x8054c88
[microtek2] parse_config_file: read line: # See sane-microtek2(5) for a description of the options
[microtek2] parse_config_file: read line: 
[microtek2] parse_config_file: read line: option dump 2
[microtek2] parse_config_file: found global option option dump 2
[microtek2] parse_config_file: read line: # option lightlid-35 on
[microtek2] parse_config_file: read line: # option no-backtrack-option on
[microtek2] parse_config_file: read line: # scsi * * Scanner
[microtek2] parse_config_file: read line: /dev/sg6
[microtek2] parse_config_file: found device /dev/sg6
[microtek2] attach_one: name='/dev/sg6'
[microtek2] add_device_list: device='/dev/sg6'
[microtek2] add_device_list: md=0x8054df8, malloc'd 5164 bytes
[microtek2] free hdev at 0x8054958
[microtek2] attach: device='/dev/sg6'
[microtek2] scsi_inquiry: mi=0x8054dfc, device='/dev/sg6'
[microtek2] [inquiry]
[microtek2] 12,00,00,00,60,00,
[microtek2] [inquiryresult]
[microtek2] 06,00,02,02,5b,00,00,00,20,20,20,20,20,20,20,20,
[microtek2] 53,63,61,6e,6e,65,72,20,56,36,55,53,4c,20,20,20,
[microtek2] 31,2e,30,36,a3,00,00,00,00,00,00,00,00,00,00,00,
[microtek2] 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
[microtek2] 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
[microtek2] 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,
[microtek2] dump_area: inquiryresult
[microtek2]      0: 060002025b000000 2020202020202020    ....[...         
[microtek2]     16: 5363616e6e657220 563655534c202020    Scanner  V6USL   
[microtek2]     32: 312e3036a3000000 0000000000000000    1.06.... ........
[microtek2]     48: 0000000000000000 0000000000000000    ........ ........
[microtek2]     64: 0000000000000000 0000000000000000    ........ ........
[microtek2]     80: 0000000000000000 0000000000000000    ........ ........
[microtek2] check_inquiry: md=0x8054df8
[microtek2] scsi_read_attributes: mi=0x8054dfc, device='/dev/sg6', source=0
[microtek2] scsi_read_attributes: open 'Out of memory'
[microtek2] attach: 'Out of memory'
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list=0x8056228, malloc'd 8 bytes
[microtek2] attach: device='/dev/sg6'
[microtek2] scsi_inquiry: mi=0x8054dfc, device='/dev/sg6'
[microtek2] scsi_inquiry: 'Out of memory'
[microtek2] attach: 'Out of memory'
[microtek2] sane_get_devices: attach status 'Out of memory'
scanimage: no SANE devices found
[microtek2] sane_exit:
[microtek2] free md_first_dev at 0x8054df8
[microtek2] sane_get_devices: local_only=0
[microtek2] free sd_list at 0x8056228
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.

/proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: SEAGATE  Model: ST34555W         Rev: 0930
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: SEAGATE  Model: ST34555W         Rev: 0930
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: IBM      Model: DNES-318350W     Rev: SA30
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-32TS   Rev: 1.03
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-R412C  Rev: 1.04
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: FUJITSU  Model: MHF2043AT        Rev:     
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model: Scanner V6USL    Rev: 1.06
  Type:   Scanner                          ANSI SCSI revision: 02






More information about the sane-devel mailing list