SG_BIG_BUFF strikes again! Hopefully sometime in the near
future people will be able to write:
echo 131072 > /proc/scsi/sg/def_reserved_size
and leave the !@#$%^& sg driver alone. Apart from
hinting that the sg driver reserve a buffer of that
size on open(), it will make the same number appear
in /proc/sys/kernel/sg-big-buff which will keep SANE
happy. [Unfortunately the latter action only takes
place when sg is built into the kernel, as has always
been the case.]
Cyril was using the original sg driver (assuming he was
using a stock RH6.0 2.2.5-15 kernel). That driver is a
lot more sensitive to miscues with SG_BIG_BUFF.
Doug Gilbert
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com