problems increasing SG_BIG_BUFF

Andreas Buesching (crunchy@informatik.uni-bremen.de)
Wed, 9 Jun 1999 11:17:55 +0200

Hello Developers,

my situation:
SuSE 6.1
new kernel 2.2.9
/usr/include/scsi is linked to /usr/src/linux/include/scsi

problem:
I tried to increase the generic-scsi buffer. The man-pages told me to change
SG_BIG_BUFF. the new kernel uses another define (SG_SCATTER_SZ), but there are
also these two lines:

#define SG_BIG_BUFF SG_SCATTER_SZ /* for backward compatibility */
/* #define SG_BIG_BUFF (SG_SCATTER_SZ * 8) */ /* =256KB, if you want */

So I increased SG_BIG_BUFF and compiled the kernel and sane again.
The result was: nothing. Some months ago when I used an older kernel (2.0.x),
there was an result: My scanner did not stop every 5mm to transfer the data (it
sounds horrible if it stops every 5mm).

My question:
Can anybody help me? How to increase the buffer?

THANX FOR READING

crunchy

--
-----------------------------------------------------------------
-- SMILE IF YOU LOSE
-----------------------------------------------------------------
WWW:	http://www.informatik.uni-bremen.de/~crunchy/
	http://alive.informatik.uni-bremen.de/~crunchy/
	http://www.penguinpowered.com/~crunchy/

E-Mail: mailto:crunchy@informatik.uni-bremen.de mailto:crunchy@tzi.de mailto:crunchy@tzi.org mailto:crunchy@mbus.org mailto:crunchy@wiptel.org mailto:crunchy@wiptel.de mailto:crunchy@wiptel.net mailto:crunchy@linuxfreak.com mailto:crunchy@linuxfan.com mailto:crunchy@penguinpowered.com mailto:A.Buesching@netz.nsp.de mailto:andreas@netz.nsp.de -----------------------------------------------------------------

--
-----------------------------------------------------------------
-- SMILE IF YOU LOSE
-----------------------------------------------------------------
WWW:	http://www.informatik.uni-bremen.de/~crunchy/
	http://alive.informatik.uni-bremen.de/~crunchy/
	http://www.penguinpowered.com/~crunchy/

E-Mail: mailto:crunchy@informatik.uni-bremen.de mailto:crunchy@tzi.de mailto:crunchy@tzi.org mailto:crunchy@mbus.org mailto:crunchy@wiptel.org mailto:crunchy@wiptel.de mailto:crunchy@wiptel.net mailto:crunchy@linuxfreak.com mailto:crunchy@linuxfan.com mailto:crunchy@penguinpowered.com mailto:A.Buesching@netz.nsp.de mailto:andreas@netz.nsp.de -----------------------------------------------------------------

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