Re: HP5300C - USB-problems?

From: Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Date: Sat Feb 17 2001 - 01:03:10 PST

  • Next message: Andrew Williams: "Re: HP5300C - USB-problems?"

    On Samstag, 17. Februar 2001 04:24, Douglas Gilbert wrote:
    > j.steindlberger@gmx.de wrote:
    > > > > I'd be interested for anyone who actually has got it working to post
    > >
    > > the
    > >
    > > > > details of their system to see if there's anything obviously
    > > > > different to mine:
    > > > >
    > > > > Pentium III 733Mhz
    > > > > Via Apollo Pro 133 motherboard with uchi USB ports
    > > > > Kernel 2.4.1
    > > > > Sane 1.04
    > > >
    > > > Which UHCI-driver ?
    > > >
    > > > What does scanimage -T give you ?
    > >
    > > Hi Oliver, hi all others!
    > >
    > > "scanimage -T" gave me an error, because the buffersize was too small. I
    > > took 8k - as it's written in the MiniHowto. But I should have been
    > > starting with the 32768 (=32k).
    > >
    > > With the 8k I got a memory-failure
    > >
    > > ...# scanimage
    > > [sanei_debug] Setting debug level of avision to 10.
    > > [avision] sane_init: parsing config line "scsi HP"
    > > [avision] sane_init: config file line 1: trying to attach `scsi HP'
    > > [avision] attach
    > > [avision] attach: opening /dev/sg0
    > > [avision] attach: open failed (Out of memory)
    > > [avision] sane_get_devices
    > > scanimage: no SANE devices found
    > > [avision] sane_exit
    >
    > An out of memory failure during a sg device open
    > means the kernel couldn't find 4 KB . [Sg reduces
    > the requested reserved size buffer until the kernel
    > gets some memory or the size is <= 4KB.] This is
    > horrible. Sounds as if that usb-scsi patch has
    > 'unchecked_isa_dma' set to 1 thus restricting sg to
    > getting memory below the 16 MB level.
    >
    > Just checked the usb-scsi code and that is not the case.
    > Have you any idea why there would be such a shortage
    > of memory on your machine? If you have CONFIG_MAGIC_SYSRQ
    > selected in your kernel, what does Alt+SysRq+M output?

    It isn't that serious. SANE reports "Out of memory" as soon as it can't get
    the buffer it wants and possibly on other conditions. Still you should be
    able to get 8K. How much RAM do you have ?

            HTH
                    Oliver

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



    This archive was generated by hypermail 2b29 : Sat Feb 17 2001 - 00:58:15 PST